Wine Explorer and Wine command line
-
PiBoy XRS - Pi4B - Retropie 4.8.6
Hi,
I can run a game through Wine Explorer but it doesn't work when launched with wine command,. There is 6 errors like this in window boxes :
PlatformShader::RegisterShader - Failed to load shader; GenericVS.xvu
I tried to configure the game.exe with Wine Config to load differents versions of D3D, but always same errors. There is a lot of librairies but I don't know what to try.
So my question is : How to launch a game with wine command in a script with the same default configuration of wine Explorer ?
-
@Nash https://retropie.org.uk/forum/topic/35501/rpi5-retropie-box64-wine64?_=1717760229052
Look for the first link. It would help if you state which game you have trouble with.
-
@mth75 Thank you, I will investigate.
I see Unreal Tournament 99 on a screen in your gamelist. Do you run the native linux bin or the exe ? I have a strange problem when starting the linux bin :
https://retropie.org.uk/forum/topic/35433/xboxdrv-or-xinit-problem/2
-
@Nash I'm using the Windows (exe) version.
-
@mth75 Interesting but I don't find the answer to my question : How to launch a game with wine command with the same configuration of wine Explorer ?
Somes games works when launched in Wine Explorer but they don't work any other way.
-
@Nash iirc it's:
wine explorer /desktop=shell,1920x1080 game.exe
.
I don't know if you always need the resolution, but some games might need a specific desktop resolution.
You have to set the same resolution in the runcommand menu. -
@ecto Not working. Error box "UNKNOWN_STRING" when launch Trials2SE with this command line and same resolution in runcommand. But the game start in wine explorer.
Same thing with Castle Crashers, error box about shaders but run in wine explorer.
Today it is on Pi5, Bookworm 64bit, RetroPie 4.8.9, Wine 9.17 installed with pi-apps.
-
@Nash Can you post your command line for this game, please?
-
emulators.cfg
trial2se = "XINIT-WM: wine explorer /desktop=shell,1280x720 '/home/pi/RetroPie/roms/ports/Trials 2 Second Edition/trials2.exe'" default = "trial2se"
-
@Nash Thanks! My first guess would be that your wine executable is not set in your path.
So either you add the path to your wine executable to the$PATH
variable or you put the path in front of the wine command like this:trial2se = "XINIT-WM: /path/to/wine explorer /desktop=shell,1280x720 '/home/pi/RetroPie/roms/ports/Trials 2 Second Edition/trials2.exe'"
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.