TEENAGENT: Not working without zlib
|Reported by:||lordhoto||Owned by:||bluegr|
Linux/amd64 ScummVM git 0a51805a8ceaeaeeaa57eb224e1adc821fd359f2 g++ 4.7.1 TeenAgent from GOG.
When starting TeenAgent in a build without zlib support it quits with: Segment::read: corrupted data!
It seems teenagent.dat is zlib compressed. Using "file" on it suggests that and the code in resource.cpp ("Common::SeekableReadStream *dat = Common::wrapCompressedReadStream(dat_file);") suggest that too.
Uncompressing teenagent.dat via gzip makes the game run again.
Personally I think requiring zlib for uncompressing the dat file is going to far. It's 138KB uncompressed and read completly into memory anyway. Also create_teenagent doesn't seem to create a zlib compressed file.
Ticket imported from: #3539822. Ticket imported from: bugs/6080.