Soldat is a unique 2D (side-view) multiplayer action game. It has been influenced by the best of games such as Liero, Worms, Quake, Counter-Strike, and provides a fast-paced gaming experience with tons of blood and flesh.
This repository contains the source code of the so-called 1.8 version. Compared to the original version, the code has undergone many changes but is not in a finished state. We hope that by open-sourcing Soldat we can empower our community to improve the game at a faster pace.
- FreePascal 3.0.4
- SDL 2.0.12
- OpenAL
- FreeType 2.6.1
- PhysFS 3.0.2
- GameNetworkingSockets
Soldat compiles on Windows, Linux and macOS.
- Install Lazarus IDE (or a standalone FreePascal Compiler if you want to use Makefiles)
- Download pre-built libraries and copy libraries from
win64_dlls
toclient/build
andserver/build
- Clone base repository and run
create_smod.sh
from it to create a game base archive - Copy
soldat.smod
toclient/build
andserver/build
- Copy
base/client/play-regular.ttf
toclient/build
- Open
server/soldatserver.lpi
with Lazarus, press F9 to compile and start the server - Start another instance of Lazarus and open
client/soldat.lpi
, press F9 to build the game client
- Create build directory structure:
mkdir -p server/build/linux; mkdir -p client/build/linux
- Compile server:
cd server; make linux_x86_64
(on Windows:make windows_x86_64
, on MacOS:make osx_x86_64
) - Compile client:
cd client; make linux_x86_64
- Run server:
server/build/soldatserver_x64
- Run client:
client/build/soldat_x64 -join 127.0.0.1 23073