GeorgeMcMullen / rp-box86wine

Box86 and Wine on RetroPie
GNU General Public License v3.0
15 stars 7 forks source link

Sound in game #1

Open symbios24 opened 2 years ago

symbios24 commented 2 years ago

Hello,great scripts I installed wine box and mesa from your script and after when i run a game eg "age of empires2" Sometimes it has sound and some other times not, i checked if pulseaudio is installed to remove it and its not installed,any suggestions what i do to have always sound?

I run it from raspbian lite (no desktop) from a script that contains this setup

!/bin/bash

xset -dpms s off s noblank cd "/home/pi/RetroPie/roms/wine/games/aoe2/" matchbox-window-manager & WINEDEBUG=-all LD_LIBRARY_PATH="/opt/retropie/supplementary/mesa/lib/" setarch linux32 -L /opt/retropie/emulators/wine/bin/wine '/home/pi/RetroPie/roms/wine/games/aoe2/empires2.exe

I run the script with this command: startx ./aoe2.sh

GeorgeMcMullen commented 9 months ago

Hi, apologies for the late reply. Unfortunately I have not had this issue specifically. I've had other audio issues on occasion but they typically prevent sound completely. My guess would be that the sound drivers within the game are not being initialized at the right time. You'd have to play around with the WINEDEBUG parameters to see if any relevant messages come back in the /dev/shm/runcommand.log.