Editing User:Kimbles/Medarot 2 Hacking Notes

From Medapedia
Jump to navigationJump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
Just a page to post what I've found in Medarot 2. ;D
Just a page to post what I've found in Medarot 2. ;D
Note that this is for the original GB/GBC version. For the GBA remake, see [[User:Kimbles/Medarot 2 Core Hacking Notes|Medarot 2 Core Hacking Notes]].
== Bank map ==
These are my findings for how the ROM is organized. This game is 2 MB, so about four times the size of Medarot 1.
'''Legend:''' Text is <span style="color:green;">'''green'''</span>, Graphics are <span style="color:magenta;">'''pink'''</span>, and other data is '''black'''. Only the banks that say (Empty) are actually empty, and the rest just contain unidentified data.
{| class="wikitable collapsible collapsed"
|-
! colspan=32 width=520 | Bank Map
|-
!Bank
!Address
!Known contents
|-
|0x0
|0x0000
|0x237E - Dialogue text bank pointer table
|-
|
|
|-
|
|
|-
|0x3
|0xC000
|<span style="color:green;"> 0xDB50 - Metabee part names in English, used in intro </span> <br/> <span style="color:magenta;"> 0xDC20 - Graphics for English font used in intro </span>
|-
|0x4
|0x10000
|<span style="color:green;">0x11350 - Staff credits </span>
|-
|0x5
|0x14000
|<span style="color:green;">0x160D0 - Skill names <br/> 0x159E0 - Head/Right arm/Left arm/Legs </span>
|-
|0x6
|0x18000
|<span style="color:gray;">(Empty)</span>
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|0xC
|0x30000
|<span style="color:gray;">(Empty)</span>
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|0x11
|0x44000
|<span style="color:magenta;"> 0x45000 - Title screen graphics </span>
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|0x1A
|0x68000
|<span style="color:green;">0x693F9 - Debug menu options </span>
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|0x20
|0x80000
|<span style="color:green;">0x80800 - Medarotter names </span> + data for encounter portraits/text
|-
|0x21
|0x84000
|0x84000 - Parts data <br/> <span style="color:green;"> 0x86620 - Attribute names <br/> 0x866D0 - Skill names, Leg types </span> <br/>  ? some other data? <br/> <span style="color:green;"> 0x86D70 - Medal nature names <br/> 0x86E60 - Medaforce names </span> + data
|-
|0x22
|0x88000
|<span style="color:green;"> 0x88200 - Medarot names <br/> 0x88890 - Part names, models </span> + gender data <br/> <span style="color:green;"> 0x8B7A0 - Item names </span> + usability data <br/> <span style="color:green;"> 0x8BA50 - Medal names <br/> 0x8BB90 - Terrain names <br/> 0x8BC60 - Short action names (partly unused) </span>
|-
|0x23
|0x8C000
|<span style="color:green;"> Battle, menu, system messages </span>
|-
|0x24
|0x90000
|<span style="color:green;"> Battle, menu, system messages </span>
|-
|0x25
|0x94000
|<span style="color:gray;">(Empty)</span>
|-
|
|
|-
|
|
|-
|0x28
|0xA0000
|<span style="color:magenta;"> Character walking sprites </span>
|-
|0x29
|0xA4000
|<span style="color:magenta;"> Character walking sprites </span>
|-
|0x2A
|0xA8000
|<span style="color:magenta;"> Attack/battle animations </span>
|-
|0x2B
|0xAC000
|<span style="color:magenta;"> Attack/battle animations </span>
|-
|
|
|-
|
|
|-
|0x2E
|0xB8000
|<span style="color:magenta;"> More character walking sprites </span>
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|0x34
|0xD0000
|Tilemaps + <span style="color:green;"> menu text </span>
|-
|0x35
|0xD4000
|Tilemaps + <span style="color:green;"> menu text </span>
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|0x3A
|0xE8000
|<span style="color:green;"> 0xE8200 - Signs and objects </span>
|-
|0x3B
|0xEC000
|<span style="color:magenta;"> ? Compressed graphics (+ font) </span>
|-
|0x3C
|0xF0000
|<span style="color:magenta;"> ? Compressed graphics </span>
|-
|0x3D
|0xF4000
|<span style="color:magenta;"> ? Compressed graphics </span>
|-
|0x3E
|0xF8000
|<span style="color:magenta;"> ? Compressed graphics </span>
|-
|
|
|-
|0x40
|0x100000
|<span style="color:magenta;"> Character portraits </span>
|-
|0x41
|0x104000
|<span style="color:magenta;"> Character portraits </span>
|-
|0x42
|0x108000
|<span style="color:magenta;"> Character portraits </span>
|-
|0x43
|0x10C000
|<span style="color:magenta;"> Character portraits </span>
|-
|0x44
|0x110000
|<span style="color:magenta;"> ? Compressed graphics </span>
|-
|0x45
|0x114000
|<span style="color:magenta;"> ? Compressed graphics </span>
|-
|0x46
|0x118000
|<span style="color:magenta;">Medal graphics</span>
|-
|0x47
|0x11C000
|<span style="color:magenta;">Medal graphics</span>
|-
|0x48
|0x120000
|<span style="color:magenta;">Medal graphics</span>
|-
|0x49
|0x124000
|<span style="color:magenta;">Head part graphics</span>
|-
|0x4A
|0x128000
|<span style="color:magenta;">Head part graphics</span>
|-
|0x4B
|0x12C000
|<span style="color:magenta;">Head part graphics</span>
|-
|0x4C
|0x130000
|<span style="color:magenta;">Head part graphics (silhouette)</span>
|-
|0x4D
|0x134000
|<span style="color:magenta;">Head part graphics (silhouette)</span>
|-
|0x4E
|0x138000
|<span style="color:magenta;">Head part graphics (silhouette)</span>
|-
|0x4F
|0x13C000
|<span style="color:magenta;">Right part graphics</span>
|-
|0x50
|0x140000
|<span style="color:magenta;">Right part graphics</span>
|-
|0x51
|0x144000
|<span style="color:magenta;">Right part graphics</span>
|-
|0x52
|0x148000
|<span style="color:magenta;">Right part graphics (silhouette)</span>
|-
|0x53
|0x14C000
|<span style="color:magenta;">Right part graphics (silhouette)</span>
|-
|0x54
|0x150000
|<span style="color:magenta;">Right part graphics (silhouette)</span>
|-
|0x55
|0x154000
|<span style="color:magenta;">Left part graphics</span>
|-
|0x56
|0x158000
|<span style="color:magenta;">Left part graphics</span>
|-
|0x57
|0x15C000
|<span style="color:magenta;">Left part graphics</span>
|-
|0x58
|0x160000
|<span style="color:magenta;">Left part graphics (silhouette)</span>
|-
|0x59
|0x164000
|<span style="color:magenta;">Left part graphics (silhouette)</span>
|-
|0x5A
|0x168000
|<span style="color:magenta;">Left part graphics (silhouette)</span>
|-
|0x5B
|0x16C000
|<span style="color:magenta;">Leg part graphics</span>
|-
|0x5C
|0x170000
|<span style="color:magenta;">Leg part graphics</span>
|-
|0x5D
|0x174000
|<span style="color:magenta;">Leg part graphics</span>
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|0x69
|0x1A4000
|<span style="color:gray;">(Empty)</span>
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|0x6F
|0x1BC000
|<span style="color:green;"> Dialogue (beginning of game) </span>
|-
|0x70
|0x1C0000
|<span style="color:green;"> Dialogue </span>
|-
|0x71
|0x1C4000
|<span style="color:green;"> Dialogue </span>
|-
|0x72
|0x1C8000
|<span style="color:green;"> Dialogue </span>
|-
|0x73
|0x1CC000
|<span style="color:green;"> Dialogue </span>
|-
|0x74
|0x1D0000
|<span style="color:green;"> Dialogue </span>
|-
|0x75
|0x1D4000
|<span style="color:green;"> Dialogue </span>
|-
|0x76
|0x1D8000
|<span style="color:green;"> Dialogue </span>
|-
|0x77
|0x1DC000
|<span style="color:green;"> Dialogue </span>
|-
|0x78
|0x1E0000
|<span style="color:green;"> Dialogue </span>
|-
|0x79
|0x1E4000
|<span style="color:green;"> Dialogue </span>
|-
|0x7A
|0x1E8000
|<span style="color:green;"> 0x1E8000 - Dialogue </span> <br/> 0x1EA7FB - ? some other data?
|-
|0x7B
|0x1EC000
|<span style="color:green;"> Dialogue </span>
|-
|0x7C
|0x1F0000
|<span style="color:green;"> Dialogue </span>
|-
|0x7D
|0x1F4000
|<span style="color:green;"> Dialogue </span>
|-
|0x7E
|0x1F8000
|<span style="color:green;"> Dialogue (ends with bathroom door) </span>
|-
|0x7F
|0x1FC000
|<span style="color:magenta;"> ? Compressed graphics </span>
|-
|}
This ''should'' be all of the text in the game. I found the graphics by scrolling through a tile editor though, so I couldn't identify most of the compressed graphics. (The game almost certainly has a compressed graphics table like Telefang.)
If you know where anything else is located in the ROM (like music/sound, ASM code, or other data), feel free to add it here!
== Text table ==
The text table for the game can be downloaded here:
* http://www.mediafire.com/file/7okkkxxopgpxyzi/medarot2.tbl
Use this to view/edit the text in a hex editor.
=== Control codes ===
* C0 = End character used to seperate entries in lists
* C1?? = Ends a string. In normal dialogue, C100 is used for most lines and C104 is used for yes/no questions. The game also uses C102 and C104 in battle/system messages.
* C2 = New line character. Technically this just starts writing on the second text line, so if you use it on the second text line it will start overwriting existing text.
* C3?? = Changes the text speed. Lower numbers are faster, and C3FF makes the text appear instantly.
* C4 = Waits for the player to press A, then starts a new text box. In normal dialogue, C4 is always followed by C6 when the game wants to start a new text box, but in battle/system messages C4 is sometimes used on its own. I'm not 100% sure what the difference is.
* C5???? = Inserts text from the RAM address specified. C528CB inserts the player's name.
* C6 = Starts a new box without waiting for a button press. The game seems to only use this in conjunction with C4.
* C7?? = Sets the dialogue portrait. There are C5 (198) possible faces to use. C7FF doesn't display a portrait.


