Skip to content

🏁 Containerized version of SRB2Kart, a kart racing mod based on Sonic Robo Blast 2

License

Notifications You must be signed in to change notification settings

rwanyoike/srb2kart-server-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Sonic Robo Blast 2 Kart Server

GitHub Actions GitHub License Docker Image Version Docker Image Size

Containerized version of SRB2Kart.

SRB2Kart

Containerized version of SRB2Kart, a kart racing mod based on the 3D Sonic the Hedgehog fangame Sonic Robo Blast 2, based on a modified version of Doom Legacy. You can use SRB2Kart to run a SRB2Kart dedicated netgame server given the proper config.

Usage

To start the SRB2Kart dedicated netgame server on port 5029/udp:

docker run --name srb2kart-server -p 5029:5029/udp docker.io/rwanyoike/srb2kart-server:latest

Data Directory

The ~/.srb2kart directory is symlinked to /data inside the container. You can mount a directory on your host (with configuration files, mods, etc.) to the /data directory in the container.

For example, you can create a directory on your host with the necessary configuration files and mods, and then mount it to the /data directory in the container.

$ tree host-srb2kart-data/
host-srb2kart-data
β”œβ”€β”€ addons
β”‚Β Β  β”œβ”€β”€ kl_xxx.pk3
β”‚Β Β  β”œβ”€β”€ kl_xxx.wad
β”‚Β Β  └── kr_xxx.pk3
└── kartserv.cfg

1 directory, 4 files

The container runs as a non-root user 1000:1000 (id:group, respectively). The directory you mount must be writable by this user.

docker run --name srb2kart-server \
    -p 5029:5029/udp \
    -v ./host-srb2kart-data:/data \
    docker.io/rwanyoike/srb2kart-server:latest \
    -dedicated \
    -file \
    addons/kl_xxx.pk3 \
    addons/kl_xxx.wad \
    addons/kr_xxx.pk3

Build

The build will clone the STJr/Kart-Public repository and build the SRB2Kart executable, as well as download the game assets (/usr/share/games/SRB2Kart):

# Clone the repository
git clone https://github.com/rwanyoike/srb2kart-server-docker
# Navigate to the project directory
cd srb2kart-server-docker
# Build the SRB2Kart server
docker build -t srb2kart-server:<version> .

About

🏁 Containerized version of SRB2Kart, a kart racing mod based on Sonic Robo Blast 2

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published