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 239.9k 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 mth75

      @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

      shavecatS 1 Reply Last reply Reply Quote 1
      • shavecatS
        shavecat @mth75
        last edited by

        @mth75
        can u share your sh file pllz ?

        M 1 Reply Last reply Reply Quote 0
        • M
          mth75 @shavecat
          last edited by

          @shavecat said in Box86 and Wine on RPi4:

          can u share your sh file pllz ?

          Yes, I was working on it :-) ... see above

          shavecatS 1 Reply Last reply Reply Quote 1
          • shavecatS
            shavecat @mth75
            last edited by

            @mth75
            still not getting it to work from my sh file.
            its just give me now black screen for a sec' and quit back . :(

            1 Reply Last reply Reply Quote 0
            • M
              mth75
              last edited by mth75

              @shavecat Well, sometimes you have to start a few times before the game runs. I believe this a Box86 issue.

              shavecatS 1 Reply Last reply Reply Quote 0
              • shavecatS
                shavecat @mth75
                last edited by

                @mth75
                start like with the sh file like cupule of times until it works ?
                will try thanks ! :))

                M 1 Reply Last reply Reply Quote 0
                • M
                  mth75 @shavecat
                  last edited by

                  @shavecat yep

                  shavecatS 1 Reply Last reply Reply Quote 1
                  • M
                    mth75 @Folly
                    last edited by

                    @folly said in Box86 and Wine on RPi4:

                    That's a good idea.
                    Summarizing all working games in the first post just like Zering did in the old computer appreciation thread.

                    done ... see:

                    https://retropie.org.uk/forum/topic/29241/the-what-works-with-box86-wine-topic-on-the-rpi4-400

                    1 Reply Last reply Reply Quote 0
                    • shavecatS
                      shavecat @mth75
                      last edited by shavecat

                      @mth75
                      Weird
                      cause the pinball space lancuh every time :\ ...
                      OKAY
                      its working ... and got stuck :
                      Commandos 2 and Heroes of might and magic 3
                      runs great !
                      but only with wine desktop ...
                      still

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        mth75 @shavecat
                        last edited by

                        @shavecat said in Box86 and Wine on RPi4:

                        @mth75
                        Weird
                        cause the pinball space lancuh every time :\ ...
                        OKAY
                        its working ... and got stuck :
                        Commandos 2 and Heroes of might and magic 3
                        runs great !
                        but only with wine desktop ...
                        still

                        Must be something in your scripts, wrong locations or something.

                        shavecatS 1 Reply Last reply Reply Quote 0
                        • shavecatS
                          shavecat @mth75
                          last edited by

                          @mth75
                          Dialed with that for an hour now ...
                          like u said
                          at the end it worked ! right !
                          but at the menu at Commandos 1 it got forzen...
                          hope next time i try it will work :)

                          F 1 Reply Last reply Reply Quote 0
                          • F
                            Folly @shavecat
                            last edited by

                            @shavecat said in Box86 and Wine on RPi4:

                            @mth75
                            Dialed with that for an hour now ...
                            like u said
                            at the end it worked ! right !
                            but at the menu at Commandos 1 it got forzen...
                            hope next time i try it will work :)

                            Glad you have something working now.
                            Like @mth75 said, there must be something wrong in your scripts, or you have them in the wrong locations. Look at the filenames also.

                            shavecatS 2 Replies Last reply Reply Quote 0
                            • shavecatS
                              shavecat @Folly
                              last edited by

                              @folly
                              yeha its working!!!
                              Thanks a lot !!
                              Can anyone else try
                              ONI
                              to work ? :)

                              1 Reply Last reply Reply Quote 0
                              • F
                                Folly
                                last edited by Folly

                                Hi all,

                                I wanted to make some port scripts.
                                Just to learn, test and experiment with a few things.

                                It's for the Remakes of "F1Spirit", "Goonies", "Maze Of Galious" and "RoadFighter" that will run in box86wine.
                                These games have no licence and the source-code is also available.
                                (With a few changes I also managed to compile some for the RPI)

                                To try the games just download my scripts and install it in RetroPie-Setup.
                                I tested the games and they should work.

                                With these commands you get it downloaded in the right place no mather where you run it from:
                                (copy all and paste in terminal)

                                wget --backups=1 https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scriptmodules-00/ports/box86winef1spiritremake.sh -P /home/pi/RetroPie-Setup/scriptmodules/ports
                                wget --backups=1 https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scriptmodules-00/ports/box86winegooniesremake.sh -P /home/pi/RetroPie-Setup/scriptmodules/ports
                                wget --backups=1 https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scriptmodules-00/ports/box86winemogremake.sh -P /home/pi/RetroPie-Setup/scriptmodules/ports
                                wget --backups=1 https://raw.githubusercontent.com/FollyMaddy/RetroPie-Share/main/00-scriptmodules-00/ports/box86wineroadfighterremake.sh -P /home/pi/RetroPie-Setup/scriptmodules/ports
                                
                                

                                Let me know if it works.

                                1 Reply Last reply Reply Quote 0
                                • shavecatS
                                  shavecat @Folly
                                  last edited by

                                  @folly
                                  AOE 2
                                  give me an
                                  " error
                                  "Could not instilled graphics system
                                  :'(

                                  F 1 Reply Last reply Reply Quote 0
                                  • F
                                    Folly @shavecat
                                    last edited by Folly

                                    @shavecat said in Box86 and Wine on RPi4:

                                    @folly
                                    AOE 2
                                    give me an
                                    " error
                                    "Could not instilled graphics system
                                    :'(

                                    Do you mean : Age of Empires II ?
                                    Sorry, can't help you with that.

                                    shavecatS 1 Reply Last reply Reply Quote 0
                                    • shavecatS
                                      shavecat @Folly
                                      last edited by

                                      @folly
                                      shame thanks :|

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        mth75 @George
                                        last edited by

                                        @george https://github.com/ptitSeb/box86/blob/master/CHANGELOG.md

                                        Box86 is updated to 0.2.0, could be interesting to update your box86 install script.

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          George
                                          last edited by

                                          Wow, step away for a couple of days, come back and see 50+ new messages! Awesome to see the activity.

                                          @mth75 and @Folly thanks for all the tips, pointers, help, and everything so far! @mth75 thank you especially for creating the thread for what software is working in Box86/Wine. @shavecat welcome and I hope you've got some things working.

                                          As per @mth75's last note, Box86 is updated to v0.2.0. I'm testing it out and will update the scripts shortly. Mesa is now updated to 20.3.3 and Wine is now at 6.0~rc6, so I'm testing all three at the same time. If all goes well, I'll be updating the repository. Keep in mind that Space Cadet 3D Pinball will disappear from that branch, but will still be located in the branch "spacecadet". This is so it won't be part of the pull request. It will also by that time hopefully include the patch to enable music playback (which I haven't started on).

                                          I should also note that Box86 has a vibrant community on Discord if you use it. It's located at https://discord.gg/Fh8sjmu. They have a channel that specifically talks about Wine. It's very active. Many people are using it from TwisterOS which is another Raspberry Pi OS distribution, but with Box86 and other additions. Check it out: https://twisteros.com/ It works rather well, but my primary Pi experience is through RetroPie, hence these scripts and this conversation.

                                          @mth75 thank you especially for creating the thread for what software is working in Box86/Wine. You may also be interested to find this list of Box86 compatible software: https://github.com/ptitSeb/box86-compatibility-list/issues

                                          It seems that Wine Tricks is a valuable part of the Wine experience, even on desktop computers. I'm thinking of adding it as part of the Wine install script. What does everyone think about that?

                                          - George

                                          shavecatS F M 3 Replies Last reply Reply Quote 0
                                          • shavecatS
                                            shavecat @George
                                            last edited by shavecat

                                            @george
                                            Hey Thanks a lot ! :)
                                            I got Commandos 1 & 2 working
                                            and Heroes of might and Magic 3 ! :))

                                            Will love to see ONI , Enter-the-Matrix , Black&White , Warcraft 3 ...
                                            I did try them but with no success .
                                            And for some reason age of empires 2 give me a bad graphics error .
                                            For now ...

                                            It seems that Wine Tricks is a valuable part of the Wine experience, even on desktop computers. I'm thinking of adding it as part of the Wine install script. What does everyone think about that?
                                            
                                            

                                            Will love to see that ! :)

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              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.