Now, I know this tool is pretty useless, considering wavs takes too much space, but heh, I was bored
How to use:
1: Convert the Wav using WAV2GBA(Included in the download)
2: Specify where your .bin is in WAV2EA
3: Fill in the textboxes(The ids for Replacing ids can be found in Music List.txt, and for group its in Group List.txt.)
4: Click save, the installer file should be in the same folder as the .bin
5: Copy paste MPlayDef.event in said folder
6: assemble with Event Assembler
This is an error with Event Assembler or myself, not your program, but it still is related(maybe).
Whenever I attempt to assemble the text file, I get this error: File Installer.txt, Line 5, Column 13: Didn’t reach end, currently at Comma(,)
where Line 5 is: SongTable(31,Confrontation,1)
I tried with Event Assembler 11.0.1 and some older version from a year or so ago, but I still get the same error. I also added “#include EAstdlib.event” to the text file, but the error remains the same. Any idea(s) on how I could fix it?
#define SongTableOffset 0x224470 #define SongTable(index,SongPointer,Group) "PUSH; ORG SongTableOffset+(8*index); POIN SongPointer; SHORT Group Group; POP"
try adding those two definitions to the file?
The error disappears, but when I try to play the song in the Sound Room, the game freezes. I assumed this worked for FE7, but the SongTableOffset was that of FE8(I changed it accordingly to FE7’s table). Now I am wondering if it has something to do with my wav files or if I am just doing something wrong. I tested two different wav files, but both freeze the game.
Where the only thing I added to the text file are the lines above “SongTable(31,Brave3,1)”.
Am I forgetting something/doing something wrong?
Solution:
Ignore me. I thought the “Replacing ID” was in hexadecimal and therefore was expecting 0x31’s song to be replaced. It turns out that it works fine. Continue on.
File Installer.txt, Line 36, Column 14: Didn't reach end, currently at Colon(:)```
Ok I fixed the issue above, but whenever I assemble it, it takes like 3 minutes and crashes the game at the start. What am I doing wrong?
How would I do this? I tried ripping the inserted wav from a rom using vgmtrans/gba music ripper, and neither results in a midi file that plays any kind of sound.
Updated. added the definition for SongTable(I forgot to add it in the first version) and updated Dummy.txt.
also now instead of outputting Installer.txt it will output [name] Installer.txt.
I tried inserting a wav that would loop, but instead of looping, at a random spot in the song, the game would jump back to the beginning of the song and then end abruptly at another point(further into the song). Judging by the point in the song when it stopped, I think the length of the song that played(from the early “repeat” to the mid-song stop) is about the same length as the wav itself(I have not tested the exact length, however). I tried using about four different markers in Wavosaur to make it loop, all with the same result.
Since I was using an older version of the wav2ea file, I thought it might be because it was outdated, but when I use the newest version of the program, I got the error: “Symbol loop_sfx_mvl isn’t in scope”.
Am I doing something wrong or did I forget something?