Mechanized Assault & eXploration Reloaded



#1 Dec 04, 2009 7:20 pm
pm998 Offline
Mitglied
Registered since: Dec 04, 2009
Posts: 2


Subject: Crash of orignial MAX
Hi,

nice stuff on your website. I really loved MAX at the time.
I'd like to play again in single player mode, but I can remember that
the original game always crashed after a while.
I saw a post here mentioning DOS EXTENDERS, but the given link did not
work for me.
Can anyone help me out here?
Thanks
Peter
↑  ↓

#2 Dec 04, 2009 11:55 pm
Sal Sal Offline
, G-Mod
Registered since: Jun 07, 2004
Posts: 1,510


Subject: Re: Crash of orignial MAX
Welcome onboard,

this topic descirbes it all -> http://www.maxr.org/...t&id=5253

and here I uplaoded the files on mediafire for you
M.A.X. Extender Files
A.H.
- easy logic -
↑  ↓

#3 Dec 05, 2009 12:20 pm
beko beko Offline
Developer, Administrator
Registered since: Jun 04, 2004
Posts: 2,268


Subject: Re: Crash of orignial MAX
Hi. Thing is: The post is in the developer forum that can not be read by anybody any more. Here is a fullquote of the post from mague:

Quote:

CHANGING DOS EXTENDERS - MIGHT BE THE SOLUTION FOR ALL OF US

- M.A.X. and nearly all other DOS programs uses the DOS/4GW 1.97 DOS Extender from Tenberry Software to get Extended memory support through DPMI services. Basically, all 16 bit protected mode DOS LEs (linear executables) which needs Extended memory and other stuff, needs an extender. The Extender can be binded to an LE executable, so the Extender will self contain (wrap around) the "true" executable.

Unfortunately, the DOS/4GW 1.97 has some serious issues, listed here: http://www.tenberry.com/dos4g/watcom/rn4gw.html . The most important thing is this: "A bug in our DPMI INT 31h/0800h caused mappings of 4MB or to be misaligned." No wonder that the game crashes, as memory usage increases.

Fortunately for us, the original DOS/4GW 1.97 Extender stub can be unbinded from the binded executables (1.00 PR demo, 1.04 retail, 1.56 beta) and this way we can get the original DOS LE executables. After this procedure, a new Extender stub can be binded to the LE executables or we can use the unbinded executables with a different Extender core.

I have tested the unbinded v1.04 MAX executable with the PMODE/W, DOS32A and DOS/4GW 2.01 Extenders and they seems to be much more stable. I have played 136 turns in a custom game against 3 computer players without any freezes or crashes so far. The DOS/4GW 2.01 seems to be the most stable.

To unbind the old DOS Extender from your executables, download the PMODE/W free to use Extender from it's official site: http://www.sid6581.net/pmodew/ and use the PMWBIND utility like this: PMWBIND /U MAX.EXE

To use the DOS/4GW 2.01 Extender without binding the LE executable, just type in: DOS4GW MAX.LE and it will run.

The DOSBOX emulator also supports this method, you can simply load the LE executable with the DOS32A Extender enabled and it will run.

- The next important thing is that the unbinded LE executables can be loaded into IDA PRO and it recognizes nearly everything. Finally there is hope that the inner game mechanics will be decoded based on the original, proper MAX executables.

- Last but not least, the DOSBOX emulator has two Debug builds. With them, it is possible to debug a DOS/4GW binded application on a single PC in a "user friendly" environment.

That is all for now

Best regards,
mague

This, and some other articles, are waiting to be moved to an real article of some sort.
Bernd Kosmahl
"Sir, we are surrounded!" - "Great - we can attack in any direction."
↑  ↓

#4 Dec 05, 2009 12:50 pm
pm998 Offline
Mitglied
Registered since: Dec 04, 2009
Posts: 2


Subject: Re: Crash of orignial MAX
Thanks guys. Sounds great. I'll give it a try.
↑  ↓

#5 Dec 05, 2009 1:32 pm
beko beko Offline
Developer, Administrator
Registered since: Jun 04, 2004
Posts: 2,268


Subject: Re: Crash of orignial MAX
yw Grinning

Please report your experience!
Bernd Kosmahl
"Sir, we are surrounded!" - "Great - we can attack in any direction."
↑  ↓

Pages (1): 1


All times are GMT +02:00. Current time: 8:44 pm.