Page 1 of 2

Request: Being able to choose seed for the standard gamestarts.

Posted: Thu, 22. Sep 22, 20:29
by Omni-Orb
Edited: I found out how now. We can add it in the config file: "C:\Users\*****\Documents\Egosoft\X4\***********\config.xml"

Like this if adding the seed 3044564136

<?xml version="1.0" encoding="UTF-8"?>
<root>
<seed>3044564136</seed>
<fullscreen>true</fullscreen>
<borderless>false</borderless>

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Thu, 22. Sep 22, 21:23
by CBJ
You can already, but it's a bit of a manual process. Just add "-seed seedvalue", where seedvalue can be anything you like, to the command line parameters for the game.

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Thu, 22. Sep 22, 21:37
by Omni-Orb
CBJ wrote:
Thu, 22. Sep 22, 21:23
You can already, but it's a bit of a manual process. Just add "-seed seedvalue", where seedvalue can be anything you like, to the command line parameters for the game.
Thank you for the information bit, it will be very helpful. Hopefully it makes it into the next X game as a feature too.

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Thu, 22. Sep 22, 22:46
by flywlyx
CBJ wrote:
Thu, 22. Sep 22, 21:23
You can already, but it's a bit of a manual process. Just add "-seed seedvalue", where seedvalue can be anything you like, to the command line parameters for the game.
Is there a suggestion seed list like Crazy Xenon or Safe paradise?

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Thu, 22. Sep 22, 22:57
by Omni-Orb
flywlyx wrote:
Thu, 22. Sep 22, 22:46
CBJ wrote:
Thu, 22. Sep 22, 21:23
You can already, but it's a bit of a manual process. Just add "-seed seedvalue", where seedvalue can be anything you like, to the command line parameters for the game.
Is there a suggestion seed list like Crazy Xenon or Safe paradise?
We should make one, and to do that we need to know when the seeds change.

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Thu, 22. Sep 22, 23:06
by flywlyx
PhotonPulse wrote:
Thu, 22. Sep 22, 22:57
We should make one, and to do that we need to know when the seeds change.
The seed is in the save file.
The hard part for players to work this out is that we don't leave the universe running for days without any intervention, players always support AI factions more or less.

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Fri, 23. Sep 22, 00:01
by Omni-Orb
flywlyx wrote:
Thu, 22. Sep 22, 23:06
PhotonPulse wrote:
Thu, 22. Sep 22, 22:57
We should make one, and to do that we need to know when the seeds change.
The seed is in the save file.
The hard part for players to work this out is that we don't leave the universe running for days without any intervention, players always support AI factions more or less.
What i meant is if the seeds changed based on game version. For example, the same seed being different on different versions.

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Fri, 23. Sep 22, 00:09
by Omni-Orb
CBJ wrote:
Thu, 22. Sep 22, 21:23
You can already, but it's a bit of a manual process. Just add "-seed seedvalue", where seedvalue can be anything you like, to the command line parameters for the game.
This isnt working for me, i guess i didnt understand how to do this.
What i tried is adding it in steams launch options for X4.
I also tried making a shortcut and adding it in there.
Neither had the seed be what i wrote.

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Fri, 23. Sep 22, 00:33
by -=SiR KiLLaLoT=-
CBJ wrote:
Thu, 22. Sep 22, 21:23
You can already, but it's a bit of a manual process. Just add "-seed seedvalue", where seedvalue can be anything you like, to the command line parameters for the game.
Why have you never written this fabulous option anywhere? :o :o

:lol:

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Fri, 23. Sep 22, 00:35
by CBJ
Yes, the seed goes in the command line options or Steam launch options. I should have been a little clearer, though. If you put a number as your seedvalue, it will be used as the seed directly; if you put any other text there (no spaces allowed), it will be converted to a numerical hash value, and that's the seed that the game will use and store in the savegame. The text option is just there to make it a bit easier to remember the seed values you try.

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Fri, 23. Sep 22, 01:43
by Omni-Orb
CBJ wrote:
Fri, 23. Sep 22, 00:35
Yes, the seed goes in the command line options or Steam launch options. I should have been a little clearer, though. If you put a number as your seedvalue, it will be used as the seed directly; if you put any other text there (no spaces allowed), it will be converted to a numerical hash value, and that's the seed that the game will use and store in the savegame. The text option is just there to make it a bit easier to remember the seed values you try.
I wrote
-seed 3044564136
In the steam launch options
3044564136 is the seed I want to try more that I feel is a good seed for me. And I want to test what remains the same in a seed.
However, when i started a new game and saved it, then checked the seed in the save game it wasn't the same number.

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Fri, 23. Sep 22, 15:55
by -=SiR KiLLaLoT=-
So, I did several tests to start the game with the custom seed, but I got some strange behaviors.

I started the game using the string "X4_nonsteam.exe -seed 6874134549 -nosoundthrottle -skipintro", the seed is a random number.
So I did several starts, young gun, inexperienced explorer, etc. I immediately saved and checked the seed inside the file...
In all saves the seed number was different.
I tried again starting the custom start budget without changing any options. Same result.
I then started the game using the custom start creative, where I manually entered the number chosen in the box dedicated to the generation of the seed and also in this case the number was different in the save...

Where is the mistake? :mrgreen:

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Fri, 23. Sep 22, 16:53
by Omni-Orb
-=SiR KiLLaLoT=- wrote:
Fri, 23. Sep 22, 15:55
So, I did several tests to start the game with the custom seed, but I got some strange behaviors.

