Skip to content

Create sprites from Draw and Euclid files; merge sprites into a single file.

License

Notifications You must be signed in to change notification settings

gerph/thomasolsson-mksprite

Repository files navigation

MkSprite & SFMerge RISC OS tools

Overview

The MkSprite tool makes fairly optimal RISC OS Sprite files from DrawFiles and Euclid files. It is designed to be easy to use in a makefile. It was written by Thomas Olsson (https://www.armpit.dk/files/mksprite/).

The SFMerge tool takes a number of RISC OS Sprite files and merges them to create a single Sprite file containing all the sprites.

Requirements

  • RISC OS, and a certain amount of laziness.
  • The Euclid module (if you want to convert Euclid files).

List of main features

  • Adjustable accuracy, mask level etc.
  • Control files for adjusting the options for certain files.

Example

Screenshot of the Drawfile and Sprite

What you see here, is the original draw file at 8:1 scaling, then the resultant sprite file at 8:1, and then both of these again at 1:1. Note that what you see might be very inaccurate if you're displaying this screenshot with e.g. only 256 colours on the screen

Installation

  • Download a release Zip archive from the Releases page.
  • Extract the archive on RISC OS.
  • Copy the Library.mksprite and Library.sfmerge files into your library.