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
Author Message
PostPosted: 31 Jan 2010, 21:47 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: You are going to die anyway, hurry up and do it.
FLOZi wrote:
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:


I don't know, how could this be copy-pasted into a file then the values changed...

MADNESS!


Attachments:
1256266952595.jpg
1256266952595.jpg [ 30.87 KiB | Viewed 1580 times ]
Top
 Offline Profile  
 
PostPosted: 01 Feb 2010, 07:56 

Joined: 22 Jan 2009, 19:25
Hi,

he,he - nice discuss but i agree with the Devs ...
Another problem - not realy tdf>Lua relatet but a direct impact of it ..

Have changed (with other fixed long ago that it run on pre 0.7x spring)
Anarchomania0.8fr modinfo.tdf to lua :
Code:
return {
  name='Arachnomania',
  description='',
  shortname='ARACHNOfr',
  version='0.8 fr',
  mutator='',
  game='Arachnomania',
  shortGame='Arch',
  modtype=1,
  depend = {
    'tacontent.sdz',
    'tatextures.sdz',
  },
}

And repacked with 7Zip as sd7, runs NICE.

Then changed tacontent.sdz .tdf to .lua :
Code:
return {
  name='TA Content version 2',
  description='Mods can depend on this archive to get both spring and TA content',
  modtype=0,
  depend = {
   'springcontent.sdz',
   'otacontent.sdz',
  },
}

And repacked with IZArc.
This was before tacontent_v2 with the "Replace" tag that dont work flawless.I think no actual game need the alternate tacontent_v2 and tatexturev0.62, all old games uses tacontent and tatexture.So i delete the replace line in both and rename he as tacontent and tatexture.

Then i make the same with tatexture:
Code:
return {
  name='TA Textures v0.62',
  description='TA textures used by spring - now partially includes reflective textures',
  shortname='',
  version='',
  mutator='',
  game='',
  shortGame='',
  modtype=0,
}

And repack with IZArc.

And at last with otacontent :
Code:
return {
  name='OTA Content',
  description='TA content used by spring',
  modtype=0,
}

And here come the problem .....
If i repack the otacontent with IZArc (as all other zip archives before!)
then it dont run....
Come the error "default cursor not found" ....
IF i use the orginal dont changed otacontent (with modinfo.tdf) then
it runs.(so at first i have thinked an bug that is modinfo.lua related ..)
BUT - if i decrunch otacontent and then recrunch it with IZArc (who remember the mod self is crunched too and run flawles with orginal otaconten ..) and change nothing,with modinfo.tdf still,..
The same error apears !
So it is ......dont know .....??


Top
 Offline Profile  
 
PostPosted: 01 Feb 2010, 08:38 

Joined: 22 Jan 2009, 19:25
Hi,

o.k. - found the Error !
It is IZArc !<<

If i crunch the sdz files with 7z (as zips) too, all run flawles.
Maybe this is the reason of the error in "replace" too ..??
But a bit bad that spring dont say that is a problem with the archive ...


Top
 Offline Profile  
 
PostPosted: 01 Feb 2010, 09:56 
Kernel Panic Co-Developer
User avatar

Joined: 16 Nov 2004, 13:08
I wouldn't change tacontent, tatexture and otacontent myself if I were you. There's gonna be sync error if files are repacked under the same name.


Top
 Offline Profile  
 
PostPosted: 01 Feb 2010, 13:18 
Spring Developer

Joined: 24 Jun 2007, 07:34
Location: 50┬░ 56' N, 11┬░ 35' O
R-TEAM wrote:
Hi,

o.k. - found the Error !
It is IZArc !<<

If i crunch the sdz files with 7z (as zips) too, all run flawles.
Maybe this is the reason of the error in "replace" too ..??
But a bit bad that spring dont say that is a problem with the archive ...

You checked the infolog?


Top
 Offline Profile  
 
PostPosted: 01 Feb 2010, 13:57 
Map Creator
User avatar

Joined: 17 Feb 2006, 15:58
Location: retired
i see one advantage in lua modinfo.tdf: you can actually add URL's there! god damnit it was annoying to make a workaround to read modinfo.tdf with PHP when there was URL's. // = comment >_>


Top
 Offline Profile  
 
PostPosted: 01 Feb 2010, 14:00 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: You are going to die anyway, hurry up and do it.
Quote:
URL=http://cs.selu.edu/~ssmith/GUNDAM/;

you talkin about this line?


Top
 Offline Profile  
 
PostPosted: 01 Feb 2010, 14:06 
Map Creator
User avatar

Joined: 17 Feb 2006, 15:58
Location: retired
nah, this line:
Code:
URL=http://taspring.clan-sy.com/;


youre not the only one who uses URL tag.


Top
 Offline Profile  
 
PostPosted: 01 Feb 2010, 16:44 

Joined: 22 Jan 2009, 19:25
Hi,

Auswaschbar wrote:
R-TEAM wrote:
Hi,

o.k. - found the Error !
It is IZArc !<<

If i crunch the sdz files with 7z (as zips) too, all run flawles.
Maybe this is the reason of the error in "replace" too ..??
But a bit bad that spring dont say that is a problem with the archive ...

You checked the infolog?


not 100% line for line ....
search for errors relevant with "no loading" or "not found" ...
Nut sure, was another error that i cant remember, but none that
i aware ...

And the unitsync log was o.k. - no error


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

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.