generation seed

The Galaxy Lives On! Distant Worlds, the critically acclaimed 4X space strategy game is back with a brand new 64-bit engine, 3D graphics and a polished interface to begin an epic new Distant Worlds series with Distant Worlds 2. Distant Worlds 2 is a vast, pausable real-time 4X space strategy game. Experience the full depth and detail of turn-based strategy, but with the simplicity and ease of real-time, and on the scale of a massively-multiplayer online game.

Moderator: MOD_DW2

Post Reply
kafka
Posts: 163
Joined: Fri Jun 11, 2004 7:18 am

generation seed

Post by kafka »

is there a way to find out the generation seed for a saved game? Thanks
User avatar
BTAxis
Posts: 730
Joined: Tue Jun 04, 2013 5:04 pm

Re: generation seed

Post by BTAxis »

Hm, I don't think so.

It would be good to display this somewhere, possibly in the editor.
User avatar
Emperor0Akim
Posts: 295
Joined: Tue Apr 19, 2016 2:12 pm
Location: Germany

Re: generation seed

Post by Emperor0Akim »

I wrote mine down and opened the savegame with a Hex-Editor and could read a bit.

But no luck so far, I found a few Components and other stuff from the .xml files,
but so far no luck.
Constant DW2 Wishlist :
Sort build locations by Solar System
Cycle Idle Ships
ETA for Ships and Fleets
Messages for finished Ship Missions
Messages for Character Promotion ( Skills / Traits )
User avatar
Emperor0Akim
Posts: 295
Joined: Tue Apr 19, 2016 2:12 pm
Location: Germany

FOUND THE SEED

Post by Emperor0Akim »

and all it took was 3 savegames and a hexeditor.

I used the HexEditor HxD

The problem is, the Seed is saved as an int24 in Hexadecimal,
so I made several savegames and searched for the number of my Random Seed.

I found it consistently in Offset 000008B0 - 06-08

The Seed in this Game was 4663597

and as you see on the right of the screenshot, there it is.
to be thourough I also found no other instance of this Number in my savegame.
see_my_seed.JPG
see_my_seed.JPG (211.36 KiB) Viewed 816 times
Constant DW2 Wishlist :
Sort build locations by Solar System
Cycle Idle Ships
ETA for Ships and Fleets
Messages for finished Ship Missions
Messages for Character Promotion ( Skills / Traits )
User avatar
Emperor0Akim
Posts: 295
Joined: Tue Apr 19, 2016 2:12 pm
Location: Germany

Re: generation seed

Post by Emperor0Akim »

well okay, that success lasted only a bit.

after I restarted the game, and tried to counter check, the seed moved to another location, a few byte to the left.

after another restart, the same.
The value was still in offset 8A0 and 8B0, but the position changed slightly.

I am sorry to get your hopes up.
Constant DW2 Wishlist :
Sort build locations by Solar System
Cycle Idle Ships
ETA for Ships and Fleets
Messages for finished Ship Missions
Messages for Character Promotion ( Skills / Traits )
Post Reply

Return to “Distant Worlds 2”