Beherith / springrts_smf_compiler

This tool allows the compilation and decompilation of maps to springrts's binary smf map format.
Creative Commons Zero v1.0 Universal
10 stars 9 forks source link

Error when launching map on spring #3

Closed TurBoss closed 7 years ago

TurBoss commented 7 years ago

Hi

I'm trying to compile a map in linux and I found that spring crashes when tries to load it

here is the infolog.txt

http://paste.springfiles.com/view/190f4212

the map has a size of 16x12 and no features yet

thank you

Beherith commented 7 years ago

Could you please paste the output of pymapconv? Ill look into why it seems like it added a blank feature as well. "[f=-000001] Error: [LoadFeatureDefsFromMap] unknown map feature type "" [f=-000001] Error: [LoadFeatureDefsFromMap] unknown map feature type "" *10k

[f=-000001] Error: [GetFeatureDef] could not find FeatureDef """

TurBoss commented 7 years ago

here is the output

http://paste.springfiles.com/view/94d6254f

Beherith commented 7 years ago

A quick easy test would be to decompile the same map with pymapconv, and see if the texture is corrupted.

TurBoss commented 7 years ago

this is the output of trying to decompile the smf http://paste.springfiles.com/view/8e040c88

Beherith commented 7 years ago

Ok, so I'm pretty sure the is caused by the difference of how imagemagick and nvdxt interpret the number of mipmaps to be generated, and one is off by 1. My headless linux wont allow the running of this cause of the QTGui :( "len minimapdata 699056 of 699048" is a hint that there is 1 more mip level than there should be, or that the headers are somehow different.

Beherith commented 7 years ago

Ok i fixed headless, but my old version of imagemagick on my linuxbox doesnt support DDS

Beherith commented 7 years ago

Should be fixed now, can you give it a nother go?

TurBoss commented 7 years ago

yahoo its fixed thank you so much!!