• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

Box86 and Wine on RPi4

Scheduled Pinned Locked Moved Ideas and Development
box86wineqemux86windows
475 Posts 40 Posters 237.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    mth75 @shavecat
    last edited by 12 Jan 2021, 13:06

    @shavecat said in Box86 and Wine on RPi4:

    OKAY ???
    After that how can i run the games ?
    like with exe file form sh file ???
    now think im lost a bit ;

    No, that's not okay. Check your file permissions/ownership?

    you can start simply (if your install is ok) with: wine <gamename>.exe

    M 1 Reply Last reply 12 Jan 2021, 13:07 Reply Quote 0
    • M
      mth75 @mth75
      last edited by 12 Jan 2021, 13:07

      @mth75 Btw, that's an old Box86 version, my Dynarec version on the Pi400 Desktop is v0.1.9.

      S 1 Reply Last reply 12 Jan 2021, 13:08 Reply Quote 0
      • S
        shavecat @mth75
        last edited by shavecat 1 Dec 2021, 13:14 12 Jan 2021, 13:08

        @mth75
        How do i do that ? (Check your file permissions/ownership?) where and how ?
        im using putty on retropie 4.6 and i have pi4 2gb.
        So thats mean i can do an .sh file from ports in retrpoie with
        wine<gamename>.exe
        and it will work ??? :):):):)):):)<3<3<3<3(SOUNDS AMIAZING ! )

        M 1 Reply Last reply 12 Jan 2021, 13:48 Reply Quote 0
        • M
          mth75 @shavecat
          last edited by mth75 1 Dec 2021, 13:50 12 Jan 2021, 13:48

          @shavecat

          Sorry mate, can't advise your there except:

          1. make sure to install box86 and wine maybe on a clean system.
          2. try to install an easy game for test purposes, maybe Space Cadet 3D pinball
          3. and build further ... with all of the above ...
          1 Reply Last reply Reply Quote 0
          • F
            Folly @mth75
            last edited by Folly 1 Dec 2021, 13:52 12 Jan 2021, 13:51

            @mth75 said in Box86 and Wine on RPi4:

            @folly said in Box86 and Wine on RPi4:

            What is your rom folder now ?
            /home/pi/RetroPie/roms/Box86

            Indeed, /home/pi/RetroPie/roms/Box86/<Game folder> is my rom folder.

            The <Game folder> is my wineprefix for example:

            <Game folder>
            -- dosdevices
            -- drive_c
            --- system.reg
            --- user.reg

            etc.

            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".

            M 1 Reply Last reply 12 Jan 2021, 13:55 Reply Quote 0
            • M
              mth75 @Folly
              last edited by mth75 1 Dec 2021, 13:57 12 Jan 2021, 13:55

              @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).IMG_1321.jpg

              F 1 Reply Last reply 12 Jan 2021, 14:12 Reply Quote 1
              • F
                Folly @shavecat
                last edited by Folly 1 Dec 2021, 15:09 12 Jan 2021, 14:09

                @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.git

                edit: 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.

                S 1 Reply Last reply 12 Jan 2021, 14:15 Reply Quote 1
                • F
                  Folly @mth75
                  last edited by 12 Jan 2021, 14:12

                  @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.

                  M 1 Reply Last reply 12 Jan 2021, 14:16 Reply Quote 0
                  • S
                    shavecat @Folly
                    last edited by 12 Jan 2021, 14:15

                    @folly
                    Thanks a lot for helping :)
                    so i did that

                    pi@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 ? :)

                    F 2 Replies Last reply 12 Jan 2021, 14:18 Reply Quote 0
                    • M
                      mth75 @Folly
                      last edited by 12 Jan 2021, 14:16

                      @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 ...

                      1 Reply Last reply Reply Quote 0
                      • F
                        Folly @shavecat
                        last edited by 12 Jan 2021, 14:18

                        @shavecat said in Box86 and Wine on RPi4:

                        @folly
                        Thanks a lot for helping :)
                        so i did that

                        pi@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.

                        S 1 Reply Last reply 12 Jan 2021, 14:35 Reply Quote 1
                        • F
                          Folly @shavecat
                          last edited by Folly 1 Dec 2021, 15:13 12 Jan 2021, 14:29

                          @shavecat said in Box86 and Wine on RPi4:

                          @folly
                          Thanks a lot for helping :)
                          so i did that

                          pi@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.git

                          edit: goto https://retropie.org.uk/forum/topic/28528/box86-and-wine-on-rpi4/77

                          Then it should work.

                          F 1 Reply Last reply 12 Jan 2021, 14:58 Reply Quote 0
                          • S
                            shavecat @Folly
                            last edited by 12 Jan 2021, 14:35

                            @folly

                            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 .
                            c2973d58-778b-4497-a0e3-ab348e0ad72a-image.png

                            F 1 Reply Last reply 12 Jan 2021, 14:39 Reply Quote 0
                            • F
                              Folly @shavecat
                              last edited by Folly 1 Dec 2021, 14:44 12 Jan 2021, 14:39

                              @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.

                              S 1 Reply Last reply 12 Jan 2021, 14:44 Reply Quote 1
                              • S
                                shavecat @Folly
                                last edited by 12 Jan 2021, 14:44

                                @folly
                                thanks a lot <3 :)

                                1 Reply Last reply Reply Quote 0
                                • F
                                  Folly @Folly
                                  last edited by Folly 1 Dec 2021, 15:17 12 Jan 2021, 14:58

                                  @shavecat

                                  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
                                  S 1 Reply Last reply 12 Jan 2021, 15:18 Reply Quote 0
                                  • S
                                    shavecat @Folly
                                    last edited by shavecat 12 Jan 2021, 15:18

                                    @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 me

                                    BAD 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.

                                    M F 2 Replies Last reply 13 Jan 2021, 01:58 Reply Quote 0
                                    • M
                                      mth75 @shavecat
                                      last edited by 13 Jan 2021, 01:58

                                      @shavecat said in Box86 and Wine on RPi4:

                                      BAD EXE format

                                      I suspect Box86 isn't running?

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        mth75
                                        last edited by mth75 13 Jan 2021, 02:04

                                        @George

                                        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?

                                        IMG_1325.jpg

                                        F 1 Reply Last reply 13 Jan 2021, 07:13 Reply Quote 0
                                        • F
                                          Folly @shavecat
                                          last edited by Folly 13 Jan 2021, 07:10

                                          @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 me

                                          BAD 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 ?

                                          S 1 Reply Last reply 13 Jan 2021, 09:31 Reply Quote 0
                                          71 out of 475
                                          • First post
                                            71/475
                                            Last post

                                          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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received