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


    replacing pg13 with shareware notice

    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

    replacing pg13 with shareware notice

    Post by Dark_wizzie on 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 Sun Dec 04, 2016 4:14 am