View topic - Important announcement: modinfo.tdf support to be dropped



All times are UTC + 1 hour


Post new topic Reply to topic  [ 49 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
PostPosted: 25 Jan 2010, 04:51 
User avatar

Joined: 23 Oct 2004, 00:43
zwzsg wrote:
Here's a short exemple I just made:

Code:
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?


Top
 Offline Profile  
 
PostPosted: 28 Jan 2010, 21:22 
Kernel Panic Co-Developer
User avatar

Joined: 16 Nov 2004, 13:08
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).


Top
 Offline Profile  
 
PostPosted: 29 Jan 2010, 15:35 
Map Creator
User avatar

Joined: 17 Feb 2006, 15:58
Location: retired
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


Top
 Offline Profile  
 
PostPosted: 29 Jan 2010, 18:28 

Joined: 27 Jun 2009, 00:32
Location: Germany
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...


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 02:16 

Joined: 15 Apr 2005, 17:52
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?


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 02:29 

Joined: 11 May 2008, 22:29
Thanks

HOW do i play in LAN ? using spring lobby ?


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 02:33 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
most of the old mods probably have broken by now anyway without someone to maintain them. Boo hoo.


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 02:37 
Spring Developer

Joined: 24 Jun 2007, 07:34
Location: 50┬░ 56' N, 11┬░ 35' O
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?


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 06:04 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
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.


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 10:52 
Engines Of War Developer

Joined: 09 Jun 2005, 22:39
Location: Germany, the EU
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.


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 12:08 
User avatar

Joined: 28 Jul 2008, 05:51
Location: Australia
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.


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 14:03 
Spring Developer

Joined: 24 Jun 2007, 07:34
Location: 50┬░ 56' N, 11┬░ 35' O
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.


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 16:29 

Joined: 15 Apr 2005, 17:52
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?


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 16:31 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
You still haven't read the first post.

This affects exactly 1 FILE. All other tdf/fbi files are still supported.


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 17:56 

Joined: 15 Apr 2005, 17:52
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?


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 18:22 
Engines Of War Developer

Joined: 09 Jun 2005, 22:39
Location: Germany, the EU
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.


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 18:28 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
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


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 18:33 
Moderator

Joined: 19 May 2009, 20:10
There are other changes that will make pre 0.81 mod unplayable. This one is just one more.
Unmaintained mods are dead.


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 21:08 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
Code:
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


Top
 Offline Profile  
 
PostPosted: 31 Jan 2010, 21:40 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
smoth wrote:
Code:
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:


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 49 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.