Wolf3d Haven Forum

Please log in or register. Smile
Wolf3d Haven Forum

A friendly Wolfenstein 3D community, about Wolfenstein 3D, the game that gave birth to first person shooters...


    no distribute screen

    Share

    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!

    Male
    Number of posts : 5090
    Age : 22
    Location : USA or Tawain
    Job : Student, Part time Cactuar fanatic
    Hobbie : Planting Cactuars.
    Message : I made this forum when I was 13 High on Drugs
    Registration date : 2007-03-24

    no distribute screen

    Post by Dark_wizzie on Sun Apr 29, 2007 1:15 pm

    Copyied from Dome
    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,Cool;
    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,Cool;
    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?




    Wolf3d Haven
    Minute Logic Blog

      Current date/time is Sat Dec 10, 2016 4:15 pm