Definitive version.ini workaround

Andy__AAndy__A Squire
edited June 3 in CrossFire Support
WARNING
!!-Use the following guide at your own risk-!!
Please be aware that the information in the following guide might be incomplete or inaccurate. Only follow the guide if you feel like you have a suitable understanding of the way computers work. If you do follow the guide make sure you ONLY edit the version.ini file. Editing any other files is against the Terms Of Use and will most likely result in your account getting banned. I am not responsible for you damaging your game files and having to reinstall or getting banned.

Some of you might have encountered an issue with the so called "version.ini" file where the version number inside this mysterious file does not want to update for you and you have to do it manually. Here are the ways of working around this issue.

1) You are going to have to open your version.ini file up with Notepad. ( Make sure you run Notepad as Administrator or else the file WILL revert itself afterwards )
2) Find the correct "LatestVersion" and "MinimalVersion" values from a friend whose game works and compare them to yours.
3) Make the needed corrections within the file if they are needed and save.
4) Here things get a bit complicated. There are two ways of making this version.ini file keep the corrections you have manually made.
4a) The easy way:

-After saving your file, right click it and select Properties.
-A small window will open up, in this window you are going to select "Read only" on the bottom quarter of the window, hit Apply and then OK.
-Open up your game and see if it patches/runs properly.
- If it does you are in luck and this is all that you have to do. When the game updates again you are going to have to untick the Read Only option on the file, start up the game once and then follow the steps again.
- If it does not open up the "version.ini" file and confirm that the 2 values you have manually entered have reverted themselves to what they used to be at the begining. Keep on reading.

5) The hard way:

a) Make the required alterations in the "version.ini file" and hit save.
b) Right click the file and select Properties. In the Properties window that opens up you are going to have to go on the Security tab.
c) On the security tab you are going to select "Edit" iHueQa9.png

d) A new window will pop up called "Permissions for version.ini". On this window you will have a central area where the users on your computer are going to be listed and below them a permissions table. Clicking on each of the users in the upper pane will let you edit their permissions for this file:
iHueQa9.png

e) You are concerned with the "Users" and the "Administrators" entries on the first list here ( Where it says SKYNET for me in the photos will say your computer name for you ).
For these two entries you are going to UNTICK the box under "Allow" and next to "Full control" and TICK the box under "Deny" and next to "Write" CHlBHRC.png[/CENTER]

f) After you're done with both the entries you are going to hit Apply. You are probably going to get a notice from Windows telling you Deny permissions take precedence over Allow permissions ( exactly what we want here ) asking you to continue. Hit Yes.

Congratulations, you are done! When the game updates and if you have done the permissions part of the workaround you are going to have to undo the "Deny" permissions. ( Step 5 e but make sure to Untick the box under Deny and next to Write ). After you undo the deny permissions, start up the game once and then get the correct values from a friend again and repeat the steps to locking the file down again.

PS: If the read only part doesn't work for you there's no point following it again the next time you do this, jump straight to the permissions part.

Latest version files as of 05.09.2020:
[VERSION]
LatestVersion = 1387
MinimalVersion= 1351
OwnVersion = 22

[DOWNLOAD]
server1 = http://cfpatch.z8games.com/download/

[SERVER]
COUNT = 1
IP1 =67.210.208.31
PORT1 =13008

[HGW]
PORT=16666
SERVER1=67.210.208.32

End of guide

Comments

  • edited September 9
    Version.ini - updated 09.sept.2021:

    [VERSION]
    LatestVersion = 1395
    MinimalVersion= 1351
    PreDownStart = 30
    PreDownEnd = 30
    OwnVersion = 32

    [DOWNLOAD]
    server1 = http://cfpatch.z8game.com/download

    [SERVER]
    COUNT = 1
    IP1 =67.210.208.31
    PORT1 =13008

    [HGW]
    PORT=16666
    SERVER1=67.210.208.32

    [IDCLISTS]
    Count=5
    PreferList =0
    IDCLISTS_1 = "North America"
    IDCLISTS_2 = "Europe - Central"
    IDCLISTS_3 = "Europe - South"
    IDCLISTS_4 = "LATAM - South"

    *** Fix update ****
    If nothing works, then best solution is to clean reinstall game as described here :
    https://forum.z8games.com/forum/cros...highlight=31_9

    *** To players using Telecom Egypt ( possible for other Egypt ISP also ) :

    Check what is the version.ini content, if inside your version ini is a long text file ( actually is an announcement from ISP , telling you reach a quota limit)
    Then go to ISP website -> click " investore relation " , click " continue browsing "
    This way your ISP will stop change text files and other webpage you try to open.

    solution found by discord user Omar.#3396
  • [GM]Kanadian[GM]Kanadian Administrator
    edited June 3

    Continuing the post for andy, use at your own risk. Z8Games does not endorse this script.
    For ADVANCED users only:
    I have written up a small powershell script that will ask you if the version file should have permissions or no for ease of use. I am not going to explain how to create this as I expect you to be able to do it if you want to use this.

    Do not use this part of the guide if you are unfamiliar with what's going on.

    If you do decide to use it make sure you place it in your crossfire folder. Here's the code for it:

Sign In or Register to comment.