• 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 236.8k 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.
  • E
    ecto
    last edited by ecto 9 Aug 2021, 11:13 7 Sept 2021, 08:12

    Another small update with new games:

    • Deus Ex with Community Update Patch works, as the Unreal Engine renders with OpenGL. With all other renderers I had some problems. In 1280x720 the framerate is ok'isch. Lower would be better, but then I'm losing 16:9. Also, the game is very dark and I haven't found a way to increase gamma. Steam and GOG versions should both work, as the Update Patch is called by it's own executable without DRM.

    • Heavy Metal F.A.K.K. 2 works nicely and looks nicely. I can remember that I had fun playing that game (so many years ago). It has an arcade feeling and an interesting mechanic where you can fight akimbo-style with different weapons in each hand. The game uses the Quake (3?) engine and also renders in OpenGL. 1280x720 is somewhat slow but probably playable. I only tried the first level.

    • Heroes of Might and Magic 3 with HD Patch works very well, when the correct renderer in the MOD settings is selected (plain ddraw without stretching, no gl, gdi or others). I might have the CNC ddraw wrapper installed. I don't remember. Problem was that the game crashed in the quick battle screen (where a small video with the outcome is displayed). With plain ddraw it works fine. Best here, too, is 1280x720 as the UI gets very small in full HD.

    EDIT I just browsed though the thread again. There seems to be stability problems with HoMM3 (@shavecat ). I haven't played the game over any longer period than 1-2 mins because it crashed reproducible at the quick battle screen of the HD patch. This crash is resolved, but I don't know how stable to game is overall... Sorry.
    I also deinstalled Deus Ex as the framerate together with the dark screen were just too much to be enjoyable.
    Instead I will try to get Outcast to run. It was mentioned on the discord that it runs, so here is hoping for the best.

    S 1 Reply Last reply 8 Sept 2021, 12:12 Reply Quote 0
    • S
      shavecat @ecto
      last edited by 8 Sept 2021, 12:12

      @ecto said in Box86 and Wine on RPi4:

      Heroes of Might and Magic 3

      Yes i agree
      but i did play with it like 10 min' then it crush no matter what i try .
      If u will have any news about it somehow will love to know ;)
      I myself give up on it for now cause no matter what i did nothing help's.

      great work by the way ;)

      E 1 Reply Last reply 8 Sept 2021, 12:46 Reply Quote 0
      • E
        ecto @shavecat
        last edited by 8 Sept 2021, 12:46

        @shavecat Have you tried running it with the HD mod?

        S 1 Reply Last reply 8 Sept 2021, 22:38 Reply Quote 0
        • S
          shavecat @ecto
          last edited by 8 Sept 2021, 22:38

          @ecto
          How ?

          E 1 Reply Last reply 9 Sept 2021, 07:11 Reply Quote 0
          • E
            ecto @shavecat
            last edited by ecto 9 Sept 2021, 08:17 9 Sept 2021, 07:11

            @shavecat Download this file and run it in Wine Explorer. I can't remember exactly, but you probably have to select the directory where HoMM3 is installed(*) and then you get a new executable (which is basically a launcher where you can select different options of the mod):

            Make sure to select ddraw as "Color Mode" (at least none of the "stretchable" renderers) and select your resolution. You can also select "Create HD exe", which you can then use to start HoMM3 directly without the launcher.

            I hope this helps. The game looks great with the HD mod, and I think you can deselect a lot of extras so the game feels more vanilla.
            I'm usually patching the hell out of all my games, because I think that should I ever get around playing the games, I want to play them as comfortable as it gets! :)

            (*) It's advisable to select your ~/RetroPie/roms/wine directory as a volume (like d:) with winecfg. This way it's easier to navigate to the games in wine.

            S 1 Reply Last reply 9 Sept 2021, 09:58 Reply Quote 0
            • S
              shavecat @ecto
              last edited by 9 Sept 2021, 09:58

              @ecto
              file not find download :\

              E 1 Reply Last reply 9 Sept 2021, 10:21 Reply Quote 0
              • E
                ecto @shavecat
                last edited by 9 Sept 2021, 10:21

                @shavecat huh. I can see... The page is gone... maybe it will come back later? But I guess the mod can be found elsewhere.

                S 1 Reply Last reply 9 Sept 2021, 10:58 Reply Quote 0
                • S
                  shavecat @ecto
                  last edited by 9 Sept 2021, 10:58

                  @ecto
                  so i dont get it..
                  with this mod ? its working ?
                  i can play for hours ? :O

                  E 1 Reply Last reply 9 Sept 2021, 12:12 Reply Quote 0
                  • E
                    ecto @shavecat
                    last edited by 9 Sept 2021, 12:12

                    @shavecat Sorry, I don't know. It's at least another way to get it to work. I was able to start a quick match without crash and there ended my testing (less than 1 minute that I tried). But please post your results should or shouldn't it work.

                    S 1 Reply Last reply 11 Sept 2021, 11:09 Reply Quote 1
                    • S
                      shavecat @ecto
                      last edited by shavecat 9 Nov 2021, 12:20 11 Sept 2021, 11:09

                      @ecto
                      still got stuck :\

                      Diablo 2 also not working right in my place too tons of glitch's . :\

                      E 1 Reply Last reply 16 Sept 2021, 08:22 Reply Quote 0
                      • E
                        ecto @shavecat
                        last edited by 16 Sept 2021, 08:22

                        @shavecat OK. I tested the game for some time (10mins) and it went really well. I haven't had a crash or anything. Of course it's still possible that the game might
                        crash later on...
                        I also have Diablo 2 running quite nicely. What did you do to install it? I'm using the QoL patches with the ddraw renderer. The glide renderer doesn't work for me.

                        S 1 Reply Last reply 19 Sept 2021, 12:24 Reply Quote 1
                        • E
                          ecto
                          last edited by 16 Sept 2021, 08:44

                          New running games:

                          • Sin Gold the latest GOG version runs out of the box with highest settings (even in 1920x1080, although a little slow and with a tiny HUD. So I prefer 1280x720)
                          • Jazz Jackrabbit 2 GOG comes with the plus patch, which also renders in 800x600. The (opening) videos are glitched, but gameplay seems to be fast and fluent.

                          Where I have some problems is Alien vs. Predator Classic 2000 from GOG. The game runs out of the box, Fullscreen and very fluent, but after some time there are some texture errors: They glow in bright colors and the lighting gets bright and glitchy. I'd think this should be fixable, but I don't know how...

                          1 Reply Last reply Reply Quote 1
                          • G
                            Good_Punk
                            last edited by Good_Punk 19 Sept 2021, 07:13

                            I've installed Box86 and Wine from the RetroPieSetup but when I start Wine Desktop or the other shortcuts it will randomly crash (just goes back to EmulationStation) after 15-60 seconds.
                            I have it installed on a Pi 400, with a 1024x768 mini LCD.

                            Any ideas? Is there a log file I could look into? (Sorry, I'm really new to Linux and Wine 😅)

                            Also after installing Box86 I've got an error message that he was missing the LICENSE directory.
                            PS: Ok I've just added an empty LICENSE directory in the tmp folder and now it ran through without any errors.

                            Wine is still crashing though.

                            E 1 Reply Last reply 19 Sept 2021, 13:58 Reply Quote 0
                            • S
                              shavecat @ecto
                              last edited by 19 Sept 2021, 12:24

                              @ecto
                              Wow love that
                              so i also wants diablo 2 to work
                              and with the hereos 3 can u tell me what your config is ? with the mod ?

                              Thanks alot ! <3

                              E 1 Reply Last reply 20 Sept 2021, 11:15 Reply Quote 0
                              • E
                                ecto @Good_Punk
                                last edited by 19 Sept 2021, 13:58

                                @good_punk said in Box86 and Wine on RPi4:

                                I've installed Box86 and Wine from the RetroPieSetup but when I start Wine Desktop or the other shortcuts it will randomly crash (just goes back to EmulationStation) after 15-60 seconds.
                                I have it installed on a Pi 400, with a 1024x768 mini LCD.

                                Any ideas? Is there a log file I could look into? (Sorry, I'm really new to Linux and Wine 😅)

                                Also after installing Box86 I've got an error message that he was missing the LICENSE directory.
                                PS: Ok I've just added an empty LICENSE directory in the tmp folder and now it ran through without any errors.

                                Wine is still crashing though.

                                You can always have a look at /dev/shm/runcommand.log, but in my experience, wine either starts or crashes before starting.
                                I don't know why, but sometimes I have to try 2-3 times until wine starts. Usually after that, it works right away...

                                1 Reply Last reply Reply Quote 0
                                • H
                                  hooperre
                                  last edited by hooperre 20 Sept 2021, 05:17

                                  See Post Here For Updated List of Games I Have Running: https://retropie.org.uk/forum/topic/29241/the-which-games-works-with-box86-wine-topic-on-the-retropie-rpi4-400/89

                                  4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                                  D 1 Reply Last reply 22 Sept 2021, 23:24 Reply Quote 1
                                  • E
                                    ecto @shavecat
                                    last edited by ecto 20 Sept 2021, 11:15

                                    @shavecat I can paste my HD Mod config file which you can find here: HoMM3/_HD3_Data/Settings/sod.ini:

                                    <Version> = 5002362
                                    <Language> = "#en.ini"
                                    <Graphics.Resolution> = 1280x720
                                    <Graphics.Mode> = 4
                                    <Graphics.ComplexFilter> = 0
                                    <Graphics.Threads> = 1
                                    <Graphics.SimpleFilter> = 2
                                    <Graphics.SystemCursors> = 1
                                    <HD+> = 1
                                    <HD+.RecentTimers> = "01:00 + 01:00 + 00:00", "01:00 + 01:00 + 00:00", "01:00 + 01:00 + 00:00", "01:00 + 01:00 + 00:00", "01:00 + 01:00 + 00:00", "00:00 + 00:00 + 00:00"
                                    <HD+.Settings> = 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 6, 0
                                    <Memory.Mod> = 0
                                    <Misc.TournamentSaver> = 0
                                    <Misc.BattleSaver> = 0
                                    <Packs>
                                    <Sys.NoCD> = 1
                                    <Sys.CPU.ReduceUsage> = 0
                                    <Sys.WriteToIniInsteadRegistry> = 1
                                    <UI.AdvMgr.SkipMapMsgs> = 1
                                    <UI.Battle.Queue> = 1
                                    <UI.Battle.ShowAlwaysHeroInfo> = 1
                                    <UI.ClipCursor> = 1
                                    <UI.DarkTransitions> = 1
                                    <UI.Ext.ScenarioMgr.Settings> = 3, 72, 2, 2, 0, 0, 2, 0, 0, 0, 0, 1, 1, 1
                                    <UI.Ext.ScenarioMgr.Folders> = 1
                                    <UI.Ext.TownMgr.AvailableInsteadGrowth> = 1
                                    <UI.HiRezCore> = 1
                                    <UI.QuickArmyManagementMode> {0, 1} = 0
                                    <UI.RecruitDlg.AutoSet> = 1
                                    <UI.RecruitDlg.AutoSet.Max> = 0
                                    <UI.Tavern.InviteHero> = 0
                                    <Update.CheckAtStart> = 0
                                    
                                    <OpenGL.Wrapper.Version> = 2
                                    <OpenGL.FixedRefreshRate> = 1
                                    <OpenGL.Interpolation> = 0
                                    <OpenGL.Upscaling> = 0
                                    <OpenGL.SingleWindow> = 1
                                    <OpenGL.Renderer> = 0
                                    <OpenGL.UpdateMode> = 1
                                    <OpenGL.SmoothMapScroll> = 1
                                    <OpenGL.SmoothHeroMove> = 1
                                    <OpenGL.Aspect> = 1
                                    <OpenGL.VSync> = 1
                                    <OpenGL.Benchmark> = 0
                                    <OpenGL.Colors.HueSat> = 32768500
                                    <OpenGL.Colors.RgbInput> = 65536000
                                    <OpenGL.Colors.RedInput> = 65536000
                                    <OpenGL.Colors.GreenInput> = 65536000
                                    <OpenGL.Colors.BlueInput> = 65536000
                                    <OpenGL.Colors.RgbGamma> = 500
                                    <OpenGL.Colors.RedGamma> = 500
                                    <OpenGL.Colors.GreenGamma> = 500
                                    <OpenGL.Colors.BlueGamma> = 500
                                    <OpenGL.Colors.RgbOutput> = 65536000
                                    <OpenGL.Colors.RedOutput> = 65536000
                                    <OpenGL.Colors.GreenOutput> = 65536000
                                    <OpenGL.Colors.BlueOutput> = 65536000
                                    
                                    <Show Intro> = 1
                                    <AppPath> = "D:\HoMM3\"
                                    <Music Volume> = 5
                                    <Sound Volume> = 5
                                    <Last Music Volume> = 5
                                    <Last Sound Volume> = 5
                                    <Walk Speed> = 3
                                    <Computer Walk Speed> = 3
                                    <Show Route> = 1
                                    <Move Reminder> = 1
                                    <Quick Combat> = 1
                                    <Video Subtitles> = 1
                                    <Town Outlines> = 1
                                    <Animate SpellBook> = 1
                                    <Window Scroll Speed> = 1
                                    <Bink Video> = 0
                                    <Blackout Computer> = 0
                                    <First Time> = 0
                                    <Test Decomp> = 0
                                    <Test Read> = 0
                                    <Test Blit> = 0
                                    <Unique System ID> = "GEX"
                                    <Network Default Name> = "Player"
                                    <Autosave> = 1
                                    <Show Combat Grid> = 1
                                    <Show Combat Mouse Hex> = 1
                                    <Combat Shade Level> = 1
                                    <Combat Army Info Level> = 1
                                    <Combat Auto Creatures> = 1
                                    <Combat Auto Spells> = 1
                                    <Combat Catapult> = 1
                                    <Combat Ballista> = 1
                                    <Combat First Aid Tent> = 1
                                    <Combat Speed> = 2
                                    <Main Game Show Menu> = 1
                                    <Main Game X> = 0
                                    <Main Game Y> = 0
                                    <Main Game Full Screen> = 1
                                    <CDDrive>
                                    
                                    <Graphics.DrawMap.Threads> = 0 {experimental tweak: multithread adventure map rendering}
                                    <Graphics.DrawMap.ShowFPS> = 0 {for testing different Graphics.DrawMap.Threads values and different Graphics Modes}
                                    <HD.QuickCombat> = 1 
                                    

                                    I suppose that only lines from 3-8 are important. But you can probably just copy over the whole text into your sod.ini. There is one game path in line 61 which you have to adjust.

                                    Let's see if that helps ;)

                                    S 1 Reply Last reply 21 Sept 2021, 11:53 Reply Quote 1
                                    • G
                                      Good_Punk
                                      last edited by 20 Sept 2021, 14:10

                                      Hello, I could use some help with .conf files.
                                      I've installed everything and Wine Desktop works fine when I use the "Run" option and start SimCity3000 that way.

                                      But when I run my "Sim City 3000.conf" from the EmulationStation the screen just goes black for a few seconds and I'm back at Emulation Station. (tried quite a few times, never worked)

                                      My config file looks like this:

                                      DIRECTORY=/home/pi/RetroPie/roms/wine/Files/sc3000/
                                      PROGRAM=/home/pi/RetroPie/roms/wine/Files/sc3000/sc3.exe
                                      OPTIONS=

                                      Any ideas? :)

                                      G 1 Reply Last reply 21 Sept 2021, 00:42 Reply Quote 0
                                      • G
                                        George @Good_Punk
                                        last edited by 21 Sept 2021, 00:42

                                        @good_punk often programs will require additional libraries and windows DLLs to be installed via Wine Tricks. Does Wine Desktop work at all? I saw your previous post about that. Should probably make sure that you are using the "emulator" branch from GitHub.

                                        Also, as @ecto mentioned, post your /dev/shm/runcommand.log output after running and perhaps there may be some error messages.

                                        - George

                                        G 1 Reply Last reply 21 Sept 2021, 04:48 Reply Quote 0
                                        • H
                                          honcoop91
                                          last edited by 21 Sept 2021, 03:33

                                          i got the depends installed, but when i moved onto exp/box86, i got could not successfully install box86 emulator.
                                          /home/pi/retropie-setup/tmp/build/box86/docs/license not found.
                                          any help would be appreciated

                                          G 1 Reply Last reply 21 Sept 2021, 04:45 Reply Quote 0
                                          392 out of 475
                                          • First post
                                            392/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