xmame  

Re: use of tar.gz to compress the roms

Raul Fernandes
Mon, 27 Nov 2000 12:41:28 -0800

How do you compress the roms?? All in one package??
I think that you do that, because the decompress process in my computer is really fast.
Or you think that the Xmame will decompress the files every time that it need the 
roms. I thought about the Xmame decompress all files in tar.gz file to /tmp and uses 
this files. So, the Xmame will decompress the files one time.
About the saved space, I think that gz compress about 30% more than zip, and bz2 about 
20-30% more than gz. It is much space for me. Imagine the saved space in 2000 roms.
And the gz and bzip2 are open formats. The zip not.
And the last argument, the Xmame will be more powerfull and flexible if it supports 
.zip, .tar.gz and .tar.bz2 formats.

Bye

Raul Fernandes
[EMAIL PROTECTED]
Brasília-Brazil

> 
> On Sun, 26 Nov 2000, Lawrence Gold wrote:
> > I'm definitely in favor of supporting .tar.gz and .tar.bz2 formats for
> > roms.  I've toyed with the idea of implementing it myself, but hadn't
> > gotten around to doing it yet.
> 
> I did it cheaply using popen, but the seek times were terrible and it just
> wasn't worth the saved space.  If it were to be done properly you would need
> to be able to get gzip to save state at the beginning of each file in the
> archive so you could use that information to seek (which I expect you should
> be able to do, but I'm too lazy to look).  Either that or you would have to
> be careful how you ordered the files in the archive, or temporarily
> decompress everything into a directory.
> 
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]