stdout.txt – convert seed to usable format?

Home Forums Support stdout.txt – convert seed to usable format?

Tagged: 

  • This topic has 3 replies, 2 voices, and was last updated 6 years ago by Tom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20470
    aubergine18
    Participant

    I found that the seed of an existing game will be reported in stdout.txt, but it’s not in same format as originally appeared when the game was first started. What encoding do I need to apply to the seed listed in stdout.txt to get back to right format?

    The seed in question is: 1446600056 (from stdout.txt)

    Base64? Base36? Something else?

    EDIT: Turns out it’s Base36 – use this tool to convert: http://paperlined.org/online/base36.html

    • This topic was modified 6 years ago by aubergine18. Reason: answered my own question!
    #20539
    Tom
    Keymaster

    Hello!

    Unfortunately this is not the seed used in the save game. It is just the current Unix Timestamp which is used as a base for some calculation. The original seed is currently not stored – something we have already put on the wish list!

    Tom

    #20540
    aubergine18
    Participant

    It is – at least on a Mac, tested it on several maps 🙂

    When you load a save-game, the decimal representation of the seed used to create it is put in to stdout.txt.

    Converting that to base 36 using link above gets you the alphanumeric version of the seed, and using that format you can start new games and get the same map.

    I my case the seed in stdout.txt was 1446600056 which in base36 is nx9nqw – using that alphanumeric version of the seed gets me the exact same map, in many cases even with same city placement and even city names. I also tried medium and small sizes and it seems that they result in cropped versions of the large size (at least on a Mac, I appreciate it’s likely different depending on operating system).

    #20542
    Tom
    Keymaster

    Thanks for the heads up. It seems I have to talk to the programmers again to double check on that! 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Support’ is closed to new topics and replies.