ww2ogg icon indicating copy to clipboard operation
ww2ogg copied to clipboard

could only be executed from current directory

Open zhengwx11 opened this issue 8 years ago • 1 comments

when ww2ogg is executed from other path, it could not find the right codebook file. Maybe in the code something like char* filename = './xxx.bin' is used, which, I suppose, is not general enough.

Note: The path to the program itself is contained in the argv[0]. It could be useful.

zhengwx11 avatar Aug 23 '16 02:08 zhengwx11

You're right that it only uses a relative path of "packed_codebooks.bin" which will only work if that's in the working directory.

You can work around this by giving a path with the --pcb option, the readme mentions this.

hcs64 avatar Aug 23 '16 03:08 hcs64