Board Thread:Plants vs. Zombies 2/@comment-25546049-20150703183553/@comment-7234182-20150706180055

I'm trying to track down the memory issues plaguing the unpacker. I'm not sure if these can be solved, because a 4096x4096 texture will use at least 67108864 bytes (64 MB) worth of memory (required to render it), plus whatever the size of the original compressed or uncompressed texture was in the files (which could could be anywhere from 32 MB to 64 MB).

I'm also rewriting some of the internals to streamline the code. Because I also plan to include texture repacking, I'm also seriously considering rewriting the whole thing in C or C++, because texture compression is very memory-intensive and I'm afraid Java will have a hard time handling it.

More to come.