can i start a mod from spring.exe?

can i start a mod from spring.exe?

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
Lucifer
Posts: 5
Joined: 21 Dec 2005, 21:15

can i start a mod from spring.exe?

Post by Lucifer »

can i start a mod from spring.exe or other way but not TASClient.exe?
perhaps i have to disconnect internet someday and i want to play some mods in that day.
can someone help me?thanks
Chocapic
Posts: 556
Joined: 16 Oct 2005, 03:35

Post by Chocapic »

->file ----- \TASpring\aiscript.txt

->spring.exe aiscript.txt

:-)
Lucifer
Posts: 5
Joined: 21 Dec 2005, 21:15

Post by Lucifer »

Chocapic wrote:->file ----- \TASpring\aiscript.txt

->spring.exe aiscript.txt

:-)
thanks very much,but can you explanation more clear?
my taspring directory was haven't the aiscript.txt

and a example,i want to play starwars mod,file name is StarWars01.sd7
what do i must to do?thanks again for reading my poor english......
User avatar
Kuroneko
Posts: 483
Joined: 03 Jan 2005, 05:32

Post by Kuroneko »

aiscript is a placeholder name for a file. TASClient generates this file when you connect/run a server. Thus, by not using TASClient, you'll need to generate one yourself. Although it's a fairly straigh forward file, it does take a bit to understand it all. Heres an example:

SWTA: Me vs 1 Bot on the Cold Place

Code: Select all

[GAME]
{
	Mapname=TheColdPlace.smf;
	StartMetal=1000;
	StartEnergy=1000;
	MaxUnits=500;
	StartPosType=0;
	GameMode=0;
	GameType=StarWars01.sd7;
	LimitDGun=0;

	hostip=localhost;
	hostport=27010;

	MyPlayerNum=0;

	NumPlayers=1;
	NumTeams=2;
	NumAllyTeams=2;

	[PLAYER0]
	{
		name=Kuroneko;
		Spectator=0;
		team=0;
	}

	[TEAM0]
	{
		TeamLeader=0;
		AllyTeam=0;
		Color=0;
		Side=Empire;
		Handicap=0;
	}
	[TEAM1]
	{
		TeamLeader=0;
		AllyTeam=1;
		Color=1;
		Side=Alliance;
		Handicap=0;
		AIDLL=aidll\globalai\aai.dll;
	}
	[ALLYTEAM0]
	{
		NumAllies=0;
	}
	[ALLYTEAM1]
	{
		NumAllies=0;
	}
	NumRestrictions=0;
	[RESTRICT]
	{
	}
Lucifer
Posts: 5
Joined: 21 Dec 2005, 21:15

Post by Lucifer »

so, i know how to do,it is like detail of script.txt.
yeah~~
thanks~

edit.....:
sorry it looks like i haven't explanation clearly....
my mean is using spring for a mod game and not logging to TASClient,then i can play mod with no necessary link to internet

when i drag file edited script.txt to spring .exe,it show error file maps/FloodedDesert.smd not found,but my map files absoluted normal
User avatar
Kuroneko
Posts: 483
Joined: 03 Jan 2005, 05:32

Post by Kuroneko »

maps are smf, not smd
Lucifer
Posts: 5
Joined: 21 Dec 2005, 21:15

Post by Lucifer »

i know,and i'm sure i type "Mapname=xxxx.smf" but not .smd
Chocapic
Posts: 556
Joined: 16 Oct 2005, 03:35

Post by Chocapic »

erm...
open a command prompt and on the spring folder and type spring.exe script.txt
Lucifer
Posts: 5
Joined: 21 Dec 2005, 21:15

Post by Lucifer »

it worked!
thanks!
User avatar
Kuroneko
Posts: 483
Joined: 03 Jan 2005, 05:32

Post by Kuroneko »

Just noticed this on FU

http://www.fileuniverse.com/?p=showitem&ID=2045
SpringSP v0.1 for TA:SPRING 23rd December 2005

SpringSP is freeware.

Hi all,

SpringSP makes a script and then starts Spring.exe with that script. I made this program because I could not find and easy way to start skirmishes with multiple AIs and to be able to set the start resources without being online. There may be a way to do this but if there is I couldn't find it, anyway I hope SpringSP helps.

SpringSP was made in VB6 and needs the standard VB6 runtime files(msvbvm60.dll) to work.
msvbvm60.dll can be dowloaded from http://www.dll-files.com/dllindex/dll-f ... l?msvbvm60

Do not email the good people at TA Spring with bugs reports about SpringSP because they didn't make it.

Installation:
Just put SpringSP.exe in the same folder as Spring.exe(here you installed TA:Spring) and then run it.

Most maps work but spring.exe sometimes says "cannot find mapname.smd", this is not a problem with TA:Spring but with SpringSP, please do not email me about this unless you know how to fix this. Any other bug reports or comments are welcome.

Have fun,

Android_X

Email: rowdyshadowfire@yahoo.com.au
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Post by Gnomre »

I just saw that and tried it too. Nice to see someone taking the effort to make something, but I didn't see a forum post, so I'll rant here:

-It doesn't really support non-TA mods. No commander was spawned when I tried to use SWTA. Ideally it would read the modinfos and sidedata files.
-It doesn't support multiple maps in a single archive.
-It didn't detect the AI dlls I have installed
-Needs a checkbox for GhostedBuildings, commander dgun, etc options which are controlled in the script file

That's all I noticed immediately. Don't get me wrong, it's a very solid start (even if it is VB :P), but it still needs some polish. I imagine it just doesn't read archives yet because that's considerably more difficult to program in...
User avatar
Kuroneko
Posts: 483
Joined: 03 Jan 2005, 05:32

Post by Kuroneko »

Sounds like it can't search the sd7
User avatar
Kuroneko
Posts: 483
Joined: 03 Jan 2005, 05:32

Post by Kuroneko »

User avatar
Isaactoo
Posts: 124
Joined: 08 Dec 2004, 21:53

Post by Isaactoo »

The LAN Lobby server works well for playing offline - http://www.fileuniverse.com/?p=showitem&ID=1308

Spring SP was neat (especially how you can set the resources), but you can't select anything other than arm or core.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

To play mods offline, I thougth the proper procedure was to launch the TASpring Battlerrom TASClient.exe, and then click options, server, server adress: local server (localhost), and then .... oh right it tells me "Connecting to localhost... cannot contact to server!"

Well, I hope Betalord soon adds offline capability to the lobby, because handwriting scripts.txt isn't very convenient.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

No you did that after downloading and running the server software. Only a lot of people find it fiddly and cumbersome.

All betalord needs todo to get offline games working is remove the check that says you have to be connected to host the game.
Post Reply

Return to “Help & Bugs”