I started the game using the string "X4_nonsteam.exe -seed 6874134549 -nosoundthrottle -skipintro", the seed is a random number.
So I did several starts, young gun, inexperienced explorer, etc. I immediately saved and checked the seed inside the file...
In all saves the seed number was different.
I tried again starting the custom start budget without changing any options. Same result.
I then started the game using the custom start creative, where I manually entered the number chosen in the box dedicated to the generation of the seed and also in this case the number was different in the save...

Where is the mistake? :mrgreen:
What does -nosoundthrottle do?

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Fri, 23. Sep 22, 17:12
by -=SiR KiLLaLoT=-
PhotonPulse wrote:
Fri, 23. Sep 22, 16:53
What does -nosoundthrottle do?
It allows you to hear game audio even if it's not in the foreground. It is useful when you are waiting and in the meantime you want to do something else with your PC.
There is also a -nocputhrottle command that allows you to always use the CPU. This is often used for streaming because it allows you to avoid FPS drops when the game is in the background ;)

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Fri, 23. Sep 22, 17:48
by dtpsprt
-=SiR KiLLaLoT=- wrote:
Fri, 23. Sep 22, 15:55
...........................
I started the game using the string "X4_nonsteam.exe -seed 6874134549 -nosoundthrottle -skipintro", the seed is a random number.
...........................
Where is the mistake? :mrgreen:
What is so special about this seed? To me it is most certainly not a seed number. The, typical for Egosoft, lack of any documentatikon leaves this as a very likely outcome.

Personally I have tried using specific seeds in my (Creative) Gamesstarts, especially the ones that I start with only a spacesuit and it is crucial for some things (Stations/ships) to be in a certain reachable distance. I did this by generating start after start untill I randomly was in a "favourable" one, noted down the number from the save file and insert it in the gamestart.

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Fri, 23. Sep 22, 18:20
by -=SiR KiLLaLoT=-
dtpsprt wrote:
Fri, 23. Sep 22, 17:48
What is so special about this seed? To me it is most certainly not a seed number. The, typical for Egosoft, lack of any documentatikon leaves this as a very likely outcome.

Personally I have tried using specific seeds in my (Creative) Gamesstarts, especially the ones that I start with only a spacesuit and it is crucial for some things (Stations/ships) to be in a certain reachable distance. I did this by generating start after start untill I randomly was in a "favourable" one, noted down the number from the save file and insert it in the gamestart.
So far I have used seeds for the same reason as you too. In the hard mode creative custom start, I had to use a seed that made the ALI dock appear at a certain point, so that I could place the spacesuit close to it.
But from what CBJ said, there seems to be a way to use a specific seed for vanilla starts as a young gun. The seed of my test has nothing special, it is just a random number that I had entered to verify that it was the same in the save.

The purpose of this is to look for a particular seed where, for example, I can find the Argon Prime sector conquered by the Xenon, or a particularly disastrous state of the universe.
I can never forget that one of my first starts had Argon Prime red in color, with several Xenon caps destroying everything.
But at the time I didn't have the slightest experience in the game, and I just restarted a new game because I was scared of that start.

Now I regret every day not having kept that save :)

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Fri, 23. Sep 22, 18:43
by Omni-Orb
-=SiR KiLLaLoT=- wrote:
Fri, 23. Sep 22, 17:12
PhotonPulse wrote:
Fri, 23. Sep 22, 16:53
What does -nosoundthrottle do?
It allows you to hear game audio even if it's not in the foreground.
Thanks :)

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Fri, 23. Sep 22, 20:56
by dtpsprt
-=SiR KiLLaLoT=- wrote:
Fri, 23. Sep 22, 18:20
So far I have used seeds for the same reason as you too. In the hard mode creative custom start, I had to use a seed that made the ALI dock appear at a certain point, so that I could place the spacesuit close to it.
But from what CBJ said, there seems to be a way to use a specific seed for vanilla starts as a young gun. The seed of my test has nothing special, it is just a random number that I had entered to verify that it was the same in the save.

The purpose of this is to look for a particular seed where, for example, I can find the Argon Prime sector conquered by the Xenon, or a particularly disastrous state of the universe.
I can never forget that one of my first starts had Argon Prime red in color, with several Xenon caps destroying everything.
But at the time I didn't have the slightest experience in the game, and I just restarted a new game because I was scared of that start.

Now I regret every day not having kept that save :)
I think that this seed is out of the "range" of seeds. I'd suggest you make a series of tries using 1 as a starting digit of the seed, then 2 etc and see what happens. On the other hand there is never something completely random when we are talking about computers, so there is a possibillity that seeds exist in all of the "first diggits of the 10 digit number but not all the subsequent number values are valid... (again missing documentation from Egosoft, maybe a seasoned moder has an answer to that).

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Fri, 23. Sep 22, 21:28
by -=SiR KiLLaLoT=-
Yes I know, it is so random that I would first start 100 times totally random and hope that one of them has Argon Prime red.
After that I would save that game and share it with the whole world :mrgreen: :mrgreen:

Instead it would have been nice to be able to activate ultra-difficult gamestarts via seed, as a sort of difficulty selection based only on the generation of the universe.
This would have made many people happy 8)

Re: Request: Being able to choose seed for the standard gamestarts.

Posted: Sat, 24. Sep 22, 15:23
by Omni-Orb
CBJ wrote:
Thu, 22. Sep 22, 21:23
You can already, but it's a bit of a manual process. Just add "-seed seedvalue", where seedvalue can be anything you like, to the command line parameters for the game.
We need more information on this, it isn't working for us.