Opened 14 years ago

Closed 14 years ago

Last modified 2 years ago

#2659 closed defect (fixed)

compress_kyra: dead.vrm error

Reported by: SF/noizert Owned by: lordhoto
Priority: normal Component: Tools
Keywords: Cc:
Game:

Description

All *.vrm encodes except for dead.vrm, which gives the following error:

WARNING: Unsupported VOC block type: 04! Assertion failed: real_samplerate != -1, file compress.c, line 294

Also something to note; when encoding 269 bytes files like CASTLE.VRM, compress_kyra turns them in to 761 bytes files (using lame).

Ticket imported from: #1503133. Ticket imported from: bugs/2659.

Change History (7)

comment:1 by lordhoto, 14 years ago

Owner: set to lordhoto

comment:2 by lordhoto, 14 years ago

Well if the resulting file is bigger, you shouldn't compress it :). It could be that the audio data is too short, so compression doesn't 'help' (= results in bigger files).

I fixed a possible bug in the compression tool, I hadn't the time to try it out yet though, so feel free to try it again with the current sources.

comment:3 by SF/richiefs, 14 years ago

Tried with the win32 build last update: June 10, 2006, 4:32 pm. The problem with dead.vrm is still present: WARNING: Unsupported VOC block type: 04! Assertion failed: real_samplerate != -1, file compress.c, line 294

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

comment:4 by lordhoto, 14 years ago

It seems that the original VOC file is broken. I guess not compressing DEAD.VRM should do the trick for now, maybe I'll add a warning/error if someone tries to compress that file. (I'll let it open meanwhile)

comment:5 by lordhoto, 14 years ago

ok I added a 'workaround' which prevents compress_kyra from trying to compress broken VOC files like 036.VOC in DEAD.VRM (it outputs a warning for those). Check a new built if you want to test it.

comment:6 by lordhoto, 14 years ago

Resolution: fixed
Status: newclosed

comment:7 by digitall, 2 years ago

Component: Tools
Note: See TracTickets for help on using tickets.