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

Halfshadow Mar 28, 2019.

  1. Halfshadow
    OP

    Halfshadow Newbie

    Newcomer
    1
    May 1, 2012
    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?
     
  2. Halfshadow
    OP

    Halfshadow Newbie

    Newcomer
    1
    May 1, 2012
    Italy
    Someone know if there is an assembly editor for HG/SS? I found this doc for HG/SS, a MeroMero implementation:

    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.
     
Quick Reply
Draft saved Draft deleted
Loading...