HowTo: XCompile Xash3D-NG for ReactOS on Linux

January 17, 2024 @ 00:35

For about a year I haven’t updated my ReactOS server, so it was time to update everything and the new year was a good moment for that.

Installing and stuff was pretty easy, I don’t want to go into much detail about that, as it is mostly unzipping stuff and copy them somewhere. Maybe I go in a future post into detail, how this setup is built up.

Today I want to focus on the way to get an working win32 binary of Xash3D-NG, an fork of Xash3D maintained by a user called tyabus which represents the version 0.19.4 of Xash3D. This particular version is quite popular, even when a much more active developed fork, named Xash3D-FWGS (version 0.20), exists.

Reason for its popularity is, that still many of the Xash3D android apps are based on the old version, so there is a quite large user base. Unfortunately tyabus do not offer (any more?) binaries for his fork.

Update: There is a build pipeline for the Windows client binaries but no for the server ones, Github comment
I will upload my builds to when there is a new one

So I have to compile them myself which is not such a big deal for me when it comes to compiling stuff for linux, but cross-compiling windows binaries on linux is something i am really not used to.

A year ago I already had this challange and I only remembered that it was not pretty easy for me. Compiling this time the latest master branch was a much dirtier game in comparison what I remembered from the last time and I forgot most of the things. So I want to write them down for the case I need these steps again or someone other can find some useful information from there, so I also will write about the way to the solution with all errors I came across.

  [Read more...]