In a previous article I showed how to read Creatures 2 .s16 files to extract any of the game image data.
In this obvious follow up I will show you how to read out Creatures 1.spr files for the same result.
The Creatures 1 .spr file format is only marginally harder to parse than the .s16 format.
This is because the .spr files do not directly contain color information for each pixel, but rather an index number, to be used as a lookup index inside an external palette file to get the actual color data.
Thankfully, Python magic can once again save us most of the hard work and makes extracting an manipulating C1 images files a breeze.
Showing posts with label image. Show all posts
Showing posts with label image. Show all posts
Saturday, November 29, 2014
Thursday, February 6, 2014
Parsing Creatures 2 .S16 files (Extracting/Manipulating any of the game's graphics).
"Back then" few easy image manipulation libraries were available, making the extraction of game image data an intricate process (that most creature fans/developers tackled in an easy but not very user friendly way as we will expose).Nowadays things got easier.
In this post I will explain the creatures 2 .s16 file format, and show you how you can now very easily extract any picture from the game using python.
Not only that but we can also harness the power of modern image manipulation libraries to convert the game sprites to any file format we like contrary to most legacy tools only proposing to export images as BMP's and letting us do the conversion work manually.
In this post I will explain the creatures 2 .s16 file format, and show you how you can now very easily extract any picture from the game using python.
Not only that but we can also harness the power of modern image manipulation libraries to convert the game sprites to any file format we like contrary to most legacy tools only proposing to export images as BMP's and letting us do the conversion work manually.
Labels:
2,
555,
565,
album,
converting,
creatures,
creatures 2,
difference,
explanation,
extracting,
file,
fileformat,
format,
image,
images,
parsing,
photo,
photo album,
s16,
sprite
Subscribe to:
Posts (Atom)