GithubHelp home page GithubHelp logo

isabella232 / spiprsys Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gocha/spiprsys

0.0 0.0 0.0 20 KB

Susie plugin for Presys games

License: GNU Lesser General Public License v3.0

C 100.00%

spiprsys's Introduction

Susie plugin for Presys games (spiprsys)

AppVeyor Build Status

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.

What is Susie plugin?

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:

My favorite is Linar for browsing, and AtoB Converter for batch conversion.

Note

  • Any use of the software is entirely at your own risk.

File Format

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.

Digression

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.

spiprsys's People

Contributors

gocha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.