Return-To-The-Roots / s25client

Return To The Roots (Settlers II(R) Clone)
http://www.rttr.info
GNU General Public License v2.0
478 stars 77 forks source link

no audio #589

Closed Flow86 closed 8 years ago

Flow86 commented 8 years ago

Got an email by Shawn:

Getting no audio on startup with latest build (using s25update). Logfile attached. Looks like there was some new drivers added to /driver/video, but no new drivers were added to /driver/audio and I get the invalid API message as you'll see in the log.

Starting in C:\dos\s25rttr_0.8.1
Loading "C:/Users/User/Saved Games/Return To The Roots/CONFIG.INI": done in 0ms
Searching for drivers in ./driver/video
1 video drivers found!
Searching for drivers in ./driver/audio
Skipping .\driver\audio\libaudiosdl.dll: Invalid API version!0 audio drivers found!
Audio driver couldn't be loaded!
Writing "C:/Users/User/Saved Games/Return To The Roots/CONFIG.INI": finished

Starte das Spiel
Loading "./GFX/PALETTE/PAL5.BBM": done in 1ms
Loading "./GFX/PALETTE/PAL6.BBM": done in 0ms
Loading "./GFX/PALETTE/PAL7.BBM": done in 1ms
Loading "./GFX/PALETTE/PALETTI0.BBM": done in 1ms
Loading "./GFX/PALETTE/PALETTI1.BBM": done in 1ms
Loading "./GFX/PALETTE/PALETTI8.BBM": done in 0ms
Loading "./RTTR/COLORS.ACT": done in 0ms
Loading "./RTTR/splash.bmp": done in 148ms
Loading "./DATA/RESOURCE.DAT": done in 210ms
Loading "./DATA/IO/IO.DAT": done in 65ms
Loading "./GFX/PICS/SETUP013.LBM": done in 22ms
Loading "./GFX/PICS/SETUP015.LBM": done in 23ms
Loading "./GFX/PICS/SETUP666.LBM": done in 26ms
Loading "./GFX/PICS/SETUP667.LBM": done in 26ms
Loading "./GFX/PICS/SETUP801.LBM": done in 27ms
Loading "./GFX/PICS/SETUP802.LBM": done in 27ms
Loading "./GFX/PICS/SETUP803.LBM": done in 26ms
Loading "./GFX/PICS/SETUP804.LBM": done in 29ms
Loading "./GFX/PICS/SETUP805.LBM": done in 28ms
Loading "./GFX/PICS/SETUP806.LBM": done in 25ms
Loading "./GFX/PICS/SETUP810.LBM": done in 29ms
Loading "./GFX/PICS/SETUP811.LBM": done in 40ms
Loading "./GFX/PICS/SETUP895.LBM": done in 30ms
Loading "./GFX/PICS/SETUP896.LBM": done in 48ms
Loading "./GFX/PICS/MISSION/AFRICA.LBM": done in 25ms
Loading "./GFX/PICS/MISSION/AUSTRA.LBM": done in 45ms
Loading "./GFX/PICS/MISSION/EUROPE.LBM": done in 26ms
Loading "./GFX/PICS/MISSION/GREEN.LBM": done in 27ms
Loading "./GFX/PICS/MISSION/JAPAN.LBM": done in 24ms
Loading "./GFX/PICS/MISSION/NAMERICA.LBM": done in 26ms
Loading "./GFX/PICS/MISSION/NASIA.LBM": done in 26ms
Loading "./GFX/PICS/MISSION/SAMERICA.LBM": done in 26ms
Loading "./GFX/PICS/MISSION/SASIA.LBM": done in 27ms
Loading ".\RTTR\MUSIC\SNG\SNG_0001.OGG": finished
Loading ".\RTTR\MUSIC\SNG\SNG_0002.OGG": finished
Loading ".\RTTR\MUSIC\SNG\SNG_0003.OGG": finished
Loading ".\RTTR\MUSIC\SNG\SNG_0004.OGG": finished
Loading ".\RTTR\MUSIC\SNG\SNG_0005.OGG": finished
Loading ".\RTTR\MUSIC\SNG\SNG_0006.OGG": finished
Loading ".\RTTR\MUSIC\SNG\SNG_0007.OGG": finished
Loading ".\RTTR\MUSIC\SNG\SNG_0008.OGG": finished
Loading ".\RTTR\MUSIC\SNG\SNG_0009.OGG": finished
Loading ".\RTTR\MUSIC\SNG\SNG_0010.OGG": finished
Loading ".\RTTR\MUSIC\SNG\SNG_0011.OGG": finished
Loading ".\RTTR\MUSIC\SNG\SNG_0012.OGG": finished
Loading ".\RTTR\MUSIC\SNG\SNG_0013.OGG": finished
Loading ".\RTTR\MUSIC\SNG\SNG_0014.OGG": finished
Loading LST,BOB,IDX,BMP,TXT,GER,ENG,INI files from "./RTTR/LSTS/"
Loading "./RTTR/LSTS/CLIENT.GER": done in 0ms
Loading directory .\RTTR\LSTS\CREDITS.LST
Loading "./RTTR/LSTS/CREDITS.LST/demophobie.bmp": done in 13ms
Loading "./RTTR/LSTS/CREDITS.LST/flosoft.bmp": done in 13ms
Loading "./RTTR/LSTS/CREDITS.LST/jh.bmp": done in 13ms
Loading "./RTTR/LSTS/CREDITS.LST/nastx.bmp": done in 17ms
Loading "./RTTR/LSTS/CREDITS.LST/oliverr.bmp": done in 14ms
Loading "./RTTR/LSTS/CREDITS.LST/spikeone.bmp": done in 13ms
Loading "./RTTR/LSTS/CREDITS.LST/z-stef.bmp": done in 13ms
Loading "./RTTR/LSTS/LANG.GER": done in 1ms
Loading "./RTTR/LSTS/OUTLINE_FONTS.LST": done in 9ms
Loading "./RTTR/LSTS/RTTR.LST": done in 2ms
Loading directory .\RTTR\LSTS\firework.LST
Loading "./RTTR/LSTS/firework.LST/1.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/2.player.bmp": done in 3ms
Loading "./RTTR/LSTS/firework.LST/3.player.bmp": done in 3ms
Loading "./RTTR/LSTS/firework.LST/4.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/5.player.bmp": done in 3ms
Loading "./RTTR/LSTS/firework.LST/6.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/7.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/8.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/9.player.bmp": done in 3ms
Loading "./RTTR/LSTS/firework.LST/10.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/11.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/12.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/13.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/14.player.bmp": done in 3ms
Loading "./RTTR/LSTS/firework.LST/15.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/16.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/17.player.bmp": done in 3ms
Loading "./RTTR/LSTS/firework.LST/18.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/19.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/20.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/21.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/22.player.bmp": done in 8ms
Loading "./RTTR/LSTS/firework.LST/23.player.bmp": done in 3ms
Loading "./RTTR/LSTS/firework.LST/24.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/25.player.bmp": done in 4ms
Loading "./RTTR/LSTS/firework.LST/26.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/27.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/28.player.bmp": done in 3ms
Loading "./RTTR/LSTS/firework.LST/29.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/30.player.bmp": done in 2ms
Loading "./RTTR/LSTS/firework.LST/31.player.bmp": done in 3ms
Loading "./RTTR/LSTS/firework.LST/32.player.bmp": done in 2ms
Loading directory .\RTTR\LSTS\io_new.LST
Loading "./RTTR/LSTS/io_new.LST/000.rle.nx10.ny10.bmp": done in 1ms
Loading "./RTTR/LSTS/io_new.LST/001.rle.nx10.ny10.bmp": done in 1ms
Loading "./RTTR/LSTS/io_new.LST/002.rle.nx12.ny12.bmp": done in 2ms
Loading "./RTTR/LSTS/io_new.LST/003.rle.nx15.ny12.bmp": done in 2ms
Loading "./RTTR/LSTS/io_new.LST/004.rle.nx14.ny13.bmp": done in 1ms
Loading "./RTTR/LSTS/io_new.LST/005.rle.nx12.ny10.bmp": done in 2ms
Loading "./RTTR/LSTS/io_new.LST/006.rle.nx37.ny49.bmp": done in 2ms
Loading "./RTTR/LSTS/io_new.LST/007.rle.nx17.ny23.bmp": done in 1ms
Loading "./RTTR/LSTS/io_new.LST/008.rle.nx7.ny12.bmp": done in 1ms
Loading "./RTTR/LSTS/io_new.LST/009.rle.nx3.ny7.bmp": done in 1ms
Loading "./RTTR/LSTS/io_new.LST/010.rle.nx11.ny11.bmp": done in 0ms
Loading "./RTTR/LSTS/io_new.LST/011.rle.nx11.ny6.bmp": done in 1ms
Loading "./RTTR/LSTS/logo.bmp": done in 11ms
Loading "./RTTR/LSTS/menu.bmp": done in 554ms
Loading "./RTTR/LSTS/splash.bmp": done in 132ms
finished in 1132ms
Loading LST,BOB,IDX,BMP,TXT,GER,ENG,INI files from "C:/Users/User/Saved Games/Return To The Roots/LSTS/"
Loading "C:/Users/UIser/Saved Games/Return To The Roots/LSTS/SOUND.LST": done in 117ms
finished in 122ms
lade "./RTTR/MUSIC/S2_Standard.pll"

looks like he used the "stable" 0.8.1 version, I'll tell him to use the nightly.

But we still should look where that "Invalid API version" comes from

Flamefire commented 8 years ago

Looks to me he mixed stable and nightly. That "Invalid API Version" was something I added to the nightly to have more diagnostics than "nothing found"

Flamefire commented 8 years ago

Not a bug. A complete update or reinstall would solve that as probably old and new versions are mixed.