Extract game OSTs in high quality
#1
Hi, fellow pirates.

I made a post a while back in the general discussion part of the forum about how to better package DOS games when uploading torrents, to save HDD space and bandwidth. The way I went about it is to use a Bash script I created. It's made for Linux, but there's nothing really specific in it that would stop it from also working in FreeBSD or macOS. The only thing that would need to get changed, as far as I'm aware, is the path in the 'cue_tmp' variable, as /dev/shm is a RAM disk device specific to Linux. Though, in the case of macOS, you'd need to also install a recent version of Bash as their version was ancient last time I checked. It doesn't have support for some of the "newer" Bash features that the script uses.

Since I made that post, I've made improvements to the script that makes it more relaible and faster. As an example, it can now process CUE sheets that contain multiple BIN files (as is the case with Redump disc images), if you use the '-ffmpeg' or '-sox' argument to the script.

If you're not on any kind of *nix-based OS, there's also a similar tool called CBAE for Windows, that accomplishes the same job as my script.

In any case, the script can also be used for extracting game OSTs in general. It doesn't matter if the game is PC or console, as long as it has CD audio (which a lot of games did during the 90s and early 2000s).

I think it would be good for the pirate community to have easier access to game OSTs in high quality (FLAC). After extraction, that music can be posted to YouTube or collections could be made and posted on torrent sites (like TPB).

If you have BIN/CUE disc images for old games laying around, you could easily extract the audio tracks in FLAC with the script. It only takes ~10 seconds per game, if using the '-flac' argument.

[Image: Screenshot-from-2023-02-26-16-25-36.png]
Reply
#2
I made some further changes to the script since this post and it should now work out of the box in macOS and the like, if you have the necessary commands installed as well as a recent version of Bash.

Also, the script no longer depends on 'bchunk', but uses ffmpeg by default to convert CD audio files to WAV.
Reply
#3
(Jun 29, 2023, 22:17 pm)Maridns Wrote: Since writing this, I've updated the script so that it requires only the presence of the required commands and a modern version of Bash to function normally on macOS and similar systems.
puppet hockey

That's incredible.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  The Guess the Game Game Suprbay 62 241,477 Jan 26, 2024, 18:14 pm
Last Post: lustrous
  What is a cdx file and how do i extract it? :) uberarne 4 19,573 Aug 05, 2018, 21:09 pm
Last Post: dueda
  Why do people extract images from games for console systems that aren't cracked yet? RobertX 7 22,574 Jun 09, 2018, 00:56 am
Last Post: RobertX
  Recent lack of high-profile game uploads on TPB no_Steam 1 13,778 Sep 14, 2017, 14:28 pm
Last Post: Spud17
  Installing game updates from XBOX360 Game disc RobertX 0 15,411 Feb 11, 2016, 03:02 am
Last Post: RobertX



Users browsing this thread: 1 Guest(s)