[string "SoundSystem.lua"]:0: OpenAL incompatible WAV file
stack traceback:
[C]: in function 'load'
[string "SoundSystem.lua"]: in function 'defineSound'
mod_assets/scripts/sounds.lua:58: in main chunk
[string "Dungeon.lua"]: in function 'import'
mod_assets/scripts/init.lua:39: in main chunk
[string "Dungeon.lua"]: in function 'loadInitFile'
[string "GameMode.lua"]: in function 'loadDungeon'
[string "GameMode.lua"]: in function 'newGame'
[string "GameMode.lua"]: in function 'completionFunc'
[string "CinematicMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk
It's strange because mod is working good on windows. I run x86_64 arch linux and never encountered any problems so far.
This error happens because the following wav files contained in the Chaos Key mod are 24-bit:
mod_assets/sounds/fx2.wav
mod_assets/sounds/fx3.wav
Wav files used by Grimrock mods should be 16-bit wavs.
Unfortunately the Windows version of Grimrock does not check the correctness of bits per sample of wav files, so the error has been undetected by the mod author. The audio engine used by Mac and Linux versions is more rigorous in error checking and thus the mod fails to load.