Download the (x64) .NET 9 runtime and unpack its files into a folder called dotnet
. Put this folder into your home
directory.
- Opened a terminal in your home directory (right click -> open terminal, on most distros).
- Start the Nano text editor with the command:
nano ~/.bashrc
- At the bottom of the file, add the following:
export DOTNET_ROOT=$HOME/dotnet export PATH=$PATH:$HOME/dotnet
- Save by pressing
Ctrl+O
, then press Enter to confirm. - Exit Nano with
Ctrl+X
. - Close the terminal.
Reopen the terminal (so that it gets the settings above applied)
Type dotnet --info
. You should get output similar to this:
VirtualBox:~$ dotnet --info
Host:
Version: 9.0.0
Architecture: x64
Commit: 9d5a6a9aa4
RID: linux-x64
.NET SDKs installed:
No SDKs were found.
Open a terminal in the folder where you put Avalonia 86. Start it with: ./Avalonia86
If it does not start up, try typing the command chmod +x Avalonia86
and try again.
Open a text editor and copy in this:
[Desktop Entry]
Version=1.0
Type=Application
Name=Avalonia86
Exec=bash -c "export DOTNET_ROOT=/home/<user name>/dotnet && /home/<user name>/Avalonia86-folder/Avalonia86"
Path=/home/<user name>/Avalonia86-folder/
Icon=/home/<user name>/Avalonia86-folder/Resources/86Box-gray.svg
Comment=Manager
Terminal=false
Categories=Game;Emulator;
StartupWMClass=86box-vm
StartupNotify=true
Name[en_US]=Avalonia 1.0
Then replace <user name>
and adjust the paths to point at the location where you put Avalonia 86.
Save the file on the desktop with the name Avalonia 86.desktop
Hopefully you now have Avalonia runnning
Download an x64 Linux Appimage from here. Create a new folder in your home directory and put the AppImage into it.
There are many different distributions of linux. On Linux Mint I didn't have to do anything special, but on Ubuntu I had to run a few commands:
So, you may have to:
- The image needs to be executable. Open a terminal in the folder and write:
chmod +x <name of AppImage>
. - AppImages needs FUSE to run, so write:
sudo apt install libfuse2
orsudo apt-get install fuse libfuse2
.
Now test the image by running it: ./<name of AppImage>
If it works, you'll get this message:
Download those roms from here.
Extract the "rom" files into a folder called roms, that you place alongside the AppImage.
Avalonia 86 needs a VM folder and a 86Box executable appimage. This has to be set up in the Program Settings:
The VM path can go to whatever folder you please. It only serves as the default folder when you don't specify a folder in the Add VM dialog.
The 86Box path has to point to a folder that contains an executable file that starts with the name 86Box
, exactly as typed (with the same capitalization).
Point Avalonia 86 to said folder.
Select New Virtual Machine
from the file menu
Name is the only field you have to type; all others are optional.
You should hopefully now be able to run the machine. Good luck.