Open ghost opened 6 years ago
The most work at the Linux port has been done by @fmoraw . You may take a look at http://twhl.info/index.php . It's a active community with a lot of restored tutorials to the goldsrc engine. Also take a look at @SamVanheer 's HLEnhanced.
The first thing I had to figure out was which files were compiled on windows which later are assembled into the dll file. Then I build a makefile for Linux according to what I found out what was compiled on windows. You may want to look at the makefile Valve is providing for hl or my makefile for ns. Once you make it to the point at which it compiles with erros you can start to fix things like non case sensitive file names or "include windows.h".
I switched over to CMake, which makes cross-platform development a lot easier. It also makes changing between IDEs and compiler versions trivially easy.
Cool, thanks for all this info.
I guess I'm more concerned with porting things to use SDL and that end of it. Our codebase is from before the 2013 updates, so I may try to get in sync with what's on Valve's github repo to make this easier.
I'm really impressed that you've ported NS to Linux. I'm maintaining a different classic HL mod from the same era, and I eventually want to do the same thing.
Were there any particular resources you used to help guide that work? Anything you can point me toward (other than your commits)?