Newest Hacks

Newest Translations

C-12: Final Resistance Final Fantasy Final Fantasy II Zhong Guo Xiang Qi

Newest Utilities

SMB2 Utility [NES] Super Mario Bros Level Editor - GreatEd SMB3 Foundry Linux SMB3 Foundry Windows

Newest Reviews

FFT: Prime NBA Jam 2K20 - Tournament Edition NBA Jam 2K20 - Tournament Edition FFT: Prime

Newest Homebrew

Bad Apple!! PV-FC 2.5 Simplistic Tower of Hanoi Chicken of the Farm

Featured Hack Images

Star Wars Metroid Adventure Metroid Mutation Super Mushroom

Featured Translation Images

Hello Kitty no Hanabatake Tenchi Muyo!: Game Hen Farland Story: Tenshi no Namida Tales of Phantasia

Recent Updates

Koei Decompress

Compression / Decompression

Description:

This program is used to compress and decompress graphics/data/some text from several Koei games for the SNES. This program has been confirmed to work with Romance of the Three Kingdoms III and IV, Gemfire, and Genghis Khan II. It should work with any other Koei game that uses the same compression format.

Results of a decompression will be stored in a file with the extension .kdf (Koei decompressed file). Results of a compression will be stored in a file with the extension .kcf (Koei compressed file). In addition to these file types, running a decompression will also generate a file with a .dat extension. This file holds information regarding the hex offsets of compressed data in the ROM, corresponding locations in the .kdf file, and also the size of the sequence in bytes both compressed and uncompressed. Once the data is decompressed, graphics data can be easily viewed using a different tool, such as TileLayerPro.

Run times vary, with decompression of the entire ROM taking sometimes over a minute to handle, depending on your computer. Re-compressing individual sequences should no longer take a long time in V1.1. The largest individual sequences I have found in Koei games are about 20kB when decompressed. Compressing anything significantly larger than this could take awhile, as compression is much slower than decompression.

V1.1: Fixed a problem with a variable that would cause errors at the end of a compression sequence. Also made improvements to the efficiency of the compression algorithm, making it run significantly faster.

Links:

User Review Information
No User Reviews!