// Unpack a save file let bytes = await readFile('./Profile.save'); let json = nksave.unpack(bytes);
Inside the decompressed JSON, data is nested within specific nodes: btd6 save file editor better
It's the most direct and powerful tool available. It unpacks your encoded Profile.Save file into a clean, human-readable JSON file. You can then edit any parameter with a standard text editor. After editing, you repack it back into the game's format. This gives you access to edit everything , including obscure flags or inventory items, but it comes with greater risk. // Unpack a save file let bytes = await readFile('
To avoid instant bans, it is highly recommended to disconnect from the internet or use a secondary, throwaway Ninja Kiwi account while executing modified profile data. let json = nksave.unpack(bytes)