Can someone make a Compressor & decompressor


Wild William 2022-09-10 11:00

Does anyone have a compressor and decompressor for nx files, it always annoys me how empty files are

Timo 2022-09-10 18:40

What do you mean with empty files? Empty lines?

nathanielbabiak 2022-09-11 00:05 (Edited)

In the Gfx editor, character/bitmap data always gets stored starting at character 0. Also, the console automatically copies any data from rom(2) to the display RAM beginning at character 0. Thus, if you find you have zero-filled roms, maybe try using the lower character numbers.

But, if all that is off-topic and not the info you need, I uploaded a compressor tool with decompression code included. It's here.

SP4CEBAR 2022-09-11 14:45 (Edited)

The data formats used by NX are pretty simple, the (maximum) size is fixed, and every item is always stored in the same place,
making dynamic files that require a program to jump through it, or read an index, could be painful to work with

nathanielbabiak 2022-09-14 04:14 (Edited)

If you're asking about sound data (not graphics), try using lower track numbers. Empty tracks after the last one used don't need to be stored.

Log in to reply.