SWY1985 / CivOne

An open source implementation of Sid Meier's Civilization.
http://www.civone.org/
Creative Commons Zero v1.0 Universal
244 stars 49 forks source link

Support for Civilization for Windows sounds #359

Closed SWY1985 closed 6 years ago

SWY1985 commented 7 years ago

Because it's going to take some time to figure out how to decode the original Civilization for DOS sound files, it's a good idea to add support for the Civilization for Windows sound files. If the .wav files exist, CivOne will play them. Otherwise it will just run with no sounds.

SWY1985 commented 7 years ago

In order to play the game with CivWin sounds, you'll need to copy all the .wav files from the original (Civilization for Windows) folder to ~/sounds/** Also, you need to install OpenAL: https://www.openal.org/downloads/

This feature is experimental, and basically a workaround until we manage to discover how the original Civilization for DOS sound files work. It adds a bit of life to the original game.

Please, do not post links to the original sound files. If someone does not own CivWin, they'll have to live without sounds for the moment. Sorry...

SWY1985 commented 6 years ago

This feature has not been implemented in the SDL version of Civilization. I also want to add a GUI for adding the files, instead of manually copying them.

SWY1985 commented 6 years ago

Now that support for playing sounds has been implemented in the SDL runtime of CivOne, here's the todo list:

The following sound files are not yet used:

SWY1985 commented 6 years ago

All CivWin sounds are now used. Now we just need a setting in the setup screen to add sound files.