Skip to content

Script donation: Decode shape and map data  #71

Description

@JensRestemeier

I wanted to decode Tyrian map data to experiment with offline upscaling solutions, including online AI upscalers:
https://gist.github.com/JensRestemeier/2a7a8af41e829b9cc8dcd21dcff80866
The only dependency should be Pillow (https://pillow.readthedocs.io/)

I achieved what I wanted, so have a look if you have any use for this as well. It should be run in the directory with the Tyrian 2.1 assets, it creates txt, shp and tmx directories. TMX files can be opened in Tiled (https://www.mapeditor.org/)

While it would be possible to pack data again into Tyrian formats it may be easier to add support for directly loading assets from png files (or PCX, ILBM, GIF, etc.).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions