The PS1 has a few standard sound formats. I'm guessing that this music is in a separate audio track on the CD, as opposed to the PS1's MIDI-like format?
If so, there are a couple things you could try. First, find the origial music's start LBA (aka the number of the sector where the music starts) and search the game's exe for that value (remember to account for endian-ness). If you're lucky you may it and be able to edit it to the new music's location. The theory being that the exe has a 'play music' routine which uses the music start sector as an argument to prepare the data for the PS1 hardware.
Yea, the game uses music tracks that can be ripped and played on any player.
Another important detail is that I can see where the sectors for each music track begin and end with jPSXdec. However, I can't replace the offending track with the desired one because that other track is used on a number of other missions.
So I know the sectors for both tracks: - the wrong one for this mission is in 167275-188211 and the one I want to use is in 213005-239981 of Disc 1 (this is a Disc 1 problem only)
I just ripped two files from the CD that could be the EXE, one has the SLPS catalog number as its name SLPS_020.20 and the other ACE3. Not sure which is the one that might help since both say PS-X EXE in their first lines when using a hex editor. I looked into both and I'm seeing some CD-related words such as cd_read, write, error and bios too.
My questions are: are these sector numbers supposed to translate into specific hex values that I can then use to search the EXE? Like, does beginning sector 167275 have its own hex address? If I can find the right hex address in the exe, for the mission I need, then I just need to copy the value from the track I need, right? (sorry if this sounds weird, not my specialty, but I've dealt with hex and big/little endian at least once before)
On a different topic, does anyone know if the AC3E Text Editor only supports AC3E files? It looks well laid out and I'm wondering if it will function on other image formats such as standard PS1 TIMs.
Hmm, it's a pity that Dashman isn't here to answer, but if you ask me I'd say try to use it and see if it works. If I'm not mistaken, that tool is one of the more specific that we have. I think he configured it to recognize and use the CLUTs that AC3 uses so that MAY be an issue but I never tried it on other games so I don't know. You can also use it for bitmap images with no CLUT. If image dimensions exceed 256x256 then you won't be able to see it in the preview window. Line spacing is also configured for AC3's two styles, big and small text, so you might need to adjust spacing for your desired game with GIMP or Photoshop. If I were you I'd try and see how much mileage you can get out of it.