Page 1 of 1

"SideData.tdf" and folder "Download"

Posted: 11 Mar 2006, 08:09
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?

Posted: 11 Mar 2006, 11:36
by NOiZE
download.tdfs are still used by some mods

Posted: 11 Mar 2006, 17:06
by SinbadEV
as a person who has attempted modding... the sidedata version is much easier to deal with...

Posted: 12 Mar 2006, 01:13
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.

Posted: 12 Mar 2006, 05:35
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.

Posted: 13 Mar 2006, 11:07
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.

Posted: 13 Mar 2006, 12:19
by FLOZi
XTA is perhaps not the best mod to check with. :wink: