Page 1 of 1

TGM3 Sakura mode hacking

PostPosted: Sun Aug 07, 2011 1:30 pm
by BlankedOutBox
I found the level data of Sakura mode!
I attached a level editor (requires Java5 or newer) that can edit levels inside of game.exe.

0x7C120~ Field Map (each level has 200 bytes)
00=Empty
02=Red
03=Green
04=Purple
05=Blue
06=Orange
07=Yellow
08=Cyan
09=Gray
12=Gem Red
13=Gem Green
14=Gem Purple
15=Gem Blue
16=Gem Orange
17=Gem Yellow
18=Gem Cyan
19=Gem Gray

0x7D890~ Gimmick Type
00=None
01=Death Block
02=Roll Roll
03=*Transform
04=Color Block
05=Mirror Block
06=X-Ray
07=*180 Field
08=*Shot Gun!
09=*Hard Block
0A=*Laser
0B=*Dark Block
0C=*Nega Field
0D=Up Del Field
0E=Down Del Field
0F=Right Mov Field
10=Left Mov Field
11=Del Even
12=Free Fall
13=**Exchg Field (Freeze)

*:Long delay before the first piece appears
**:Freeze the game

0x7D8B0~ How often the gimmick happens

Does anyone know where the time limit is stored? I think it's hard-coded somewhere...

Re: TGM3 Sakura mode hacking

PostPosted: Mon Aug 08, 2011 12:00 am
by Wojtek
wow, those levels beyond ex7 are some secret levels or just unused?
very nice editor. i don't know where time limit is defined but i can look for it.

Re: TGM3 Sakura mode hacking

PostPosted: Mon Aug 08, 2011 3:36 am
by Kitaru
Beyond EX7 would just be unused data. If you finish EX7, your record is marked ALL. There is also an unused music file that could potentially be alternate Sakura EX music.

Re: TGM3 Sakura mode hacking

PostPosted: Mon Oct 17, 2011 7:29 am
by BlankedOutBox
OK, I found where the time limits are stored in game.exe:
0x115C3 Time limit for gain access to EX6 and EX7? (Default: 18000 frames = 5 minutes)
0x115DB Limit Time (Default: 10800 frames = 3 minutes)
0x11607 Stage Time (Default: 3600 frames = 1 minute)
0x1276C Stage Time seen in mode select screen (This is overwritten by the above when the game starts)

Re: TGM3 Sakura mode hacking

PostPosted: Tue Oct 18, 2011 10:04 am
by Wojtek
BlankedOutBox, do you know way to start from level higher than 0 in tgm3? For example I would like to play from level 500 in shirase.

Re: TGM3 Sakura mode hacking

PostPosted: Tue Oct 18, 2011 12:17 pm
by BlankedOutBox
Wojtek wrote:BlankedOutBox, do you know way to start from level higher than 0 in tgm3? For example I would like to play from level 500 in shirase.

I know where the level variables are stored in the RAM (Using CheatEngine) but currently I don't know where those variables are initialized.
004ACD80: Pause flag
004AE300: Current level
004ACD8A: Current section
004AE304: Current internal level of Master mode