https://github.com/FWGS/xash3d-fwgs Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} FWGS / xash3d-fwgs Public * Notifications * Fork 182 * Star 1.1k Xash3D FWGS engine. 1.1k stars 182 forks Activity Star Notifications * Code * Issues 378 * Pull requests 16 * Actions * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Security * Insights FWGS/xash3d-fwgs This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 17 branches 16 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/F] Use Git or checkout with SVN using the web URL. [gh repo clone FWGS/x] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @a1batross a1batross engine: client: add gles3compat to renderers list ... 0aa8a28 Nov 3, 2023 engine: client: add gles3compat to renderers list 0aa8a28 Git stats * 3,094 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github/workflows github: bump SDL2 version to 2.28.1 July 23, 2023 03:16 3rdparty mainui: update October 31, 2023 21:52 Documentation Documentation: donate: add sponsorship information October 31, 2023 21:54 common engine, filesystem: unify GetNativeObject between all the APIs. Allow... October 31, 2023 21:25 engine engine: client: add gles3compat to renderers list November 3, 2023 17:03 filesystem filesystem: android: simplify code, get getAssets method only once, r... November 3, 2023 16:29 game_launch wscript: better Sailfish/AuroraOS macros June 2, 2023 06:16 pm_shared Trim all trailing whitespace January 4, 2021 20:55 public wscript: move XASH_BUILD_COMMIT definition to libpublic, as this is t... October 31, 2023 04:30 ref ref: gl: enable GL waves with r_ripple October 31, 2023 21:52 scripts scripts: gha: Android deps and build scripts November 3, 2023 16:36 utils utils: mdldec: small optimizations. October 22, 2023 16:00 .cirrus.yml ci: upgrade freebsd tasks June 3, 2022 19:53 .editorconfig editorconfig: initial add June 11, 2019 03:07 .gitattributes Add .gitattributes to enforce Git write normal human file endings and... October 2, 2021 03:47 .gitignore wscript: merge CMakeLists generating tool from Velaron's tree June 5, 2023 21:30 .gitmodules 3rdparty: add xash-extras submodule September 11, 2022 01:38 CONTRIBUTING.md readme: sligthly update contributing guidelines October 6, 2019 03:49 README.md readme: wording, add icon, add donate.md link [skip ci] October 31, 2023 21:54 waf waf: update to latest waifu October 27, 2023 07:24 waf.bat waf.bat: use unicode charset August 9, 2022 13:47 wscript wscript: enable ref_gles3compat for Android November 3, 2023 17:01 View code [ ] Xash3D FWGS Engine Donate Fork features Installation & Running Contributing Build instructions Prerequisites Windows (Visual Studio) GNU/Linux Debian/Ubuntu Building Windows (Visual Studio) Linux README.md Xash3D FWGS Engine Xash3D FWGS icon GitHub Actions Status FreeBSD Build Status Discord Server Download Stable Download Testing Xash3D FWGS is a game engine, aimed to provide compatibility with Half-Life Engine and extend it, as well as to give game developers well known workflow. Xash3D FWGS is a heavily modified fork of an original Xash3D Engine by Unkle Mike. Donate Donate to FWGS button If you like Xash3D FWGS, consider supporting individual engine maintainers. By supporting us, you help to continue developing this game engine further. The sponsorship links are available in documentation. Fork features * Steam Half-Life (HLSDK 2.4) support. * Crossplatform and modern compilers support: supports Windows, Linux, BSD & Android on x86 & ARM and many more. * Better multiplayer support: multiple master servers, headless dedicated server, voice chat and IPv6 support. * Multiple renderers support: OpenGL, GLESv1, GLESv2 and Software. * Advanced virtual filesystem: .pk3 and .pk3dir support, compatibility with GoldSrc FS module, fast case-insensitivity emulation for crossplatform. * Mobility API: better game integration on mobile devices (vibration, touch controls) * Different input methods: touch and gamepad in addition to mouse & keyboard. * TrueType font rendering, as a part of mainui_cpp. * External VGUI support module. * PNG & KTX2 image format support. * A set of small improvements, without broken compatibility. Installation & Running 0. Get Xash3D FWGS binaries: you can use testing build or you can compile engine from source code. 1. Copy engine binaries to some directory. 2. Copy valve directory from Half-Life to directory with engine binaries. If your CPU is NOT x86 compatible or you're running 64-bit version of the engine, you may want to compile Half-Life SDK. This repository contains our fork of HLSDK and restored source code for some of the mods. Not all of them, of course. You still needed to copy valve directory as all game resources located there. 3. Run the main executable (xash3d.exe or AppImage). For additional info, run Xash3D with -help command line key. Contributing * Before sending an issue, check if someone already reported your issue. Make sure you're following "How To Ask Questions The Smart Way" guide by Eric Steven Raymond. Read more: http://www.catb.org /~esr/faqs/smart-questions.html * Issues are accepted in both English and Russian * Before sending a PR, check if you followed our contribution guide in CONTRIBUTING.md file. Build instructions We are using Waf build system. If you have some Waf-related questions, I recommend you to read https://waf.io/book/ NOTE: NEVER USE GitHub's ZIP ARCHIVES. GitHub doesn't include external dependencies we're using! Prerequisites If your CPU is x86 compatible, we are building 32-bit code by default. This was done to maintain compatibility with Steam releases of Half-Life and based on it's engine games. Even if Xash3D FWGS does support targetting 64-bit, you can't load games without recompiling them from source code! If your CPU is NOT x86 compatible or you decided build 64-bit version of engine, you may want to compile Half-Life SDK. This repository contains our fork of HLSDK and restored source code for some of the mods. Not all of them, of course. Windows (Visual Studio) * Install Visual Studio. * Install latest Python OR run cinst python.install if you have Chocolatey. * Install latest Git OR run cinst git.install if you have Chocolatey. * Download SDL2 development package for Visual Studio. * Clone this repository: git clone --recursive https://github.com/ FWGS/xash3d-fwgs. * Make sure you have at least 12GB of free space to store all build-time dependencies: ~10GB for Visual Studio, 300 MB for Git, 100 MB for Python and other. GNU/Linux Debian/Ubuntu * Enable i386 on your system, if you're compiling 32-bit engine on amd64. If not, skip this $ sudo dpkg --add-architecture i386 * Install development tools + For 32-bit engine on amd64: $ sudo apt install build-essential gcc-multilib g++-multilib python libsdl2-dev:i386 libfontconfig-dev:i386 libfreetype6-dev:i386 + For everything else: $ sudo apt install build-essential python libsdl2-dev libfontconfig-dev libfreetype6-dev * Clone this repostory: $ git clone --recursive https://github.com/ FWGS/xash3d-fwgs Building Windows (Visual Studio) 0. Open command line 1. Navigate to xash3d-fwgs directory. 2. Carefully examine which build options are available: waf --help 3. Configure build: waf configure -T release --sdl2=c:/path/to/SDL2 4. Compile: waf build 5. Install: waf install --destdir=c:/path/to/any/output/directory Linux If compiling 32-bit on amd64, you may need to supply export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig prior to running configure. 0. Examine which build options are available: ./waf --help 1. Configure build: ./waf configure -T release (You need to pass -8 to compile 64-bit engine on 64-bit x86 processor) 2. Compile: ./waf build 3. Install(optional): ./waf install --destdir=/path/to/any/output/ directory About Xash3D FWGS engine. Topics waf crossplatform xash3d-engine xash3d-fwgs Resources Readme Activity Stars 1.1k stars Watchers 39 watching Forks 182 forks Report repository Releases 16 tags Contributors 38 * @a1batross * @mittorn * @SNMetamorph * @nekonomicon * @fgsfdsfgs * @Velaron * @glebm * @Mr0maks * @Vladislav4KZ * @noodlecollie * @lewa-j + 27 contributors Languages * C 97.2% * Python 1.7% * C++ 0.7% * Shell 0.4% * Batchfile 0.0% * Pawn 0.0% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time.