Box86 and Wine on RPi4
-
@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... -
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
-
@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 ;)
-
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? :)
-
@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
-
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 -
@honcoop91
I've just added and empty LICENSE folder manually to the tmp folder... after that it worked. 😅 -
@george
Wine Desktop works and I can run all the game from the Startmenu->Run... they just don't work when I try to run then from the .conf files. I'll have a look at the runcommand.log later, thanks. :) -
@good_punk tried that, but for some reason the box86 owner is root instead of pi, and im having trouble logging into that/getting permissions
-
@honcoop91
Hm okay... I don't know much about Linux stuff. I've used the File Commander that came with RetroPie and that let me navigate to the tmp folder and create a new one. -
@ecto
hmm.... thanks ! :)
I tried didnt not help :\ -
@honcoop91 sounds like you might be running off the primary branch in the repository instead of the
emulator
branch, which is more up to date. The LICENSE file got moved in the Box86 repo, and the script in myemulator
branch has the new location.I really should just update the main branch on my repo.
Hope that helps.
- George
-
@george looks like i finally got it to work, now just gotta figure out how to install games and hopefully get pkhex to work lol
-
Just posting here for some accountability so I actually do this:
I intend to try to use this to run a game I'm making in RPG Maker VX Ace on RetroPie. This is the only thing close to a solution I've been able to find... from what I can tell from reading most of this entire thread, I think it should work. I'll let you know what I find out.I do IT/DevOps professionally and so am pretty familiar with Linux/Command Line and hardware, but I'm actually not super familiar with how RetroPie and Wine, specifically, work, so I may pop in with questions.
-
Has the audio issue been sorted or any known fix? My audio isn't working on the pi outside of splash videos regardless of whether wine is opened.
cat /proc/asound/cards
only shows headphones. -
@hooperre how did you install DirectX9? I wonder if that's what I'm missing for Vanguard Princess and Freedom Planet...
-
@dodonpachi https://www.microsoft.com/en-us/download/details.aspx?id=8109
Then installed inside wine. I tried doing it through Winetricks but it failed. Also using winetricks to install the
core fonts
(From memory) helped compatibility. -
@hooperre .... That link just takes me to a page to shop for Surface laptops. Did you copy the wrong one?
And when you say installed through Wine, what do you mean? You ran the .exe through a .conf or something like you would a game?
-
@dodonpachi Sorry, updated the link. Correct. IIRC you install and then run another installation after the first one from the .exe files within wine. I would try running winetricks > install dll > directx first but it didn’t work for me. Wine’s website says it doesn’t support directx but it worked for me. You can also install directx if it comes with the install cd for the game.
Adding
snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_compat_alsa=1
to/boot/cmdline.txt
does solve the audio issue I encountered as alluded to in a previous post where hdmi was missing.Removing
pulseaudio
solved a separate audio issue. -
So I've now gotten Vanguard Princess to run through Wine Explorer (and it runs very well), but I still cannot get it to run from a .conf or .sh file on the Emulationstation menu.
Ugh, I'm so close. I must be missing something.
EDIT: I've gotten the demo for Freedom Planet (from the official site) to run through Wine Explorer. Performance isn't stellar, but it worked with my arcade stick right out of the box! Still can't get it to load through .conf or .sh though...
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.