litiengine icon indicating copy to clipboard operation
litiengine copied to clipboard

Support Tiled snapshot build versions

Open mmbi-glitch opened this issue 2 years ago • 2 comments

Hiya, this is @mmblah2022 from discord. Sorry if there's anything wrong with this bug report. Still learning how github works.

Describe the bug The LITIEngine UtiLITI tool does not support Tiled map versions that are denoted in date format, e.g. 2021.03.23.

Stack Trace "Caused by: de.gurkenlabs.litiengine.environment.tilemap.xml.UnsupportedMapVersionException: 2021.03.23 at de.gurkenlabs.litiengine.environment.tilemap.xml.TmxMap.checkVersion(TmxMap.java:583) at de.gurkenlabs.litiengine.environment.tilemap.xml.TmxMap.afterUnmarshal(TmxMap.java:484) ... 74 more"

To Reproduce Steps to reproduce the behavior:

  1. Load any TiledMap from recent versions of Tiled that generate maps with version in date format into Utiliti editor.

Expected behavior

The map to load correctly.

Screenshots If applicable, add screenshots to help explain your problem.

Your System:

  • OS: Windows 10 Home
  • LITIENGINE version: 0.5.2-beta
  • Java JDK/JRE version: JDK 17.0.2
  • Screen resolution: 1920x1080

Additional context Add any other context about the problem here.

mmbi-glitch avatar May 30 '22 11:05 mmbi-glitch

Thank you for your reporting your first LITIENGINE issue! We are looking forward to your further contributions.

github-actions[bot] avatar May 30 '22 11:05 github-actions[bot]

Snapshot versions of the Tiled editor produce map versions that defy the usual versioning scheme. tiledversion: The Tiled version used to save the file (since Tiled 1.0.1). May be a date (for snapshot builds). (optional) It remains to be discussed whether we need to support this, or just make the error handling and information process more insightful.

nightm4re94 avatar Jul 20 '22 16:07 nightm4re94