• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

Integrating AR Codes into the Disc Image

TheDekuNut

Smash Journeyman
Joined
May 27, 2010
Messages
413
Location
NJ
Yes, all textures like this dumped as red are supposed to be white. my version of dolphin dumps them is white. my old Dolphin dumped as red and i didnt know what to do back then so thats why rage quit pause is a little off.

I see what you mean with the kerning so i fixed it.

The text at the bottom is actual text from what i can tell. we'll probably need to look somewhere else for that.

@standardtoaster
Do you know which file the text could be in?



PRE_unmod_0.tga - 000a13a0
tmode_bracket_preview_0.tga - 0009dfa0
NAME_tmode_2.tga - 000cd9e0

post the bracket replacement whenever if you want me to do it
 

Indolent

Smash Rookie
Joined
Nov 16, 2010
Messages
16
Location
Huntington Beach, CA
-C-Stick in Develop mode also does normal functions. Avoid c-stick in develop mode messing with the camera by going into training (go into debug menu, switch to develop, back out to main menu, go into training)

Normal C-Stick Functionality in Develop Mode
-C-Stick does attacks, shield buffer stuff, etc like in Master mode while in Develop mode. Also moves the camera as well like Develop mode unless you go into training where the debug camera control is disabled (go into debug menu, switch to develop, back out to main menu, go into training). Doesn't affect Nana for some reason, lol. Works with frame advance!

Always Use Master C-Stick Function [Magus]
0406AD38 38000000
the "Normal C-Stick Functionality in Develop Mode" just adds smash attacks (+ other goodies) to the c-stick but doesn't disable the camera controls in vs mode. so trying to bypass that problem by only using training mode is not what i call a good solution but at least it's a step in the right direction.

is it possible to also disable camera controls to the c-stick in develop mode so we can use it vs. and not just training?
 

Magus420

Smash Master
Joined
Dec 13, 2003
Messages
4,541
Location
Close to Trenton, NJ Posts: 4,071
I would have done that if I found how. I can disable develop mode camera... However, the particular read on the mode setting check that affects it also determines the other develop functions being used. Feeding that mode check the master id results in disabling all other develop mode functions along with it. Would need to find the develop mode camera function itself which I wasn't having any luck with.
 

Tirno

Smash Journeyman
Joined
Jan 4, 2006
Messages
207
Location
Austin, TX
Is there any way to change the default rules using a GCT file? I tried making codes using the DOL offsets and changed values provided by Magus, but it doesn't seem to work.
 

gooftroop13

Smash Rookie
Joined
Oct 25, 2010
Messages
6
041D0578 60000000 means:

Another way to do it, but would only work for taking 1.00 codes and finding it within the 1.00 .DOL, would be to take the code offset 041D0578 and subtract 0x3420 and that would give you the offset in the .DOL (0x1CD158).

The 0x3420 for 1.00 comes from already knowing what the difference is between where a 1.00 code writes in memory compared to the actual source in the 1.00 .DOL. I'd need to search in memory while running other versions to find the differences on those compared to where I found it in its .DOL for quick conversion of 1.01 code->1.01 .DOL, 1.02 code->1.02 .DOL, and PAL code->PAL .DOL.
It seems that under this logic the difference between the 1st half of the AR code minus the hex position in the code should be constant (like how Magnus consistently got an offset of 0x1CD158 for 1.00). When I try to apply this same logic to 1.02, I get different numbers for each code. This seems like this should not happen. Any ideas?

edit: this website explains the discrepancies and how to get around some of them (with the aid of the offset magnus found for 1.00)
http://www.arcentral.net/FAQs/convert.php
 

FrenchToasts

Smash Journeyman
Joined
Oct 15, 2008
Messages
485
Location
asdadsa
i put the melee disc into my computer cd-rw drive but it doesn't read it. how am i supposed to use gc-tools to replace the files on my melee disc??
 

-ShadowPhoenix-

Smash Bash
Joined
Nov 22, 2009
Messages
2,295
Location
El Paso, Texas
NNID
ShdwPhnx
3DS FC
2595-1989-8575
i put the melee disc into my computer cd-rw drive but it doesn't read it. how am i supposed to use gc-tools to replace the files on my melee disc??
wait...
youre using an actual melee gc disc ??? :laugh:

if so then that wont work...
download a melee iso from the interwebz and use that.
then burn the iso into a blank cd-r
 

Rep

Smash Apprentice
Joined
Jul 27, 2006
Messages
172
Magus, could you post the offset and hex for the 8-minute 4-stock default? I have a bunch of changes in my .dol and I don't wanna just download yours and replace mine.
 

brh

Smash Rookie
Joined
Jan 4, 2012
Messages
3
Has anyone managed to make any progress on figuring out the 4-player Duel mode (two sets of 1v1s) mentioned in the OP? I'd love to be able to play with this feature!
 

Pawls to the Wall

