Sound Hacking/Sharp X68000
These are only applicable to MAME unless stated otherwise.
Simple Triggers
| Game | Developer | Music Trigger | Values + Comments |
|---|---|---|---|
| Group X | Compac Inc. |
|
01~09 = music and sfx
Write to |
| Souhou Blue Phoenix | Stillrise | maincpu.b@67aa2 = 0xXX
|
Only works in the Music Test menu; you have to press the "B" button to activate the track. |
File swapping
MAME and XM6 2.05 can be used here.
Lenam: Sword of Legend
Lenam: Sword of Legend uses a modified version of OPMDRV with a PCM packer (P.X), LZSS-compressed MML files(.MUS), and sound bank files(.SND) for the internal sound system.
The majority of the songs are stored in the System disk, while the Opening (oping.mus) and Title(TITLE.MUS) songs are in the Opening disk uncompressed.
Some songs use a specific sound bank:
AKI2.SNDusers-
DANEND1TOWN1MAZECASIV1IV2IV3BIV4SLEEP
OPING.SNDusers-
TITLEOPINGOVER/LM9LM1LM2LM4LM6LM8
- Users of neither
STOP
SLEEP.MUS file, or the game will not start.MAZE.MUS and TOWN1.MUS).Pitapat
Pitapat uses the PMD x68k driver and plays the loading song (PP16.M) until the player starts the game. The song uses a separate sample bank, PIT_OMAKE.P. To correctly play the other songs (PP00.M~PP15.M), swap it with the other sample bank (PITAPAT.P).
Advanced Hacks
Most of these are done while the game is loaded.
Algarna
Set breakpoint @ 0x2cf80
| Offset | Hex patch | Description |
|---|---|---|
2cf86 |
01xx | Load Song ## |
2cf8a |
60fe | Freeze |
Valid Track IDs
01~16
Bakuretsu Aniki
Set breakpoint @ 0x86428
| Offset | Hex patch | Description |
|---|---|---|
86428 |
4e71 | |
8642a |
70xx | Load Song ## |
Valid Track IDs
0b~10
Dash Yarou
Set breakpoint @ 0x2af1a, then edit the following offsets and set PC @ 0x2af14.
| Offset | Hex patch | Description |
|---|---|---|
2af14 |
70xx | Load Song ## |
2af16 |
6100 xxxx | Routine for SFX (0x14dc) or Music (0xd9dc) |
2af1a |
60fe | Freeze |
Valid Track IDs
- Music
-
- 01~05
- 07~09
- 0b~10
- SFX
-
- 13~2e
- Stop playback
- 00
FIRE STORM
Set PC @ 0x4b038
| Offset | Hex patch | Description |
|---|---|---|
4b038 |
700x | Start (2)/Stop (0) Music |
4b03a |
72xx | Load Song ## |
4b044 |
60fe | Freeze |
Valid Music IDs
00~08
Galaga '88
Search for 0C07 003F 6708 within Disk A and change 6708 to 4e71 to play the Arrange Mode Ending song.
Gemini Wing
| Offset | Hex patch | Description |
|---|---|---|
2abae |
70xx | Load Song ## |
Valid Music IDs
- 01~0f
- 34
- 35
- 39
- ff (to stop playback)
Grandi Florum: Mischief of Iveris
Set PC @ 0x100000
| Offset | Hex patch | Description |
|---|---|---|
100000 |
720x | Start (1)/Stop (0) Music |
100002 |
74xx | Load Song ## |
100004 |
4e40 | Start Music Routine |
100006 |
60fe | Freeze |
Valid Music IDs
00~14
Gravity Response
Set breakpoint @ 0x12d2c
| Offset | Hex patch | Description |
|---|---|---|
12d2e |
700x | Load Song # |
12d34 |
60fe | Freeze |
Valid Music IDs
00~0d
Mahou no Shooter Putchin Plin
Set breakpoint @ 0x8d1f2
| Offset | Hex patch | Description |
|---|---|---|
8d1f2 |
700x | Load Song # |
8d20a |
60fe | Freeze |
Valid Music IDs
01~03
Mi ni Ikuzo! Hedgehog
Set breakpoint @ 0x3adfc
| Offset | Hex patch | Description |
|---|---|---|
3ae42 |
700x | Load Song # |
3aeac |
60fe | Freeze |
Valid Music IDs
00~03
Namachuukei 68
Set breakpoint @ 0x2aff2, then edit the following offsets
| Offset | Hex patch | Description |
|---|---|---|
2afec |
4e71 | |
2afee |
4e71 | |
2aff0 |
70xx | Load Song ## |
Valid Music IDs
- 40~4F
- 62
- 65
- 69~6D
- 5f (to stop music)
Prote Pruste
Change byte @ 0xc8e60 from 62 to 60 within the disk to disable sound effects in the sound test.
Shufflepuck Cafe
Set breakpoint @ 0x6a5dc
| Offset | Hex patch | Description |
|---|---|---|
6a5e6 |
01xx | Load Song ## |
6a5ea |
60fe | Freeze |
Valid Music IDs
00~0e
Star Luster
| Offset | Hex patch | Description |
|---|---|---|
ac9ff |
90 | Increase sound test limit |
Vulqar
Set breakpoint @ 0x1175e6
| Offset | Hex patch | Description |
|---|---|---|
1175e6 |
700x | Load Song # |
1175ec |
60fe | Freeze |
Valid Music IDs
- 00
- 01
- 0b~0d