User Tools


This is an old revision of the document!


Details

As of version 1.9.3S (but prior to version 2.0), when loading a new SM64 ROM, it performs the following actions:

  1. Runs M64ROMExtender.exe to decompress MIO0 Compression blocks and extend ROM to 24MB
  2. Runs rom_expand_64.exe to further extend to 64MB
  3. Applies obj_import18S.ppf
    1. clear checksum verification infinite loop
    2. override unused Behavior12 with copy and clear code
    3. update reference to sequence bank (0x7B0860 → 0x2F00000)
    4. update reference to instrument set table (0x7CC620 → 0x7F0000, len: 256 → 512)
    5. changes whomp's star spawn location (why?)
    6. TODO: 0x8FC → 0x4000, _pool_alloc() → 0x80750000
    7. replace LevelCommand 10 and 17 with function 80401500
    8. reduce Mario's shadow size from 0x64 to 0x46 (why?)
    9. inserts music menu names in unused space
  4. applies “collision improvements fix”
    1. 1000C8: LI T6,0x4000 → LI T6,0x7FFF
  5. applies “music volume bug fix”
    1. 12A788: 00B40046 → 00960064
    2. this seems to be adjusting some shadow size in geo layout?
  6. additional music settings and sequences
    1. relocate music from 0x02F00000 to 0x03E00000
    2. replace call to soundAlloc/0x80317040 with hardcoded 0x803D0000