== Parts data ==
== Parts data ==
Line 569: Line 72:
  00 = Strike    01 = Berserk
  00 = Strike    01 = Berserk
  02 = Shoot    03 = Snipe
  02 = Shoot    03 = Snipe
  04 = Support  05 = Protect
  04 = Support  04 = Protect
  06 = Heal      07 = Other
  06 = Heal      05 = Other
</pre>
</pre>


Line 620: Line 123:
== Extra action names ==
== Extra action names ==


In M2, every action has a name shown in the first line of the part's description, but the ROM also contains a list of short names written in katakana English for every action. For attacking actions, the names on this list actually get used in battle, but for non-attacking actions they appear to go unused. They're all under 5 characters, so it's possible that they were intended to show up on the stats screens along with the attributes/skills. (If the goal was just to have names to use in battle, they probably would have used more than 5 characters!)
In M2, every action has a name shown in the first line of the part's description, but the ROM also contains a complete list of shortened and anglicised names that appear to go unused. They're all under 5 characters, so it's possible that they were meant to show up on the stats screens along with the attributes/skills.


I think they're interesting, so I've listed them here with translations. I've also included the names the game ''actually'' uses for each action, as well as their current translations. (Some action names in Medarot 2 were changed later in the series, so the names the wiki uses don't match exactly. For those, I've added the translation of the original in brackets.)
I think they're interesting, so I've listed them here with translations. I've also included the names the game actually uses for each action, as well as their current translations. (Some action names in Medarot 2 were changed later in the series, so the names the wiki uses don't match exactly. For those, I've added the translation of the original in brackets.)


