-
Notifications
You must be signed in to change notification settings - Fork 108
How to Install and Configure OpenAL Soft for Cytopia
Pablo Antonio Camacho Jr edited this page Sep 15, 2019
·
8 revisions
-
Ignore this step, if conan package manager is being used. OpenAL will be install automatically in build if enabled in cmake.
-
On your package manager, simply install the package openal-soft. Alternatively, the package is called openal in some package managers. Make sure the package source comes from Chris Robinson's fork of openal on called OpenAL Soft. https://github.com/kcat/openal-soft
- Open a terminal
- Clone or download OpenAL Soft from https://github.com/kcat/openal-soft
- cd openal-soft/build
- cmake ..
- make
- sudo make install
- Download openal-soft-1.19.1-bin.zip from https://kcat.strangesoft.net/openal.html
- Extract openal-soft-1.19.1-bin.zip
- For now, carefully read the instructions in the readme file.
- Download and run the OpenAL windows installer from https://www.openal.org/downloads/
- Follow the instructions in the readme file in openal-soft-1.19.1-bin. Install appropriately for Windows 32-bit or Windows 64-bit system.
- When building with CMake, run this command from the build directory. Make sure OpenAL Soft and SDL2 mixer are enabled.
cmake -DENABLE_SDL2_MIXER=1 -DENABLE_OPENAL_SOFT=1 --build ..
- Open a terminal
- run alsoft-config
- Configure 3D Audio
-
Configure 3D binaural sound for stereo headphones
- Select Playback tab in OpenAL Soft Configuration window.
- In the drop-down box for Channels, select Stereo.
- In the drop-down box for Stereo Mode, select Headphones.
- Click on the Apply button.
- Select HRTF tab in OpenAL Soft Configuration window.
- In the drop-down box for Preferred HRTF, select one of the options. Try several in the game to see which one you like best.
- In the drop-down box for HRTF Mode, select Force on. This makes sure that HRTF is used in Cytopia.
- Click on the Apply button.
-
Configure 3D surround sound for 5.1, 6.1, or 7.1 channel surround sound systems
- Make sure to setup the connection between your surround sound system and computer.
- Select Playback tab in OpenAL Soft Configuration window.
- In the drop-down box for Channels, select the option that matches the number of channels in your system e.g. 5.1 Surround for a 5.1 surround sound system.
- In the drop-down box for Stereo Mode, select Speakers.
- Click on the Apply button.
- Select HRTF tab in OpenAL Soft Configuration window.
- In the drop-down box for HRTF Mode, select Force off. This makes sure that only stereo binaural audio is not used for Cytopia instead of surround sound.
- Click on the Apply button.
1. Open data/resources/settings.json in a text editor.
2. Change false in **Audio3DStatus** to **true**.