Opened 9 years ago

Closed 8 years ago

#5473 closed defect (fixed)

TOOLS: compress_tucker with ScummVM CLI Tools not working

Reported by: SF/markcoolio Owned by: criezy
Priority: normal Component: Tools
Keywords: Cc:
Game:

Description

Hi,
always get the following output when running compress_tucker by CLI version of 1.2.0 tools (Note that the first 3 directories wont be processed correctly (no files being compressed to tucker.so3 at all), the audio one brings error message for all included files):

C:\Bud Tucker>scummvm-tools-cli --tool compress_tucker .
Processing directory 'FX'...
Done (4000 bytes)
Processing directory 'MUSIC'...
Done (480 bytes)
Processing directory 'SPEECH'...
Done (80000 bytes)
Processing directory 'audio'...
Warning: Can't open file '/audio/demomenu.raw'Warning: Can't open file '/audio/d
emorolc.raw'Warning: Can't open file '/audio/fx101.wav'Warning: Can't open file
'/audio/fx102.wav'Warning: Can't open file '/audio/fx103.wav'Warning: Can't open
file '/audio/fx104.wav'Warning: Can't open file '/audio/fx105.wav'Warning: Can'
t open file '/audio/fx107.wav'Warning: Can't open file '/audio/fx108.wav'Warning
: Can't open file '/audio/fx109.wav'Warning: Can't open file '/audio/fx110.wav'W
arning: Can't open file '/audio/fx111.wav'Warning: Can't open file '/audio/fx112
.wav'Warning: Can't open file '/audio/fx113.wav'Warning: Can't open file '/audio
/fx114.wav'Warning: Can't open file '/audio/fx116.wav'Warning: Can't open file '
/audio/fx117.wav'Warning: Can't open file '/audio/fx32.wav'Warning: Can't open f
ile '/audio/fx33.wav'Warning: Can't open file '/audio/fx34.wav'Warning: Can't op
en file '/audio/fx35.wav'Warning: Can't open file '/audio/fx36.wav'Warning: Can'
t open file '/audio/fx37.wav'Warning: Can't open file '/audio/fx38.wav'Warning:
Can't open file '/audio/fx39.wav'Warning: Can't open file '/audio/fx40.wav'Warni
ng: Can't open file '/audio/fx42.wav'Warning: Can't open file '/audio/fx43.wav'W
arning: Can't open file '/audio/fx44.wav'Warning: Can't open file '/audio/fx45.w
av'Warning: Can't open file '/audio/fx47.wav'Warning: Can't open file '/audio/fx
48.wav'Warning: Can't open file '/audio/fx49.wav'Warning: Can't open file '/audi
o/fx50.wav'Warning: Can't open file '/audio/fx52.wav'Warning: Can't open file '/
audio/fx53.wav'Warning: Can't open file '/audio/fx55.wav'Warning: Can't open fil
e '/audio/fx56.wav'Warning: Can't open file '/audio/fx57.wav'Warning: Can't open
file '/audio/fx58.wav'Warning: Can't open file '/audio/fx59.wav'Warning: Can't
open file '/audio/fx60.wav'Warning: Can't open file '/audio/fx61.wav'Warning: Ca
n't open file '/audio/fx62.wav'Warning: Can't open file '/audio/fx63.wav'Warning
: Can't open file '/audio/fx64.wav'Warning: Can't open file '/audio/fx66.wav'War
ning: Can't open file '/audio/fx67.wav'Warning: Can't open file '/audio/fx68.wav
'Warning: Can't open file '/audio/fx69.wav'Warning: Can't open file '/audio/fx70
.wav'Warning: Can't open file '/audio/fx71.wav'Warning: Can't open file '/audio/
fx72.wav'Warning: Can't open file '/audio/fx73.wav'Warning: Can't open file '/au
dio/fx74.wav'Warning: Can't open file '/audio/fx75.wav'Warning: Can't open file
'/audio/fx76.wav'Warning: Can't open file '/audio/fx77.wav'Warning: Can't open f
ile '/audio/fx78.wav'Warning: Can't open file '/audio/fx79.wav'Warning: Can't op
en file '/audio/fx80.wav'Warning: Can't open file '/audio/fx81.wav'Warning: Can'
t open file '/audio/fx83.wav'Warning: Can't open file '/audio/fx86.wav'Warning:
Can't open file '/audio/fx91.wav'Warning: Can't open file '/audio/fx92.wav'Warni
ng: Can't open file '/audio/fx93.wav'Warning: Can't open file '/audio/fx97.wav'W
arning: Can't open file '/audio/fx98.wav'Warning: Can't open file '/audio/int1.r
aw'Warning: Can't open file '/audio/int14.raw'Warning: Can't open file '/audio/i
nt15.raw'Warning: Can't open file '/audio/int16.raw'Warning: Can't open file '/a
udio/int17.raw'Warning: Can't open file '/audio/int18.raw'Warning: Can't open fi
le '/audio/int19.raw'Warning: Can't open file '/audio/int2.raw'Warning: Can't op
en file '/audio/int20.raw'Warning: Can't open file '/audio/int21.raw'Warning: Ca
n't open file '/audio/int22.raw'Warning: Can't open file '/audio/int23.raw'Warni
ng: Can't open file '/audio/int24.raw'Warning: Can't open file '/audio/int25.raw
'Warning: Can't open file '/audio/int26.raw'Warning: Can't open file '/audio/int
27.raw'Warning: Can't open file '/audio/int28.raw'Warning: Can't open file '/aud
io/int29.raw'Warning: Can't open file '/audio/int3.raw'Warning: Can't open file
'/audio/int30.raw'Warning: Can't open file '/audio/int31.raw'Warning: Can't open
file '/audio/int32.raw'Warning: Can't open file '/audio/int33.raw'Warning: Can'
t open file '/audio/int34.raw'Warning: Can't open file '/audio/int35.raw'Warning
: Can't open file '/audio/int36.raw'Warning: Can't open file '/audio/int37.raw'W
arning: Can't open file '/audio/int38.raw'Warning: Can't open file '/audio/int4.
raw'Warning: Can't open file '/audio/int41.raw'Warning: Can't open file '/audio/
int42.raw'Warning: Can't open file '/audio/int5.raw'Warning: Can't open file '/a
udio/int6.raw'Warning: Can't open file '/audio/int7.raw'Warning: Can't open file
'/audio/introdua.wav'Warning: Can't open file '/audio/merilogo.raw'Warning: Can
't open file '/audio/rdfx1.wav'Warning: Can't open file '/audio/rdfx12.wav'Warni
ng: Can't open file '/audio/rdfx13.wav'Warning: Can't open file '/audio/rdfx14.w
av'Warning: Can't open file '/audio/rdfx15.wav'Warning: Can't open file '/audio/
rdfx16.wav'Warning: Can't open file '/audio/rdfx17.wav'Warning: Can't open file
'/audio/rdfx18.wav'Warning: Can't open file '/audio/rdfx20.wav'Warning: Can't op
en file '/audio/rdfx21.wav'Warning: Can't open file '/audio/rdfx22.wav'Warning:
Can't open file '/audio/rdfx24.wav'Warning: Can't open file '/audio/rdfx25.wav'W
arning: Can't open file '/audio/rdfx26.wav'Warning: Can't open file '/audio/rdfx
27.wav'Warning: Can't open file '/audio/rdfx28.wav'Warning: Can't open file '/au
dio/rdfx3.wav'Warning: Can't open file '/audio/rdfx30.wav'Warning: Can't open fi
le '/audio/rdfx31.wav'Warning: Can't open file '/audio/rdfx33.wav'Warning: Can't
open file '/audio/rdfx36.wav'Warning: Can't open file '/audio/rdfx37.wav'Warnin
g: Can't open file '/audio/rdfx38.wav'Warning: Can't open file '/audio/rdfx8.wav
'Warning: Can't open file '/audio/rdfx9.wav'Done (1040 bytes)
Done.

Ticket imported from: #3093138. Ticket imported from: bugs/5473.

Change History (7)

comment:1 by jvprat, 9 years ago

Component: Tools
Owner: set to criezy

comment:2 by fingolfin, 9 years ago

Owner: changed from criezy to cyxx
Summary: Tucker: compress_tucker with ScummVM CLI Tools not workingTOOLS: compress_tucker with ScummVM CLI Tools not working

comment:3 by cyxx, 9 years ago

Looking through the code it seems directories detection is not currently handled as part of the tools (stat() call commented, various TODOs in tool.cpp).

As a workaround, specifiying the full path (ie. prefixed with '/') should work.

comment:4 by cyxx, 9 years ago

Owner: cyxx removed

comment:5 by digitall, 8 years ago

Owner: set to criezy

comment:6 by digitall, 8 years ago

Fixed by criezy's recent changes i.e. c69bd5ec1a3cf7452f9a38f6297d291b3f4b0ffa.
Closing.

comment:7 by digitall, 8 years ago

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