A very simply script that syncs GameSettings.ini
files with all folders in a directory.
Python 3 (& PyInstaller for your own 'compiling'.)
Place the .exe
in your setting's folder and have your desired GameSettings.ini
file outside of all the folders. It'll only work if there is an already existing GameSettings.ini in the folder.
Setup / File Structure example:
To turn it into a .exe
from source, do the following:
pip install pyinstaller
- installs PyInstallerpyinstaller --onefile --sync.py
Double click it. A console will open and close. Check 1-2 folders to see if they're synced. You only need to look at the Date Modified
No need to contribute, nor do I care about anyone modifying/copying this.
Finished - it does what I want.
ChatGPT - for a base, it was about 12 lines total.
If you want to use this quick script and change it to sync other files, simply change the 7th line:
replace 'GameSettings.ini' to you're desired file
settings_file = os.path.join(base_dir, "GameSettings.ini")
(This won't change the echo's/prints)