spiprsys is a Susie plugin package for Presys games.
- ifpbm.spi: Decoder plugin for PBM image format
Presys' games are programmed in HSP, and resources files are often embedded as DPM archive (HSP's archive format). Get spihsp to unpack the DPM archive.
Susie is an old-school picture viewer for Windows, which can load additional formats by adding Susie plugins (*.spi). In Japan, Susie plugin is often used for decoding custom image formats inside a game.
There are several picture viewers that supports Susie plugin. For example:
- Susie
- Linar
- picture effecter
- stereophotomaker
- vix
- A to B converter
- ACDSee (commercial)
My favorite is Linar for browsing, and AtoB Converter for batch conversion.
- Any use of the software is entirely at your own risk.
The PBM format is mostly identical with popular Windows Bitmap, except several header fields and a simple encryption.
See the Susie plugin's header file for the structure of the file header.
PBM format has bitdepth field in the header, but it must be less or equal to 8 as far as I know. (i.e. an indexed color image)
Palette entry is ciphered by a randomizer. It just uses HSP's build-in RNG (in other words, VC++ rand function), but the randomseed is specific to each game, and it's impossible to extract it from the image file.
Therefore, the Susie plugin hardcodes the randomseed value. Silly! You might want to use HSP Decompiler to extract the randomseed from a new game.
Presys' "Bombaran" is the Windows game I have played for the first time. After few months, I have started learning a programming. I wanted to create my own game.
Presys, thank you for giving a chance to start my programming life. You gave me even a chance to start my reverse-engineering life. Thank you very much.
Hope I will meet your new fun game, someday.