Closed springraaar closed 1 year ago
whats inside the "package"? i guess it has some file inside it which makes unitsync detect it as map. just remove this file and it should be fine.
also thats the wrong approach: if its a game it should be added to rapid
or the file is just broken: check unitsync.log
There's issues on extract_metadata.py that were introduced on my PR a while ago that cause this, i'm trying to fix it atm and I'll make a PR with it later today
I think I fixed it, PR on https://github.com/spring/upq/pull/93
I've tried to upload a MF v2.09test game package to springfiles.
It fails and a stack trace is shown on the browser
676 677 metadata = data["metadata"] => 678 data["map_width"] = int(metadata['Width']) <---- fails here 679 data["map_height"] = int(metadata['Height']) 680
apparently it's trying to read a map-related property from the game package's metatada which lacks it