I’ve been around computers since like 1978 and have taken classes in Basic, Fortran, Pascal, C (all command line), C++ (MSVS6), and Java (NetBeans). I’ve fiddled with UNIX, Apple II, Sinclair 5000 (my friend had one, it sucked), Commodore 64/128, DOS, Windows 3.1, 95, 98, NT, XP, Macintosh, and Linux systems. So in some ways I have a broad understanding of computer stuff, and am also (very) rusty and sometimes lacking in some basic (beginner) info.
Anyway I was trying to ‘tweak’ the Gloom Source to make it a little more like it was in the days of OneCall for a classic gaming server, but with all the debugging, optimization, and robustness that you added during your 7 year tenure as the primary Gloom coder.
I’m having a really hard time getting the Source to compile properly. I’m using MinGW-GCC and it seems to compile ok with the makefile that came with the Source. Although I did have to change an inline assembly break call (_asm int 3 to asm(int3) ) and remove the gzip stuff from the makefile. It looks ok when you start (can move around, gloom start menu, sounds, entities, ecetera) but as soon as you spawn it locks up, or sometimes says something about ‘more than 1000 calls in 1 frame’ before crashing. So it’s obvious that MinGW-GCC is choking the compile. Also the dll size is about 50% bigger than normal (1.1 MB), but that could be from an optimization/debug flag in the makefile that mingw32-make/gcc is ignoring (they use some different flags than other make/gcc distros, (like no –fpic) )
So I was just wondering what system, compiler, environment, and possibly IDE you used to compile the Gloom Source. Tachikoma said he used a text editor and ‘gcc’/gdb (no specifics), and Grim said he used MS Visual Studio 6 and both of those dll’s seem to be stable. I was thinking about running MinGW from an MSYS command line (not a lot of hope for that), or biting the bullet and going with Cygwin/GCC. Or if I absolutely must, running GCC on a Knoppix Linux or Ubuntu installed on an old laptop, or ‘getting’ MSVS6.
I don’t really need an IDE (at least not now), I just want to change a few values, and enable/disable some of the code blocks encased in pre-processor conditionals (like Guard armour near eggs, or Mech missiles).
-Any suggestions would be appreciated
--Also, thanks for all your work on Gloom!