Skip to content
EntityQ604532· pop 20· linked from 11 articles

2001 free side-view multiplayer action game

Source code

Opensoldat 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. This approach automates some build steps. Opensoldat's assets will be downloaded for you, and you will not have to worry about downloading pre-built libraries. This is the simplest way to build opensoldat for Linux. 1. Install freepascal 3.0.4 (install fpc-3.0.4.i386-win32.exe first, and then fpc-3.0.4.i386-win32.cross.x86 64-win64.exe ) 2. Install Visual Studio with C++ compiler/build tools and vcpkg 3. Open Developer command prompt for Visual Studio 4. vcpkg.exe --triplet x64-windows install sdl2 physfs openssl protobuf freetype openal-soft 5. set PATH=%PATH%;C: fpc 3.0.4 bin i386-win32 6. set OPENSSL ROOT DIR=C: vcpkg installed x64-windows 7. set PHYSFSDIR=C: vcpkg installed x64-windows 8. mkdir build 9. cd build 10. cmake -G "NMake Makefiles" -DCROSS WINDOWS 64=1 -DCMAKE TOOLCHAIN FILE="C: vcpkg scripts buildsystems vcpkg.cmake" -DSDL2 BUILDING LIBRARY=1 .. 11. nmake 1. brew install [email protected] protobuf fpc cmake sdl2 physfs freetype2 2. mkdir build && cd build 3. export PKG CONFIG PATH=$PKG CONFIG PATH:/usr/local/opt/[email protected]/lib/pkgconfig 4. cmake -DOPENSSL ROOT DIR=$(brew --prefix [email protected]) .. 5. make The build can be customized by passing flags to cmake command. For example, you can choose whether you want to build the client, the server, or both. You can decide if you want to include opensoldat's assets in the build. There are also options for cross-compilation. Check the CMakeLists.txt files in this repository to see the available options and their default values. Example: cmake .. -DCMAKE BUILD TYPE=Release -DADD ASSETS=1 -DBUILD CLIENT=0 to get a release build of the server with opensoldat's assets If you decide to follow the approaches below, you will have to download opensoldat's assets and pre-built libraries for the game to work. 1. Download pre-built libraries. The best way would probably be to download libraries from the latest build of opensoldat (from Github Actions, or Releases). You can download latest from here (includes libraries for 3 platforms - pick the ones you need) 2. Copy libraries to client/build and server/build 3. Get soldat.smod file from base repository. You can either download the file from the latest release (recommended), or generate the .smod file yourself following the provided instructions 4. Copy soldat.smod file to client/build and server/build 5. Download play-regular.ttf file from base repository, either from the latest release or from base/client folder 6. Copy play-regular.ttf file to client/build You need to start the server first, and then join the game with client. 1. Run soldatserver 2. Run soldat -join 127.0.0.1 23073 (more generically -join ip port )

Excerpt from the source-code README · 4,812 chars · not written by Vinony

Wikidata facts

Official website
www.soldat.pl
Image
Soldat v1.7 killed.png
Show 6 more facts
software version identifier
1.8
publication date
2002-05-09
maximum number of players
32
source code repository URL
github.com/Soldat/soldat
IRC channel URL
irc://irc.quakenet.org/#soldat
inception
2001-11-00
Sources (8)

via Wikidata · CC0

Connections

Categories