Opened 17 years ago

Closed 17 years ago

Last modified 12 months ago

#7245 closed enhancement

Gzip cutscene-files/LEC-style talkies

Reported by: SF/thanius Owned by: fingolfin
Priority: normal Component: --Other--
Keywords: Cc:
Game:

Description

You should implent gzip (or compression) support for
cutscene-files as in The Dig and Full Throttle. As for
the moment, the game takes a total of 421 MB with
compressed audio and speech. It would be great if it
were possible if we could reduce this size to about
half, at least.

Another thing, one thing I've hated with the Simon
talkies is that you can't display text and speech at
the same time as in the LEC-talkies.
This would be great, because the speech's got low
volume and sometimes you can't hear what they say. This
could be really annoying, specially when you've got
stuck somewhere.

Ticket imported from: #643024. Ticket imported from: feature-requests/61.

Change History (9)

comment:1 by fingolfin, 17 years ago

Owner: set to SF/ender

comment:2 by fingolfin, 17 years ago

This would require us to add in compression code. Either
zlib (what you call gzip) or something else. Since ender
expressed his dislike for zlib, that seems to be unlikely.
Maybe we will use LZO for save game compressions, but we
need permission from the author for that and we haven't yet
heard from him.

Assigning this to ender so that he may comment.

comment:3 by SF/saubloed, 17 years ago

I think bzip2 is the best free data compressor. I dont like if somthing is compressed with bad compression factor (like gzip/zlib?) because you cant compress something twince.

comment:4 by fingolfin, 17 years ago

It's not as simple as that.

First off, of course you can compress stuff twice, and if it
was really badly compressed the first time, you will even
save space (but that largely depends on the data and the
algorithms used).

Secondly, gzip/zlib is certainly not bad! In many areas,
bzip2 beats it, true, but it's not true that it is always
better.

Furthermore, compression ration is not the only factor.
Other factors include license of the lib, portability, speed
of decryption (bzip2 is much slower than gzip), memory usage
(bzip2 needs memory buffers, and the better the compression
ratio you want, the higher the buffer and the more time used).

In any case, don't get me wrong, neither am I suggestion we
will use zlib nor bzip2. We might not do this *at all* in
fact. Or if we do it, might use a 3rd library or even our
own compression code.

comment:5 by Kirben, 17 years ago

I don't think combined subtitles and voices will be possible in
the Simon the Sorercer games for several reasons:
Simon the Sorcerer 1 talkie/win don't include full text for the
game.
The subtitles in Simon the Sorcerer 2 don't match the voices
exactly.
It seems impossible to get the timing correct in all cases,
with subtitles showing up too late and disappearing too
quickly. Since many of the voice files contain multiple
sentances.

comment:6 by fingolfin, 17 years ago

Owner: changed from SF/ender to fingolfin
Status: newclosed

comment:7 by fingolfin, 17 years ago

Closing this two-part FR (please in the future file on request per suggestion :-).

Regarding the compression, this is covered by FR #663772, and the subtitle part is apparently not really possible (see comments).

comment:8 by wjp, 6 years ago

Component: Engine: SCUMM

comment:9 by digitall, 12 months ago

Component: --Other--
Note: See TracTickets for help on using tickets.