Jump to content
×
×
  • Create New...
  • 0

2 Questions from Source


AlCapone

Question

Hi all I have 2 questions for you guys:

1º How can I see all config comands like, because I have allwip source but I dont know all config he have.

eb40fb979a7dd9ec9024a945a85a5455.png

2º How can I change the revision when I compile the game.

P.D: I am new in this soo all help is good :D. Thanks for all

Link to comment
Share on other sites

  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

6 answers to this question

Recommended Posts

  • 0

Hi all I have 2 questions for you guys:

1º How can I see all config comands like, because I have allwip source but I dont know all config he have.

eb40fb979a7dd9ec9024a945a85a5455.png

2º How can I change the revision when I compile the game.

P.D: I am new in this soo all help is good :D. Thanks for all

1. open config.cpp and find config_load() or sth like that with "load" in name. You will see TOKEN("x") where x is a config input (in ex., START_LEVEL as shown on image)

2. version.cpp file

Link to comment
Share on other sites

  • 0

 

Hi all I have 2 questions for you guys:

1º How can I see all config comands like, because I have allwip source but I dont know all config he have.

eb40fb979a7dd9ec9024a945a85a5455.png

2º How can I change the revision when I compile the game.

P.D: I am new in this soo all help is good :D. Thanks for all

1. open config.cpp and find config_load() or sth like that with "load" in name. You will see TOKEN("x") where x is a config input (in ex., START_LEVEL as shown on image)

2. version.cpp file

 

2º 

fprintf(fp, "game perforce revision: %sn", __P4_VERSION__);
fprintf(fp, "%[email protected]%s:%sn", __USER__, __HOSTNAME__, __PWD__);
fclose(fp);
 
If i delet p4_version and put hm some numbers is ok?
Link to comment
Share on other sites

  • 0

 

 

Hi all I have 2 questions for you guys:

1º How can I see all config comands like, because I have allwip source but I dont know all config he have.

eb40fb979a7dd9ec9024a945a85a5455.png

2º How can I change the revision when I compile the game.

P.D: I am new in this soo all help is good :D. Thanks for all

1. open config.cpp and find config_load() or sth like that with "load" in name. You will see TOKEN("x") where x is a config input (in ex., START_LEVEL as shown on image)

2. version.cpp file

 

2º 

fprintf(fp, "game perforce revision: %sn", __P4_VERSION__);
fprintf(fp, "%[email protected]%s:%sn", __USER__, __HOSTNAME__, __PWD__);
fclose(fp);
 
If i delet p4_version and put hm some numbers is ok?

 

It's ok, but as string. If you'll need to write an integer change

game perforce revision: %sn

to

game perforce revision: %dn
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Read our Rules
  • Activity

    1. 0

      Need help with a small function

    2. 0

      How to Delay quest

    3. 0

      After choosing a character, it throws it at the login screen.

    4. 0

      Bonus Board Official like

    5. 0

      [ERROR] unfinished string , ranking quest .

    6. 0

      experience 0

  • Recently Browsing

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.