|
From: Harry Williams <planesmart@teleteam.net> > I guess I is a programmer. I think I need to learn English. ===> yeah we can't use Latin anymore :-) > > I was converting a save file to a physical file by overrides, then > compressing it. Next I decompressed it to another physical file, then wrote > this physical file to a save file with overrides. > > I tried to go directly from a save file with the compression routine, but > when I tried to take the compressed file to a save file I got an error. The > compression routine will write to a save file. So I was trying to figure out > how to do it. ===> is the following correct? 1) you read the save file into memory, compress the data, write the compressed data to a physical file. 2) you read the physical file into memory, decompress the data, write the decompressed data (should be the same as the original save file at this point) back out to a safe file. 3) you try to restore from the save file you just wrote, but the save file is corrected. > > if the compressor is learning, is it for the one compression or will it save > the learned compression routine for next time? ===>no, the "learning" is unique to each save file, but the details depend on the compression algorithm. The phrase people use that the compressor is "adapgtive". This is a big and interesting subject.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.