Giter VIP home page Giter VIP logo

Comments (1)

andrew-mcmahon avatar andrew-mcmahon commented on August 15, 2024

Music is already supported via Vorbis or FLAC tracks although a bit of work is needed to get the music off the disc image that GOG provide. NBlood and Quakespasm work in the same way.

After extracting the GOG installer with innoextract, Linux and OSX systems can use bchunk like so:

bchunk -w REDNECK.gog REDNECK.inst track
bchunk -w RRRAGAIN.gog RRRAGAIN.inst track

Once you've got several WAVE tracks you can convert to Vorbis or FLAC through the command line using flac or vorbis-tools i.e:

flac --best --delete-input-file *.wav
oggenc *.wav -q6 (192 kb/s)

Or with GUI programs such as (Gnome) Sound Converter.

Apparently there's bchunk for Windows too but I've never used it.
Windows users will probably have to use something like Daemon Tools to mount the image and rip the audio from the virtual drive using a program like dBpoweramp - that's how I used to do it anyway.

However you go about it - you want to end up with a subdirectory named music containing:

  • track02.flac -> track09.flac for Redneck Rampage
  • track02.flac -> track10.flac for Rides Again

I find it's best to keep the two games separate as GOG have.

This bash script I wrote automates the whole process - it just needs the current GOG installer, flac, innoextract and bchunk installed to do it's magic:
https://gist.github.com/andrew-mcmahon/4fe4b1c1892fd6a372b11dc7d1eec1d0

Have a read of it, perhaps even adapt it for Windows or OSX if you wish.

from nredneck.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.