Mech commander 2 question
i built the MC2 project and decided to play it all the way through. i bought the game in ages past and love it, so i wanted to play it again before i dive into the source code.
there seems to be an issue with the mission 17 .abl file. it crashes with an error about fadetocolor at line 755 having an integer out of range. i looked at the numbers in the mission file and they were within a normal long int range. i changed them to be within a short signed int range just in case, but that didn't help. has anyone else seen this problem?
my appologies if this is the wrong place for this question.
Sorry for the delay on this. We were looking at the problem ourselves. To fix this you'll need to make a code change and rebuild MechCommander 2.
1. Open up Ablscan.cpp (Located in the Source\MCLib) directory.
2. Go to line 1020 and comment out the "if" statement you see there. (lines 1020-1024)
3. Rebuild the game and run
Let me know if this works, I’ll try and get an official path written up but those steps were just to help you for now.
Hi !
I have that same problem, but should I erase this "if" statement, or what do you mean with comment out?
Also I'd like to ask about rebuilding. Is there a simple executable to click to rebuild MC2 ?
Sorry. Maybe it's my dazzled mind, but I can't understand these right now. I think I should check some documentary about this XNA.
You can remove the code if you want but commenting it out will do the same thing. You can use // at the begining of the line to comment that line so it doesn't get compiled.
XNA Build is required to build MechCommander 2 it will aslo install documentation on how to build MechCommander 2 (If you use the non-UI version of the build script look for the patch on this forum so it builds correctly)
Sure there is. I run it using completely VC6-built binaries. Just
unpack the src on a box you can "pollute", bring it over to the box
without SP2, and finally grab the (partial) GameOS src I posted a link
to a month or so ago (this reminds me I should update that package with
some more bugfixes I've done).
OK, then you need to fix some problems in the source code (that VC8
accepts but VC6 disliked, related to e.g. class B inheriting class A,
but class A's static data is defined - i.e. instantiated - as
B::member), and you need to manually create the project files (I could
make mine available if you're interested).
But after that there is nothing preventing you to neither build nor run it even on Win95 if you're so inclined. :-)