Maybe one day the PNG file names, currently res40.png up to and including res930.png, could become more informative.
MININIM and PR use more informative file names, which simplifies the modding process.
From what I can find, load_from_opendats_alloc() and load_from_opendats_to_area() get resource numbers, which are then passed to load_from_opendats_metadata(), that includes an snprintf() with "data/%s/res%d.%s".
The file data/music/names.txt has lines such as "24=regular_death".
A similar text file would probably be required for the PNG file names.
If someone ever feels like adding the code, I'm willing to create the aforementioned text file.
resource file names
Open-source port of PoP that runs natively on Windows, Linux, etc.
Jump to
- Princed Project
- ↳ General Stuff
- ↳ PoP1 Quarterly Modding Contest
- ↳ Princed
- ↳ Announcements
- New Levels and Mods
- ↳ For DOS
- ↳ Total Pack
- ↳ For SNES
- ↳ For SDLPoP / MININIM
- ↳ Walkthrough Videos
- Level Editors
- ↳ RoomShaker(2)
- ↳ apoplexy
- ↳ Pr1SnesLevEd
- Tools
- ↳ Princed Resources (PR)
- ↳ Other Tools & Hex Editing
- Fan-Made Remakes and Ports
- ↳ SDLPoP
- ↳ MININIM
- ↳ Other Remakes and Ports
- PoP Games
- ↳ Prince of Persia 1 for DOS
- ↳ Power Playing
- ↳ Simple Questions
- ↳ Prince of Persia 1 for SNES
- ↳ Prince of Persia 1 - Other
- ↳ NES: Discussion and New Levels/Mods
- ↳ Prince Of Persia 2: The Shadow And The Flame
- ↳ Power Playing
- ↳ Prince of Persia 3D
- ↳ Prince of Persia: The Sands Of Time
- ↳ Prince of Persia: Warrior Within
- ↳ Prince of Persia: The Two Thrones
- ↳ Prince of Persia "Prodigy" (2008)
- ↳ Prince of Persia: The Forgotten Sands
- International
- ↳ Polski
- ↳ Gra Prince of Persia
- ↳ Informacje
- ↳ Freeprince
- ↳ Klony i przeróbki gry
- ↳ Nowsze wersje gry Prince of Persia
- ↳ Deutsch
- ↳ Nederlands
- ↳ Pу́сский
- Other Stuff
- ↳ Off-Topic
- ↳ Introductions