项目作者: zm-reborn

项目描述 :
Zombie Master, an RTS/FPS game on the Source 2013 engine.
高级语言: C++
项目地址: git://github.com/zm-reborn/zmr-game.git
创建时间: 2017-08-03T13:16:25Z
项目社区:https://github.com/zm-reborn/zmr-game

开源协议:Other

下载


Zombie Master: Reborn

An FPS/RTS hybrid game on Source 2013 engine, supporting Linux and Windows. See more info at our ModDB page!

License

You can read it here.

Building

Windows

  1. Download Visual Studio 2022 & Python.
  2. In VS, install Desktop development with C++ workload.
    • The required components are: MSVC v143 and Windows SDK 10.0 (10.0.20348.0 tested)
  3. Run creategameprojects.bat in src-folder.
  4. You now have a solution file zmr-games.sln which you can open and build.

Linux

You should use the Steam Runtime SDK to compile. Here’s an example using Docker:

  1. docker run --rm -v .:/build/ -it "registry.gitlab.steamos.cloud/steamrt/sniper/sdk" /bin/bash
  2. # You should now have a shell in the container.
  3. cd /build/src
  4. ./creategameprojects
  5. ./build game
  6. # Optionally strip debug symbols
  7. ./strip_debug_symbols

Running

  • Requires Source SDK Base 2013 Multiplayer to be downloaded from Steam. (In the Tools-page)
  • Make sure you have cloned the game-folder submodule (game/zombie_master_reborn).

Windows

Launch with the debugger (F5) in Visual Studio. :)

Linux

You can create a symbolic link of game/zombie_master_reborn in your <Steam>/steamapps/common/Source SDK Base 2013 Multiplayer-folder and then run hl2.exe with arguments -game zombie_master_reborn

Start hl2 with the Steam runtime.
~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh ./hl2.sh -game zombie_master_reborn

Final Build

Turning on the conditional ZMR_FINAL will enable FMOD sound engine and Discord RPC. FMOD headers need to be placed in public/fmod/ (they cannot be distributed here).

  1. # You might have to use /f to force a rebuild.
  2. cd src && ./creategameprojects /ZMR_FINAL

You’ll also need a copy of the binaries to run the game. (discord_game_sdk.dll & fmod.dll)

FAQ

Project refuses to compile, says something about wrong/missing toolset. / Opening the solution says something about upgrading.

Open project settings and make sure Platform Toolset is v143 and Windows SDK Version is 10.0 (latest installed version) or lower.
If it says one of them is missing, you need to download them from Visual Studio Installer (Tools -> Get Tools and Features)

Other problems

Just ask Mehis in Discord.

Contributing

Please base all pull requests on the ‘dev’ branch. If you’re planning on something bigger or you want to work on one of the Issues, do contact us so your efforts don’t go to waste.