Several years ago, I stumbled upon an interesting website called the Roguelike graveyard, delightfully entitled 'the place for abandoned roguelikes). Sadly the page has been taken offline now, but it still exists on the Wayback Machine. On the Roguelike graveyard, I found a little game called Xenocide (nothing to do with the Orson Scott Card novel). This was back in the day of my Windows stint.
Earlier this year, I decided I'd try playing Xenocide on my linux computer only to my horror to discover that there is no native Linux binary. I know Xenocide works on Wine, but I wanted to play this game on Linux so I set about trying to compile the source file.
I found out that there was no make file or indeed an documented method to compile on Linux so I sought the help of the developer, Jakub Debski. He revealed that one guy had made a port to linux. I quote the guy, named 'Ed', here:
So from the little clues from Ed (which turned out to be more intensive), I managed to correct the source for Linux, write a makefile and design a little bash script to convert keyboard strokes from Windows to Linux.
Here is the patch. A little googling should show you how to apply it to the source code
Important: Use this source file. It's not linked on the main webpage, but it's clearly in the /files/ directory
A side note: it's much easier to start from scratch than it is to convert a Visual Studio project.
Earlier this year, I decided I'd try playing Xenocide on my linux computer only to my horror to discover that there is no native Linux binary. I know Xenocide works on Wine, but I wanted to play this game on Linux so I set about trying to compile the source file.
I found out that there was no make file or indeed an documented method to compile on Linux so I sought the help of the developer, Jakub Debski. He revealed that one guy had made a port to linux. I quote the guy, named 'Ed', here:
Jakub also revealed that a team of Koreans had taken the source of Xenocide and converted it entirely into Korean. I was a bit annoyed at this and filed a bug report but have yet to receive an answer. There hasn't been any work on the code by the Koreans since February 2011.I just did a quick and dirty port of Xenocide to Linux. I had to cut the sound, and make some minor changes (backspace is 7 not 8 on my terminal, none of the #pragmas work in g++, and <cstdlib> is not included implicitly by g++).
So from the little clues from Ed (which turned out to be more intensive), I managed to correct the source for Linux, write a makefile and design a little bash script to convert keyboard strokes from Windows to Linux.
Here is the patch. A little googling should show you how to apply it to the source code
Important: Use this source file. It's not linked on the main webpage, but it's clearly in the /files/ directory
A side note: it's much easier to start from scratch than it is to convert a Visual Studio project.