Leaky file packing

Blitz3D Forums/Blitz3D Programming/Leaky file packing

Cousin Gilgamesh(Posted 2004) [#1]
So I'm using TeraBit's Pakmaker to pack my files into my exe. it works great, except for some reason, after running the PAKed exe, it dumps all these TMP files into the folder, as if they just didn't get cleaned up when the game got closed. does anyone know what to do to get it to stop? thanks.


TeraBit(Posted 2004) [#2]
After each pak()

Put a DlPak() at the end.

i.e.

Img = LoadImage(Pak("Myimage.jpg")) : DlPak()

That will clean as it goes!


Cousin Gilgamesh(Posted 2004) [#3]
thanks a lot.