Dink Smallwood C D: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| Line 41: | Line 41: | ||
* Files with ".c" extension are normal text files, while files with ".d" extension are compressed. | * Files with ".c" extension are normal text files, while files with ".d" extension are compressed. | ||
* Files with ".d" extension are compressed with custom algorithm. Decompression function can be found [https://github.com/svn2github/DinkSmallwoodHD/blob/master/source/dink/misc_util.cpp here]. | * Files with ".d" extension are compressed with custom algorithm. Decompression function can be found [https://github.com/svn2github/DinkSmallwoodHD/blob/master/source/dink/misc_util.cpp here]. | ||
* Dink's .d files are compressed using the '''Binary Pair Encoding''' algorithm, using one single block. | |||
=== Games === | === Games === | ||
Revision as of 16:32, 30 May 2021
Back to index | Edit this page
C, D
- Format Type : Text / Script
Format Specifications (*.C files)
x bytes (char) - uncompressed script data
Format Specifications (*.D files)
x bytes (char) - compressed script data
Example
Below is example of the content from decompressed water.d file from Dink Smallwood HD:
void hit( void)
{
Say("Yum, water!", 1);
}
MultiEx BMS Script
Not written yet.
Notes and Comments
- Files with this format contain scripts written in DinkC language. They should have ".c" extension after decompressing to be recognized by game engine.
- Files with ".c" extension are normal text files, while files with ".d" extension are compressed.
- Files with ".d" extension are compressed with custom algorithm. Decompression function can be found here.
- Dink's .d files are compressed using the Binary Pair Encoding algorithm, using one single block.
Games
List of games using this file format:
- Dink Smallwood
- Dik Smallwood HD
Compatible Programs