Locations used in this setup:
~/Documents/Projects – This is where I keep my github projects
~/Documents/Windows Programs/Altirra – Where I have the Altirra emulator installed
Set up Altirra
First install Wine. Directions here: https://wine.htmlvalidator.com/install-wine-on-ubuntu-20.04.html
Download altirra https://www.virtualdub.org/altirra.html
Extract the files and put them where you want the program to be.
I used ~/Documents/Windows Programs/Altirra

I created a little script to start altirra inside the Altirra directory

Install prerequesites and download github files
sudo apt update
sudo apt upgrade
sudo apt install libbsd-dev libexpat-dev libssl-dev cmake g++
mkdir ~/Documents/Projects
cd ~/Documents/Projects
git clone https://github.com/a8jan/fujinet-pc.git
git clone https://github.com/FujiNetWIFI/fujinet-emulator-bridge.git
Build fujietnet-pc and run it
cd fujinet-pc/build
cmake .. -DCMAKE_BUILD_TYPE:STRING=Debug
cmake --build .
cp -a ../data/* .
mkdir sd
./run-fujinet
Now go to the following page: http://localhost:8000/
Scroll down to the EMULATOR SETTINGS and Enable the SIO transmission over the network. Set localhost (127.0.0.1) as the address.

Open a new terminal
cp ~/Documents/Projects/fujinet-emulator-bridge/altirra-custom-device/netsio.atdevice ~/Documents/Windows\ Programs/Altirra/extras/sampledevices/
cp ~/Documents/Projects/fujinet-emulator-bridge/fujinet-bridge/netsio-hub.py ~/Documents/Windows\ Programs/Altirra/extras/deviceserver/
cd ~/Documents/Windows\ Programs/Altirra/extras/deviceserver/
python3 netsio-hub.py
Add the device sionet.atdevice to Altirra
System -> Configure System…
Peripherals -> Other devices -> Custom device


If you’ve set it up correctly, it will look like this

Set Acceleration settings
Go to Computer->Acceleration and place checks on C: patch, D: patch, D: burst I/O, SIOV patch only, and CIO burst transfers

Start Altirra
You should see the Fujinet configuration screen
Add a host to the host list by pressing E, and type fujinet.pl
Press enter and add the weather.atr in networking

Press and hold F4 (option key on atari) and you’re running!
