Important announcement: modinfo.tdf support to be dropped - Page 2

Important announcement: modinfo.tdf support to be dropped

Resources to get you going on your new project, or to help you over some emergent problems during your development cycle.

Moderator: Moderators

User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Important announcement: modinfo.tdf support to be dropped

Post by Pxtl »

zwzsg wrote:Here's a short exemple I just made:

Code: Select all

snipped
The name shown by lobby will be "<name> <version>"

<shortName> is used to keep tracks of some settings, like active widget list, AI configs, ...
Umm, last I checked this didn't work - if you launched from spring.exe, the menu wouldn't list the version number unless it was rolled into the name-field. Has that been fixed?
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: Important announcement: modinfo.tdf support to be dropped

Post by zwzsg »

R-TEAM wrote:Only was unsure over the [NTAI] tag ......
[NTAI] section is not used anymore. Remove it.

Pxtl wrote:Umm, last I checked this didn't work - if you launched from spring.exe, the menu wouldn't list the version number unless it was rolled into the name-field. Has that been fixed?
When was last time you checked? Mine was two days ago. I tested 80.5.2 and 81.0 hard coded menu, as well as TASClient.


The only odd thing is that ingame, Game.modName contained the modinfo.lua's name+version, instead of just the name (which I wish it had).
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Important announcement: modinfo.tdf support to be dropped

Post by TradeMark »

when does they drop .fbi support?

this is just stupid.. why does it have to be lua?

now we cant play the old mods anymore... great job guys
Master-Athmos
Posts: 916
Joined: 27 Jun 2009, 01:32

Re: Important announcement: modinfo.tdf support to be dropped

Post by Master-Athmos »

It's not about .fbi but just the modinfo but tdf (although afaik fbis get internally converted to Lua code already)...

As Tobi said in the News section the change is going to happen in the follow-up release which would be 0.82 as I see it. It's not going to be in what's recently a release candidate and soon to be released...

I can't really explain for what reason this happens though and why there's no tdf2lua converter for this. Still changing it is a one minute job as you sort of can copy paste all the lines and just change a little here and there...
mongus
Posts: 1463
Joined: 15 Apr 2005, 18:52

Re: Important announcement: modinfo.tdf support to be dropped

Post by mongus »

TradeMark wrote:when does they drop .fbi support?

this is just stupid.. why does it have to be lua?

now we cant play the old mods anymore... great job guys
+1

is there a reason to drop support for the old file formats?
elias79
Posts: 57
Joined: 11 May 2008, 23:29

Re: Important announcement: modinfo.tdf support to be dropped

Post by elias79 »

Thanks

HOW do i play in LAN ? using spring lobby ?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Important announcement: modinfo.tdf support to be dropped

Post by smoth »

most of the old mods probably have broken by now anyway without someone to maintain them. Boo hoo.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Important announcement: modinfo.tdf support to be dropped

Post by Auswaschbar »

mongus wrote:is there a reason to drop support for the old file formats?
Is there a reason for you not even reading the first post of the thread?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Important announcement: modinfo.tdf support to be dropped

Post by AF »

NTai no longer uses the NTAI section, and it wouldn't be able to read the tag anyway if it was converted, it shifted to using gamename not long ago.
SeanHeron
Engines Of War Developer
Posts: 614
Joined: 09 Jun 2005, 23:39

Re: Important announcement: modinfo.tdf support to be dropped

Post by SeanHeron »

In light of people making unresearched negative comments I'd like to say:
I think this is a sensible step forwards.
My opinion is that the future is what we want to work for with the Spring Engine - focusing on the past would be the way to lead the Engine to it's death.
User avatar
SpliFF
Posts: 1224
Joined: 28 Jul 2008, 06:51

Re: Important announcement: modinfo.tdf support to be dropped

Post by SpliFF »

Agreed. I fail to see any issue here. If you think you can keep modding Spring without a minimum understanding of Lua you are mistaken. If you think unmaintained mods will keep working forever you are also mistaken. If you think the devs will tolerate an engine with 10's of 1000's of lines of legacy code that serves 0.01% of the community you're dreaming.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Important announcement: modinfo.tdf support to be dropped

Post by Auswaschbar »

zwzsg wrote:The only odd thing is that ingame, Game.modName contained the modinfo.lua's name+version, instead of just the name (which I wish it had).
The problem is that this name is used to identify a mod from everywhere, there are no seperate version fields. This would cause problems when multiple versions of a mod with the same name are installed.
mongus
Posts: 1463
Joined: 15 Apr 2005, 18:52

Re: Important announcement: modinfo.tdf support to be dropped

Post by mongus »

Auswaschbar wrote:
mongus wrote:is there a reason to drop support for the old file formats?
Is there a reason for you not even reading the first post of the thread?
See i have no idea what is going on with development at the moment.

