Kittens Game has a feature that allows you to export or import game saves. When you click "export", the game generates an apparently random text code that you can copy/paste into the "import" field on another device. When you import the code, you get a new save with the same data as the one you exported (time, resources, upgrades, kittens).

I wanted to test this feature, so I made a world with 50 kittens in 30 in-game years using the in-game console to give myself 200k karma (Ctrl + Shift + I, go to console, and type gamePage.karmaKittens = 100000000000). I exported this game and got a text code. I've tried to understand how the code relates to the game state, but without success.

After a bit (1 hour) of researching, rule-detecting and searching for repeating parts, I gave up. It seems that most of the text is redundant or without use. What parts mean what, and how can I get some information from it?

Can I edit the text code to get a different save? Or is the code just a key to a server-stored save?

closed as off-topic by Frank, Vemonus, Kaizerwolf, Gigazelle, Wrigglenite Oct 3 '16 at 21:47

  • This question does not appear to be about videogames or videogame consoles within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 10
    I'm voting to close this question as off-topic because it is about save game decryption. Decryption is not a gaming skill in any sense, not unless it's in-game. – Frank Oct 3 '16 at 18:56
  • 2
    @Frank Oh, I was worried I oversaw some rule. But things related to gaming / about games are on-topic here, according to the Help Center: If your question generally covers things such as … Gameplay strategies and tactics, Puzzle solving or obstacle clearing, **Game mechanics** and terminology, Plot and characters in games, Game-specific hardware and utilities, …then you are in the right place to ask your question! – RudolfJelin Oct 4 '16 at 15:01
  • 3
    @Frank sorry, although I understand your reasoning, I respectfully disagree with you. It is a) a gaming-related question, and b) about game mechanics. If you don't like what I'm saying here, you may as well close all questions about technical issues, graphical cards, game compatibility and other. Good luck. – RudolfJelin Oct 4 '16 at 15:20
  • 2
    @RudolfL.Jelínek It is only game related in the sense that the encrypted file is a save for a game. This is also not about game mechanics at all. Game mechanics are how things inside the game itself works as you are playing it, nothing to do with save file encryption. For example Happiness and Time are mechanics in Kittens game. – VanBuzzKill Oct 4 '16 at 19:21
  • 3
    Anyone who is trying to decide whether to vote to reopen should take a look at the answer, and think about how useful it is to the asker or anyone else playing this game. Then ask yourself how this is different from asking for a cheat code or a console command. – DCShannon Oct 10 '16 at 10:22

It's a zipped base64 encoding of the JSON objects. A quick trip over to the /r/kittensgame subreddit got me this decoder: http://kismet.hostei.com/js.php

  • Thanks for the answer, +1. Some more info would e better, but nevermind. – RudolfJelin Oct 4 '16 at 14:14
  • 2
    @RudolfL.Jelínek What other information do you want? The JSON objects are pretty self-explanatory once you can see them, and the tool provided is capable of performing the reencoding after any changes you make. – Sconibulus Oct 4 '16 at 19:40
  • Oh, I oversaw your comment. I wanted to say that some more info would not harm - just would prevent your answer to be marked as link-only. – RudolfJelin Oct 7 '16 at 16:10
  • @RudolfL.Jelínek If you have an example code that could be entered into the decoder, then adding the code and the decoded version to this answer might be nice. That way we could see that it works, and be more confident upvoting. I assume Sconibulus would be fine with that. – DCShannon Oct 10 '16 at 10:20
  • @DCShannon An example export is too long for posting here. In fact, it doesn't fit into a comment, or even ten comments. – RudolfJelin Oct 10 '16 at 18:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.