Path: chuka.playstation.co.uk!tjs From: tjs@cs.monash.edu.au (Toby Sargeant) Newsgroups: scee.yaroze.freetalk.english Subject: Re: Compressing TIMs... Date: 29 Sep 1998 03:18:39 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 26 Message-ID: References: <36101E37.52C5@mundivia.es> NNTP-Posting-Host: longford.cs.monash.edu.au X-Newsreader: slrn (0.9.4.3 UNIX) On Tue, 29 Sep 1998 01:39:35 +0200, Javier Ventoso wrote: >Hi All, > >A few days ago, I started to code a ms-dos program to compress >TIMs in PSX main memory and restore it in frame buffer. >You can download the program 'TimZip' ( with sources ) and an >example in my page: http://www.netyaroze-europe.com/~javier/ >This is a Beta version, only works with 4/8 bits TIM formats, >I've only implemented RLE encoding method, I've tested Huffman tress >encoding but it doesn't compress enought. >Anyway, if your TIMs hasn't got some blocks of lines with the >same color, your compress TIM could be greater than original TIM!!!. > >Next updates: Full TIMs/VABs/VAGs support, LZW+RLE encoding or >maybe Fractal/JPG. > >Cheers. > >Javi. Maybe it's an idea to port zlib to the playstation. it does adaptive huffman encoding and lzw compression. the source is freely available, and it's the same algorithm that gzip and pkzip use. it'd save you a lot of work, in the long run. Toby.