Code Editing Tutorials
Getting rid of "Do Not Distribute!" screen

With this you'll be able to get rid of the "Do not distribute!" screen that appears when you quit the game. You'll also get rid of the stupid "Call Apogee" error box. The error that occurs(ie "Too many doors on level") will still be displayed, but you won't get the box "Call Apogee at 1-400..." anymore. It'll be the normal Dos Prompt with the error in normal font. Better huh? This is a new feature recently found out, so it's still unique to this site.

Step 1. Open up WL_MAIN.C and search for "ERRORSCREEN". You should see this:

WriteConfig ();
}
else
{
CA_CacheGrChunk (ERRORSCREEN);
screen = grsegs[ERRORSCREEN];
}
ShutdownId ();
if (error && *error)
{
movedata ((unsigned)screen,7,0xb800,0,7*160);
gotoxy (10,4);
puts(error);
gotoxy (1,8);
exit(1);
}
else
if (!error || !(*error))
{
clrscr();
#ifndef JAPAN
movedata ((unsigned)screen,7,0xb800,0,4000);
gotoxy(1,24);
#endif

Step 2. Change that all(copy, paste) to:
WriteConfig ();
}
else
{
// CA_CacheGrChunk (ERRORSCREEN);
// screen = grsegs[ERRORSCREEN];
}
ShutdownId ();
if (error && *error)
{
// movedata ((unsigned)screen,7,0xb800,0,7*160);
// gotoxy (10,4);
puts(error);
// gotoxy (1,8);
exit(1);
}
else
if (!error || !(*error))
{
clrscr();
#ifndef JAPAN
// movedata ((unsigned)screen,7,0xb800,0,4000);
// gotoxy(1,24);
#endif

As you see, 7 lines have been commented out. Actually, that's all you have to do! Have fun with this alteration. It's handy and cosmetically better. When you quit, you get a clean Dos Prompt, just the way it was before you entered Wolfy. Good eh?

Get back to the Dome tutorials
Jump to the top