DSZip

From GameBrew
Revision as of 03:11, 28 November 2012 by HydeWing (talk | contribs) (Created page with "{{Infobox homebrew | title = dsZip | image = | type = Utilities | version = 0.01 Pre-alpha | licence = GPL | author = pierluig | website ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
dsZip
General
Author(s)pierluig
TypeUtilities
Version0.01 Pre-alpha
LicenceGPL
Links
[Media:Dszip001.gz Download]
Website
Advertisements

<htmlet>adsense</htmlet>


dsZip is a handy utility to compress and decompress .nds files directly on the Nintendo DS. This way it is possible to store many more homebrew applications (or whatever floats your boat) on a memory card than possible when using normal files, and decompress them only when you really want to use them.

User guide

When dsZip is run it displays a list of files and directories present in the current directory (that is, the one it has been launched from). Only .gz files are currently listed, as those are the only one you can decompress for now.

If it is a file, dsZip will try to decompress the file. It will list the gzip'd file name, the output file name and then a progress indicator (for every compressed block that has been decompressed a . is printed). Decompression is done when the message asking you to reboot your DS is printed on screen. Please wait for that message before resetting or power cycling your DS. If it seems to be stuck it might be because you are decompressing a very large file. Just wait a bit. An uncompressed 128MB file can take up to 4-5 minutes.

Just before the reboot message an exit code is printed. 0 is fine, everything else represents failure.

The gzip decompressor is tested with different compressed file sizes, up to 128 MB.

NOTE: this is pre-alpha quality code. It might work, or not. It might fail in silent and subtle ways. It might destroy your console, or it might eat your data. Use at your own risk.

Controls

Up/Down - change the currently selected entry

A - take action

B or "activating the .." - back to the parent folder

Known issues

Error reporting is minimal (hint: result = 0 means everything is fine).

NO checks on the output file name apart from extension stripping (could overwrite something important).

Compression does not work yet.

Archives different from .gz are not supported (even if gzip can normally handle them).

No check is done for available space on the device.

Compatibility

Tested on a DS Lite with a R4 adapter.

Advertising: