Python3 data decompression/recompression for FF8:
PS1, NTSC-U SLUS-00892
It expects a single block of compressed data that you have located and extracted to a binary file named "FF8cmpblock.bin". You can do this with copy paste in a hex editor.
It expects the compressed data length to be contained in the first 4 bytes of the compressed block. If, for any reason, the length is not included, you must insert yourself into those first 4 bytes for the program to work.