This "one shot version" is a server that can be connected to exactly once. It was built in GameMaker IDE 589 Ubuntu 18.04 for use only on the AtariVCS.
Once any connected client disconnects, it shuts down. GameMaker users should download the GameMaker version as it adds a small bit of authentication to limit its use just to GameMaker games. Godot4 users should download the "Raw" version that bypasses this security layer.
The server runs on port 1234.
The source code is almost identical to previous server versions, except that it counts up the number of concurrent users and, when no other users are connected, if it has already seen a user that is no longer connected, the server quits. This is to avoid needing to do script-fu in Linux and handle a bunch of corner cases regarding game exits, fuji buttons, whatnot.
Use the Dev-Staging version when you are doing input testing because it shows diagnostics on the screen.
Use the Production version when you are ready to publish. It plays a sound and shows the Lost Astronaut logo and the InputCandy logo.
#!/bin/sh
cd /where/your/game/root/is/
export LD_LIBRARY_PATH=./usr/lib:${LD_LIBRARY_PATH}
# put the server in the background, choose Dev-Staging until you are satisified, then choose Production
./server/AtariControllerServer &
# let the logo show and the server start up
sleep 3
# launch your game
./YourGame.x86_64
exit 0