User:Kimbles/Medarot 5 Hacking Notes: Difference between revisions

From Medapedia
Jump to navigationJump to search
(Might add more later)
 
(Pretty cool debug menu)
Line 144: Line 144:
== Font ==
== Font ==


There are two fonts in the game. One is used for regular text boxes and includes kanji and all-caps English letters, while the other is used for the names above the text boxes and doesn't include kanji or English. (The second one might be used for other stuff too, but I can't recall off the top of my head.)
There are two fonts in the game. One is used for regular text boxes and includes kanji and all-caps English letters, while the other is used for the names above the text boxes and doesn't include kanji or English.


'''Addresses:'''
'''Addresses:'''
Line 151: Line 151:


Both fonts are uncompressed and can be edited in a tile editor (such as Tile Layer Pro).
Both fonts are uncompressed and can be edited in a tile editor (such as Tile Layer Pro).
== Debug menu ==
Many thanks to Sanky for finding this!
To access the debug menu, change the value at RAM address C480 to 41, and the byte after it to 00 while you're at the start/continue menu after the title screen. (Main menu probably also works?)
'''Submenus:'''
* '''Process / プロセス''' - Lets you change the game "state" and jump to any menu/screen of the game, in theory.
* '''Color /カラー''' - Makes the screen go white? I dunno. It has some options but the text is unreadable.
* '''Item / アイテム''' - Gives you the options "Get", "Lost", "All Get", and the numbers 0-30 for each. Select a specific number and press A to gain/lose that item. Any number works for All Get, which gives you all of them instantly. You can get more copies of items by pressing A multiple times.
* '''Full-body / ぜんしん''' - Lets you scroll through the full-body (pre-battle) sprites with left/right.
* '''Album / アルバム''' - Lets you fill in album characters you don't have. Select a number and press A to get it.
* '''Medal / メダル''' - Get, Lost, and All get - Same as the item menu. Only gives you Medals in their base stage. (Medals 0-17)
* '''Parts / パーツ''' - Same as the item menu. Gives you full sets of parts. (Medarots 0-157)
* '''Tinpet / ティンペット''' - Select 00 and press A to get a male tinpet. 01 gives you a female.
* '''Faces / かおえ''' - Lets you scroll through the character faces with left/right. Up/down scrolls through the character's possible expressions.
* '''Walking sprites / こまキャラ''' - Lets you scroll through the walking sprites with left/right.
* '''Sound / サウンド''' - Sound test, works the same as the normal one. Songs and sound effects.
* '''Enemy / てき''' - Gives options for "enemy 0" and "enemy 1" and number 0-255 for each, but pressing A on either makes the game freeze.
* '''Message / メッセージ''' - This gives you options for Number 0, Number 1, Bank, Section (?), and Flag. "Number 1" seems to be the actual message number, and setting Flag to 1 makes it increment every time you check a message. "Number 0" turns to 1 when Number 1 goes above 255, so 0-0 is the first message, and 1-0 is the 257th, 1-1 is 258, etc. "Bank" goes up to 07, but there are more banks with story text in them than that, so I dunno. I'm not sure what "Section" does either.
You can back out of any of the submenus with B. Most of the numbers are in decimal with the hexidecimal equivalent beside them (though it doesn't always display correctly). It's pretty nice!
You need to use "Process" to get out of the debug with any of the changes you made. Setting the state to 11-00 seems to drop you in the Medarotch menu in your current save file, though you can't walk around when you exit out of it. (You can open it again though.) Saving on the menu and reloading lets you keep playing with the changes.
There's also a map debug that lets you choose a map and your position on it, but not walk around or anything. You reach it the same way as the main debug menu, but changing the value to 4C-00 instead. *nod*


== Parts data ==
== Parts data ==


Seems to be stored at 178000. (Legs end at 17A77F.)
Seems to be stored at 178000. (Legs end at 17A77F.)
Since the debug menu makes it easy enough to get all the parts and check them, it probably won't be necessary to rip all the stats for this game. (Phew!) The data format seems pretty straightforward though, so I might still write more about it later.

Revision as of 19:19, 21 April 2013

This game is great, and I really hope it gets a translation patch someday. ;D

Text locations

I'm not 100% sure this is all of it, but it should provide a good start. All of these are preceeded by pointers unless otherwise noted.

Font

There are two fonts in the game. One is used for regular text boxes and includes kanji and all-caps English letters, while the other is used for the names above the text boxes and doesn't include kanji or English.

Addresses:

  • Nametag font: EC000-ECFFF
  • Normal font: 1D0000-1D212F

Both fonts are uncompressed and can be edited in a tile editor (such as Tile Layer Pro).

Debug menu

Many thanks to Sanky for finding this!

To access the debug menu, change the value at RAM address C480 to 41, and the byte after it to 00 while you're at the start/continue menu after the title screen. (Main menu probably also works?)

Submenus:

  • Process / プロセス - Lets you change the game "state" and jump to any menu/screen of the game, in theory.
  • Color /カラー - Makes the screen go white? I dunno. It has some options but the text is unreadable.
  • Item / アイテム - Gives you the options "Get", "Lost", "All Get", and the numbers 0-30 for each. Select a specific number and press A to gain/lose that item. Any number works for All Get, which gives you all of them instantly. You can get more copies of items by pressing A multiple times.
  • Full-body / ぜんしん - Lets you scroll through the full-body (pre-battle) sprites with left/right.
  • Album / アルバム - Lets you fill in album characters you don't have. Select a number and press A to get it.
  • Medal / メダル - Get, Lost, and All get - Same as the item menu. Only gives you Medals in their base stage. (Medals 0-17)
  • Parts / パーツ - Same as the item menu. Gives you full sets of parts. (Medarots 0-157)
  • Tinpet / ティンペット - Select 00 and press A to get a male tinpet. 01 gives you a female.
  • Faces / かおえ - Lets you scroll through the character faces with left/right. Up/down scrolls through the character's possible expressions.
  • Walking sprites / こまキャラ - Lets you scroll through the walking sprites with left/right.
  • Sound / サウンド - Sound test, works the same as the normal one. Songs and sound effects.
  • Enemy / てき - Gives options for "enemy 0" and "enemy 1" and number 0-255 for each, but pressing A on either makes the game freeze.
  • Message / メッセージ - This gives you options for Number 0, Number 1, Bank, Section (?), and Flag. "Number 1" seems to be the actual message number, and setting Flag to 1 makes it increment every time you check a message. "Number 0" turns to 1 when Number 1 goes above 255, so 0-0 is the first message, and 1-0 is the 257th, 1-1 is 258, etc. "Bank" goes up to 07, but there are more banks with story text in them than that, so I dunno. I'm not sure what "Section" does either.

You can back out of any of the submenus with B. Most of the numbers are in decimal with the hexidecimal equivalent beside them (though it doesn't always display correctly). It's pretty nice!

You need to use "Process" to get out of the debug with any of the changes you made. Setting the state to 11-00 seems to drop you in the Medarotch menu in your current save file, though you can't walk around when you exit out of it. (You can open it again though.) Saving on the menu and reloading lets you keep playing with the changes.

There's also a map debug that lets you choose a map and your position on it, but not walk around or anything. You reach it the same way as the main debug menu, but changing the value to 4C-00 instead. *nod*

Parts data

Seems to be stored at 178000. (Legs end at 17A77F.)

Since the debug menu makes it easy enough to get all the parts and check them, it probably won't be necessary to rip all the stats for this game. (Phew!) The data format seems pretty straightforward though, so I might still write more about it later.