is there some way to compress data in programs?

1

Raichu 2026-03-14 13:13

well, everyone should know that the Lowres NX console only offers you 32KB of ram to use and code. is there any way to compress major data down to have more space to code? or something like an “expansion pack” in the code to push the capabilities and load more data at will? i would love to know.


wryhode 2026-03-14 13:27

unfortunately you cant compress the code itself BUT data in the rom can be compressed during creation and uncompressed at runtime. look into run length encoding or lz4 for speed or maybe more modern algorithms for better compression ratios. iirc someone has done it before but i couldnt find the post :shrug:


Log in to reply.