How to add color from .PAL (color palette) files

i had found disassemby of Pokemon gold and silver SW97 demo but idk how to add color from .PAL (color palette) files

Hey @Pokefan6498, welcome to the Tiled forum! I’ve moved your question to its own topic, so that we don’t revive a 5 year old topic that seems only slightly related.

What does this data look like? In general, there is the option to implement custom map loaders in JavaScript, which can also load custom image formats. A custom loader could read in the relevant .PAL file and use the Image API, which supports palettes through “setColor” and “setColorTable”. The created image can then passed to the loadFromImage function of a Tileset.