-
Notifications
You must be signed in to change notification settings - Fork 71
Installing a High Score Party Server
The following HOWTO shows how to install a complete FujiNet server for LAN party use.
The following components are included:
- TNFS server with High Score Enabled Games
- Web Server, with High Score boards
Install Ubuntu Server 22.04 with default settings, for your system. Follow the instructions.
Once this is done, become root:
sudo -i
When prompted, enter the user password that you specified at install.
You should now be in root's home directory (/root)
apt -y install build-essential git
''(the tnfs group will automatically be created)''
useradd tnfs
git clone https://github.com/FujiNetWIFI/spectranet.git
cd spectranet/tnfs/tnfsd
make OS=LINUX
install -o tnfs -g tnfs bin/tnfsd /usr/local/sbin/tnfsd
This will be used to store the files served by TNFS.
mkdir /tnfs
chown tnfs:tnfs /tnfs
install tnfsd.service /etc/systemd/system
systemctl enable tnfsd
systemctl start tnfsd
You can check the status of the service with:
systemctl status tnfsd
At this point, the TNFS service is now running.
Now we need to fetch the High Score Enabled repository, with all of its games, and tools, using 'git'
cd ~
git clone https://github.com/FujiNetWIFI/fujinet-high-scores.git
cd fujinet-high-scores/atari-blank-games/
chmod ugo+rw *
chown tnfs:tnfs *
cp * /tnfs
Ubuntu Server ships with the 'ufw' firewall enabled, so TNFS connections must be allowed. TNFS uses UDP port 16384.
ufw allow 16384/udp
With the nearest #FujiNet equipped Atari, boot into CONFIG, set the host slot to the network address or hostname of the new server, and try to load a game.
If this works, the TNFS server is ready. Now to set up the web server.
Start, with installing the web server.
apt -y install nginx-full
Use 'ufw' to allow HTTP traffic.
ufw allow http
cd fujinet-high-scores/atari
cp index.html /var/www/html/index.nginx-debian.html
Each score scraper needs to be built and installed into /usr/local/sbin.
cd bcsquestfortires
make
install bcsquestfortires /usr/local/sbin
install bcsquestfortires.css /var/www/html
install bcsquestfortires.png /var/www/html
install bcsquestfortires.service /etc/systemd/system
systemctl enable bcsquestfortires
systemctl start bcsquestfortires
cd crisismountain
make
install crisismountain /usr/local/sbin
install crisismountain.css /var/www/html
install crisismountain.png /var/www/html
install crisismountain.service /etc/systemd/system
systemctl enable crisismountain
systemctl start crisismountain
cd flak
make
install flak /usr/local/sbin
install flak.css /var/www/html
install flak.png /var/www/html
install flak.service /etc/systemd/system
systemctl enable flak
systemctl start flak
cd frogger
make
install frogger /usr/local/sbin
install frogger.css /var/www/html
install frogger.png /var/www/html
install frogger.service /etc/systemd/system
systemctl enable frogger
systemctl start frogger
cd gorf
make
install gorf /usr/local/sbin
install gorf.css /var/www/html
install gorf.png /var/www/html
install gorf.service /etc/systemd/system
systemctl enable gorf
systemctl start gorf
cd jawbreakerii
make
install jawbreakerii /usr/local/sbin
install jawbreakerii.css /var/www/html
install jawbreakerii.png /var/www/html
install jawbreakerii.service /etc/systemd/system
systemctl enable jawbreakerii
systemctl start jawbreakerii
cd jumpman
make
install jumpman /usr/local/sbin
install jumpman.css /var/www/html
install jumpman.png /var/www/html
install jumpman.service /etc/systemd/system
systemctl enable jumpman
systemctl start jumpman
cd loderunner
make
install loderunner /usr/local/sbin
install loderunner.css /var/www/html
install loderunner.png /var/www/html
install loderunner.service /etc/systemd/system
systemctl enable loderunner
systemctl start loderunner
cd pacman
make
install pacman /usr/local/sbin
install pacman.css /var/www/html
install pacman.png /var/www/html
install pacman.service /etc/systemd/system
systemctl enable pacman
systemctl start pacman
cd rearguard
make
install rearguard /usr/local/sbin
install rearguard.css /var/www/html
install rearguard.png /var/www/html
install rearguard.service /etc/systemd/system
systemctl enable rearguard
systemctl start rearguard
cd serpentine
make
install serpentine /usr/local/sbin
install serpentine.css /var/www/html
install serpentine.png /var/www/html
install serpentine.service /etc/systemd/system
systemctl enable serpentine
systemctl start serpentine
cd snokie
make
install snokie /usr/local/sbin
install snokie.css /var/www/html
install snokie.png /var/www/html
install snokie.service /etc/systemd/system
systemctl enable snokie
systemctl start snokie
cd spelunker
make
install spelunker /usr/local/sbin
install spelunker.css /var/www/html
install spelunker.png /var/www/html
install spelunker.service /etc/systemd/system
systemctl enable spelunker
systemctl start spelunker
cd trackattack
make
install trackattack /usr/local/sbin
install trackattack.css /var/www/html
install trackattack.png /var/www/html
install trackattack.service /etc/systemd/system
systemctl enable trackattack
systemctl start trackattack
cd tuttifrutti
make
install tuttifrutti /usr/local/sbin
install tuttifrutti.css /var/www/html
install tuttifrutti.png /var/www/html
install tuttifrutti.service /etc/systemd/system
systemctl enable tuttifrutti
systemctl start tuttifrutti
cd wizardofwor
make
install wizardofwor /usr/local/sbin
install wizardofwor.css /var/www/html
install wizardofwor.png /var/www/html
install wizardofwor.service /etc/systemd/system
systemctl enable wizardofwor
systemctl start wizardofwor
At this point, you should be able to point a PC to the now set up web server, and see the scoreboard, e.g.
HTTP://party-server/
Copyright 2024 Contributors to the FujiNetWIFI project.
Join us on Discord: https://discord.gg/7MfFTvD
- Home
- What is FujiNet?
- The Definition of Done
- Board bring up for FujiNet Platform.IO code
- The Complete Linux CLI Guide
- The Complete macOS CLI Guide
- Development Env for Apps
- FujiNet-Development-Guidelines
- System Quickstarts
- FujiNet Flasher
- Setting up a TNFS Server
- FujiNet Configuration File: fnconfig.ini
- AppKey Registry - SIO Command $DC Open App Key
- CP-M Support
- BBS
- Official Hardware Versions
- Prototype Board Revisions
- FujiNet Development Guidelines
- Atari Programming
- Apple Programming
- C64 Programming
- ADAM Programming
- Testing Plan
- Hacker List
- FujiNet VirtualMachine