FFPR2MSU is a tool that extracts the audio files from the PC version of the Final Fantasy Pixel Remaster games and converts them to be used with existing MSU-1 patches:
[!NOTE] I will NOT share the audio files themselves. The files are under copyright, thus sharing them around would be illegal. You will need to supply your own music asset file (in this case, a Unity bundle file) from the PC version of the Final Fantasy Pixel Remaster game in question.
First off, Purchase and install the PC version of your Final Fantasy Pixel Remaster of choice if not already done.
Follow these steps depending on the game you're looking to use:
Patch your rom with the corresponding .ips patch file with the help of some rom patching program like the Advanced SNES ROM Utility, Flips or Lunar IPS.
To save yourself the headache of having to rename dozens of files later on, make sure that the msu file and the pached rom have the same name (be careful not to inadvertently change the file extensions).
From the corresponding Final Fantasy Pixel Remaster Steam install folder, find the .bundle background music asset file and keep it close, you'll need it soon. It should be named something like: "ffcorresponding-game-number
_bgm_assetsall\series-of-numbers-and-letters
.bundle".
Download the latest release of the program or compile it from source. Make sure to keep the ini file in the same directory as the executable.
Drag-and-drop the .bundle file you found earlier on the executable and follow the instructions written in the console that will pop up. Alternatively, you can run the following commands in a terminal:
On Windows:
cd "path\to\the\program\directory"
FF6PR2MSU.exe "path\to\the\bundle\file"
On Linux:
cd "path/to/the/program/directory"
FF6PR2MSU "path/to/the/bundle/file"
You should now have a bunch of .pcm files in a folder named "output" located in the same directory as your bundle file (or in your current work directory if you ran the command in your command line interface). Now, simply place all of those and the rom you patched in your location of choice (either an FX Pak Pro or some emulator that supports the MSU-1). For more information on the MSU-1 and how to set it up, I highly recommend reading up this guide on the Zeldix forums.
Because I want to make it work on Windows and Linux... I prefered leaving it as a CLI application for simplicity's sake. Seeing as it's pretty simple and only requires drag-and-dropping a single file and then enter 2 pieces of information, I think this will be more than sufficient.
Look up the open issues. If it has already been reported, comment on it if you have any more information to add. If it hasn't been reported, you can create a new issue. Any help is greatly appreciated! :slightly_smiling_face:
This was made possible by the incredible work of user Dizzy611 on his tool DancingMadFF6 for Final Fantasy III/VI, kurrono's MSU-1 hack for Final Fantasy II/IV and Conn's MSU-1 hack for Final Fantasy V on the Zeldix forums, the VGAudio library by user Thealexbarney, wav2msu which was originally written by a user named Kawa (whose page and original C# source code I could not find online) and then reimplemented in C by jbaiter's and AudioMog by Yoraiz0r.
Full credits and a copy of the copyright notice for jbaiter's wav2msu and Yoraiz0r's AudioMog can be viewed at the top of the files Wav2Msu.cs and AudioMogHcaDecoder.cs respectively.