Showing posts with label extracting. Show all posts
Showing posts with label extracting. Show all posts
Friday, May 22, 2015
A smart(-ish) C1 scriptorium browser.
One of the hard aspects of trying to understand the C1 internals is trying to figure out which scripts exist for a given object.
C2 and C3, both have "Scriptorium browsers" available, that make it easy to visually browse ALL existing scripts for given classifiers.
Surprisingly, C1 seems to lack such a tool, and leaves us with no easy way to be sure we found all scripts governing a given object or behaviour.
Why is that so ? On what mechanisms do those scriptorium browsers operate ? And what can we do about it ?
Follow me for some technical exploration of the mysterious Shees CAOS library, and if you bear with me to the end of the article, a proper, exhaustive C1 scriptorium extractor will be the takeaway :)
Sunday, December 14, 2014
Extracting information from Creatures 1 PhotoAlbum files (And uncovering a 20 years old 2 pixel bug :)
In the last article, we've seen how to manually use the "dde: pict" CAOS command to take picture of our Norns the way the Owner's kit does it.
When doing it the usual way through the Owner's kit, all pictures are saved in individual photo album files for each Norn.
In this article I will show you all you need to know to extract all information from those file : timestamps, comments, and obviously, the picture data.
When doing it the usual way through the Owner's kit, all pictures are saved in individual photo album files for each Norn.
In this article I will show you all you need to know to extract all information from those file : timestamps, comments, and obviously, the picture data.
Labels:
album,
bug,
C1,
creatures,
Creatures 1,
extracting,
fileformat,
format,
manipulating,
photo,
photoalbum,
spr
Saturday, November 29, 2014
Parsing Creatures 1 .spr files (Extracting/Manipulating any of the game's graphics)
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.
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.
Labels:
C1,
creatures,
Creatures 1,
extracting,
file,
fileformat,
format,
image,
manipulation,
palette,
palette.dta,
parsing,
python,
spr,
sprite,
tutorial
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)