Thats all i need, so it would still run all my widgets, perhaps let me choose by commandline which widgets to set on, and which off (to increase processing speed). Also it should run the simulation as fast as possible, perhaps also possibility to set some delay there too if it hangs your system if its using too much CPU :P
I would use this to run a replay and collect the unit position data into files.
Is there yet a command to run spring.exe without rendering?
Moderator: Moderators
-
- Posts: 834
- Joined: 19 May 2009, 21:10
Re: Is there yet a command to run spring.exe without rendering?
No there isn't. But you could use something like:
and minimize spring.
Code: Select all
Spring.SendCommands("setmaxspeed 120")
Spring.SendCommands("setminspeed 120")
Re: Is there yet a command to run spring.exe without rendering?
Can i send minimize command without clicking it? 

Re: Is there yet a command to run spring.exe without rendering?
"start spring.exe /min" will start it minimized if you're on windows
and Spring.SendCommands takes multiple arguments, so you don't need to use it twice, just put a comma between the commands
and Spring.SendCommands takes multiple arguments, so you don't need to use it twice, just put a comma between the commands
Re: Is there yet a command to run spring.exe without rendering?
Is there some file where spring loads the widget settings, which widget is on and which is off?
Re: Is there yet a command to run spring.exe without rendering?
Yes. /LuaUI/Config/modShortName.lua
Re: Is there yet a command to run spring.exe without rendering?
/skip 10000
Will skip 10000 game second or untill end. Works with replays. Most draw code is bypassed also lua Update calls won't be called, Gameframe and others are still called.
Will skip 10000 game second or untill end. Works with replays. Most draw code is bypassed also lua Update calls won't be called, Gameframe and others are still called.
Re: Is there yet a command to run spring.exe without rendering?
In conjunction with the next release there will also be a headless spring exe available for download.
Re: Is there yet a command to run spring.exe without rendering?
I don't know how headless spring is optimized but better could have been just a command like /skip to toggle rendering and other useless actions.
Re: Is there yet a command to run spring.exe without rendering?
That is maybe better for TradeMark, but it serves a different thing, which /skip is not able to do run on (run on hardware without GFX).