Author Topic: [FF7-PSX] SAVEMENU.MNU: little research  (Read 3653 times)

Xeeynamo

  • *
  • Posts: 13
    • View Profile
[FF7-PSX] SAVEMENU.MNU: little research
« on: 2009-12-15 22:19:43 »
I'm exploring the MENU folder on FF7 PSX disc (I'm working on a little ff7 engine) and I've started to study the SAVEMENU:

0x00000 byte[2][8]: MMC Devices (bu0X:)
0x00010 uint[16]: Offset from 801D0804 to 801D16A4
0x00050 byte[15][20]: String that contain the name of savefile (BASCUS-94163FF7-SXX)
0x0017C byte[2][8]: MMC Devices with * (bu0X:*   ?)
0x0018C byte[2][8]: MMC Devices with %s (like printf("bu00:%s", getSaveName(0x00050));  )
0x0019C byte[15][36]: Used when you save the game
[...]
0x04EDC [23044 bytes] -> Sword texture (That is displayed on "New game" screen)
0x0A8E0 [17916 bytes] -> Empty
0x0F10C -> The 15 textures that are used on the saves
0x12C78 uint[16] -> Offset for getSaveName (like 0x00050). The 16's value is 0
0x12CB8 uint[16] -> Offset for getUnknow (like 0x0019C). The 16's value is 0
0x12CFC -> Strings...


I know, isn't much but I hope that this topic will be useful :)
« Last Edit: 2009-12-17 10:58:58 by Xeeynamo »

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
Re: [FF7-PSX] SAVEMENU.MNU: little research
« Reply #1 on: 2009-12-16 05:22:10 »
the .MNU failes are actually an executable overlay.. They are loaded into memory as a module and executed by the CPU, so there is code in there. In the PC version, this was wrapped into the man executable.

Xeeynamo

  • *
  • Posts: 13
    • View Profile
Re: [FF7-PSX] SAVEMENU.MNU: little research
« Reply #2 on: 2009-12-16 14:44:08 »
the .MNU failes are actually an executable overlay.. They are loaded into memory as a module and executed by the CPU, so there is code in there. In the PC version, this was wrapped into the man executable.
So to understand the function of this modules, I have to decompile these in assembly?

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
Re: [FF7-PSX] SAVEMENU.MNU: little research
« Reply #3 on: 2009-12-17 05:38:48 »
pretty much. You have to find where in PSX memory the .mnu is loaded and dissasemble from there.

Gemini

  • *
  • Posts: 260
  • Not learner's Guru
    • View Profile
    • Devil Hackers
Re: [FF7-PSX] SAVEMENU.MNU: little research
« Reply #4 on: 2009-12-28 10:25:00 »
The ram offset for all MNU files is 0x801D0000 in any version of the game.