News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Thunder Force II ROM & RAM Hacking for Sega Genesis  (Read 2639 times)

Dracula X

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • My YouTube Page for ROM hacking
Thunder Force II ROM & RAM Hacking for Sega Genesis
« on: February 01, 2015, 12:12:39 am »
This thread is for Thunder Force II for Sega Genesis. X68000 version got me interested of hacking this game.
Thunder Force II

Z80 Bank $78000
Music ID Z80 Pointer ROM Pointer Song Name
00 Music 1 $0100 Knights of Legend
01 Music 2 $10E7 Exceed
02 Music 3 $175F Take Strict Precautions
03 Music 4 $1B24 $79B24 Illusion
04 Music 5 $22AB Irrevocable Dream
05 Music 6 $2A5C A Ray of Hope
06 Music 7 $3100 Cruise Control
07 Music 8 $340C Cloud of Dust
08 Music 9 $391C Death Face's
09 Music 10 $4295 Big na Okata 1
0A Music 11 $467B Big na Okata 2
0B Music 12 $4914 Big na Okata 3
0C Music 13 $4CB7 Big na Okata 5
0D Music 14 $4F39 Big na Okata 6
0E Music 15 $5326 The Wind Blew All Day Long
0F Music 16 $586B $7D86B Mission 2
10 Music 17 $5C23 $7DC23 Stage Clear
11 Music 18 $5DF9 Game Over
12 Music 19 $6011 Take Off One's Gloves (Ending Theme)
13 Music 20 $6E1C Tan Tan Ta Ta Ta Tan
14 Music 21 $708F $7F08F Big na Okata 4

Z80 main header:
$00
$01 Volume
$02 Tempo modifier.
$03 Pitch modifier.
$04 ?
$05 ?

Configuration Mode:
FFFF9824 - Stage ???
FFFF982E - Rank
FFFF9828 - Stock
FFFF9BBE - Shot
FFFF982A - Music
FFFF982C - Sound

Game Mode:
FFFF99E8 - Weapon
FFFF981C - Lives
FFFF8026 - Invincible
FFFF9A1E - How much time to complete the top view stage for a better score.

Configuration Mode Text Hacking:
Video RAM:
90=0
91=1
92=2
93=3
94=4
95=5
96=6
97=7
98=8
99=9
A0=Blank Space
A1=A
A2=B
A3=C
A4=D
A5=E
A6=F
A7=G
A8=H
A9=I
AA=J
AB=K
AC=L
AD=M
AE=N
AF=O
B0=P
B1=Q
B2=R
B3=S
B4=T
B5=U
B6=V
B7=W
B8=X
B9=Y
BA=Z
BB=Ship
BC=x

Level Data?:
dword_20002: dc.l $96, $2847, $28DD, $23EA; 0 Stage 1 The skies overhead
dc.l $4CC7, $103D, $5D04, $BE3; 4 Stage 2 Inside of an enemy port
dc.l $68E7, $1E81, $8768, $1F0F; 8 Stage 3 Skyscrapers
dc.l $A677, $E31, $B4A8, $14FD; $C Stage 4 Highway
dc.l $C9A5, $16C9, $E06E, $2A4E; $10 Stage 5 A cave
dc.l $10ABC, $147B, $11F37, $DF6; $14 Stage 6 Inside an abandoned pipe
dc.l $12D2D, $262C, $15359, $1CE3; $18 Stage 7 Statues
dc.l $1703C, $2051, $1908D, $14DD; $1C Stage 8 Inside the ruins
dc.l $1A56A, $1DE1, $1C34B, $2FF2; $20 Stage 9 The final confrontation

Updated at 1:07am
sub_61EC - PrepareMusic1
sub_6216 - PrepareMusic2
sub_625A - PlayMusicExec
sub_6276 - PlayMusic
sub_62D8 - PlaySound1 (with priority management)
sub_62FE - PlaySound2 (without priority management)
sub_631C - ExecuteSoundRequest
sub_6472 - PlayVoice

