Ok, ok, there i go again... we have to clear a bit our ideas... seems that there's a little missunderstand with everyone

.
1. I told ficedula that his compression routine was not perfect because when you extract and recompress a file WITHOUT touching it in any way the file size increase. With the compression routine i use in the command-line program in the second post the compressed file is exactly the same as the original.
2. When i modify a files is normal that it change, but the routine is still the same as the original. In the way the text is changed is better for the compression, we'll have a smaller file else, the file will be bigger. But the IMPORTANT THING is that the compression is the same as the one used by the game.
3. We coded a little program that manage lgp. It inserts files in the same place as the original ones, changing the whole index if is necesary. That way the flevel.lgp file size doesn't increase too much.
4. If the files are same size or smaller LGP tools reinsert them correctly... the problem is that most of the times they are bigger

btw, ficedula, as you know i've done a lot of work with ff7 and i know (almost) exactly where the problems in your programs are. You know that if you need help to fix them (not programming

) you know where to find me
