Opened 12 years ago

Closed 12 years ago

#6080 closed defect (fixed)

TEENAGENT: Not working without zlib

Reported by: lordhoto Owned by: bluegr
Priority: normal Component: Engine: TeenAgent
Version: Keywords:
Cc: Game: TeenAgent


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.

Change History (2)

comment:1 by bluegr, 12 years ago

Owner: set to bluegr
Resolution: fixed
Status: newclosed

comment:2 by bluegr, 12 years ago

The data file has been unpacked in r13a5e58

Note: See TracTickets for help on using tickets.