{"id":13337127,"url":"https://github.com/jxsl13/zcatch","last_synced_at":"2025-03-11T04:31:39.872Z","repository":{"id":41849142,"uuid":"163741642","full_name":"jxsl13/zcatch","owner":"jxsl13","description":"zCatch is a server modification for the retro multiplayer shooter Teeworlds. It is a last man standing instagib gamemode.","archived":false,"fork":true,"pushed_at":"2022-04-26T16:42:05.000Z","size":100597,"stargazers_count":15,"open_issues_count":33,"forks_count":5,"subscribers_count":3,"default_branch":"zCatch-0.7.x","last_synced_at":"2024-10-25T13:15:00.806Z","etag":null,"topics":["cpp","teeworlds","teeworlds-mod","teeworlds-server"],"latest_commit_sha":null,"homepage":"https://zcat.ch","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Teelevision/zcatch","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jxsl13.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-01T14:13:00.000Z","updated_at":"2024-03-28T16:10:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jxsl13/zcatch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jxsl13%2Fzcatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jxsl13%2Fzcatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jxsl13%2Fzcatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jxsl13%2Fzcatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jxsl13","download_url":"https://codeload.github.com/jxsl13/zcatch/tar.gz/refs/heads/zCatch-0.7.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242972380,"owners_count":20215189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","teeworlds","teeworlds-mod","teeworlds-server"],"created_at":"2024-07-29T19:11:13.402Z","updated_at":"2025-03-11T04:31:38.968Z","avatar_url":"https://github.com/jxsl13.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":" Teeworlds zCatch [![Build](https://github.com/jxsl13/zcatch/workflows/Build/badge.svg)](https://github.com/jxsl13/zcatch/actions?query=workflow%3ABuild)\r\n=========\r\n\r\nDescription\r\n===========\r\n\r\nzCatch is a game server modification for the retro-multiplayergame Teeworlds. It is written for Teeworlds 0.7. If you hit someone, the player is caught and will be spectating you, until you die or win the round. The last player standing will win the game and might earn some score points in the rankings.\r\n\r\nIntroduced new server commands\r\n------------------------------\r\n| Command             | default      | min | max | Description                                                                                    |\r\n|---------------------|--------------|-----|-----|------------------------------------------------------------------------------------------------|\r\n| sv_weapon_mode      | 3            | 0   | 6   | 0: Hammer 1: Gun 2: Shotgun 3: Grenade Launcher 4: Laser Rifle 5: Ninja 6: Everything          |\r\n| sv_db_type          | \"\"           |     |     | \"\"(no ranking), \"redis\" or \"sqlite\"                                                            |\r\n| sv_db_sqlite_file   | \"ranking.db\" |     |     | Relative path to the sqlite3 database file.                                                    |\r\n| sv_warmup_autostart | 1            | 0   | 1   | Whether warmup should automatically start if there are not enough players to end a round.      |\r\n  \r\nMore commands can be found in the example configuration file in the **[wiki](https://github.com/jxsl13/zcatch/wiki/Server-configuration-example)**.\r\n\r\nDownloads\r\n=========\r\n\r\nCurrently there are two build variants: \r\nOne is a stable long term release which can be found here: [Releases](https://github.com/jxsl13/zcatch/releases)  \r\nThe second variant are nightly builds that can be found here: [Nightlies](https://github.com/jxsl13/zcatch/actions)  \r\nFor a nightly build you search for the top most operating system that you are looking for with a successful build. Click on it and look for the **Artifacts** dropdown menu(top right). Click there and download the latest version.\r\n\r\nContributors\r\n============\r\n\r\n[bleeding](https://github.com/maximyurchuk) - giant thanks for fixing the Windows build!\r\n\r\n\r\nTeeworlds\r\n=========\r\n\r\nTeeworlds is a free online multiplayer game, available for all major\r\noperating systems. Battle with up to 16 players in a variety of game\r\nmodes, including Team Deathmatch and Capture The Flag. You can even\r\ndesign your own maps!\r\n\r\nLicense\r\n=======\r\n\r\nThis software is provided 'as-is', without any express or implied\r\nwarranty. In no event will the authors be held liable for any damages\r\narising from the use of this software. See license.txt for full license\r\ntext including copyright information.\r\n\r\nPlease visit https://www.teeworlds.com/ for up-to-date information about\r\nthe game, including new versions, custom maps and much more.\r\n\r\nOriginally written by Magnus Auvinen. \r\n\r\n\r\nThis modification has been created by jxsl13.  \r\nPlease provide the apropriate credits if you want to modify this source code.\r\n\r\n\r\nBuilding on Linux or macOS\r\n==========================\r\n\r\nRequirements:\r\n-------------\r\n\r\n    gcc \u003e= 8.10 (supporting C++17) / macOS usually ships with the latest clang version.  \r\nIt might also be necessary to add these two lines to your `.bashrc/.zshrc` etc.\r\n\r\n    export PATH=/usr/local/gcc-8.10/bin:$PATH\r\n    export LD_LIBRARY_PATH=/usr/local/gcc-8.10/lib64:$LD_LIBRARY_PATH\r\n\r\nInstalling dependencies\r\n-----------------------\r\n\r\n    # Debian/Ubuntu\r\n    sudo apt install build-essential cmake git libfreetype6-dev libsdl2-dev libpnglite-dev libwavpack-dev python3\r\n\r\n    # Fedora\r\n    sudo dnf install @development-tools cmake gcc-c++ git freetype-devel mesa-libGLU-devel pnglite-devel python3 SDL2-devel wavpack-devel\r\n\r\n    # Arch Linux (doesn't have pnglite in its repositories)\r\n    sudo pacman -S --needed base-devel cmake freetype2 git glu python sdl2 wavpack\r\n\r\n    # macOS\r\n    brew install cmake freetype sdl2\r\n\r\n\r\nDownloading repository\r\n----------------------\r\n\r\n    git clone https://github.com/jxsl13/zcatch.git\r\n    cd zcatch\r\n\r\n    # Checkout the 0.7.x branch with:\r\n    git checkout zCatch-0.7.x\r\n\r\n    # In order to download all external libraries, execute:\r\n    git submodule update --init --recursive\r\n    \r\n\r\nBuilding\r\n--------\r\n\r\n    mkdir -p build\r\n    cd build\r\n    cmake ..\r\n    make -j4 zcatch_srv\r\n\r\n    # depending on the number of CPU cores your computer has\r\n    # you can change the -j4 to -j\u003ccpu cores\u003e \r\n\r\n    If your latest GCC version has been installed in a non-default path, \r\n    you can set take that into account by using instead of \"cmake ..\"\r\n    something like \"cmake .. -DCMAKE_CXX_COMPILER=g++-8.10 -DCMAKE_CC_COMPILER=gcc-8.10\"\r\n\r\nOn subsequent builds, you only have to repeat the `make` step.\r\n\r\nYou can then run the client with `./teeworlds` and the server with\r\n`./zcatch_srv`.\r\n\r\n\r\nBuild options\r\n-------------\r\n\r\nThe following options can be passed to the `cmake ..` command line (between the\r\n`cmake` and `..`) in the \"Building\" step above.\r\n\r\n`-GNinja`: Use the Ninja build system instead of Make. This automatically\r\nparallizes the build and is generally **faster**. (Needs `sudo apt install\r\nninja-build` on Debian, `sudo dnf install ninja-build` on Fedora, and `sudo\r\npacman -S --needed ninja` on Arch Linux.)\r\n\r\n`-DDEV=ON`: Enable debug mode and disable some release mechanics. This leads to\r\n**faster** builds.\r\n\r\n`-DCLIENT=OFF`: Disable generation of the client target. Can be useful on\r\nheadless servers which don't have graphics libraries like SDL2 installed.\r\n\r\n\r\nBuilding on Windows with Visual Studio\r\n======================================\r\n\r\nDownload and install some version of [Microsoft Visual\r\nStudio](https://www.visualstudio.com/) (as of writing, MSVS Community 2017)\r\nwith the following components:\r\n\r\n* Desktop development with C++ (on the main page)\r\n* Python development (on the main page)\r\n* Git for Windows (in Individual Components → Code tools)\r\n\r\nRun Visual Studio. Open the Team Explorer (View → Team Explorer, Ctrl+^,\r\nCtrl+M). Click Clone (in the Team Explorer, Connect → Local Git Repositories).\r\nEnter `https://github.com/teeworlds/teeworlds` into the first input box. Wait\r\nfor the download to complete (terminals might pop up).\r\n\r\nWait until the CMake configuration is done (watch the Output windows at the\r\nbottom).\r\n\r\nSelect `teeworlds.exe` in the Select Startup Item… combobox next to the green\r\narrow. Wait for the compilation to finish.\r\n\r\nFor subsequent builds you only have to click the button with the green arrow\r\nagain.\r\n\r\n\r\nBuilding on Windows with MinGW\r\n==============================\r\n\r\nDownload and install MinGW with at least the following components:\r\n\r\n- mingw-developer-toolkit-bin\r\n- mingw32-base-bin\r\n- mingw32-gcc-g++-bin\r\n- msys-base-bin\r\n\r\nAlso install [Git](https://git-scm.com/downloads) (for downloading the source\r\ncode), [Python](https://www.python.org/downloads/) and\r\n[CMake](https://cmake.org/download/).\r\n\r\nOpen CMake (\"CMake (cmake-gui)\" in the start menu). Click \"Browse Source\"\r\n(first line) and select the directory with the Teeworlds source code. Next,\r\nclick \"Browse Build\" and create a subdirectory for the build (e.g. called\r\n\"build\"). Then click \"Configure\". Select \"MinGW Makefiles\" as the generator and\r\nclick \"Finish\". Wait a bit (until the progress bar is full). Then click\r\n\"Generate\".\r\n\r\nYou can now build Teeworlds by executing `mingw32-make` in the build directory.\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjxsl13%2Fzcatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjxsl13%2Fzcatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjxsl13%2Fzcatch/lists"}