Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4716 closed defect (fixed)

GUI Tools: compress_sword2 does not work

Reported by: criezy Owned by: sev-
Priority: normal Component: Tools
Version: Keywords:
Cc: Game:

Description

Using GSoC 2009 GUI Tools compiled on Sunday November 29, 2009 (today) Intel Mac running MacOS X

Both the GUI and the CLI do not work. With the GUI it stops right at the beginning with the following error: Fatal Error Occured: Read beyond the end of file (tempfile.wav)

I gives the same error wether I select speech1.clu or music1.clu as input file.

With the CLI it seems to compress the data correctly but fails to create the output file:

$ ./tools_cli --tool compress_sword2 BS2/speech1.clu [... a lot of lame ouput]

Fatal Error : Could not open file BS2/speech1.clu

And I have temporary files lying around (tempfile.dat of 52.7 Mb, tempfile.idx, tempfile.wav and tempfile.mp3)

If I try to specify an output directory with -o BS2/compressed I get the result although th error message changes slightly: Fatal Error : Could not open file BS2/compressed/

And if I try to give an output file name (-o BS2/compressed/speech1.clu) the error message becomes Fatal Error : Could not open file BS2/compressed/speech1.clu/

(which confirm it is expecting a directory with -o I suppose)

Ticket imported from: #2905706. Ticket imported from: bugs/4716.

Change History (2)

comment:1 by sev-, 11 years ago

Fixed in r46608.

comment:2 by sev-, 11 years ago

Owner: set to sev-
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.