Opened 14 years ago
Closed 14 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 |
Description
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 , 14 years ago
| Owner: | set to |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |

The data file has been unpacked in r13a5e58