Box86 and Wine on RPi4
-
Great idea @George ,
Then you will be doing somewhat the same as wat I am doing here :
https://retropie.org.uk/forum/topic/29682/development-of-module-script-generator-for-lr-mess-and-mame-standalone
Perhaps you can borrow some code / ideas ;-)Good luck, curious on what you will be making.
-
@george said in Box86 and Wine on RPi4:
An alternative would be to use "conf" files, which is something that DOSbox seems to do. That way, any time you wanted to add a new app, you just create a simple conf file in /home/pi/RetroPie/roms/wine/ that would set some variables like the Wine Prefix, launch folder, Windows executable file, and even whether or not to launch MIDI.
I believe this is the only solution (hence I already instaledl all prefixes in /rom/box86/box86data ....)
-
@george im open with both really. since i already did a bunch of "conf" files on my dosbox that way is not that different,
granted i have not messed with box86 yet.
and with being said your script way is nice too for the people who have not messed with it yet. like me :) -
I've been working my way through this topic very slowly and am so impressed at the progress that has been made in such a short space of time!
Personally, thanks to the pointers last week, I've managed to install all the relevant applications and can now run Wine from the ES Ports menu (but weirdly, Winetricks just hangs with a black screen and mouse pointer, but that's another matter!)
Through Wine Explorer I have managed to get Captain Claw to work, albeit in a small window in the top-left quarter of the screen. Any attempts to launch from ES have failed though - is there an outline for a script that would work for this? I've attempted a few examples from further up in the topic (amending for my own folder setup naturally) for example:
#!/bin/bash xset -dpms s off s noblank cd "/home/pi/.wine/drive_c/Program Files/claw" matchbox-window-manager & WINDEBUG=-all LD_LIBRARY_PATH="/opt/retropie/supplementary/mesa/lib/" setarch linux32 -L /opt/retropie/ports/wine/bin/wine '/home/pi/.wine/drive_c/Program Files/claw/claw.exe' -fullscreen $
I'm now at a dead-end again though and any help would be gratefully received.
Thanks in advance again - this has some exciting potential and it is now my new RetroPie obsession!
-
Don't know, but perhaps this will help.
The -fullscreen in your file is for wine, I think.
So perhaps you can run claw.exe with a fullscreen option, with something like this :.......claw.exe -fullscreen' -fullscreen
Or perhaps you can configure claw in fullscreen while running and save the config then.
And then run it again though ES.Good luck !
-
@tedmaul
Hey
I love captain claw
and tried also to run it from ES also from the wine explorer
but didnt work for me at all...
if u get it working will love to know how FOLLOW :) -
@folly thank you - gave this a go but got the following messages (had to type this out as nothing appeared in runcommand weirdly):
xset: unable to open display "" Box86 with Dynarec v0.2.0 b2d5587 built on Feb 16 2021 18:37:59 matchbox: can't open display! check your DISPLAY variable. Box86 with Dynarec v0.2.0 b2d5587 built on Feb 16 2021 18:37:59 Box86 with Dynarec v0.2.0 b2d5587 built on Feb 16 2021 18:37:59 wine: cannot find L"/home/pi/.wine/drive_c/Program Files/claw/claw.exe -fullscreen"
This .sh file is in roms/ports, maybe I've put it in the wrong place? It was the only way I could get it to show up on any lists in ES though.
I've tried opening it from terminal by navigating to /home/pi/.wine/drive_c/Program Files/claw and then typing:
wine claw.exe
and it sits there for a few minutes before telling me claw.exe is a bad type of exe file. Yet it still runs through wine explorer... hmm...
-
That a pity.
Hope you can find a good solution. -
-
@tedmaul Try to get Space Cadet working first (and starting from ES -> Ports). When that's done, copy the Claw folder to Program Files and look under:
opt/retropie/configs/ports
opt/retropie/portsand
retropie/roms/ports/
for guidance how Space Cades is started. Duplicate and adjust it all for Claw and behold the Claw entry under Ports in ES.
-
@mth75
Hey ,
i have Space Cadet working also commnados 1/2 .
but other games like captain claw for example dont work for me...
even with the wineexploer .
will love some help ? -
@mth75 great that you've got Claw working!
I'm attempting to get Space Cadet to work, firstly by running the code that was on the github page - I've made it executable but it doesn't appear to be doing anything. Have I potentially started in the wrong place?
-
@mth75
I can get Claw loading for a sec'- im getting a black screen on the corner with wine explore .
and then it quit...
and ideas ? :) thanks -
@shavecat said in Box86 and Wine on RPi4:
@mth75
I can get Claw loading for a sec'- im getting a black screen on the corner with wine explore .
and then it quit...
and ideas ? :) thanksDo you start from the terminal or from within ES?
-
@mth75
Within the ES...yeha .
i can get commandos 1/2 and the pinball working well... (and heoers3 with sutck isuues) think we talked about it already ;)) -
@shavecat said in Box86 and Wine on RPi4:
I can get Claw loading for a sec'- im getting a black screen on the corner with wine explore .
and then it quit...
and ideas ? :) thanksMaybe try another version? My version is just a copy of the game folder under program files, so no installing needed.
-
@mth75
yep
tried 3 already :\ -
-
@folly
how do i check that ? :) thanks -
In the terminal.
Goto the directory where the game is, something like this :
cd /home/pi/RetroPie/roms/ports/claw
With this command it will search for all files in that directory and subdirectory's and create an md5sum of each file found :
md5sum $(find -name "*")
If you want the data in a file (output.txt) do this instead :
md5sum $(find -name "*") > output.txt
Now you can post this information.
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.