First post, by exofreeze
- Rank
- Member
Seems all the games I am setting up today dislike me.
Madden runs off a batch file. The game will laod up the intor screens and the menu, however trying to play the game was causing the game to dump the the prompt and state "illegal command: mode". So I went and got a copy of mode from freedos, and this fixed that error, but now it just dropped straight to the prompt.
So looking at the bat file, it seems it doesn't call mode until it is exiting anyways:
echo offif exist madden.cfg goto frontendsetup:frontendecho John Madden Football ver 1.00rem call checkcd.bat:newscreenscd screensscreens > sc.outcd ..if errorlevel 9 if not errorlevel 10 goto madden_loadif errorlevel 8 if not errorlevel 9 goto maddengoto end:contscreenscd screensscreens helloagain > sc.outcd ..if errorlevel 9 if not errorlevel 10 goto madden_loadif errorlevel 8 if not errorlevel 9 goto maddengoto end:maddencd actionmoe %1cd ..if errorlevel 8 if not errorlevel 9 goto contscreensgoto end:madden_loadcd actionmoe load %1cd ..if errorlevel 8 if not errorlevel 9 goto contscreensgoto end:endmode co80
I did not rem the checkcd.bat line out - that was already done fresh from the install (I am using a bin/cue I created from my own disc. It is the cd classic release, so I am guessing they removed this in that release).
So, it appears the when the game should start playing, it should change to the "action" folder and call MOE with some sort of variable.
So from the prompt I went to that folder and typed MOA, and sure enough, the game started just fine. I tried both iterations - MOE and MOE LOAD.
I don't, however, know what the variable should be - although I expect it tells the game what teams are playing, and maybe some other info.
What I haven't figured out, is why the batch file isn't working properly to call this?
Playing around with the bat file, I have found that the "screens" section calls the opening logos and crap. contscreens calls the main menu.
So it appears that at no point are the error levels being passed properly, so instead it is just going straight to the end (I confirmed this by adding PAUSE and echo commands to the bat file to show me where it is flowing - at no point does the "madden" or "madden_load" section ever get called).
Any ideas?