Updated at 1-24-2015 9:55PM ct.
Boss Stuff:
This is located from loc_7940.
Boss HP
Stage 2
Mini Boss HP: 640
RAM - 8A0C
Boss HP: 2710
RAM - 8A0C
-----------------------------------
Stage 4
Mini Boss HP: 7D0
RAM - 8A0C
Boss HP: FA0
RAM - 8E0C
-----------------------------------
Stage 6
Mini Boss HP: 8C0
1. RAM - 8C8C
2. RAM - 8DAC
Boss HP: 1388
RAM - 8D0C
-----------------------------------
Stage 8
Mini Boss HP: C50
RAM - 8A4C
Boss HP: 2710
RAM - 8E0C

Updated at 4:31pm ct on 1-31-2015
Weapon Select
Top View
RAM
99EA:FF - Laser
99EB:FF - Wide Shot
99EC:FF - Five Wave
99ED:FF - Destory
99EE:FF - Clash
99EF:FF - Hunter
9A00:00XX
00 - No Claws
01 - 1 Claw
02 - 2 Claws
-----------------------------------
Side View
RAM
99F6:FF - Laser
99F7:FF - Mega Flash
99F8:FF - Wave Shot
99F9:FF - Side Blaster
99FA:FF - Nova
99FB:FF - Hunter
99FE:FFFF - Claw & Roll Timer
9A04:00XX
00 - No Claws
01 - 1 Claw
02 - 2 Claws
----------------------------------
More Boss Stuff
RAM
9A3C:00XX
00 - No Boss
01 - Boss Appears
02 - Boss Defeated
----------------------------------
9A84:0004 - How many defense systems are left in top view stages
« Last Edit: February 01, 2015, 12:18:36 am by Dracula X »
Learning how bankswitching works is completed.

FAST6191

  • Hero Member
  • *****
  • Posts: 2535
    • View Profile
Re: Thunder Force II ROM & RAM Hacking for Sega Genesis
« Reply #1 on: February 01, 2015, 05:36:59 am »
Nice info.
Question on the music IDs.
Where you have a more human readable part of the ID is the numbering related to an in game menu or anything? If not why start numbering at 1 if the values start at 00?

KingMike

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 6855
  • *sigh* A changed avatar. Big deal.
    • View Profile
Re: Thunder Force II ROM & RAM Hacking for Sega Genesis
« Reply #2 on: February 01, 2015, 11:50:13 am »
Such information would be better off added to Data Crystal.
(just use your same user name and password as you do here to log in and add it)
"My watch says 30 chickens" Google, 2018

Dracula X

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • My YouTube Page for ROM hacking
Re: Thunder Force II ROM & RAM Hacking for Sega Genesis
« Reply #3 on: February 01, 2015, 12:41:26 pm »
Nice info.
Question on the music IDs.
Where you have a more human readable part of the ID is the numbering related to an in game menu or anything? If not why start numbering at 1 if the values start at 00?

Thanks!
I'm not sure! I think there's a way to do that.

Such information would be better off added to Data Crystal.
(just use your same user name and password as you do here to log in and add it)

Thanks for the info!
Learning how bankswitching works is completed.

FAST6191

  • Hero Member
  • *****
  • Posts: 2535
    • View Profile
Re: Thunder Force II ROM & RAM Hacking for Sega Genesis
« Reply #4 on: February 01, 2015, 03:09:52 pm »
Sorry, I was thinking more why start "human readable" numbering at 1 when the values used start at 0. I know -1 from what you want is not hard but it is the same thing that sees the "what is 9+1 in hex" be a thing. If the game used said numbers in a sound test, possibly even if they were also used in a commonly known rip then maybe stick with what you have but if it was your choice to number like than then I would query that choice.

Anime_World

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Thunder Force II ROM & RAM Hacking for Sega Genesis
« Reply #5 on: April 19, 2018, 02:31:25 pm »
0x6878 = font; 4bpp linear; compressed
0xf800 = game over; 4bpp linear; interlevead; uncompressed
0x57400 = good luck; 4bpp linear; interlevead; uncompressed
0x57800 = try again; 4bpp linear; interlevead; uncompressed
0x57c000 = auto demo; 4bpp linear; interlevead; uncompressed