Box86 - Linux Userspace x86 Emulator


ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,195
Age
49
Location
France, near Lyon
I got the Windows Zoom now running via Box and Wine, allthough i think as long as the Firefox Plugin works out of the box whit OpenGL, and i ditnt had luck whit Direct X yet, i will use the Debian 11 Firefox on Sunday more likely..

One Question: When i want to shoffel Game Data on Pyra for the Ports, par exemple for Theme Hospital, will i need Direct X, or could i just install the Game whit the Files from GOG via Wine Explorer and copy and paste the Needed Data?

And i couldnd open Wine CFG yesterday, i dont know why, i allready changed something on the Library for Direct X (D3D or something), nothing else..
Maybe tomorrow i will post the Log File when i found out how..
And i ditnt found out how to install wine Tricks yet....
Install winetricks, from https://github.com/Winetricks/winetricks readme:
create a file, in your home, with this content:
Code:
#!/bin/sh
# Create and switch to a temporary directory writeable by current user. See:
#   https://www.tldp.org/LDP/abs/html/subshells.html
cd "$(mktemp -d)" || exit 1

# Use a BASH "here document" to create an updater shell script file.
# See:
#   https://www.tldp.org/LDP/abs/html/here-docs.html
# >  outputs stdout to a file, overwriting any pre-existing file
# << takes input, directly from the script itself, till the second '_EOF_SCRIPT' marker, as stdin
# the cat command hooks these 2 streams up (stdin and stdout)
###### create update_winetricks START ########
cat > update_winetricks <<_EOF_SCRIPT
#!/bin/sh

# Create and switch to a temporary directory writeable by current user. See:
#   https://www.tldp.org/LDP/abs/html/subshells.html
cd "\$(mktemp -d)"

# Download the latest winetricks script (master="latest version") from Github.
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks

# Mark the winetricks script (we've just downloaded) as executable. See:
#   https://www.tldp.org/LDP/GNU-Linux-Tools-Summary/html/x9543.htm
chmod +x winetricks

# Move the winetricks script to a location which will be in the standard user PATH. See:
#   https://www.tldp.org/LDP/abs/html/internalvariables.html
sudo mv winetricks /usr/bin

# Download the latest winetricks BASH completion script (master="latest version") from Github.
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion

# Move the winetricks BASH completion script to a standard location for BASH completion modules. See:
#   https://www.tldp.org/LDP/abs/html/tabexpansion.html
sudo mv winetricks.bash-completion /usr/share/bash-completion/completions/winetricks

# Download the latest winetricks MAN page (master="latest version") from Github.
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.1

# Move the winetricks MAN page to a standard location for MAN pages. See:
#   https://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREMANMANUALPAGES
sudo mv winetricks.1 /usr/share/man/man1/winetricks.1
_EOF_SCRIPT
###### create update_winetricks FINISH ########

# Mark the update_winetricks script (we've just written out) as executable. See:
#   https://www.tldp.org/LDP/GNU-Linux-Tools-Summary/html/x9543.htm
chmod +x update_winetricks

# We must escalate privileges to root, as regular Linux users do not have write access to '/usr/bin'.
sudo mv update_winetricks /usr/bin/
named it meh.sh for example
than do
Code:
cd ~
chmod +x meh.sh
sudo ./meh.sh
And it should install winetricks.
try it with
Code:
winetricks help

(PS: Why Zoom on Windows when I took the time to list all the steps to install the Linux version of Zoom?)

