[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 48K stage-loaded to 64K single-load?



On Sat, 12 May 2012, Michael J. Mahon wrote:

Steve Nickolas wrote:
On Fri, 11 May 2012, Michael J. Mahon wrote:

I think he was suggesting that you could single-load the
*compressed* levels, then replace the disk access routine
with a routine to decompress them into the level buffer.

That way, you get a lot more levels in RAM.


True. But then I can't compress them *again* - and I don't know how to use the decompression code apart from SFX.

I'm not sure I understand.  Do the levels get modified and need to
be "saved" back to RAM in compressed form?  That seems unlikely.

I'm a noob. But no - if I cut out the editor, there's no need for write routines.

Actually, I compress the whole game with a SFX (Exomizer) - this is what the "again" was referring to.

Since the levels contain lots of repetition, they should, in principle,
compress pretty well using an appropriate compression scheme (hopefully
a simple one, since compression and decompression routines need to be
small to keep an advantage).

Yeah.