* Added command-line arguments for batch processing
* Added DPI awareness for better scaling at 4K and beyond
* Added warning message if unpacking libraries failed
* Improved library management speed
* Improved log details
* Updated export filename to default to source filename
* Miscellaneous code updates and improvements
Radio Tuner is a simple application for Final Fantasy XV: Windows Edition to completely customize your roadtrip audio experience. Listen to built-in tunes outside the game, export them to your own MP3s, or add your own music library into the game via file replacement--all in a few clicks with a simple GUI.
Now, you can also operate Radio Tuner on the commandline to quickly handle multiple files, individually or in batches! (Using CMD--PowerShell is currently not supported.)
Available command arguments are as follows:
- -i "C:\file.sab" | Imports a .sab or .mab file
- -e "C:\file.mp3" | Exports the imported file in the desired format (e.g. MP3, OGG, FLAC, WAV, and many more)
- -r "C:\file.m4a" | Replaces the imported file with the desired audio file of virtually any format
- -b | Replaces the imported file with the backup automatically created by Radio Tuner
- -v | Shows the Radio Tuner log when the process is complete
With the exception of the backup argument, all arguments can be input simultaneously in a single command. For example:
FFXVRT.exe -i "C:\Program Files (x86)\Steam\SteamApps\common\FINAL FANTASY XV\datas\sound\resources\20000music\jp\bgm_afrojack.win.sab" -e "C:\Users\Lulech23\Music\afrojack.mp3" -r "C:\Users\Lulech23\Music\The Beatles\Hey Jude.mp3" -v
To restore the original file after running this command, simply import the file again and restore the backup:
FFXVRT.exe -i "C:\Program Files (x86)\Steam\SteamApps\common\FINAL FANTASY XV\datas\sound\resources\20000music\jp\bgm_afrojack.win.sab" -b
You can also check the log by itself without performing any new operations:
FFXVRT.exe -v
On its own, Radio Tuner can only process one file at a time. However, with a little extra code, you can 'loop' through multiple files:
for %%f in (*.sab) do ( FFXVRT.exe -i "%%f" -b )
This will take every .sab file in the current folder, replace "%%f" with the name and path of the file, and restore the original audio from a previous Radio Tuner replacement. This is a quick way to reset your game to the default soundtrack.
Unfortunately, a loop isn't so good at replacing specific files with specific audio tracks. This is where a batch file can come in handy. Simply take the first example above, copy it into a text editor, and duplicate the line once for each file you want to replace. (Make sure you ONLY use -v on the last line here.)
When you're done, save the text file as "FFXVRT.bat" (or any name ending in .bat you wish) in the same folder as FFXVRT.exe. Make sure the extension is really just .bat, not .bat.txt. The icon will change from a text file to an executable script. Double-click to run it, and a command window will appear and automatically process each file in sequence.
Warning: Commandline execution is an advanced feature and has the potential to execute code that may break your game or worse. Exercise caution, and use at your own risk!