Smash Journeyman
Joined
May 2, 2010
Messages
235
Location
____Houston, Texas____ Posts: 1,071 +
so, I wanna make a disc that has infinite shields integrated simply for shield pressure training purposes. I'm now to savvy on all hex editing etc junk.

How is it you guys are making these edited DOLs for integration? I've got version 1.00 and picked up the code from AR central. As much as I love doing things myself, I could probably save a lot of wasted time if somebody could just give me a couple tips. Thanks
 

HCK91

Smash Rookie
Joined
Feb 25, 2012
Messages
19
Sorry guys but, I didn't get it. Let's say I want to patch these codes into the 1.0 ISO

P1 - P4 Icons Are Mario
00000000 844510C4
00000008 000403A4

6-player Debug Melee (long)
042FE800 38000003
042FE918 4BD045F8
04002F10 7C0902A6
04002F14 2C000002
04002F18 4182002C
04002F1C 2C000003
04002F20 41820020
04002F24 8005002C
04002F28 98060061
04002F2C 98060085
04002F30 80050018
04002F34 98060060
04002F38 8005FFFC
04002F3C 98060084
04002F40 38A50008
04002F44 482FB9D8
0417864C 2C1B0004
04167198 38600006
043F86DC 803F96A8
043F86E8 42080000
043F86D4 00000000
Maybe I understood how to patch the second one, but what about the first? In other words, what addresses do I need to change, having such codes? Sorry but I'm new to this thing...
 

woonkill

Smash Rookie
Joined
Oct 23, 2011
Messages
10
Thanks much for your work Magus, always appreciate it

Magus, could you post the offset and hex for the 8-minute 4-stock default? I have a bunch of changes in my .dol and I don't wanna just download yours and replace mine.
I did a file comparison on two of his files and have them listed below. I don't know the instruction set that is used for the GC dol files, so there's no assembly code listed

4 Stock Game Default
Location: .DOL
Code:
[B][U]Version  DOL Offset     Hex to Replace[/U][/B]
1.00     0x3CFB92   00020300 -> 01020400
1.01     0x3D0D6A   00020300 -> 01020400
1.02     0x3D1A4A   00020300 -> 01020400
PAL      0x3D20C2   00020300 -> 01020400
8 Minute Stock Matches Default
Location: .DOL
Code:
[B][U]Version  DOL Offset     Hex to Replace[/U][/B]
1.00     0x3CFB98   00 -> 08
1.01     0x3D0D70   00 -> 08
1.02     0x3D1A50   00 -> 08
PAL      0x3D20C8   00 -> 08
Friendly Fire On Default
Location: .DOL
Code:
[B][U]Version  DOL Offset     Hex to Replace[/U][/B]
1.00     0x3CFB99   00 -> 01
1.01     0x3D0D71   00 -> 01
1.02     0x3D1A51   00 -> 01
PAL      0x3D20C9   00 -> 01
 

Kadano

Magical Express
Joined
Feb 26, 2009
Messages
2,160
Location
Vienna, Austria
I messed up something while hacking a PAL Melee. These are the modifications:
1) Used GC-Tool 1.2b to integrate the first AR pack by Magus linked in the thread
2) Found the more extensive AR packs (one with C-stick in debug mode by Magus and the one from Sypher) and combined these two using HxD into a single one
3) Added the PAL code for walljumping with all characters
4) Added many of Milun's stage hacks using GC-Tool (always clicked no when it asked me if it should change the filesize. The filesize befure burning was unchanged)

Does someone know why being airborne makes you trip forever and some characters turn metal? I think that most probably the walljump code for PAL is wrong, and maybe the stage hacks made problems too.