(PS2: Stop messing with DirectX, it's Wine, not Windows, so dx stuff are already there)
 

matzesu

Forum Addict!
Staff member
Joined
Oct 24, 2008
Messages
12,429
Age
38
Location
Germany,, Saarland, at home
Well, because i wantet to test if i can install something whit wine, and on first try it ditnt run..,
I spoke to our IT Expert who runs Shop PCs and he also said that the Zoom Client isnt that neccessarry
Tomorrow will be hopefully a new Pyra Video, and i will see when i get the Time to get 3D Stuff Running over Wine Tricks..

Whit this Farming Sim Switch Money Glitch, im now not that much in need for the PC Version for now ^^
 

levi

Still fresh, damnit!
Joined
Oct 6, 2008
Messages
15,732
Location
Somewhere off the coast of the EU
I think your tables could do with a note saying 'bigger/smaller numbers are better' for each case. It's not clear to me whether the numbers are time to completion, or average fps where that applies, or a count of how many times you can do it in 10s.
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,195
Age
49
Location
France, near Lyon
I think your tables could do with a note saying 'bigger/smaller numbers are better' for each case. It's not clear to me whether the numbers are time to completion, or average fps where that applies, or a count of how many times you can do it in 10s.
I can add a "the bigger, the better" as a legend to all the tables
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,195
Age
49
Location
France, near Lyon
Not for the Pyra (but for the Phyitum mini PC), with both box64+box86 (and vulkan), I've got SteamPlay running (so windows games running on proton with steam).
1648297494700.png


1648297522801.png


1648297548924.png
 

matzesu

Forum Addict!
Staff member
Joined
Oct 24, 2008
Messages
12,429
Age
38
Location
Germany,, Saarland, at home
So Steamplay is a Software to run Steam Games on Linux, whitout the need for Wine Tricks and Direct X9?
Would be cool to get Farming Sim 13 to run..
 

MTPDA

Member
Joined
Oct 31, 2018
Messages
96
Location
Waterloo, Ontario, Canada
So Steamplay is a Software to run Steam Games on Linux, whitout the need for Wine Tricks and Direct X9?
Would be cool to get Farming Sim 13 to run..
It's the user friendly name for Proton, Valve's project combining Wine, DXVK, and a few other projects together to get games to run. Someone has developed ProtonTricks for it because Winetricks needs some fiddling to work with it.
 

ElPoco

Hardcore Member
Joined
Feb 16, 2012
Messages
1,096
Age
38
Location
Paris, France
I've compiled the latest versions of gl4es and box86 on my Pandora yesterday. It seems that I can no longer run things with wine, I get an error about kernel32.dll failing to load. It used to work before (I just realized that I should have checked with an older box86 binary to ensure I'm testing with the command line that used to work, but I think I do).

I didn't notice any other difference (maybe a slight performance improvement, but I'm not sure), but I'll try to expand my test set a bit.
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,195
Age
49
Location
France, near Lyon
I'll try to check. But my main dev. pandora (GHz model), is dying (both battery and lcd cable), so I don't use it too much lately.
My guess is that the new mmap allocation scheme is failling for some reason, but I don't see why it would on the Pandora specifically.. So maybe it's something completly different. I'll robably need to debug.
 

ElPoco

Hardcore Member
Joined
Feb 16, 2012
Messages
1,096
Age
38
Location
Paris, France
Sorry about your Pandora. My LCD cable was dying (along with the case), but Linux-SWAT transplanted a new one. :)
Thanks. Let me know if you want me to test things for you.
 

matzesu

Forum Addict!
Staff member
Joined
Oct 24, 2008
Messages
12,429
Age
38
Location
Germany,, Saarland, at home
End of next week is Pfingsten (Pentecôte. Pentecost) , so enough time to screw around whit Box86 on Pyra ^^

I ditnt want to continue whit Box86 the whole last time because of this not that good experience i had on Phytium, as i wantet to start whit the more difficult stuff (Wine) , and ditnt used tiny stepps by starting whit Linux Games..
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,195
Age
49
Location
France, near Lyon
On the phytium, if you don't want to use command line to compile box86 & box64, there are some apt repo of both box, updated regularly:
https://github.com/ryanfortner/box64-debs & https://github.com/ryanfortner/box86-debs

Follow the readme, there is 3 command to paste and than it will be update automticaly each time you "sudo apt update && sudo apt upgrade"

Once box86 & box64 are installed and working (simply use "box86" and "box64" to see if they launch and print the default help), you can install steam with a simple script here https://github.com/ptitSeb/box86/raw/master/install_steam.sh
download it, make it executable and launch fro command line, steam will install.
 

matzesu

Forum Addict!
Staff member
Joined
Oct 24, 2008
Messages
12,429
Age
38
Location
Germany,, Saarland, at home
I allready have Box86 installed on Phytium, but something went wrong whit the Wine installation..

But well i have some Games on Steam from the Windows Versions so I could try this Linux Steam maybe Thursday ..
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,195
Age
49
Location
France, near Lyon
Some new game I got working with box86+box64 (mostly running on the Phytium MiniPC, but many works on PI or RK3399 sbc too)

1657910682189.png

Keep Talking and Nobody Explode (Linux version / box86 or box64)

1657911034949.png

Kingdom Classic (Steamversion / box86), but also Kingdoms New Lands (Linux or Steam version / box86 or box64)

1657911128297.png

Immortal Redneck (Steam version / box64)

1657911264956.png

Kerbal Space Program (Steam version / box64). It seems it also work (a bit slowly) on RK3399 sbcs too. It doesn't work on my PI/400 (lack of bc7 texture compression support in the GPU)

1657911381103.png

Hacknet (Linux version / box64). The 32bits still doesn't run with box86, but the 64bits version now works fine with box64.

1657911448747.png

Surviving Mars (Steam version / box64)

1657911550392.png

Mini Metro (Linux or Steam version / box64), here the Steam version running on my PI/400.
 
Top