Opened 2 years ago

Closed 2 years ago

#9650 closed defect (fixed)

TOOLS: compress_touche not working in windows

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

Description

I can't compress Touche audio files neither with CLI nor with the tools GUI (advanced / compress_touche).
I'm using tools version 0.19.0 in windows 7.

I've tried:

"C:\Program Files (x86)\ScummVM\tools\scummvm-tools-cli.exe" --tool compress_touche --flac -o "E:\touche" "E:\touche"

Unexpected input file 'E:\touche'!
"C:\Program Files (x86)\ScummVM\tools\scummvm-tools-cli.exe" --tool compress_touche --flac -o "E:\touche" "E:\touche\*"

Unexpected input file 'E:\touche\OBJ'!

The compression works with no problem using old tools version 0.13.0 (CLI).

Change History (3)

comment:1 Changed 2 years ago by criezy

This tool expects as input to be given a directory that contains a file named 'TOUCHE.DAT'. Can you confirm that you have this file in E:\touche\?

I do not get the error myself if I properly give as input the directory that contains my touche.dat (and all the other files required to play the game). But I do get the error if I give a random directory or if I rename or remove the touche.dat file.

comment:2 Changed 2 years ago by criezy

Owner: set to criezy
Resolution: worksforme
Status: newpending

Note that there was a separate issue with the output name that caused the tool to fail when providing an output directory or output file name. The error was different from the one you were getting though:

"C:\Program Files (x86)\ScummVM\tools\scummvm-tools-cli.exe" --tool compress_touche --flac -o "E:\touche" "E:\touche"
Could not open file E:\touche/

I fixed this error today. But if you are using version 1.9.0 you need to avoid using the -o option (and the file will be created in your current directory).

comment:3 Changed 2 years ago by sev-

Owner: changed from criezy to sev-
Resolution: worksformefixed
Status: pendingclosed
Note: See TracTickets for help on using tickets.