Hey guys, I have seen many of you asking and raving against save file in registry (including often myself).
So I have written a simple script which copies this games registry data to a file with an registry extension.
All you need to do here is to copy included code to a file with a ".bat" extension like "save_export.bat"
executing this file will create a .reg file with timestamp of format yyyyMMddhhmmss (example: 20171215161323.reg) at a location .bat file was executed from.
you can use these reg files as a backup to transfer to another PC, or as a incremental backup of the game progress.
file can be executed on any windows or imported by registryEditor
Disclaemer:
I used less time to write and test this script than writing this post,
so use it at your own risk.
Do not edit the .reg file if you do not know what you are doing
Code:
set local
REM Preparing Timestamp Information
set year=%date:~6,4%
set month=%date:~3,2%
set day=%date:~0,2%
set hour=%time:~0,2%
REM Replace leading space with zero
if “%hour:~0,1%” ==” ” set hour=0%hour:~1,1%
set minute=%time:~3,2%
set seconds=%time:~6,2%
set timestamp=%year%%month%%day%%hour%%minute%%seconds%
reg export "HKCU\Software\DefaultCompany\Your choice" %timestamp%.reg
BTW the only line in code that is important is the last line, all other lines are just to prepare timestamp name for file.
Hope this helps somebody.