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

Resolved FileNotFoundErrors encountered in pymapconv.py #37

Open DriesDD opened 6 months ago

DriesDD commented 6 months ago
DriesDD commented 6 months ago

This is my fix to use the script by fixing errors in the order I encountered them. However, I am not familiar with the project so this could use testing/review.

Also, there is one final error from line 966 with minimap.dds not being found that I could resolve by changing the code to look for minimap.bmp which is generated correctly, and while the script now runs to completion it still doesn't generate a working minimap so I don't want to commit that. I guess the .dds extension is not a mistake but the file is not created properly.

Beherith commented 5 months ago

The minimap dds binary blob gets embedded into the .smf output file, and is thus required for successful compilation.