hmmm sevenzip has the lzma sdk lzma is the engine used.
bzip is also another type that should work.
If it is possible you may have to call libs for bgt to use.
nvda is in python and does use a sertain number of c libs so I assume at
least in python they can be called.
What about using command line 7zip as a program you called to do things
not as elogent but still.
what about writing to the authors of 7zip ofcause you may not be able to
call it directly for the interface bgt uses.
On 25/09/2015 11:55 a.m., john wrote:
This is actually on the subject of gaming, or at least game development.
To anybody who has experience with such things, do you know of any way I can
get usable compression of some sort running under bgt?
The specter of saving/loading games is moving closer and closer, and its
starting to look like my save games may have to be rather large (we're talking
several if not tens of megabytes). On the plus side they're probably also going
to be easily compressible text (or something close to it, anyway), which leads
to my posting this question.
I could probably write something to work with the command-line version of
7-zip, but then I'd have to distribute that along with the game, which is
something I really don't want to do. There's also the issue of several cmd
windows popping up every time the user tries to save or load games (I'm not
hacking, I swear. Those batch files really do have a reason to be running in
the middle of your game).
I've gone looking for the docs for 7z.dll, but they seem to be nonexistent to
anybody who doesn't know c/c++. This is very much a category that includes me.
I'd really love to use the 7-zip interface (specifically its included ppmd
algorithm), as I suspect it'd be able to compress the aforementioned save file
down to a couple hundred kb, which would be at least a bit more manageable.
In addition, there are also some potential bgt limitations coming into play
here - specifically a really limited ability to work with binary files and a
UTF-8 only string setup.
If anybody could pull me out of the fire on this one it'd be really appreciated
- I'm just not creative enough to find a way to shrink saved games while
maintaining all the needed information, so compression is looking like the
best/only option currently available.
Thanks,
John
---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [email protected].
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of the list,
please send E-mail to [email protected].
.
---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [email protected].
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of the list,
please send E-mail to [email protected].