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...


    replacing pg13 with shareware notice

    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

    replacing pg13 with shareware notice Empty replacing pg13 with shareware notice

    Post by Dark_wizzie Sun Apr 29, 2007 1:51 pm

    dome




    Code Editing Tutorials
    Getting rid of PG13 pic




    I'm sure many of you know several ways to use the stupid PG13 picture. Perhaps you just get irritated of the screen. To replace it with the Non-Shareware Notice, read on (you already need to have set up the Restoring Non-Shareware notice tutorial)!



    Step 1b. Go to your source code directory and open the file WL_MAIN.C .

    Step 2b. Go to line 1267. You should now see this:



    #ifndef DEMOTEST



    #ifndef UPLOAD



    #ifndef GOODTIMES

    #ifndef SPEAR

    #ifndef JAPAN

    if (!NoWait)

    NonShareware();

    #endif

    #else



    #ifndef GOODTIMES

    #ifndef SPEARDEMO

    CopyProtection();

    #endif

    #endif



    #endif

    #endif

    #endif



    StartCPMusic(INTROSONG);



    #ifndef JAPAN

    if (!NoWait)

    PG13 ();

    #endif



    #endif



    while (1)

    {

    while (!NoWait)

    {

    //

    // title page

    //

    MM_SortMem ();






    Step 3b. Replace that with :



    #ifndef UPLOAD



    #ifdef GOODTIMES

    #ifndef SPEAR

    #ifndef JAPAN

    StartCPMusic(INTROSONG);

    if (!NoWait)

    NonShareware();

    #endif

    #else



    #ifndef GOODTIMES

    #ifndef SPEARDEMO

    CopyProtection();

    #endif

    #endif



    #endif

    #endif

    #endif



    #ifdef JAPAN

    if (!NoWait)

    PG13 ();

    #endif



    #endif



    while (1)

    {

    while (!NoWait)

    {

    //

    // title page

    //

    MM_SortMem ();



    Step 4b. Save the file and compile.

    Step 5b. Open the file WL_INTER.C and go back to the Non-shareware code.

    Step 6b. Under the line saying:



    IN_Ack();



    You add a blank line. On that line you type:



    VW_FadeOut ();



    Step 7b. Save the file and compile. Link it all up. Now you won't be aggravated by the PG-13 file anymore!





    Wolf3d Haven
    Minute Logic Blog

      Current date/time is Thu Nov 21, 2024 4:05 am