"SideData.tdf" and folder "Download"

"SideData.tdf" and folder "Download"

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

"SideData.tdf" and folder "Download"

Post by PauloMorfeo »

The info in the .tdf files on the folder "download" is no longer beeing used, right?
Only using the section
[CANBUILD]
in SideData.tdf?
User avatar
NOiZE
Balanced Annihilation Developer
Posts: 3984
Joined: 28 Apr 2005, 19:29

Post by NOiZE »

download.tdfs are still used by some mods
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

as a person who has attempted modding... the sidedata version is much easier to deal with...
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Actually, I take the opposite viewpoint, I prefer the Download TDFs. But, either way, they are actually used, and work just fine. If you don't have any Download TDFs, but use CanBuild, that works... if you don't have anything in CanBuild, but use Download TDFs, that works too.
User avatar
FoeOfTheBee
Posts: 557
Joined: 12 May 2005, 18:26

Post by FoeOfTheBee »

I think most Spring mods have switched to sidedata. It would be easy to make a tool to switch a download.tdf build tree to a sidedata.tdf build tree. But not easy enough that I'll actually do it.
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Post by PauloMorfeo »

Weird that both work.

When i coded the importing routines to import a mod from the files, i coded it so that it would check the data in sidedata.tdf as well as the tdfs in Download. But then i went to take a look at the data in Download and something was not right so i commented out the code so it doesn't reads that info anymore.

In XTA_se_v066, i found these 2 infos in Download:
ARMAAP.tdf

Code: Select all

[MENUENTRY1]
	{
	UNITMENU=ARMAAP;
	MENU=2;
	BUTTON=5;
	UNITNAME=ARMSEAP;
	}
[MENUENTRY2]
	{
	UNITMENU=ARMAAP;
	MENU=3;
	BUTTON=1;
	UNITNAME=ARMSEHAK;
	}
ARMAAP1.tdf

Code: Select all

[MENUENTRY1]
	{
	UNITMENU=ARMAAP;
	MENU=2;
	BUTTON=5;
	UNITNAME=ARMSEAP;
	}
[MENUENTRY2]
	{
	UNITMENU=ARMAAP;
	MENU=3;
	BUTTON=1;
	UNITNAME=ARMSEHAK;
	}
...
Not only is that redundant, defining the same thing, but when playing XTA_se, the ARM Advanced Airplant does not builds the Seaplane Constructor. So i assumed that it didn't read that data. Also considering that the entried in Download are related to the old TA GUI where Spring has a new GUI where that info may not be apliable.

Anyway, the code is there. I guess i will just uncoment it and, whoever is trying to import a mod from the files should take care of not having redundant information in there.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

XTA is perhaps not the best mod to check with. :wink:
Post Reply

Return to “Game Development”