Skip to main content
Topic: Any command-line/Api to convert Game musics? (Read 219 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Any command-line/Api to convert Game musics?

Are there any command-line utilities or C/C++ apis that would allow me to convert game music formats such as .spc(Nes) or .2sf(Nintendo Ds) and such?

It has to be programmable. I can't use a GUI, since I want to embed it to my software.

Re: Any command-line/Api to convert Game musics?

Reply #1
For .spc files at least, ffmpeg seems to be able to convert to WAV, but with an important caveat: a lot of .spc files don't have a defined length (in the game they're meant to loop indefinitely), so you have specify it manually in the ffmpeg command.

More details here.
Lossless: flac --best --verify
Lossy: opusenc --bitrate 160

 

Re: Any command-line/Api to convert Game musics?

Reply #2
Anything for nintendo ds .2sf games?
If there is no command line tools for it, I guess documentations on the specific format(how it's structured) would be fine too;

 
SimplePortal 1.0.0 RC1 © 2008-2018