User:32th System/SA Replay Info Collection
Jump to navigation
Jump to search
Replay header
Address | Type | Name | Description |
---|---|---|---|
0x00 | int | magic_number | "t11r" |
0x04 | short | check | Must be 4, otherwise the replay is invalid |
0x1c | int | replay_size | Size of the replay data not including header or user information |
Finding replay loading code
These steps should also be possible with any other Touhou game. If saving a replay twice results in a completely different replay (like it's the case in Mountain of Faith) this exact method will not work
- Save 2 of the exact same replay with a different name
- Make sure that there are only a few bytes that differ in your replays
- In one of the replays, edit a byte that is different from the other
- Enter the replay menu, your game should crash! If it does, enter the replay menu again, this time run the game with a debugger
- The address at which the game crashes should be in the replay loading function