Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Bar » Trouble getting the -dp command line to work
Trouble getting the -dp command line to work Sun, 18 June 2017 23:05 Go to next message
Tenderfoot is currently offline Tenderfoot

 
Crewman 3rd Class

Messages: 6
Registered: May 2017
Greetings.

I've started my first multi-race testbed and run into a bit of trouble.
I'm running DosBox (downloaded here the DosBoxC package) with the following paths:

C:\Stars\Universe, where the game files are
C:\Stars, where the stars.exe is
C:\Windows, where Windows is

Now, I got the "windows\win /n c:\stars\stars.exe -x -a c:\stars\gamename.def" to work.
However, when I try "windows\win /n c:\stars\stars.exe -x -dp c:\stars\universe\gamename.m1" I get no result. Nothing.

Ok, I'm probably missing something obvious here, but I'm out of my depth here. I'm going along on a monkey sees, monkey does basis and would appreciate any help.
I'm not looking forward to 45 turns with 6 races where the only thing I have to do is creating the .p? file. Doing it with only one race was a pain, but at least I had it set up so I had to do something each turn.

Thanks in advance,
Tenderfoot

(edit) typo


[Updated on: Sun, 18 June 2017 23:08]

Report message to a moderator

Re: Trouble getting the -dp command line to work Wed, 21 June 2017 04:05 Go to previous messageGo to next message
magic9mushroom is currently offline magic9mushroom

 
Commander

Messages: 1364
Registered: May 2008
Have you tried doing the dump from within the Stars GUI via Report -> Dump to Text File? If that works, the issue is probably with how you're phrasing the command-line.

Report message to a moderator

Re: Trouble getting the -dp command line to work Wed, 21 June 2017 06:18 Go to previous messageGo to next message
Tenderfoot is currently offline Tenderfoot

 
Crewman 3rd Class

Messages: 6
Registered: May 2017
Oh, yes, that works just fine.
My doubt is if there was some known issue with DosBox, or some configuration thingamajig.
Or more probable, that I have my pathing or my order wrong.
Specifically, if Stars moves down to the subdirectory where the files are, because in my example the gamename.def was in the same directory as Stars.exe
For instance, generating 10 years (F12), or 1000 years (shift-F12) works, 100 years doesn't.
Thanks,
Tenderfoot

edit: typo, d###ed autocomplete


[Updated on: Wed, 21 June 2017 06:19]

Report message to a moderator

Re: Trouble getting the -dp command line to work Thu, 22 June 2017 01:59 Go to previous messageGo to next message
Altruist is currently offline Altruist

 
Commander

Messages: 1068
Registered: August 2005
Location: Berlin
Tenderfoot wrote on Mon, 19 June 2017 05:05

Now, I got the "windows\win /n c:\stars\stars.exe -x -a c:\stars\gamename.def" to work.
However, when I try "windows\win /n c:\stars\stars.exe -x -dp c:\stars\universe\gamename.m1" I get no result. Nothing.


I am not really familiar with Stars under dosbox but here some checks:

# the m-files have no password?
If yes your command line needs to include it: -pPASSWORD (PASSWORD=whatever the password is for the specific m-file)

# Is there a gamename.p file without an ending number?
If yes, then you need to insert an additional line into the stars.ini (which is located in the \win directory):
Search for [Misc] and insert the following line below:
newreports=1

Try again and Stars should be able to number the p-files now.

And a curious question: What are you doing with the p-files?

Quote:
Specifically, if Stars moves down to the subdirectory where the files are, because in my example the gamename.def was in the same directory as Stars.exe

Well, I guess you moved the game files afterwards into the subdir \universe: .xy and all .m-files.


[Updated on: Thu, 22 June 2017 01:59]

Report message to a moderator

Re: Trouble getting the -dp command line to work Thu, 22 June 2017 04:18 Go to previous messageGo to next message
Tenderfoot is currently offline Tenderfoot

 
Crewman 3rd Class

Messages: 6
Registered: May 2017
1) no passwords on the files, it's a testbed, didn't bother.
2) the p# files are numbered p1 to p6, the ones I generated from the GUI.
3) the p# files? I'm trying to figure how Stars! chooses which variable to terraform next Wink
4) no, you misunderstand. The gamename.def file is in the same directory as Stars.exe, its last line was c:\stars\universe\gamename.xy, so the game files were created in that subdirectory.
Thanks,
Tenderfoot


[Updated on: Thu, 22 June 2017 04:27]

Report message to a moderator

Re: Trouble getting the -dp command line to work Thu, 22 June 2017 10:53 Go to previous messageGo to next message
Altruist is currently offline Altruist

 
Commander

Messages: 1068
Registered: August 2005
Location: Berlin
Tenderfoot wrote on Thu, 22 June 2017 10:18
1) no passwords on the files, it's a testbed, didn't bother.
2) the p# files are numbered p1 to p6, the ones I generated from the GUI.


Well, the usual things are ocvered then and I fear you are probably right: something dosboxic-

Quote:
3) the p# files? I'm trying to figure how Stars! chooses which variable to terraform next Wink


Work already done I think...
Here the link to some excel tables, somehwere there should be hidden a quite accurate calculation:
Per's Terra-Hab-Tool, V 1.03 by Per Rindom

Report message to a moderator

Re: Trouble getting the -dp command line to work Thu, 22 June 2017 11:39 Go to previous messageGo to next message
Tenderfoot is currently offline Tenderfoot

 
Crewman 3rd Class

Messages: 6
Registered: May 2017
I can't check with this tablet, but from the description I'm after something else.
What I want is the algorithm for which variable is chosen when.
Given a planet with v(g;t;r), all green, which gets picked first, when is another picked instead.
Or say, two are red, which has priority?
Hab value isn't a predictor, too many ties.
This is my second atempt, this time with six races with somewhat different ranges.
My first atempt didn't turn out any clear results, but it was only one race and I botched something in the setup.
In any case, work is on hold for a few days.
Thanks,
Tenderfoot


[Updated on: Thu, 22 June 2017 11:40]

Report message to a moderator

Re: Trouble getting the -dp command line to work Sat, 24 June 2017 05:06 Go to previous message
magic9mushroom is currently offline magic9mushroom

 
Commander

Messages: 1364
Registered: May 2008
My guess is that it checks for which field would raise the value the most, and resolves ties either at random or with a fixed arbitrary order of precedence (grav > temp > rad or something). I don't know that for sure, but I think in 20 years someone would have noticed if wide+narrow doesn't actually work so it should at least be fairly close.

Report message to a moderator

Previous Topic: Congratulations SAH! :-D
Next Topic: the year is 2465, where is mystery Trader
Goto Forum:
  


Current Time: Thu Jul 18 09:13:09 EDT 2024