Wolf3d Haven Forum

Please log in or register. Smile

Join the forum, it's quick and easy

Wolf3d Haven Forum

Please log in or register. Smile

Wolf3d Haven Forum

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Wolf3d Haven Forum

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


    no distribute screen

    Dark_wizzie
    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!


    Female
    Number of posts : 5120
    Age : 30
    Location : California, USA
    Job : Investor
    Hobbie : Computers, chess, computer chess, fashion, and philosophy
    Message : I made this forum when I was 13 High on Drugs
    Registration date : 2007-03-24

    no distribute screen Empty no distribute screen

    Post by Dark_wizzie 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 Thu Nov 07, 2024 5:31 pm