Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!ericom!eos.ericsson.se!etxtomp From: etxtomp@eos.ericsson.se (Tommy Petersson) Newsgroups: comp.sys.amiga.games Subject: Re: Amiga Omega followup... Message-ID: <1991Jan4.163645.11041@ericsson.se> Date: 4 Jan 91 16:36:45 GMT References: <2510@wn1.sci.kun.nl> <1990Dec3.164405.7877@diku.dk> Sender: news@ericsson.se Reply-To: etxtomp@eos.ericsson.se Organization: Ericsson Telecom AB Lines: 33 In article rg20+@andrew.cmu.edu (Rick Francis Golembiewski) writes: > >ovb10@cs.kun.nl (Patrick Atoon) writes: > > >>Does it also LHarc it's saved games? I recently LHarced a 131068 bytes >>saved game and got a 8098 (94% shorter!!!) bytes file in return. No >>wonder that my disks get a bit crowded with saved-games. So if there is to > >Yes there is a great savings with compression, and in fact the code >does support compression of character files using compress (brings >save file from ~200K to around 30K), however here is how it works: >omega writes the file to disk and then runs compress on the file. >Also it will ONLY read compressed imput files (although this could be >changed), plus it needs the full 200K free to be able to uncompress >the file. Also not everyone has compress and I didn't want to make it >part of the omega distribution. Besides nothing is stopping YOU from >manually compressing the character files and uncompressing them when you want >to play (that's what I do). After considering all of the problems I >decided that the compression feature wasn't worth the trouble, >especially since you had to have the full space for the file anyway... > >// Rick Golembiewski rg20+@andrew.cmu.edu \\ >\\ #include stddisclaimer.h // > \\ "I never respected a man who could spell" // > \\ -M. Twain // If the compression routine is included in Omega (not a call to an external program), it goes much quicker and you DON'T need to have space on your disk for the full file. (source code for lharc in C is available, and only a part of it needs to be incorporated). Tommy Petersson