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 253.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.
    • ectoE
      ecto @MumboJumbo
      last edited by

      @MumboJumbo Hmmm, strange.
      Here are some pointers what you could look for next:

      • Have You started your wine diablo2 folder from scratch? Maybe there are some leftovers from a previous installation?
      • Have you changed the wine registry for Disblo 2 so it's using the ddraw renderer? Dou you have the ddraw dll override set up?
      • Is your desktop resolution 1920x1080? Because that's what my d2hd.ini file is for.
      • Do you also have the Lord of Destruction expansion? Idk if that makes a difference.
      • Have installed the latest cnc-ddraw library? Mine might be 4.4.6, as the latest release is only 6 days old.

      I can't think of anything else atm... Fingers crossed...

      Ah no. One other thing: do you have a Windows PC? You might set up everything on that one, try everything if it works and then copy the folder over to the Pi.

      1 Reply Last reply Reply Quote 0
      • ectoE
        ecto @MumboJumbo
        last edited by ecto

        @MumboJumbo I can't see much, but there are some errors in the log, I think.
        Have a look if there are no more wine processes running. This sometimes happen for me, if a windows exe crashes. This prevents wine from starting correctly.

        Also, I always change into the game directory and start the exe from there. Some games just like to have it that way. ;)

        EDIT
        And I think your .sh file shouldn't´t have startx in it. The wine launcher (Wine Desktop.sh) is already started with the XINIT:flag.

        ... ah no. I see now that you're starting directly from the shell, and not using the runcommand.sh, right? That shouldn't be a problem then.

        M 1 Reply Last reply Reply Quote 0
        • M
          MumboJumbo @ecto
          last edited by

          @ecto

          Tried again from clean plate. Set the renderer in the registry. Don't know what you mean with desktop resolution my monitor is 1920:1080. i tried virtual destop with 1920:1080 but also fails. Yes its with LOD. Used cnc-ddraw 4.4.6. I also exchanged the startx with matchbox but it never started the game...
          I get the impression that there is a pluggy task and when it finished it calls game.exe and closes and this closing causes the quitting but i dont know how to check. Its different when callled vie D2SE.exe (here 1.13c) i think there is a wrap around the processes and it seems like one but thats just a guess

          ectoE 1 Reply Last reply Reply Quote 0
          • ectoE
            ecto @MumboJumbo
            last edited by

            @MumboJumbo I'm definitely starting Diablo 2 from its directory with wine game.exe -txt -direct. I think the -txt -direct options are there to inject the plugy code. I don't really know why it's not working for you.
            Maybe you could have a look at your error messages about ALSA. Are thy always there and your sound works otherwise with other games? Or you could start with a whole new wineprefix... Sometimes it helps me to fiddle with another game first and come back later with fresh ideas?

            I'm sorry I have no other ideas now. :(

            M 1 Reply Last reply Reply Quote 0
            • M
              MumboJumbo @ecto
              last edited by

              @ecto all good thx a lot for your help. I can run it from D2SE just one click more. But i tried sth different this time i created a new D2SE Mod copying my working one. Then i transferred your changes into my files. I needed to copy some missing files and search for a plugy (11.02) which could manipulate D2gfx(1.13c). Now the game starts via D2SE but I get the same error as before as soon as I open the charaktermenu diablo suddenly quits and i get this error on console:

              12143|0x6ab42e3: Unimplemented Opcode (C9) 66 3E 8B 4E 08 51 50 E9
              
              

              I think i need to uncheck all changes plugy makes to the charactermenu then it will open just like in the working one probably thats because the internal version of plugy(10) in D2SE doesn't know the command.... Hmm can't start plugy without D2SE but D2SE only can do Plugy 10 or so.....

              1 Reply Last reply Reply Quote 0
              • C
                ChaosEffect @ecto
                last edited by

                @ecto I hope I grabbed the right post to reply to.

                I was able to run some games in the Model 2 emulator through Wine via Box86 using a Raspberry Pi 4B. There is some emulator-ception going on with the layers of emulation, so the results weren't great.

                The configuration of everything is overwhelming to me at this beginner stage, so I am also having some issues with stability. Some games work, while others don't.

                Some sources say to do this or that to help with various performance issues, and I find that some of them just break Wine for me.

                I have seen it suggested to use an older version of the Model 2 emulator as well.

                Have you (or anyone else) had any success with decent performance of Model 2 on a Raspberry Pi?

                I am also known as "StormedBubbles"

                1 Reply Last reply Reply Quote 0
                • L
                  lfcing
                  last edited by

                  Hello,I am new here. And I am Taiwanese.
                  I saw this topic several day but I am still confused that:
                  1.I also have problem with 86box installation,"/home/pi/retropie-setup/tmp/build/box86/docs/license not found". I also added and empty LICENSE folder manually but it seemed not working. And after reboot, 86box folder all disappeared.
                  2.I want to install x86 game but I don't know how to do. But I ever tried on Raspberry Pi OS,I succeeded installing a Wuxia game but when I ran this game for several seconds,screen freezed. I refered to Youtube video below.


                  3.After I completed @George's program on Github,retropie showed main menu "PORT"."PORT" contained wine's 4 function but I don't know where I should put my game folder and run it.
                  Thx for watching my stupid questions. :(

                  1 Reply Last reply Reply Quote 0
                  • SuperFromNDS SuperFromND referenced this topic on
                  • ectoE ecto referenced this topic on
                  • windgW windg referenced this topic on
                  • duglorD duglor referenced this topic on
                  • S
                    Simrose
                    last edited by Simrose

                    Is it safe to remove mesa
                    under the section
                    rp-box86wine - supplementary
                    mesa

                    (Not Mesa-DRM)

                    After testing wine and not using it anymore?
                    It warns about other packages what need it might not work which hopefully it would just mean Wine.
                    thanks
                    Sim

                    1 Reply Last reply Reply Quote 0
                    • M mth75 referenced this topic on
                    • duglorD
                      duglor
                      last edited by

                      @shavecat How did you get shovel knight working on Box86 and Wine? it is super slow for me (linux version) and then it crashes. The windows version doesn't run at all.......

                      1 Reply Last reply Reply Quote 0
                      • duglorD
                        duglor
                        last edited by

                        @Folly do you have shovel knight (linux or windows) working on your pie or age of Empires 1 w- w/o expansion?

                        My AOE 1 for Wine just fails to launch.

                        My Linux Shovel Knight launches and is super slow and then crashes.

                        My windows Shovel Knight for Wine shows a black screen but i can hear the sounds and and such and i think the game is working except no display, which sorts of kills the game lol :D

                        F 1 Reply Last reply Reply Quote 0
                        • duglorD
                          duglor
                          last edited by

                          Anyone gotten Knights of the Old Republic to run at a decent speed? Box86/Wine?

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

                            Hi @duglor,

                            Don't use Box86 and wine anymore on my pi4.
                            It's very nice that it can work but I found it too much of a hassle and too slow.
                            Perhaps I will try it once in the future again on my pi5 or pi6 again ;-)
                            So can't help you right now.

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

                              @duglor
                              hey shovel kngiht works fine for me (i finish it there )
                              and few more games !
                              really dont remember the config i did it like 2years ago....
                              try overclock

                              duglorD 1 Reply Last reply Reply Quote 1
                              • duglorD
                                duglor @shavecat
                                last edited by

                                @shavecat I hear things and buttons make noises, but all is black for shovel knight.

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

                                  @duglor
                                  my sh file
                                  if it helps -

                                  #!/bin/bash
                                  
                                  cd /media/usb0/roms/box86/ShovelKnight/32
                                  box86 ShovelKnight
                                  

                                  maybe u missing something i guess ?

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

                                    got StarCraft working and couple more...

                                    duglorD 2 Replies Last reply Reply Quote 0
                                    • duglorD
                                      duglor @shavecat
                                      last edited by

                                      @shavecat is your shovel knight the windows or linux version?

                                      I dont know if your fix will help here as it is obviously working and playing ...but i just see nothing but black. lol.

                                      1 Reply Last reply Reply Quote 0
                                      • duglorD
                                        duglor @shavecat
                                        last edited by

                                        @shavecat said in Box86 and Wine on RPi4:

                                        got StarCraft working and couple more...

                                        Congrats. i got a slew of little minor indy windows games working that lend itself to arcade play.

                                        B 1 Reply Last reply Reply Quote 1
                                        • M mth75 referenced this topic on
                                        • ExarKunIvE ExarKunIv referenced this topic on
                                        • B
                                          boxwine-exp @duglor
                                          last edited by

                                          Hi there,about the issue that wine not always run/work with the first try,is there a fix about that??

                                          Thanks

                                          mituM 1 Reply Last reply Reply Quote 0
                                          • mituM
                                            mitu Global Moderator @boxwine-exp
                                            last edited by

                                            @boxwine-exp Please use the original topic, since it's a dedicated project. Do note that the original poster hasn't been around in 1 year though.

                                            1 Reply Last reply Reply Quote 0
                                            • mituM mitu locked this topic on
                                            • 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.