Sid Meier's Civilization VI

Sid Meier's Civilization VI

View Stats:
Found Map Seed For Existing Saves! [HEX EDITING]
You have to break out a Hex Editor to convert it.

I figured out the MAP seed is always EXACTLY 197 bytes after 'StandardMaps', which is around 2bc0

It's 4 bytes for the map seed, then another 4 bytes for something else, then the 9th byte is always '03' for some reason.

Look for this:

Map Seed Something ?
## ## ## ## ## ## ## ## 03


The Game seed is always going to be the Map seed minus 1.


It works for positive numbers, for negative numbers you have to subtract FF FF FF FF minus the Map seed you find in your save. You'll know it's a negative seed because it's decimal value is higher than 2147483647.

Just do the math, (Windows Calculator in Program mode is great for this) and you'll get the Map Seed, then just subtract that minus 1 and you'll get the game seed.

Viola!
Last edited by Captain_Brian; Oct 22, 2016 @ 8:51pm
< >
Showing 1-11 of 11 comments
Captain_Brian Oct 22, 2016 @ 7:32pm 
I think I have it, you don't have to anything, the first 4 bytes are the seed, and if it has a negative then just add one! So convert it and try it, if it doesn't work then add a negative and that should be it. Testing now:


Map Seed:

-4229396603


Game Seed:

-4229396602

Nah that didn't work, the number is too big for a valid seed and it just changes them to the max negative number.


As a side note, I figured out the seed is always EXACTLY 197 bytes after 'StandardMaps', which is around 2bc0.
Captain_Brian Oct 22, 2016 @ 8:12pm 
WAIT. WAIT.

The max number for an 'FF FF FF FF' is 4,294,967,294.

In the new game settings, the max seed number is 2147483647 and the min seed number is -2147483648.

Now, 2147483647 is exactly HALF of 4,294,967,294.

I tested with -256, and I ended up with 4294967039, which is = 'FF FF FF FF' - Save Hex Value.

In other words, if the value is above 2147483647 then you need to subtract it from 4,294,967,294 to get the actual seed.

Off for more testing...
Captain_Brian Oct 22, 2016 @ 8:53pm 
I GOT IT!! WOOOOOOOOOOOO!!!!

Modified first post with instructions!


WOOOOHOOOOOOOOOOOO!!!


Btw, my map seed is -65570693, and the game seed is -65570694.

It's an awesomely defensive map start.

Thanks for he help guys! *Pats self on back and looks around the empty thread sadly.*
Captain_Brian Oct 23, 2016 @ 4:13am 
bump
publicanimal Oct 25, 2016 @ 7:28am 
The guy who responded to your post on Civ Fanatics had more in-depth info:

http://forums.civfanatics.com/threads/found-map-seed-for-existing-saves-hex-editing.601134/#post-14523313

It seemed to me that this method gets you the game seed, not the map seed, but they're only off by one. I'm not positive about that but I can confirm that after monkeying around a bit I got it to work.

Thanks for getting the ball rolling, I posted a screenshot of a great start I had and several people asked for the map seed and I was able to get it with this method.
FourFourRaven216 Oct 29, 2016 @ 8:52pm 
Another way to fing out map seed

1st You need to save your game.
2nd You copy paste into mutil game save folder
3rd Yuo start creating a multi game with loading that save
once you are at some kind of chat room that waiting for ppl to join into your map, there is a game set up option you can click on and the map seed is there.

From reddit

https://redd.it/5a2rf7
publicanimal Oct 29, 2016 @ 11:22pm 
Originally posted by Uegg:
Another way to fing out map seed

1st You need to save your game.
2nd You copy paste into mutil game save folder
3rd Yuo start creating a multi game with loading that save
once you are at some kind of chat room that waiting for ppl to join into your map, there is a game set up option you can click on and the map seed is there.

From reddit

https://redd.it/5a2rf7

Brilliant. Much easier!
Jaguar Nov 2, 2016 @ 1:30pm 
But you can check this in game. Open World Rankings, press Score button, and there will be text with turn quantity. For example:
Score victory at 500 turns - will mean that you play on standard speed.
Score victory at 330 turns - will mean that you play on quick speed.
Dragline Nov 3, 2016 @ 10:02am 
Originally posted by Captain_Brian:
WAIT. WAIT.

The max number for an 'FF FF FF FF' is 4,294,967,294.

In the new game settings, the max seed number is 2147483647 and the min seed number is -2147483648.

Now, 2147483647 is exactly HALF of 4,294,967,294.

I tested with -256, and I ended up with 4294967039, which is = 'FF FF FF FF' - Save Hex Value.

In other words, if the value is above 2147483647 then you need to subtract it from 4,294,967,294 to get the actual seed.

Off for more testing...
Too many ♥♥♥♥♥♥♥ moutains.
Dragline Jan 27, 2017 @ 10:05am 
Originally posted by Captain_Brian:
I GOT IT!! WOOOOOOOOOOOO!!!!

Modified first post with instructions!


WOOOOHOOOOOOOOOOOO!!!


Btw, my map seed is -65570693, and the game seed is -65570694.

It's an awesomely defensive map start.

Thanks for he help guys! *Pats self on back and looks around the empty thread sadly.*
----------------------------------------
Dray Prescot Feb 1, 2017 @ 2:49pm 
I think you need to go check with computer programming books about the different types, sizes, and signs of integers that can be used in various computer langueges. It might help you understand how Civ 6 treats integers. I have no idea if Civ 6 uses floating point type numbers which is an additional complication, or how it handles decimal type numbers, but I would expect most likely 32 bit versions of those as well (or maybe 64 bits for floating point numbers).

added: If I remember correctly and tested on my calculator 2 to 32 power is 4,294,967,296, and I think that means that Civ 6 is using signed 32 bits integers (or 4 byte signed integers), i.e. from -2147483648 to the + equivalent. (one bit is for the sign of the integer, the other 31 bits for the magnitude of that integer)(so 00 00 00 in hex for signed integers is equivalent to -2,147,483,648, unless I am misremembering how they are stored and handled).

Which makes sense if Civ 6 is meant to be able to run on 32 bit operating systems/computers where each saved and operated on number/calculation is 32 bits long. Windows 7 for example started as 32 bits with newer versions at 64 bits. I know Windows 10 is normally 64 bits (I am not sure Windows 10 has a 32 bit version, although I am sure it can handle shorter length integers and programs written for 32 bit machines)

added: I think unsigned 4 byte integers will have values from 0 to 4,294,967,295 while signed integers go from -2,147,483,648 to +2,147,848,648 ( I think one or both of trailing 8s may be a 7). The computer CPU (and/or compiler) can handle either format, it just needs to know what integer type they are. Of course there are even longer types of integers in computer languages like C or C++, but I doubt CIV 6 needs to use them. I do wonder how how long their decimal or floating point numbers are in CIV 6. It does affect what the largest integer value in Civ 6 is, e.g. the maximum amount of money you can have.
Last edited by Dray Prescot; Feb 12, 2017 @ 10:11pm
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Oct 22, 2016 @ 7:03pm
Posts: 11