but i dislike you dropping support for the old formats.

i guess "speed up the handling of archives" is a powerfull enough reason.

isnt the speedup just when reading the files for the first time?
and converting if that was the case?

is this the real speedup gain?

if the file support for tdf is not dropped, will it "slow down" the game if the mod does not use it?


I liked the old format because it was simple, and would be cool to be accessible to ppl who does not know lua blah blah.



for starting, all pre .81 mods will be broken. (or almost all).

you will need an old version of spring to use any of those mods.
that means you cant test old balance with new features.

you use old version of mods to check balance.
you use old version of mods for other things too (check models, etc etc).



So is the speedup worth the trouble it generates?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Important announcement: modinfo.tdf support to be dropped

Post by FLOZi »

You still haven't read the first post.

This affects exactly 1 FILE. All other tdf/fbi files are still supported.
mongus
Posts: 1463
Joined: 15 Apr 2005, 18:52

Re: Important announcement: modinfo.tdf support to be dropped

Post by mongus »

i have perfectly read the first post.

did you read my post?

why have you not answered any of the questions or commented on the concerns?
SeanHeron
Engines Of War Developer
Posts: 614
Joined: 09 Jun 2005, 23:39

Re: Important announcement: modinfo.tdf support to be dropped

Post by SeanHeron »

mongus wrote: [...]
I liked the old format because it was simple, and would be cool to be accessible to ppl who does not know lua blah blah.
[...]
for starting, all pre .81 mods will be broken. (or almost all).
[...]
So is the speedup worth the trouble it generates?
Mongus, my good friend from old glory XTA days, long past.

I think by and large people are not replying to your questions, because many of them are based on misunderstanding - which I very well understand is always an issue when "native"* speakers and non-native speakers communicate (as the natives seldom make efforts to keep their language simple - I know I don't...).

The other reason is, that I think most of the active Spring game developers do not think the "break" is a wrong move. And in a way, the Engine itself is targetted more to those, than to players directly.

On your questions/issues I quote above:
- the Lua format for information - as in use in the modinfo.lua file - is actually no more complicated then that of TDF. For newcomers, in any case - of course if you're comfortable with .tdf, you'll have to have a look at .lua files before it's just as easy for you.
- Yes all non maintained pre .81 games will be broken. That this is an issue for players is clear. It just doesn't weigh so heavy vs the benefits that it is enough of a reason not to go forwards regardless.
- As Tobi explains, the issue is less one of speedup, and more of code maintanance Engine side - there is a lot of Code in the Engine (obviously), and often enough, changes to one area, effect others (potentially "breaking" the Engine itself - till someone fixes the bug). The reason then is to save on workload for the Enginedevs, so that they have more time to actually work on new features (or making changes that improve performance), rather than fixing up code that was broken due to new features...

Hope that explains most of the issues, but feel free to ask if there's anything that's still unclear,
Sean

*Yes I know - Tobi is not a native speaker (I think...) but his grasp (and that of many others) of the language is almost equivalent.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Important announcement: modinfo.tdf support to be dropped

Post by smoth »

mongus wrote:I liked the old format because it was simple, and would be cool to be accessible to ppl who does not know lua blah blah.
Really? you really want to argue this point?

Dude, if you cannot edit a lua modinfo you are too stupid to edit a .tdf.

Please take 2 of these and don't call me in the morning.

Image
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Important announcement: modinfo.tdf support to be dropped

Post by SirMaverick »

There are other changes that will make pre 0.81 mod unplayable. This one is just one more.
Unmaintained mods are dead.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Important announcement: modinfo.tdf support to be dropped

Post by smoth »

Code: Select all

local modinfo = {
		name						=	"Smoth's GUI work",
		shortName				= "S44",
		game						= "Spring 1944",
		shortGame				= "S44",
		mutator					= "Official",
		description			=	"lalala",
		url							=	"http://www.spring1944.com",
		modtype					=	"1",
		
		depend = {
		"s44literelease.sdd",
		}
}

return modinfo
SOOOOOOOOOOO HARD
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Important announcement: modinfo.tdf support to be dropped

Post by FLOZi »

smoth wrote:

Code: Select all

local modinfo = {
		name						=	"Smoth's GUI work",
		shortName				= "S44",
		game						= "Spring 1944",
		shortGame				= "S44",
		mutator					= "Official",
		description			=	"lalala",
		url							=	"http://www.spring1944.com",
		modtype					=	"1",
		
		depend = {
		"s44literelease.sdd",
		}
}

return modinfo
SOOOOOOOOOOO HARD
WHAT IS THIS VOODOO!? :shock: :cry:
Post Reply

Return to “Game Development Tutorials & Resources”