#file-format #dungeon #pokemon #parser #mystery #sprite #wan

bin+lib pmd_wan

A library that can read wan file, a sprite format used in pokemon mystery dungeon games

14 stable releases (4 major)

5.1.3 Aug 2, 2024
5.1.2 Jul 29, 2024
5.1.1 Jan 29, 2023
4.0.0 Feb 25, 2022
1.1.1 Jun 12, 2020

#523 in Parser implementations

Download history 799/week @ 2024-07-30 622/week @ 2024-08-06 193/week @ 2024-08-13 307/week @ 2024-08-20 27/week @ 2024-08-27 31/week @ 2024-09-03 292/week @ 2024-09-10 396/week @ 2024-09-17 184/week @ 2024-09-24 159/week @ 2024-10-01 206/week @ 2024-10-08 36/week @ 2024-10-15 177/week @ 2024-10-22 205/week @ 2024-10-29 2/week @ 2024-11-12

408 downloads per month

CC0 license

140KB
3K SLoC

forthebadge

Licensed under the creative–common 0 license (TODO: just put a LICENSE file)

pmd_wan

Note that the information written bellow is outdated, and new function has been added. None has been removed, thought. (Still have to update it).

read wan sprites, used in pokemon mystery dungeon: Explorers and Rescue Team (only tested with Explorers of Sky)

reading : production ready. Should never panic, and has been fuzzed

  • m_attack.bin can sometimes errors

writing : does not provide a nice API for high level stuff for now, but should work correctly, and produce readable images by the game

Shiren

I’m currently trying to read images from the Shiren The Wanderer on DS. They are similar in some point, and dissimilar in others.

For now, I focus on being able to read them.

It’s behind a feature flag. It is mostly experimental code for now.

Executing benchs

The benchs use real image not under the license of this repo, that you need to provide yourself.

  • parse use the bulbasaur.wan in the m_ground.bin file. Can be exported with SkyTemple or another .bin EOS extractor.
  • find_fragment use the White Kyurem sprite by FunnyKecleonMeme. It can be downloaded here : (TODO: actually put the download link)

Dependencies

~1.9–2.6MB
~51K SLoC