Timberborn

Timberborn

Not enough ratings
Syncable Settings
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
61.375 KB
2 Jul @ 4:15pm
1 Change Note ( view )

Subscribe to download
Syncable Settings

In 2 collections by Luke ✞ Jesus Saves ✞
U7 Compatible Mods (My mods only)
75 items
Non-gameplay mods
21 items
Description
This mod redirects Timberborn's settings (PlayerPrefs, mostly used by Mod Settings) to Documents\Timberborn\PlayerData\SyncableSettings.json, making your settings easy to sync with Steam Cloud, back up, or edit manually. You can also import or export your settings with any text editor.

Default Behavior:
- Windows: Settings are stored in the Windows Registry at HKEY_CURRENT_USER\Software\Mechanistry\Timberborn.
- Mac: Settings are stored in ~/Library/Preferences/unity.Mechanistry.Timberborn.plist.

With this mod, all your settings are also saved in a single, easy-to-manage JSON file. Moreover, settings are still written to the original storage (registry or plist) just like before, ensuring compatibility and safety. When reading a setting, the mod will first look in the JSON file, and if the key isn't found there, it will automatically fall back to the original storage. This means you get an extra layer of sync and portability without losing the default behavior.

Note:
- Due to limitations in Unity, it's not possible to read all existing PlayerPrefs data from the original storage. This means your current settings cannot be transferred automatically.If you'd like a fully synchronized setup, you can use a Dev Mode (at Main Menu, press Alt + Shift +Z, then go to the Settings to see new buttons on the top) to clear your current settings and start fresh with the syncable version.
- A few settings are read/written way too early before this mod can load (mostly the Mod list). You should put this mod on top just below Harmony but it likely to work in most cases you need.
2 Comments
Wizzcat 3 Jul @ 1:54pm 
maybe you can make a mod where ironteeth have the windmills