Opened 13 years ago

Closed 13 years ago

#2639 closed defect (fixed)

FF: Crashed with Movies on PSP

Reported by: SF/daniel_ewert Owned by: Kirben
Priority: normal Component: Engine: AGOS
Keywords: Cc:
Game: The Feeble Files

Description

FLOYD on PSP 0.9.0svn 28.5.2006

Floyd/The Feeble Files, i playing the german version,
crashed with movies. A few movies working, but not sync.
Game self works good. I think it has Problems with the
Sound in the dxa files. PC Version works good with the
same Files.

greets
Daniel

Ticket imported from: #1497814. Ticket imported from: bugs/2639.

Change History (9)

comment:1 by joostp, 13 years ago

Owner: set to Kirben

comment:2 by joostp, 13 years ago

Assigning to Kirben.

The crashing problem seems to be due the cutscene playback
code loading the entire WAV into memory, of which there
obviously isn't enough for large scenes.

I have no idea about the sync issue.

comment:3 by sev-, 13 years ago

I think that possible solution and (IMHO) a proper one would
be to subclass File class into

FilePart(File &in, uint32 start, uint32 len);

Which will basically overload these methods:

eof(), pos(), size(), seek()

and will work like the file is in [start..start+len] range.

It should copy original File object properties, probably by
reopening the file again.

comment:4 by sev-, 13 years ago

FileChunk is better name for that class

comment:5 by Kirben, 13 years ago

Wouldn't the constant seeking between audio and video
segments during cutscene play back cause problems on some
console systems though?

I think adding support for separate compressed sound files,
would be the best solution.

comment:6 by Kirben, 13 years ago

Summary: FLOYD / Feeble Files crashed with Movies on PSPFF: Crashed with Movies on PSP

comment:7 by Kirben, 13 years ago

I added support for separate compressed audio files and
encode_dxa will only encode the video segments of cutscenes
now.

Please recompress the Smacker files with latest encode_dxa,
along with audio segments separately. And report the
results with latest ScummVM SVN.

comment:8 by SF/daniel_ewert, 13 years ago

Now the Movies function very well. The big ones becomes a
little bit asyncron. I have converted sound to ogg. Till
present with it is the best result. Till present also no
falls. Unfortunately, writing is to be read a little bit
hard because of the resolution.

Daniel.

comment:9 by Kirben, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.