Spring 0.77b6 testing
Moderator: Moderators
-
- Posts: 1176
- Joined: 23 Aug 2007, 19:46
Re: Spring 0.77b6 testing
Does anyone have a clue yet what causes the map problem (i.e. some maps like Mars don't work with the latest Spring release) and maybe how to fix it mapwise (dunno - maybe the older maps miss some entries that are needed now)?
Re: Spring 0.77b6 testing
mars might have an issue with it's smd file, any map that shows up in lobby as 0X0 is probably using a borked file
*edits for corrections*
*edits for corrections*
Re: Spring 0.77b6 testing
Yes, all the non working maps are smd issues. The lua based parser got much stricter. Not missing tags or anything, just syntax errors; like a newline before a ;[Krogoth86] wrote:Does anyone have a clue yet what causes the map problem (i.e. some maps like Mars don't work with the latest Spring release) and maybe how to fix it mapwise (dunno - maybe the older maps miss some entries that are needed now)?
Re: Spring 0.77b6 testing
i pushed aircraft fixes into 0.78-branch. will need a new tag, though.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Spring 0.77b6 testing
Beherith wrote:Yes, all the non working maps are smd issues. The lua based parser got much stricter. Not missing tags or anything, just syntax errors; like a newline before a ;[Krogoth86] wrote:Does anyone have a clue yet what causes the map problem (i.e. some maps like Mars don't work with the latest Spring release) and maybe how to fix it mapwise (dunno - maybe the older maps miss some entries that are needed now)?
Isn't that just a lil bit silly?
Anyone care to explain to me why this little gem isn't working?
Code: Select all
[MAP]
{
Description=Made by Forboding Angel;
TidalStrength=20;
Gravity=130;
MaxMetal=1;
ExtractorRadius=100;
MapHardness=800;
AutoShowMetal=1;
// DetailTex=detailtex.bmp;
[ATMOSPHERE]
{
FogColor=.8 1 1;
FogStart=.8;
CloudColor=1 1 1;
SkyColor=0.1 0.15 0.7;
SunColor=1 1 1;
CloudDensity=0.3;
MinWind=1;
MaxWind=25;
}
[WATER]
{
WaterSurfaceColor=0.34 0.59 1;
WaterPlaneColor=0.34 0.59 1;
WaterBaseColor=0.4 0.6 0.8;
WaterAbsorb=0 0 0;
WaterMinColor=0.1 0.1 0.3;
WaterDamage=;
}
[LIGHT]
{
SunDir=0 0.3 1; //direction of sun (spring will normalize it later)(y component is upward)
GroundAmbientColor=0.8 .8 .85; //ambient (non sun lit) color of ground (and grass etc)
GroundSunColor=1.0 1.0 .9; //color of ground where fully sun lit (added to ambient)
GroundShadowDensity=1.95; //how far from the non shadowed to the ambient color stuff in shadow will go
UnitAmbientColor=0.42 0.41 0.52; //ambient (non sun lit) color of units (and wreckage etc)
UnitSunColor=0.72 0.70 0.53; //color of units where fully sun lit (added to ambient)
UnitShadowDensity=.81;
}
[TEAM0]
{
StartPosX=7052;
StartPosZ=7330;
}
[TEAM1]
{
StartPosX=8374;
StartPosZ=5990;
}
}
Re: Spring 0.77b6 testing
might just have some special white-space characters in it, IIRC map called mars had those and it made error...
Re: Spring 0.77b6 testing
'sometimes' it can be very useful to post the error message ....
Re: Spring 0.77b6 testing
zeros needed before . as in .8 should be 0.8?
spaces after named section
[team1]
{
instead of
[team1]
{
maybe this stuff, I am not sure and they are W.A.Gs but hey it is something to check out.
spaces after named section
[team1]
{
instead of
[team1]
{
maybe this stuff, I am not sure and they are W.A.Gs but hey it is something to check out.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Spring 0.77b6 testing
You mean the completely blank dialog box that comes up?jK wrote:'sometimes' it can be very useful to post the error message ....
Re: Spring 0.77b6 testing
What, Mars doesn't work anymore? That was my fave for FFA!TradeMark wrote:might just have some special white-space characters in it, IIRC map called mars had those and it made error...
Re: Spring 0.77b6 testing
infolog.txt?Forboding Angel wrote:You mean the completely blank dialog box that comes up?jK wrote:'sometimes' it can be very useful to post the error message ....
Re: Spring 0.77b6 testing
Maybe that (missing content in tag). Just another guess though.Forboding Angel wrote:Isn't that just a lil bit silly?
Anyone care to explain to me why this little gem isn't working?Code: Select all
WaterDamage=;
(And no it isn't silly IMO as long as no one wrote reliable automated regression testing


-
- Posts: 1176
- Joined: 23 Aug 2007, 19:46
Re: Spring 0.77b6 testing
If this is headed towards the "Mars problem" too then I only can say that it's described HERE and on the "bug list" on the first topic for a long time...jK wrote:'sometimes' it can be very useful to post the error message ....
-
- Posts: 1176
- Joined: 23 Aug 2007, 19:46
Re: Spring 0.77b6 testing
Well it seems it's something about the smf rather than the smd because after playing around a bit like replacing the smd with a "working" one from another map nothing has any effect. Another hint may be that Spring i.e. the lobby cannot read the map's size anymore which is written down in the smf. Someone knows if decompiling smfs and smts is possible? I'm downloading some mapconv tools but I don't know if they support that after all...
Re: Spring 0.77b6 testing
The Lua TDF parser seems unable to deal with comments placed between the end of a section name and its associated opening brace. It loads for me with the following SMD:
But, for instance, inserting a comment like this...
... will break things.
Code: Select all
[MAP]
{
Description=En karta;
TidalStrength=20;
Gravity=140;
MaxMetal=0.054;
ExtractorRadius=300;
[ATMOSPHERE]
{
FogColor=0.7 0.7 0.8;
FogStart=0.2;
CloudColor=0.9 0.9 0.9;
SkyColor=0.1 0.15 0.7;
SunColor=1.0 1.0 1.0;
CloudDensity=0.55;
MinWind=5;
MaxWind=25;
}
[WATER]
{
WaterBaseColor=0.4 0.6 0.8;
WaterAbsorb=0.004 0.004 0.002;
WaterMinColor=0.1 0.1 0.3;
WaterPlaneColor= 0.1 0.1 0.3;
}
[LIGHT]
{
SunDir=0 1 1;
GroundAmbientColor=0.45 0.45 0.45;
GroundSunColor=0.7 0.7 0.7;
GroundShadowDensity=0.7;
UnitAmbientColor=0.4 0.4 0.4;
UnitSunColor=0.7 0.7 0.7;
UnitShadowDensity=0.8;
}
[TEAM0]
{
StartPosX=300;
StartPosZ=400;
}
[TEAM1]
{
StartPosX=7700;
StartPosZ=7700;
}
[TEAM2]
{
StartPosX=7700;
StartPosZ=300;
}
[TEAM3]
{
StartPosX=300;
StartPosZ=7700;
}
[TEAM4]
{
StartPosX=4000;
StartPosZ=400;
}
[TEAM5]
{
StartPosX=4000;
StartPosZ=7600;
}
[TERRAINTYPE0]
{
name=default;
hardness=1;
tankmovespeed=1;
kbotmovespeed=1;
hovermovespeed=1;
shipmovespeed=1;
}
}
Code: Select all
[ATMOSPHERE] // bite me
{
Re: Spring 0.77b6 testing
PHAIL - - do you ever test stuff which you add there
-
- Posts: 1176
- Joined: 23 Aug 2007, 19:46
Re: Spring 0.77b6 testing
@Kloot:
Interesting - will try that. But how come that it still doesn't work when replacing everything with working smds like that from Comet Catcher? When doing so it still didn't work for me and Comet Catcher as a map works just fine...
Interesting - will try that. But how come that it still doesn't work when replacing everything with working smds like that from Comet Catcher? When doing so it still didn't work for me and Comet Catcher as a map works just fine...