ROM Hack Repair the (J) slots overlay file for (US) HG/SS versions?

Halfshadow

Member
OP
Newcomer
Joined
May 1, 2012
Messages
12
Trophies
1
XP
75
Country
Italy
Hi. I found the slots overlay file in Japanese HG/SS, is overlay_0077, but inserting it into the US version don't work, the game crash. I tried to insert it replacing the Voltorb filp overlay file (Overlay_0122), 'cause the script command is the same in US and J versions, and overlay_0077 in US version is only a placeholder, a dummy file of 20 bytes.

The pointer to the slot machines texts group have to be updated to work with the US rom versions, 'cause in (J) version the text group is the number 429 (0x01AD) in the US versions also if is blank is the number 436. Is at the offsets:

0xA48 (uncompressed overlay_0077 file)
0x7A6 (compress overlay_0077 file)

I verified changing it in the J version, where the overlay file works.

I found also the graphic file, is cleared but isn't a problem, I can replace the J graphic file with the censored and the code still works however, however is stored in A/1/2/7 file.

I don't know why the Overlay_0077 file can't works in the U version, maybe have to be updated like the texts to right other resources file in the rom. Someone could know how repair it? And maybe (also if this is harder) link it to dummy script commands to keep both Voltorb flip and Slots minigames? Overlay_0077 is however existing in the US version and can be replaced trough NitroExplorer, but I don't know if there are script commands linked, I know only that there are a lot that do the same black screen/return to the game function.

However the major thing to do will be repair the Overlay file, Voltorb Flip isn't so important, I'll prefer replace it if necessary to restore the slots.

I found the script command link (I think) in the ARM9 file, I can change the value 0x7A (Voltorb flip 122 overlay file) to 0x4D (Overlay 77 slot file) and then the game crash when have to load the Voltorb flip... I think is the right place where force the game to load Overlay_0077 instead of 122, but the code is certainly incompatible (yet) with US roms.

Someone could fix it please?
 

Halfshadow

Member
OP
Newcomer
Joined
May 1, 2012
Messages
12
Trophies
1
XP
75
Country
Italy
Someone know if there is an assembly editor for HG/SS? I found this doc for HG/SS, a MeroMero implementation:

xrpl_02078452:
NOP
SUB R1, R1, R5
CMP R7, #0x148
BCC .NotTMHM
CMP R7, #0x1AC
BXCC LR
.NotTMHM:
STRH R1, [R0, #2]
BX LR

xrpl_02078562:
NOP
CMP R2, #0x148
BCC .NotTMHM2
CMP R2, #0x1AC
MOVCC R0, #1
BCC .Return
.NotTMHM2:
LDRH R0, [R0, #2]
.Return:
LDMFD SP!, {R3, LR}
BX LR

xrpl_02257852_ov_03:
NOP
CMP R0, #1
BLS .Return2
ADD R1, R5, #0x284
LDRH R1, [R1]
CMP R1, #0x148
BCC .Return2
CMP R1, #0x1AC
MOVCC R0, #1
.Return2:
MOV R1, #0x288
BX LR

If there is a disassembly that can read an ASM file in this way will be easy find all the offsets and fix them for the J slots file.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • realtimesave @ realtimesave:
    @SylverReZ that guy seriously spent over 2 grand on that hot wheels pc?
    +1
  • RedColoredStars @ RedColoredStars:
    LTT is a noob
  • RedColoredStars @ RedColoredStars:
    Guy doesnt know wtf hes talking about half the time
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    Xdqwerty @ Xdqwerty: :sad: