hello everyone i need your help i am creating a mod loader for a game and i get stuck in the listbox.
Well there is a video game to which you can add mods and to make it work with MODS, I have to open the * .INI file (GameModOptions.ini) all the time that I want to add several MODS. So I set out to create a MODS loader to avoid fatigue. All mod names I want to use in the game are inside a MODS folder and are as subfolders.
Normally, I manually open the file "GameModOptions.ini" located in their respective path for example: "C: \ Game \ MODS \ GameModOptions.ini" and write the name of the mod inside the file * .INI for example "ActiveMods = Mod_tomates ". Then we save the file GameModOptions.ini and when you run the game, it comes out with the mod activated.
It occurred to me that the names of the mods hosted in the MODS path would be loaded in a listbox and I could activate them through checklist and this would also be written automatically in the file "GameModOptions.ini", in this way I would not have to write always the name of each mod in the game.
In the file "mod loader BETA.apz", I have set them as it should be. Likewise, the syntax or structure of the file GameModOptions.ini is like this inside:
"So would it be with active mods"
==================================
[Engine.GameModOptions]
ActiveMods = Mod_TitanSpark
ActiveMods = Mod_Kasumi_Squadmate
ActiveMods = Mod_M3Predator_Pistol
==================================
"So would it be with the mods disabled" (in front of them there is a semicolon, to say that they are disabled)
[Engine.GameModOptions]
; ActiveMods = Mod_TitanSpark
; ActiveMods = Mod_Kasumi_Squadmate
; ActiveMods = Mod_M3Predator_Pistol
=================================
That is what I want to do automatically when activating them in the listbox with the checklist boxes and save it in the same INI "GameModOptions.ini".
I attach an ink with my project in * .rar, there is the * .apz file, the MODS folders and the * .INI file for testing.
BETA Mod Loader.apz
https://****************/open?id=1RZ...AO1G2sd6ty0AZm
BETA Mod Loader.rar
https://****************/open?id=1eH...aKNsccaJhDHIp1
Sorry for the inconvenience and my English I wish you a good day and a big hug from a distance.
Well there is a video game to which you can add mods and to make it work with MODS, I have to open the * .INI file (GameModOptions.ini) all the time that I want to add several MODS. So I set out to create a MODS loader to avoid fatigue. All mod names I want to use in the game are inside a MODS folder and are as subfolders.
Normally, I manually open the file "GameModOptions.ini" located in their respective path for example: "C: \ Game \ MODS \ GameModOptions.ini" and write the name of the mod inside the file * .INI for example "ActiveMods = Mod_tomates ". Then we save the file GameModOptions.ini and when you run the game, it comes out with the mod activated.
It occurred to me that the names of the mods hosted in the MODS path would be loaded in a listbox and I could activate them through checklist and this would also be written automatically in the file "GameModOptions.ini", in this way I would not have to write always the name of each mod in the game.
In the file "mod loader BETA.apz", I have set them as it should be. Likewise, the syntax or structure of the file GameModOptions.ini is like this inside:
"So would it be with active mods"
==================================
[Engine.GameModOptions]
ActiveMods = Mod_TitanSpark
ActiveMods = Mod_Kasumi_Squadmate
ActiveMods = Mod_M3Predator_Pistol
==================================
"So would it be with the mods disabled" (in front of them there is a semicolon, to say that they are disabled)
[Engine.GameModOptions]
; ActiveMods = Mod_TitanSpark
; ActiveMods = Mod_Kasumi_Squadmate
; ActiveMods = Mod_M3Predator_Pistol
=================================
That is what I want to do automatically when activating them in the listbox with the checklist boxes and save it in the same INI "GameModOptions.ini".
I attach an ink with my project in * .rar, there is the * .apz file, the MODS folders and the * .INI file for testing.
BETA Mod Loader.apz
https://****************/open?id=1RZ...AO1G2sd6ty0AZm
BETA Mod Loader.rar
https://****************/open?id=1eH...aKNsccaJhDHIp1
Sorry for the inconvenience and my English I wish you a good day and a big hug from a distance.
Comment