[opendemo-devel] zlib problems
Status: Beta
Brought to you by:
girlich
From: Conor D. <co...@ma...> - 2002-01-22 06:27:53
|
Hello, I've pretty much given up on getting zlib to work with qvm files, especially with the garbage return value bug. I started to do a bunch of hacks the stored return values in global variables, but that addresses the symptoms and not the problem. Anyway, in my testing I've found that the qvm maximum stack size seems to be 512K (after that quake3 crashes). I suspected that zlib was exceeding the maximum stack size, but with 512K it looks doubtful. Instead of zlib, maybe we should use a binary XML format similar to wbxml? It could even speed things up, since we could store numbers in binary instead of text. I reduced the number of demo states from 16 to 1, which reduced the memory footprint from 11 megs to 3 megs. The file format is unchanged for now (I plan to mess with it soon). -Conor |