[ scummvm-Bugs-3539822 ] TEENAGENT: Not working without zlib

SourceForge.net noreply at sourceforge.net
Tue Jul 3 19:23:05 CEST 2012


Bugs item #3539822, was opened at 2012-07-03 10:23
Message generated for change (Tracker Item Submitted) made by lordhoto
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3539822&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: TeenAgent
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Johannes Schickel (lordhoto)
Assigned to: Nobody/Anonymous (nobody)
Summary: TEENAGENT: Not working without zlib

Initial Comment:
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.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3539822&group_id=37116




More information about the Scummvm-tracker mailing list