Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » QOL question about the .INI editor. (Solved.)
| QOL question about the .INI editor.[message #366098]
|
Wed, 22 May 2024 11:38
|
|
Marcus |
 |
Messages:123
Registered:November 2014 |
|
|
A quality of life question about the INI editor: We're developping the mod using the 2024-03-19 version. Each time we want to run the mod we must set the vfs.ini because the editor does not save this setting. It's a totally minor issue, but it would be nice to get it working. Is it possible?
[Updated on: Mon, 27 May 2024 01:07] Report message to a moderator
|
Sergeant
|
|
|
|
|
|
|
|
| Re: QOL question about the .INI editor.[message #366103 is a reply to message #366101]
|
Thu, 23 May 2024 21:49 
|
|
| Kitty |
  |
Messages:505
Registered:October 2017 Location: Germany |
|
|
Marcus wrote on Thu, 23 May 2024 08:50Hello.
Apparently the game files are against me.. My JA2.ini in the main folder was already set as you describe. I checked the the path in the file properties, it points to my mod. If the thing does not cause more damage than resetting the ini editor each time I'll leave the file as it is. It is MIGHTY odd, though.
If you change "Select JA2v1.13 MOD" in IniEditor, after a save, the changes will be applied to ja2.ini
If you change ja.ini manually, the changes will be applied to ja2.ini
Doesn't matter the method, the file will be changed
But if you do it manually beforehand (like described in previous post), you will see whatever you've chosen as vfs_congig.ini as default in IniEditor
-
But, just a guess, did you may actually refer to which ja2_options.ini will show?
The one under "Select INI file" instead of "Select JA2v1.13 MOD"?
If so, as far as I know, it hardly matters
If you start the game, game will use the ja2_options.ini it can find in directory with highest priority in chosen vfs_config.ini
Say you choose the vanilla ja2-options.ini in IniEditor (the one in "Data") and edit it, but as vfs-config.ini you choose 1.13
In this case, first ja2-options.ini found is in "Data-1.13" (not just "Data") and will be used (and anything you've edited in ja2options in "Data" will not be used)
-
Since you've changed starting sector for your mod and that requires your mod to have it's own ja2_options.ini,
your mod should contain it's own ja2_options.ini in Data-YourMod
if you now set vfs.config.ini of YourMod as default in ja2.ini (manually or with IniEditor), highest priority directory game can find ja2_options.ini will be in Data-YourMod
Once you've set the vfs.config.ini to be your mod, there's hardly a need to use the IniEdior ever again
Edit the ja2options.ini in Data-YourMod with notepad++ (or another texteditor)
If you start the game with ja2.exe or ja2mapeditor.exe it will start with what's set as vfs.config.ini in ja2.ini and will use the ja2options.ini which this vfs.config.ini has set as highest priority (i.e. the one in Data-YourMod)
-
A description of how vfs is working:
VirtualFileSytem (vfs)
[Updated on: Thu, 23 May 2024 22:00]
How to get: latest 1.13, 7609 and more | 7609 SCI (eng) | Compiling+SVN
I need more details. (Didi Hallervorden) Report message to a moderator
|
|
|
|
|
|
|
Goto Forum:
Current Time: Thu Jun 11 03:50:52 GMT+3 2026
Total time taken to generate the page: 0.01684 seconds
|