Unity Save Edit [top] Direct
: %userprofile%\AppData\LocalLow\[CompanyName]\[ProductName]
Hollow Knight uses a custom binary format with a magic header. You cannot simply edit the number of “Geo” (currency) with a hex editor without also updating the checksum. The community created a dedicated save editor for this purpose.
"money": 1250, "health": 100, "inventory": [ "item": "potion", "count": 5, "item": "key", "count": 1 ]
If you find a number you wish to change (e.g., 255 gold), convert that number to hexadecimal ( FF ). Search for the specific byte sequence. unity save edit
Unity has become one of the most popular game engines in the world, powering everything from indie gems like Hollow Knight and Celeste to mobile hits like Genshin Impact and Among Us . With such a vast library of games comes a dedicated community of players who want to tweak, modify, or "hack" their save files. This practice is known as .
. This allows developers to save complex data structures to a local text file. Binary Formatting : For more secure or large-scale data, developers use BinaryFormatter or newer alternatives like the Platform Toolkit
: ~/Library/Application Support/[CompanyName]/[ProductName] Linux : ~/.config/unity3d/[CompanyName]/[ProductName] With such a vast library of games comes
If you are developing a game and need a system to save player progress, follow this standard pattern using Unity's JsonUtility.
Whether you are adjusting a single value or completely overhauling your game progress, the techniques outlined in this guide provide a solid foundation. Remember to always back up your files, respect game developers’ intentions, and never cheat in multiplayer games.
We need a plain C# class (not a MonoBehaviour) to store our variables. We must mark this class as [Serializable] so Unity knows it can be converted to a data stream. keeping values under 2
To quickly find save files, look for file extensions such as .save , .dat , .json , .xml , .sav , or .bin . Many Unity developers utilise the Application.persistentDataPath property, which provides a consistent location for save data across operating systems and ensures that files persist between game sessions.
Replace the bytes carefully. in a hex editor unless you are adjusting length headers; type over existing bytes to avoid shifting data offsets and breaking the file structure. Part 4: Overcoming Anti-Cheat and Obfuscation
Look for the keys representing your data. Unity often appends a hash string to the key name (e.g., player_gold_h123456789 ).
: Do not enter a decimal number (like 99.5 ) into a field meant for a whole integer, and do not exceed standard limits (e.g., keeping values under 2,147,483,647 for standard 32-bit integers).