libxmp / libxmp/libxmp

Unrecognized file format on some converted ProTracker modules

Open
#878 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

depackers mod
Dominant language
C
Stars
392
Forks
82
Avg merge
1d 4h
Merged PRs (30d)
5

Description

superfrog_fun-park.mod fails to load with xmp: superfrog_fun-park.mod: Unrecognized file format; adding -v doesn't show any more debug info at this stage, so I'm not quite sure how to go around debugging it further. File plays OK with libmodplug.

From the same game (and looking at the comment, likely from the same dump?), superfrog_project x.mod fails at xmp: superfrog_project x.mod: Error depacking file. Turns out that it's actually Amiga xpkf.library compressed data; libmodplug plays it, but with some sample artifacts (sounds like an endian swap along the way).

Some other files seemingly from the same dump play OK: superfrog_ice-world.mod, superfrog_level1.mod.

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

Reproduce the failures with the linked superfrog_fun-park.mod and superfrog_project x.mod files using xmp, comparing them with the working superfrog_ice-world.mod and superfrog_level1.mod files. Start with the format detection and depacking paths reached by these inputs, and use xmp -v to compare available diagnostics. Done means both failing modules load correctly without breaking the working examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc, reverse-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.