Execute o seguinte script perl no diretório que contém o arquivo (por exemplo, o que você vinculou ao seu arquivo Q, media.ini.z):
#!/usr/bin/perl -w
use strict;
use Compress::Zlib;
my ($tempFilename2, $tempFilename1, $gz, $buffer, $gzerrno);
$tempFilename1 = "mediainf.ini.z";
$tempFilename2 = "mediainf.ini";
open (GZIPFILE, "$tempFilename1")
|| warn "Can't open zip input file: $tempFilename1: $!";
binmode GZIPFILE;
open (DATAFILE, ">>$tempFilename2")
|| warn "Can't open uncompressed data file: $tempFilename2: $!";
binmode DATAFILE;
my $x = inflateInit()
or die "Cannot create a inflation stream\n" ;
my $input = '' ;
my ($output, $status) ;
while (read(GZIPFILE, $input, 4096))
{
($output, $status) = $x->inflate(\$input) ;
print DATAFILE $output
if $status == Z_OK or $status == Z_STREAM_END ;
last if $status != Z_OK ;
}
die "inflation failed\n"
unless $status == Z_STREAM_END ;
Saída do mediainf.ini:
00:01=outinf_md5&lang_cd;
00:02=db_area_name&db_fname&part&dir&decomp_sz&file_op&ftype&data_type_id&area_id;
01:c3031a6ffb4e0d09f88043b6692b956c&en;
01:c3031a6ffb4e0d09f88043b6692b956c&fr;
01:c3031a6ffb4e0d09f88043b6692b956c&de;
01:c3031a6ffb4e0d09f88043b6692b956c&es;
01:c3031a6ffb4e0d09f88043b6692b956c⁢
01:c3031a6ffb4e0d09f88043b6692b956c&pt;
01:c3031a6ffb4e0d09f88043b6692b956c&nl;
01:c3031a6ffb4e0d09f88043b6692b956c&ru;
01:c3031a6ffb4e0d09f88043b6692b956c&none;
Veja também este outro Perguntas e respostas sobre alternativas para descompactar dados brutos do zlib.