FreeOrion

Forums for the FreeOrion project
It is currently Sun Oct 22, 2017 7:19 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Oct 08, 2017 8:39 am 
Offline
Space Squid

Joined: Sat Nov 08, 2014 3:44 pm
Posts: 59
Hi folks,

I want to re-run a particular game using the same galaxy. I didn't write down the seed because I could swear it used to be visible somewhere - either in the savefile name, or somewhere in the Options, or even in the Message window when you load up. I can't see it in any of those places and wonder if it's been removed or if I mis-remembered. Can anyone help?

Thanks


Top
 Profile  
 
PostPosted: Sun Oct 08, 2017 8:47 am 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4226
Location: Sol III
The "[Game - Galaxy]" article in the Pedia shows all the game settings, including the seed. Please note that in order to recreate a specific galaxy, all game settings must be identical, not only the seed. If you change e.g. the number of systems, you'll get a different map and game, even if all the other settings are the same.


Top
 Profile  
 
PostPosted: Sun Oct 08, 2017 8:52 am 
Offline
AI Contributor

Joined: Tue Feb 17, 2015 11:54 am
Posts: 222
If it is an XML save, then you can open and read the file with a standard text editor. Otherwise, you could always load the savegame and resave it as XML save.

Then search for "<m_seed>". You willl also find the rest of the galaxy setup data there. For example
Code:
<galaxy_setup_data class_id="2" tracking_level="0" version="1">
   <m_seed>0</m_seed>
   <m_size>35</m_size>
   <m_shape>3</m_shape>
   <m_age>2</m_age>
   <m_starlane_freq>3</m_starlane_freq>
   <m_planet_density>3</m_planet_density>
   <m_specials_freq>0</m_specials_freq>
   <m_monster_freq>0</m_monster_freq>
   <m_native_freq>0</m_native_freq>
   <m_ai_aggr>5</m_ai_aggr>
   <m_game_rules class_id="3" tracking_level="0" version="0">
      <count>0</count>
      <item_version>0</item_version>
   </m_game_rules>
</galaxy_setup_data>

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
PostPosted: Sun Oct 08, 2017 8:23 pm 
Offline
Space Squid

Joined: Sat Nov 08, 2014 3:44 pm
Posts: 59
Magic, thanks folks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group