r/commandandconquer • • 4d ago

Need help in adding promotion points

Post image

i have gentool and gen patcher installed and i wanna add more promotion points i did what the tutorial vids and say edit this and save but whenever i open the game the promotion still gives me 1 instead of 2 ngl this is my first time doing this and i need help this is zero hour shockwave mod btw

4 Upvotes

10 comments sorted by

2

u/sukahati 4d ago

Not sure about gentool but have you tried launch the game directly without using gentool?

Edit: oh, just realize you editing shockwave files. I want to ask more but I got to go right now

2

u/XxX_mlg_noscope_XxX 4d ago

😭😭😭. Btw i edited the vanilla one and shockwave just to be sure but it didnt work

2

u/R_Nanao 2d ago

The change looks correct, so lets see what causes it to not work.

- Just to be sure, have you saved the gib file after changing it?

Assuming the gib file was saved, here is how Generals loads these ini files:

- first it loads the alphabetically first big file and all it's content (that why mods like shockwave start their big file names with ! like !shw_ini as that's before any letter like in inizh.big).

- then it loads the other files. If a ini file is already loaded, then it will be skipped if found in another big file. So if there is a patch for Shockwave mod that contains that file, they probably load it before the !shw_ini, maybe a !!shw_patch or so. Thus if there is a patch, it could overwrite your changes here.

- finally, it overwrites any found files with loose ini files (it could also load these firsts and then skip them when finding them in a big file, doesn't matter). In other words, a surefire way to get this change to work is to extract this file to the right path <folder with generals.exe>/Data/INI/Rank.ini and then the game will use it as it will have priority over every other Rank.ini file.

1

u/XxX_mlg_noscope_XxX 1d ago

Will try this thanks

1

u/DSMars 4d ago

Its been years so maybe I am remembering incorrectly but do you not extract the rank.ini file to your data directory under Documents folder and edit that? Not sure if you then need to pass it in as a variable when starting the game I am not near my PC but I do know my data directory has a rank.ini file

1

u/XxX_mlg_noscope_XxX 4d ago

Wdym? I opened this using the finalbig in the data folder

1

u/DSMars 4d ago

Yes and did you save it in c:\users\YOURNAME\Documents\Command and Conquer Generals folder with the changes?

1

u/XxX_mlg_noscope_XxX 4d ago

Oh so i need to change it in the documents folder as well?

2

u/DSMars 4d ago

I believe you need to save it there and edit that file not sure if you then need to do anything else though

2

u/sukahati 4d ago

Extract the rank.ini into the game folder. I forgot the exact location but [the game folder]/data/INI I think