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.

[615 byte] By [JesseMotes] at [2008-2-21]
# 1
Yeah i'm getting the same error. This also happens for mission 18. I created a new save file to skip those two missions but i would like to play 17 and 18. any help would be appreciated.
mthom at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technolgies: XNA Build...
# 2

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.

MichaelKlucher-MSFT at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technolgies: XNA Build...
# 3
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.

EppuTheHeppu at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technolgies: XNA Build...
# 4

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)

MichaelKlucher-MSFT at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technolgies: XNA Build...
# 5
Michael Klucher - MSFT wrote:

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.

So wheres this patch (I'm assuming you meant "patch" when you typed "path")?

Sephlock at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technolgies: XNA Build...
# 6
We weren't able to get an offical patch out, I have however compiled a list of fixes which you can read about here: http://blogs.msdn.com/mklucher/articles/629796.aspx
MichaelKlucher-MSFT at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technolgies: XNA Build...
# 7
So theres no hope for anyone who doesn't want to install vast amounts of stuff on his hard drive, including the dreaded SP2?
Sephlock at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technolgies: XNA Build...
# 8
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. :-)

tamlin2 at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technolgies: XNA Build...