Rejoice! Rejoice and Jubilation!
It does indeed compile and run. However! it doesn't automatically find the sitemaps.txt. In fact, I can't seem to get it to find it no matter what I do. I put it in ~/.lcs(with the save files) into $PREFIX/share/lcs/, $PREFIX/share/lcs/art, the current directory, the directory with the executable...Just where does it have to be to make it accessible?
Also, you were right to use zip rather than 7zip, I would have had to look stuff up to figure out how to extract it, though I do appear to have the utilities installed *laugh* Here is a proper .tar.gz of the archive though, with ./bootstrap ran, so the configure scripts are created, and it's permissions all proper so you can run it again and compile it without weirdness.
http://r0x0rk1tt3h.net/lcs_3.19.4_src.tar.gzEdit: Possible solutions involve..
- editting Makefile.am to include the sitemaps.txt into the share/lcs or share/lcs/art directory
- setting what appears to be configfile.cpp to include either A) the public directory where sitemaps.txt was installed, or B) the lcsdatadir, such as how the high score.dat seems to involve LCSIO_PRE_HOME, i.e. ~/.lcs/
- - if B) the game could copy the share/sitemaps.txt into the ~/.lcs/ folder if none is found, and can continue with the current functionality of having it missing if a blank file is there instead(relatively easy to accomplish for the user at least. rm it and touch ~/.lcs/sitemaps.txt)
Further Edit: - Now I'm not fully sure, but I think you might be able to do an easy fix for this with one line, and a more complicated fix with almost as few.
in configfile.cpp, just before openning the file, append "homedir" before it. It appears to be a global environment variable initialized in lcsio.cpp, which contains either the current directory or ~/.lcs depending on your environment. It's not used anywhere outside of it though, but...it looks like it should work. It's initialized right after the #includes
for the slightly more complicated fix, also use artdir to copy the file into homedir if it's missing, and if it's missing from both, or the file is empty, go with failmode.