Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#4709 closed defect (fixed)

GUI Tools: issue with CLI output directory

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

Description

Using the GSoC 2009 GUI tool compiled on Saturday November 28 2009 on an Intel mac running MacOS X 10.4.

I tried using the -o and --output flags and it always fails. It seems it is not possible to give an output directory. Here is an example with extract_scumm_mac, but I also tried with compress_scumm_sou, compress_scumm_san and compress_scumm_bun

$ mkdir output_dir $ ./tools_cli -o output_dir Day\ of\ the\ Tentacle\ Data

Running using extract_scumm_mac terminate called after throwing an instance of 'ToolException' what(): Could not parse arguments: Expected path after '-o' or '--output'. Abort trap

I also tried -o output_dir/, --output output_dir, --output=output_dir, and I tried with the full path instead of a relative path. Nothing worked. I always get the same message, except when using =, I get a different error message:

Possibly ignored option --output=output_dir. Fatal Error : Could not open file --output=output_dir

Ticket imported from: #2905462. Ticket imported from: bugs/4709.

Change History (2)

comment:1 by joostp, 14 years ago

There were some grave bugs in the output path setting code. Obviously this was never tested by the student *sigh*. Should be fixed now. Thanks for reporting!

comment:2 by joostp, 14 years ago

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