{|class="wikitable collapsible collapsed" width=500 style="text-align:center;"
{|class="wikitable collapsible collapsed" width=500 style="text-align:center;"
Line 698: Line 201:
|Trap
|Trap
|かくとう トラップ
|かくとう トラップ
|[[Melee Trap]]
|[[Fighting Trap]]
|-
|-
|0B  
|0B  
Line 926: Line 429:
|Battery
|Battery
|じょうじ じゅうてん
|じょうじ じゅうてん
|[[Constant Charge]]
|[[Charge]] <br/>(Normal Charge)
|-
|-
|31  
|31  
Line 998: Line 501:
|Set On
|Set On
|クロスこうげき セットオン!
|クロスこうげき セットオン!
|[[Cross Attack Set]] <br/>(Cross Attack Set On!)
|[[X-Attack Set]] <br/>(X-Attack Set On!)
|-
|-
|3D  
|3D  
Line 1,004: Line 507:
|Fire
|Fire
|クロスこうげき ファイヤー!
|クロスこうげき ファイヤー!
|[[Cross Attack Fire]] <br/>(Cross Attack Fire!)
|[[X-Attack Fire]] <br/>(X-Attack Fire!)
|-
|-
|3E  
|3E  
Line 1,010: Line 513:
|Surround
|Surround
|しのびこみ かくとう
|しのびこみ かくとう
|[[Enemy Detection]] <br/>(Sneak Attack)
|[[Super Sense]] <br/>(Sneak Attack)
|-
|-
|3F  
|3F  
Line 1,034: Line 537:
|Jamming
|Jamming
|ぼうがいパーツ ヘんか
|ぼうがいパーツ ヘんか
|[[Transform|Transform: Disrupt]]
|[[Transform|Trans: Disrupt]]
|-
|-
|43  
|43  
Line 1,040: Line 543:
|Attacker
|Attacker
|こうげきパーツ ヘんか
|こうげきパーツ ヘんか
|[[Transform|Transform: Attack]]
|[[Transform|Trans: Attack]]
|-
|-
|44  
|44  
Line 1,046: Line 549:
|Defender
|Defender
|ぼうぎょパーツ ヘんか
|ぼうぎょパーツ ヘんか
|[[Transform|Transform: Defend]]
|[[Transform|Trans: Defend]]
|-
|-
|45  
|45  
Line 1,052: Line 555:
|Special
|Special
|とくしゅパーツ ヘんか
|とくしゅパーツ ヘんか
|[[Transform|Transform: Special]]
|[[Transform|Trans: Special]]
|-
|-
!colspan=5| Leg types
!colspan=5| Leg types
Line 1,096: Line 599:
|Submarine
|Submarine
|せんすい
|せんすい
|Aquatic
|Water
|-
|-
|}
|}


''*'' There are two copies each of Anti-Air and Anti-Sea. The only difference seems to be the animations; the first one is used as a physical attack and the second one is ranged.
''*'' There are two copies each of Anti-Air and Anti-Sea. The only difference seems to be the animations; the first one is used as a physical attack and the second one is ranged.
Please note that all contributions to Medapedia are considered to be released under the Creative Commons Attribution Non-Commercial Share Alike (see Medapedia:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)