Wind Waker: Custom Music (NTSC)

Joined: December 6th, 2016, 7:45 pm

February 10th, 2018, 4:49 pm #1

(I guess this is the right place to put this topic? Maybe it should be put in documentation? No clue.)

Custom Wind Waker songs: (the instrument, not in-game music)
[+] Spoiler
Required files:
Hex Editor (I recommend HxD)
Dolphin: https://dolphin-emu.org/
Wind Waker ISO: no lol
GCR: https://www.romhacking.net/utilities/619/

Songs are contained in &&systemdata > Start.dol
Dolphin doesn't extract &&systemdata, so you have to use GCR.
https://www.romhacking.net/utilities/619/

The original version of this came from this link. I just found the invidivual offsets for each song, and made an example video on it.
Credit goes to Sage-of-Mirrors (or whoever made it) rather than me.

Start.dol in the iso: 0x1EC00
Notes:
00 - Center
01 - Up
02 - Right
03 - Down
04 - Left

Each song is 7 bytes each, but byte 1 is used for the amount of notes, which is locked at 3, 4, or 6.

Wind's Requiem:
Location in Start.dol: 0x3985F4
Location in iso: 0x3B71F4
Note length: 03
01 04 02

Ballad of Gales:
Location in Start.dol: 0x3985FB
Location in iso: 0x3B71FB
Note length: 04
03 02 04 01

Command Melody:
Location in Start.dol: 0x398602
Location in iso: 0x3B7202
Note length: 04
04 00 02 00

Song of Passing:
Location in Start.dol: 0x398617
Location in iso: 0x3B7617
Note length: 03
02 04 03

Earth God's Lyric:
Location in Start.dol: 0x398609
Location in iso: 0x3B7209
Note length: 06
03 03 00 02 04 00

Wind God's Aria:
Location in Start.dol: 0x398610
Location in iso: 0x3B7210
Note length: 06
01 01 03 02 04 02

Example:
http://www.youtube.com/watch?v=6rQE6X3FG2o
Custom in-game music: (WIP, crashes the game on startup, but is the basic gist for custom music. I'm still working on a fix for it, so don't worry.)
[+] Spoiler
Required files:
Dolphin: https://dolphin-emu.org/
Wind Waker ISO: no lol
GCR: https://www.romhacking.net/utilities/619/
MidiToBMS: https://github.com/arookas/flaaffy
rarcdump: http://www.amnoid.de/gc/
arc/rarc packer: https://www.romhacking.net/utilities/1334/

1:
Make your midi, export it, blah blah general stuff mostly everyone knows. 0-15 are the only channels usable, while channel 9 is for percussion only.

2:
Use the MidiToBMS tool listed above using these arguments.
mareep -errand jolt -input song.mid -output song.txt
Then use:
mareep -errand cotton -input song.txt -output song.bms

3:
Rename your new song.bms to whatever song you want to replace in Wind Waker. The songs are in this file:
root\Audiores\Seqs\JaiSeqs.arc

Drag JaiSeqs.arc into rarcdump, then go to JaiSeqs.arc_dir\bms. Replace the song.

Once you're done, drag the bms folder (NOT JaiSeqs.arc_dir) into the arc/rarc packer, put the new JaiSeqs.arc in the Seqs folder, and rebuild the iso with GCR.

3.5 (Rebuilding the iso)
[+] Spoiler
Open GCR. Root > Open, select the root folder that you got from dumping the iso. Root > Save, and enter your new iso name. Root > Rebuild. Let it finish, and you're done.
Quote
Like
Share

Joined: October 29th, 2014, 3:42 am

February 11th, 2018, 7:25 pm #2

I'd like to see the original wind waker music playable in winamp in ripped form. I don't think HCS has been able to decode all the files yet...
Quote
Like
Share

Joined: December 6th, 2016, 7:45 pm

February 12th, 2018, 12:27 pm #3

https://hcs64.com/mboard/forum.php?showthread=37320
I'm testing it now, but from what this says, HCS already figured it out years ago?
Quote
Like
Share

Joined: October 29th, 2014, 3:42 am

February 13th, 2018, 6:56 am #4

I don't think so, I have the ripped soundtrack for WW and TP, and while it can play some songs, most of the music is unplayable.

EDIT: I'm talking about playing the music off the original files, not converting them to midi.
Last edited by Zanak on February 13th, 2018, 6:57 am, edited 1 time in total.
Quote
Like
Share