Opened 17 years ago

Closed 17 years ago

Last modified 6 years ago

#7570 closed feature request (wontfix)

GOB: tool to compress ITK speech files

Reported by: SF/glorifindel Owned by: DrMcCoy
Priority: low Component: Engine: Gob
Version: Keywords:
Cc: Game: Goblins 3

Description

Hi, have you planned the support for compressed ITK files (speech files in Goblins 3)? In my multilanguage version they are 4, one for each language, and their size is about 90MB for file.

Ticket imported from: #1729984. Ticket imported from: feature-requests/386.

Change History (5)

comment:1 by SF/glorifindel, 17 years ago

Priority: normallow

comment:2 by DrMcCoy, 17 years ago

Owner: set to DrMcCoy
Resolution: wontfix
Status: newclosed

comment:3 by DrMcCoy, 17 years ago

Well, that's not that easy. *g* First of all, ITKs are the same as STKs, only an archive format bundling several files together. The actual speech is within the IMD videos. And there lies the problem, the sound is interleaved with the video. There are n sound frames as a preliminary buffer, after that, there are alternating video and sound frames. So a compressor would have to take the IMDs, go through them, collect all sound frames, compress the resulting sound, split the compressed sounds into chunks having _exactly_ the same lengths as the orignal ones and put re-interleave them with the video. Moreover, all offsets to different parts of the video have to be re-adjusted, and there are lots in a normal IMD. All in all, rather complicated.

Also, it wouldn't make the ITKs that smaller, since only a part, the sound, is compressed then, while the video stays that way. And yes, the video frames are already (losslessly) compressed.

Ah, and no, you can't just take only one copy from each video and throw the rest (from the other languages) away, the videos are timed so that the mouth-movement fits with the spoken word.

You can however only keep the file for the language(s) in which you intend to play. If you play, for example, in english, the game doesn't need the other files.

Therefore, I'm rejecting that request...

comment:4 by SF/glorifindel, 17 years ago

Ok, I didn't think it was so difficult, I'll keep only the ITK I need, thanks for the reply.

comment:5 by digitall, 6 years ago

Component: Engine: Gob
Game: Goblins 3
Note: See TracTickets for help on using tickets.