This is the part of my program (which I'm making in VB6) which writes variables to a temporary file prior to compression. Put #1, 1, Walls() Put #1, , ParticlesType() Put #1, , ParticlesXVel() Put #1, , ParticlesYVel() Put #1, , ParticlesLife() Put #1, , ParticlesTmp() Put #1, , ParticlesAlpha() Put #1, , ParticlesRed() Put #1, , ParticlesGreen() Put #1, , ParticlesBlue() Put #1, , ParticlesTemp() Put #1, , ParticlesCType() Put #1, , NumberOfSigns
yet my uncompressed file length is DREAMATICALLY SHORTER than the length of the uncompressed copy of a file that had been written by TPT itself. It seems I'm missing not just one, but several variables (it's the only thing that would account for a dramatic file size difference). The result is the compressed version ultimately ends up being read as corrupt by TPT (resulting in error box stating such) and subsequently refuses to load the file.