Darwinbots Forum

Welcome To Darwinbots => Newbie => Topic started by: theblaze on November 16, 2013, 12:57:06 PM

Title: Opening A simulation automatically when DB is started
Post by: theblaze on November 16, 2013, 12:57:06 PM
Is there any way to have DB open a simulation from a file when it is launched?

I currently have it running headless, but would like for it to be able to load a simulation (most recent autosave would be prefered, otherwise I can work around that with some linux tools)

I have a long running zerobot sim runnnig, which is why I would like it to start automatically if DB is launched. Maybe you can pass the filename on the command prompt?
Title: Re: Opening A simulation automatically when DB is started
Post by: Botsareus on November 16, 2013, 01:01:55 PM
Sounds reasonable, I am adding this to my todo list.



I was actually going to expose command line for some of the things I am working on, might as well start now.
Version 2.46BetaF will posted next weekend. This mod will be implemented.
Title: Re: Opening A simulation automatically when DB is started
Post by: theblaze on November 16, 2013, 01:24:55 PM
Hey, just saw that you can pass the file name oof the .sim and it will open it.

Eg. Darwinbots.exe "Saves\lastexit.sim"
Title: Re: Opening A simulation automatically when DB is started
Post by: theblaze on November 16, 2013, 01:33:17 PM
Ok, it seems to still ask for if it should connect to internet mode. Any way to disable that?
It would also be rather nice if it could start with display turned off....

Thanks for your help :)
Title: Re: Opening A simulation automatically when DB is started
Post by: Botsareus on November 23, 2013, 12:50:10 PM
Both requests implemented, expect in next version drop.
Starting simulation with video off will be configurable from global settings.