mapeditor / mapeditor/tiled

A way to enumerate file-to-file references from maps

Open
#4,446 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

I'd like some way to know every file referenced by the current map or tileset, including indirect references. It could take one or both of the following forms:

* An option to export the map to a self-contained zip, which could require updating the references in the compressed map to be relevant to the zip's root file. (This one might be scriptable, I haven't checked.)
* A view that lists all references, possibly even giving the option to directly open them. For example, if your map references a tileset that references a map (ie, it's a metatileset), you could click to immediately open that map.

Perhaps there are other ways to do this. The motivation behind it is the thought of "what if I want to take this cool map and send the files to someone to show it off", the assumption being that they'd then load it up in Tiled and look at it. But actually enumerating all the references, especially when using metatilesets or multiple tilesets, can become pretty complicated.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by tracing how Tiled resolves map and tileset references, including indirect metatileset references; done should be a clearly chosen and implemented way to enumerate or package the complete reference set, with coverage for nested references.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.