Browsing around the internet I came across this and as we are often in need of capable LZSS decompression tools I thought I would link it up.
For those not familiar the GBA and DS are fairly powerful consoles and as such can afford to use compression fairly extensively and as such they make extensive use of it.
Probably the most popular compression type is LZSS and there are several variations upon it usually noted by a flag/hexadecimal magic stamp in the initial bytes of compression or just before.
type 10 is the most common and oldest- if I am not mistaken it is the method that the BIOS SWI calls can handle. Most LZSS compression tools you will find geared towards GBA and DS stuff use this method.
type 11 appeared some time back and was incompatible with type 10, crystaltile2 was among the first applications to support it.
type 40 according to the NFO at least appeared recently in the DS release of Golden Sun.
It supports both compression and decompression of these compression types.
There are other types out there (Sylvanian Families had a writeup of the custom compression somewhere) and you should note that even if it is BIOS compatible compression the SWI calls will not always be used (they are a bit slow on occasion).
I have not had time to put it through much but a new tool is always nice to have, if it saves having to load up and beat the options of crystaltile2 into shape that is even better- naturally it is fairly limited in scope so if you have say compressed files within an archive (I have seen several NARC files like this in the past and some of the big package formats used by some games also use it) but the header for the file is standard/uncompressed you might run into trouble- it is not hard to slice it up and feed it to the tool but if you were coming from some of the compression searching tools or are trying to use it on the GBA it might take a bit of getting used to.
According to the NFO however it should support standard ARM9.bin and overlay compression methods.
Basic screenshot
Readme (In French)
Filetrip download
http://filetrip.net/f23640-Codec-LZSS-DS-1-0.html
My source
http://nintendo-ds.logic-sunrise.com/news-...ichiers-ds.html
Author/project homepage
http://myth-project.legtux.org/
For those not familiar the GBA and DS are fairly powerful consoles and as such can afford to use compression fairly extensively and as such they make extensive use of it.
Probably the most popular compression type is LZSS and there are several variations upon it usually noted by a flag/hexadecimal magic stamp in the initial bytes of compression or just before.
type 10 is the most common and oldest- if I am not mistaken it is the method that the BIOS SWI calls can handle. Most LZSS compression tools you will find geared towards GBA and DS stuff use this method.
type 11 appeared some time back and was incompatible with type 10, crystaltile2 was among the first applications to support it.
type 40 according to the NFO at least appeared recently in the DS release of Golden Sun.
It supports both compression and decompression of these compression types.
There are other types out there (Sylvanian Families had a writeup of the custom compression somewhere) and you should note that even if it is BIOS compatible compression the SWI calls will not always be used (they are a bit slow on occasion).
I have not had time to put it through much but a new tool is always nice to have, if it saves having to load up and beat the options of crystaltile2 into shape that is even better- naturally it is fairly limited in scope so if you have say compressed files within an archive (I have seen several NARC files like this in the past and some of the big package formats used by some games also use it) but the header for the file is standard/uncompressed you might run into trouble- it is not hard to slice it up and feed it to the tool but if you were coming from some of the compression searching tools or are trying to use it on the GBA it might take a bit of getting used to.
According to the NFO however it should support standard ARM9.bin and overlay compression methods.
Basic screenshot
Readme (In French)
Code:
Codec LZSS DS
Auteur : Loki
Version du : 26 / 12 / 2010
Ce codec peut compresser et décompresser des fichiers avec les algorithmes LZSS de
type 0x10, 0x11 et 0x40. Il peut aussi décompresser les fichiers arm9.bin et overlay.bin.
Le type 0x40 n'est autre que la protection apparue pour la première fois le 28 octobre 2010
dans la version japonaise du jeu Golden Sun: Dark Dawn / Obscure Aurore.
Bonne traduction...
Filetrip download
http://filetrip.net/f23640-Codec-LZSS-DS-1-0.html
My source
http://nintendo-ds.logic-sunrise.com/news-...ichiers-ds.html
Author/project homepage
http://myth-project.legtux.org/