Command-line Spring execution

Command-line Spring execution

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Command-line Spring execution

Post by Caydr »

Looking for a way to batch Spring startup for quick testing. Something like:

Spring.exe -script Commanders -mod AASS24 -map Small_Divide

No prompts, just straight into the game. The best implication of this is that you could have the script be a savegame of an ideal testing scenario (you'd eliminate the -mod and -map modifiers in that case), so you could make a change and immediately see the effects.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

Make a game with tasclient, add an emptyai or something, and run it. Close spring, rename script.txt to something you'll remember.
Then make a batch script with "spring.exe scriptname.txt".
Post Reply

Return to “General Discussion”