Edit: I burned a DVD with only the walljump code disabled and everything works fine (except Milun's Brinstar without plattforms; it crashes the game). So the "walljump with every character"-code for PAL is definitely wrong. I tried to fix it but I didn't succeed.
 

SypherPhoenix

Smash Lord
Joined
Feb 12, 2007
Messages
1,563
Location
Fairfax, VA
p.s. sorry if u were gonna post something sypher if you had something else to add feel free to mod my version/post your own

Shoot, I completely forgot about this. I have a nicer version of of debug menu text and also the text at the bottom (it's made up of multiple textures). I'll send you a PM after I get things together.
 

TheDekuNut

Smash Journeyman
Joined
May 27, 2010
Messages
413
Location
NJ
thanks sypher your version had better kerning than mine in some places so I made some changes and used your version.
"A tournament for up to 64 players." is actually text so we cant make any changes for that just yet without messing up other text. Tho it does look like we could change each letter's font which might me another fun-ish project; ill look into finding the offsets which are probably in a different file aswell.

Edit:

I found the alphabet and a bunch of offsets in the dol there is a directory or whatever you might call it at directory 004096f0 all capital letters are at 0040b340-0040e340 followed by lowercase where a is at 0040e540 and z is at 00411740

I see potential
 

MikeYoshi

Smash Rookie
Joined
Sep 24, 2006
Messages
19
Location
Spear Pillar
This method also works for Wii Ocarina codes for Wii games. I tested on Mario Kart Wii.

Not enough 'wii' in that sentence.
 

SypherPhoenix

Smash Lord
Joined
Feb 12, 2007
Messages
1,563
Location
Fairfax, VA
DekuNut, could you send me the tga file for your fixed "Debug Menu" that I previously labeled "vspreview"?

[COLLAPSE="this one"]
[/COLLAPSE]
 

TheDekuNut

Smash Journeyman
Joined
May 27, 2010
Messages
413
Location
NJ
http://www.mediafire.com/?jln5a2nvr3ipdc6

to try and fix those little imperfections on the "u" i manually changed a few pixels by eye the best I could. for whatever reason the texture is inherently stretched/ blurry in a few places which was the cause of the "spiking." thanks for your work you did most of the job and i merely applied it
 

SypherPhoenix

Smash Lord
Joined
Feb 12, 2007
Messages
1,563
Location
Fairfax, VA
http://www.mediafire.com/?jln5a2nvr3ipdc6

to try and fix those little imperfections on the "u" i manually changed a few pixels by eye the best I could. for whatever reason the texture is inherently stretched/ blurry in a few places which was the cause of the "spiking." thanks for your work you did most of the job and i merely applied it
Yeah, I see the stretching now, I think you did a pretty good job with the u though. On a TV it blends in perfectly. Thanks for the upload too, I'm just hoping to figure out the alpha channel problem I'm having with Photoshop.


Is there a way to let the C-Stick not move the camera in development mode?
Magus looked for it at one point and was unsuccessful. If I remember correctly, you should be able to turn on development mode and enter training mode to disable camera panning/rotation while keeping other debug functionality. I'm not 100% sure though.

I'm sure as Melee hacking progresses this will be figured out.
 

VietGeek

Smash Hero
Joined
Mar 19, 2008
Messages
8,133
Yes, if you enable DEVELOP and go to Training Mode, camera will not adjust when you use the C-stick.
 

Kadano

Magical Express
Joined
Feb 26, 2009
Messages
2,160
Location
Vienna, Austria
Every Character Can Walljump
-Allows all characters to perform walljumps.

Location: .DOL

Code:
Version  DOL Offset     Hex to Replace                       ASM Code        

PAL      0x7E918   54000CFF 41820254 -> 60000001 981F2224  (rlwinm r0,r0,25,31,31; beq- 0x254)
Any character can perform walljump (PAL)
04081D38 60000001
04081D3C 981F2224


Please test the PAL one.
It definitely does not work. I've tried messing with it and only applying parts of the changes, but no success. I'm sure it's the right offset though, as changing it slightly makes walljumping impossible with all characters.

Can anybody help with fixing this code?

Regarding the FoD codes, is it possible to make the two platforms stay at a constant height? Removing them completely makes the stage a bit awkward.
The Green Greens codes don't work correctly, too (at least the PAL ones). It seems to me that Whispy Woods doesn't shoot or blow that often, but when he does, he goes insane (apples come in 30-seconds-intervals).
 

standardtoaster

Tubacabra
Joined
Nov 26, 2009
Messages
9,253
Location
Eau Claire, Wisconsin
If I had a PAL iso and was able to get my USB Gecko working with it, I'd try working on that code again. Sorry that it doesn't work. Most of my PAL ports should work. I can't guarantee they do though, as I don't have a PAL iso.
 

Grim Tuesday

Smash Legend
Joined
Nov 4, 2007
Messages
13,444
Location
Adelaide, South Australia, AUS
I've read this entire thread twice.

Quite frankly, I'm not savvy enough to make head nor tail of it, so I'd like to make a request.

Melee.iso with:
-Debug Menu > Tournament
-Debug Menu Graphic
-Default Settings (Stock, Time, Friendly Fire)
-Dual 1v1
-C-Stick in 1-Player

Hopefully this isn't too difficult :embarrass:
 

Lanceinthepants

Smash Lord
Joined
Jul 19, 2006
Messages
1,161
Location
Purdue
Taunt Cancel

Version 1.2

Offset DBA50 - replace 4BFA5295 with 4BFA5411
Offset C70AC - replace 40820034 with 40820058

Version 1.1

Offset DB7DC - replace 4BFA5349 with 4BFA54C5
Offset C6E38 - replace 40820034 with 40820058
 

Shai Hulud

Smash Lord
Joined
Dec 21, 2006
Messages
1,495
Location
Oregon
I am using Magus420's C-stick in 1 player mode etc. modifications, and I noticed the C-stick does not work for Nana in 1 player mode. Even if synched, a C-stick smash or aerial will result in only Popo doing it. So I can't use debug mode in training with ICs very well.

Anyway just thought I'd let some people smarter than me know about it. If anyone gets a chance to fix this I'd appreciate it.
 
Top Bottom