Dantona 1.0
Tried saving as. I checked the .mapinfo and found some mapEnv entries in the track information section at the top of the file. They appear to be missing from mapEnv #3. Causes Redline to crash on choosing a track.
This seems to be a repeatable error.
The offending mapinfo
Logged In: YES
user_id=1729033
Originator: YES
Done a bit of testing with The Gorge and it also crashes Redline at choosing a track. Problem is I can't see the error in the .mapinfo. I proved to myself it was the .mapinfo by substituting my original. It runs fine with that!? The only differences I can see are in the ordering of the lines.
I've attached the saved version in case it helps.
File Added: slowDan-Gorge-s.mapinfo
Broken .mapinfo
Logged In: YES
user_id=338897
Originator: NO
The problem with the out-of-place mapEnv entries is because there’s a misspelled key in the mapinfo file. Map Viewer reports this not-very-helpfully in the Console:
ReadArray: Warning: found unexpected key mapEnv.lightmap in counted array keyed mapEnvs.
ReadArray: Warning: found unexpected key mapEnv.lightmap in counted array keyed mapEnvs.
The ad-hoc nature of the config file format makes it hard to recover from this sort of thing gracefully, although this particular case can probably be handled better. I also intend to report this sort of error properly. The crash is unfortunate, but, well, Not My Code.
I haven’t looked at The Gorge yet, except to check that it's not producing similar parse errors.
Logged In: YES
user_id=338897
Originator: NO
Clarification on the spelling issue: it should be mapEnv.lightMap, not mapEnv.lightmap. Jonas says keys are case-sensitive.
Logged In: YES
user_id=338897
Originator: NO
On closer inspection, that’s not the totality of the issue. Bah, humbug.
Logged In: YES
user_id=1729033
Originator: YES
I never noticed that before! It seems that your error checking must be a bit more stringent than Redline's, The lightMap seems to load just fine over here. Darn it, update on the way I guess. :-)