Skip to content

Tool to convert assets from Prince of Persia 1 (DOS) to png sprite sheets

License

Notifications You must be signed in to change notification settings

lvcabral/PoPSpritesConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prince of Persia Sprites Converter

This tool was developed to convert graphical assets from the Prince of Persia 1 game (DOS version) into modern transparent Sprite Sheets and Maps. The idea was to have a tool that could convert Mods generated by the PoP modding community to my Roku version of the game.

The input for the tool is the set of files exported by the PR tool (see links below), that convert the original .dat files into .bmp (images) and .pal (palette) files. The output is a set of individual frames organized in folders and the sprite sheets with its correspondent .json maps.

Usage:

popsc <PR resources path> <sprites output path> [-wda]

Optional parameter:
-wda : Convert VPALACE wall images using wall-drawing algorithm mode

This tool requires Microsoft .Net Framework 4.5 and incorporates code from the SpriteSheetPacker project (link below).

Links