Hello team, forum members,
Is there any way to store Commander Genius configuration files inside the executable folder (windows version) instead of storing it in the documents folder ?
I'd like to keep the full software + config files portable on an external hard drive.
Regards,
Ben
Storing config files in executable folder - portable
-
- Meep
- Posts: 2
- Joined: Wed Feb 15, 2023 8:37
-
- Vorticon Elite
- Posts: 1246
- Joined: Wed Dec 31, 2008 14:44
- Location: Frankfurt - Germany
- Contact:
Re: Storing config files in executable folder - portable
That should be no problem. You basically just need to need to add a SearchPaths under the FileHandling section.
Having fun developing stuff...
-
- Meep
- Posts: 2
- Joined: Wed Feb 15, 2023 8:37
Re: Storing config files in executable folder - portable
Hello,
I have tried that but the cgenius.cfg file is still created in the documents folder of windows, am i missing something ?
I have tried that but the cgenius.cfg file is still created in the documents folder of windows, am i missing something ?
Re: Storing config files in executable folder - portable
Here's how I did it:
Take the files from your Documents folder (cgenius.cfg, gameCatalogue.xml and games.cfg)
Paste them to your main Commander Genius folder. You may now delete the Commander Genius folder in "Documents".
Next, open up "cgenius.cfg" in any text editor. Remember, this should now be in the main folder for Genius.
Under file handling, look for the line SearchPath1.
Change that line to your CGenius path. Should look like:
SearchPath1 = C:/_games/CGenius
Change that line to your path.
Lastly, add a folder titled "games" to your CGenius path. This way, you can copy and download games to play in Commander Genius.
Let me know if this doesn't work or if my instructions are unclear!
Take the files from your Documents folder (cgenius.cfg, gameCatalogue.xml and games.cfg)
Paste them to your main Commander Genius folder. You may now delete the Commander Genius folder in "Documents".
Next, open up "cgenius.cfg" in any text editor. Remember, this should now be in the main folder for Genius.
Under file handling, look for the line SearchPath1.
Change that line to your CGenius path. Should look like:
SearchPath1 = C:/_games/CGenius
Change that line to your path.
Lastly, add a folder titled "games" to your CGenius path. This way, you can copy and download games to play in Commander Genius.
Let me know if this doesn't work or if my instructions are unclear!
"We'll never survive the Caves of Oblivion..."
"Nonsense! You're just saying that because no one ever has!"
"Nonsense! You're just saying that because no one ever has!"