Box86 and Wine on RPi4
-
@folly said in Box86 and Wine on RPi4:
OK, I understand how you do it, I think.
But now I wonder, does this also work if you run emulationstation from your "cli" instead of the "Desktop" ?
Because it needs to run xinit to display it all in te terminal/cli enviroment.
The ultimate goal is that it's working in standard "RetroPie".I'm running EmulationStation as part of a "standard" RetroPie image (so no LXDE Desktop installed) on my Pi4 build. I just build the packages (wine_prefixes) on my Pi400 (Raspbian OS/LXDE with no RetroPie/ES installed).
-
@shavecat said in Box86 and Wine on RPi4:
Hey all
I have Shovel Knight/unepic /Worldofgoo/Postal1/crimsonland runing on the box86 too.And can i have more Info plz ,
How to run
Commands or AOE2 ?
plz
Got lost here abit :)I am doing it different than @mth75.
I just used the scripts from @George to install it all.To make it simple just use the repository of George instead or the original.
I rename your old setup directory !Then install it with these commands :
cd
git clone --depth=1 https://github.com/GeorgeMcMullen/RetroPie-Setup.gitedit: goto https://retropie.org.uk/forum/topic/28528/box86-and-wine-on-rpi4/77
And then just install it from the Retropie-setup in this order :
(information from the pull request from George)
The scripts must be run in order, and they will check to make sure the preceding dependencies have been met.mesa.sh - This is an updated Mesa driver, which is required by Box86. The version that is installed with the RetroPie distribution is not yet compatible.
box86.sh - This is set as an emulator because it is.
wine.sh - This is the x86 version of Wine and requires box86 in order to run. It is installed as a Port, because as the name says, Wine Is Not an Emulator.
spacecadet3dpinball.sh - This is the original Windows XP game, hosted on the Internet Archive. It is also installed as a Port as it is more like a rom and not an emulator. It is included mostly as a reference to installing other games. One note - you must not hit the Escape key to quit or you will be in a hung state in the game. Use Alt-F4 instead.If it works, then you can try different stuff.
-
@mth75 said in Box86 and Wine on RPi4:
@folly said in Box86 and Wine on RPi4:
OK, I understand how you do it, I think.
But now I wonder, does this also work if you run emulationstation from your "cli" instead of the "Desktop" ?
Because it needs to run xinit to display it all in te terminal/cli enviroment.
The ultimate goal is that it's working in standard "RetroPie".I'm running EmulationStation as part of a "standard" RetroPie image (so no LXDE Desktop installed) on my Pi4 build. I just build the packages (wine_prefixes) on my Pi400 (Raspbian OS/LXDE with no RetroPie/ES installed).
Thanks for explaining.
Now I know that this could be a good standard solution. -
@folly
Thanks a lot for helping :)
so i did thatpi@retropie:~ $ git clone --depth=1 https://github.com/GeorgeMcMullen/RetroPie-Setup.git fatal: destination path 'RetroPie-Setup' already exists and is not an empty directory.
and i dont have any new from Retropie-setup when i launch it to install them ...
so i do i install them ? :) -
@folly said in Box86 and Wine on RPi4:
@mth75 said in Box86 and Wine on RPi4:
@folly said in Box86 and Wine on RPi4:
OK, I understand how you do it, I think.
But now I wonder, does this also work if you run emulationstation from your "cli" instead of the "Desktop" ?
Because it needs to run xinit to display it all in te terminal/cli enviroment.
The ultimate goal is that it's working in standard "RetroPie".I'm running EmulationStation as part of a "standard" RetroPie image (so no LXDE Desktop installed) on my Pi4 build. I just build the packages (wine_prefixes) on my Pi400 (Raspbian OS/LXDE with no RetroPie/ES installed).
Thanks for explaining.
Now I know that this could be a good standard solution.You're welcome. Indeed, George Ports solutions combined with wine_prefixes make it a very feasible solution but a manual one ...
-
@shavecat said in Box86 and Wine on RPi4:
@folly
Thanks a lot for helping :)
so i did thatpi@retropie:~ $ git clone --depth=1 https://github.com/GeorgeMcMullen/RetroPie-Setup.git fatal: destination path 'RetroPie-Setup' already exists and is not an empty directory.
and i dont have any new from Retropie-setup when i launch it to install them ...
so i do i install them ? :)Ok, perhaps i made a mistake.
I will look into it. -
@shavecat said in Box86 and Wine on RPi4:
@folly
Thanks a lot for helping :)
so i did thatpi@retropie:~ $ git clone --depth=1 https://github.com/GeorgeMcMullen/RetroPie-Setup.git fatal: destination path 'RetroPie-Setup' already exists and is not an empty directory.
and i dont have any new from Retropie-setup when i launch it to install them ...
so i do i install them ? :)You have to rename your original RetroPie-Setup directory with the mv command.
So then RetroPie-Setup becomes RetroPie-Setup.original.
This becomes your backup.
Then the RetroPie-Setup directory can be made again.You can do it like this :
cd
mv RetroPie-Setup RetroPie-Setup.original
git clone --depth=1 https://github.com/GeorgeMcMullen/RetroPie-Setup.gitedit: goto https://retropie.org.uk/forum/topic/28528/box86-and-wine-on-rpi4/77
Then it should work.
-
pi@retropie:~ $ mv RetroPie-Setup RetroPie-Setup.original2 pi@retropie:~ $ git clone --depth=1 https://github.com/GeorgeMcMullen/RetroPie-Setup.git Cloning into 'RetroPie-Setup'... remote: Enumerating objects: 392, done. remote: Counting objects: 100% (392/392), done. remote: Compressing objects: 100% (357/357), done. remote: Total 392 (delta 65), reused 124 (delta 19), pack-reused 0 Receiving objects: 100% (392/392), 1.75 MiB | 1.94 MiB/s, done. Resolving deltas: 100% (65/65), done.
looks like it worked but when its semmes i dont have them *.sh files to install in the setup retropie itself yet .
-
@shavecat said in Box86 and Wine on RPi4:
looks like it worked but when its semmes i dont have them *.sh files to install in the setup retropie itself yet .
I see, indeed, cant find those files either.
Will look for a solution. -
@folly
thanks a lot <3 :) -
Use the mv command to your needs.
Pfff. there are different branches.
That's why it didn't work.
Now it should work !, I hope.cd git clone --depth=1 --branch box86wine https://github.com/GeorgeMcMullen/RetroPie-Setup.git
-
@folly
Thank u so much !
Its install it !! ITS WORKING ! :)
do i need to put back my retroipesetup ?
or just update that and it will go back ?And i cant get Wine to run EXE file
it gives meBAD EXE format
I can get it working for the Wine DESKTOP !
like Commands run great ...
Got also heroes of might and magic 3 runing but it getting stuck after the logo movie :\
with wine desktop .
still getiing BAD EXE from retropie itself with sh file. -
-
And Blitzkrieg 1 running on the Pi400 (Raspbian OS) and Pi4 (Retropie). Maybe I should start a seperate thread for the games which will run on the Pi4 or keep posting in your topic?
-
@shavecat said in Box86 and Wine on RPi4:
@folly
Thank u so much !
Its install it !! ITS WORKING ! :)
do i need to put back my retroipesetup ?
or just update that and it will go back ?I am almost certain, you can just update an it will go back and keeping George his files.
If it doesn't you can just install the original again with the original git command.
Or indeed put back your backup.And i cant get Wine to run EXE file
it gives meBAD EXE format
How do you run wine ? (wine program.exe) ?
I think you run the wrong wine.
The wine installed by @George is here :
/opt/retropie/ports/wine/bin/wine
So basically you have to do it like this :
/opt/retropie/ports/wine/bin/wine program.exe
Or better like how George does it :cd "/home/pi/.wine/drive_c/Program Files/SpaceCadet3DPinball/" WINEDEBUG=-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/SpaceCadet3DPinball/pinball.exe' -fullscreen
You can try it this way.
But I am not sure you can get it working this way directly.
I am assuming you are using an original RetroPie install without Desktop enviroment. But box86wine requires x11 to run thats why George made ports.
So I can't help you with this now,I have to test some things myself first.I can get it working for the Wine DESKTOP !
like Commands run great ...
Got also heroes of might and magic 3 runing but it getting stuck after the logo movie :\
with wine desktop .
still getiing BAD EXE from retropie itself with sh file.Did you make your own .sh files ?
Did you try pinball ? -
@mth75 said in Box86 and Wine on RPi4:
And Blitzkrieg 1 running on the Pi400 (Raspbian OS) and Pi4 (Retropie). Maybe I should start a seperate thread for the games which will run on the Pi4 or keep posting in your topic?
That's a good idea.
Summarizing all working games in the first post just like Zering did in the old computer appreciation thread. -
@folly
Hey
so the pinball is running well ! :)
and with the wine desktop the games run .
but again when i try with .sh file
to run Commands
its still give me a BAD EXE .cd "/media/usb0/roms/wine/Commandos/" WINEDEBUG=-all LD_LIBRARY_PATH="/opt/retropie/supplementary/mesa/lib/" setarch linux32 -L /opt/retropie/ports/wine/bin/wine '/media/usb0/roms/wine/Commandos/comandos.exe' -fullscreen
did try that with .sh
but didnt work :\Box86 with Dynarec v0.1.8 3c98cbc bulit on jan ...
what im getting and its stuck or if i press CTRL C it quits.
@mth75
how did u lanuch the games with .sh file ?
from retropie ?PS trying to play ONI (love this old game)
but its runing then give an error on opengl .
any way to get it working maybe ? (with wine desktop)
anyone else try ONI mabye ;) ? -
@shavecat said in Box86 and Wine on RPi4:
@mth75
how did u lanuch the games with .sh file ?
from retropie ?I did exactly what @George proposes I only reverted the .wine (bottle location(s)) to a newly made box86 rom folder. Note: every game I install uses his own fresh wine bottle (also called prefix).
for example, Commandos1:
(1.)
I made the script commandos1_xinit.sh in /opt/retropie/ports/commandos1/
#!/bin/bash xset -dpms s off s noblank cd "/home/pi/RetroPie/roms/box86/Commandos1/drive_c/GOG Games/Commandos" matchbox-window-manager & WINEDEBUG=-all LD_LIBRARY_PATH="/opt/retropie/supplementary/mesa/lib/" setarch linux32 -L /opt/retropie/ports/wine/bin/wine '/home/pi/RetroPie/roms/box86/Commandos1/drive_c/GOG Games/Commandos/comandos.exe' -fullscreen
(2.)
I created the cfg file: emulators.cfg in /opt/retropie/configs/ports/commandos1/
commandos1 = "XINIT:/opt/retropie/ports/commandos1/commandos1_xinit.sh" default = "commandos1"
(3.)
Place your Commandos1 folder in /home/pi/Retropie/Box86
-
@mth75
can u share your sh file pllz ? -
@shavecat said in Box86 and Wine on RPi4:
can u share your sh file pllz ?
Yes, I was working on it :-) ... see above
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.