vcmi / vcmi

Open-source engine for Heroes of Might and Magic III
https://vcmi.eu/
GNU General Public License v2.0
4.55k stars 490 forks source link

Maps saved with hota mapeditor are not loaded in vcmi #4409

Closed MichalZr6 closed 3 months ago

MichalZr6 commented 3 months ago

Describe the bug Maps edited / open-saved with hota mapeditor are not loaded in vcmi.

To Reproduce Steps to reproduce the behavior:

  1. Run h3hota_maped.exe
  2. Load any map
  3. Save as new map to the vcmi map directory
  4. Run VCMI, go to Scenario Selecting interface.
  5. The map is unavailable and error in terminal is generated: obraz

Expected behavior Should work ?

Actual behavior Those maps saved via hota mapeditor won't load to vcmi map pool.

Did it work earlier? I don't know.

Version

Additional context Hota map version is done up to 3 https://github.com/vcmi/vcmi/blob/a4dd510735f035e1930b8f9022e8c99cda3a05c7/lib/mapping/MapFeaturesH3M.cpp#L122 while those 'editted' get value equal to 5: obraz

dydzio0614 commented 3 months ago

VCMI only supports hota version released before factory, so not really a bug

kambala-decapitator commented 3 months ago

@dydzio0614 please don't close such issues as "completed", rather select "not planned"