A brand new game
for Windows, Linux, Mac, HTML5, 3DS Homebrew and more
every week,
unless exhausted!
About Games Music Pixelart Poetry Home Patreon Scores JNKPlat Levels
Memory Management B - Compression!
  3rd September, 2018
Amazing what a little hand-made data compression can do!!


325463 characters have just been reduced to 119812 characters
That's around about 37% the original size, and only with very simple "Did it in Notepad" data compression!

A very very simple case of replacing 1 with A, 11 with B, 111 with C, 1111 with D, etc, etc up to 26x1's for Z.
The same was done for repeating 0's to lowercase letters.
(Incidentally, best to do this from Z to A, rather than A to Z, for obvious reasons!!)

I did it manually in notepad, then got the game engine to do the reverse, and the entire game's internal data has now been reduced by about 200kb.
The game now runs on the 3DS with all the level data still inside.

Lovely stuff!

Views 86, Upvotes 2
Daily Blog
Site credits : Site built from the ground up, in php, using Programmer's Notepad 2, and a very bored Jayenkai.
(c) Jayenkai 2017 and onwards. RSS feed
Blog - Memory Management B - Compression! - AGameAWeek