We have recently updated the Windows Installation Wiki Page to reflect some missing information that explains how to get OpenAL working on Windows machines.https://enigma-dev.org/docs/Wiki/Install:Windows
First, you'll need libmodplug installed in your MSYS2 packages. This will be required for your game executable to build properly.
Install libmodplug for 32-bit MSYS2
pacboy -S libmodplug:i
Install libmodplug for 64-bit MSYS2
pacboy -S libmodplug:x
If you want to use OpenAL for audio, instead of DirectSound, you'll want to make sure you have "libopenal-1.dll" in your game's working directory. https://enigma-dev.org/edc/games.php?game=97
You can see below a quote below of the information and downloads for libopenal-1.dll found at the link above.
libopenal-1.dll (REQUIRED for the OpenAL Audio System on Windows)
If you want to build ENIGMA games on Windows that use the OpenAL Audio System, which is required for external sound resource loading via sound_add() and other various features DirectSound and other alternatives do not offer, you need to have this DLL in the same directory as your game executable when running and distributing your game.
- Download the 32-bit DLL and put that in the same directory as you 32-bit game executables.
- Download the 64-bit DLL and put that in the same directory as you 64-bit game executables.
- You can not put your 32-bit and 64-bit games in the same directory otherwise you will end up with a name conflict because both the 32-bit and the 64-bit DLL have the same file name and you can't rename them without breaking the ability for your games to recognize them.
Also due to a bug with ENIGMA currently, you may also need "libgcc_s_dw2-1.dll" and "libwinpthread-1.dll" in your game executable's working directory when compiling for 32-bit specifically. This is not an issue with 64-bit, from what I can gather from my testing. You can find those in your MSYS2 installation folder, or for ease of access, you may also download them from my dropbox: Extra 32-bit DLL's.zip
I hope this helps clear up any questions, comments, or concerns you all may have regarding this audio system.