Skip to content

LZOn decompressor for DS Download Station multiboots.

License

Notifications You must be signed in to change notification settings

Prof9/LZOnDecompress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LZOnDecompress

Quick and dirty LZOn decompressor. LZOn is the format used for compressed multiboot files in DS Download Station ROMs.

Usage:

LZOnDecompress.exe <filename>

Produces filename.nds in the working directory.

NO SUPPORT PROVIDED. Feel free to report bugs though.

LZOn reference

0x00: Magic "LZOn"
0x04: Magic 0x00,0x2F,0xF1,0x71 (presumably)
0x08: Size of decompressed file (32-bit, big endian)
0x0C: Size of compressed file minus 0x11 (32-bit big endian)
0x10: LZO compressed data stream (follows https://www.kernel.org/doc/Documentation/lzo.txt). Note that 16-bit values in the LZO stream are little endian.

Output generated by decompressing the LZO data stream and then padding to the decompressed file size specified in the header with 0x00 bytes.

About

LZOn decompressor for DS Download Station multiboots.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages