Closed bmaupin closed 2 years ago
$ ./xoreos-tools-0.0.5-linux64/convert2da ~/.steam/steam/steamapps/workshop/content/208580/485537937/override/appearance.2da -o appearance.csv
If you look at the help text, the usage is
convert2da [<options>] <files[...]>
I.e. the options have to come before the files to operate on. First all the options (including output format and output file), then the input file(s).
So the correct line for you would be:
$ ./xoreos-tools-0.0.5-linux64/convert2da -o appearance.csv ~/.steam/steam/steamapps/workshop/content/208580/485537937/override/appearance.2da
The examples in the manpage are wrong, though. I'll fix that, thanks!
Technically, the man page doesn't list -a
, -b
, -c
instead of the long versions, but in addition. I.e. you can use either -a
or --2da
, both are supposed to do the same. Just like -o
and --output
do the same.
But you're right, the short options for --2da
, --2dab
and --csv
got lost in a refactor, and I didn't notice or forgot to change the man page. I'll add the short options back. Thanks!
Yeah, that's a typo that got fixed in 9d66762. We didn't have a release since then, so there's unfortunately no release package with the fix, so you'll have to use --cvs
for now. Sorry about that.
I.e. the options have to come before the files to operate on. First all the options (including output format and output file), then the input file(s).
So the correct line for you would be:
$ ./xoreos-tools-0.0.5-linux64/convert2da -o appearance.csv ~/.steam/steam/steamapps/workshop/content/208580/485537937/override/appearance.2da
I forgot to mention it, but I remember seeing that in the usage and I tried it but it didn't work either:
$ ./xoreos-tools-0.0.5-linux64/convert2da -o appearance.csv ~/.steam/steam/steamapps/workshop/content/208580/485537937/override/appearance.2da
ERROR: Can't open file "/home/user/.steam/steam/steamapps/workshop/content/208580/485537937/override/appearance.2da"
$ ./xoreos-tools-0.0.5-linux64/convert2da -o foo.csv ~/projects/xoreos/data/nwn/2da/feat.2da
$ file foo.csv
foo.csv: ASCII text, with very long lines (546)
Works fine here. Are you sure you have the correct path there?
You're right! My apologies, it's failing because I'd since deleted the files I was using to test. I thought I'd tried that when I originally ran into issues but evidently I'm mistaken.
I'm having a few problems with the command line parameters for
convert2da
.I downloaded a few versions to test with:
0.0.4 works as expected. Starting with 0.0.5 (including 0.0.6) I observe the following behaviour:
The
-o
parameter doesn't work as advertisedHere's the output of the help text:
Here's what happens when I try to use
-o
:I was able to do this as a workaround:
Related to the previous point, the man page doesn't match the help text
Here's a snippet of the output of running
convert2da
without any parameters:But the man page instead lists
-a
,-b
, and-c
:However, these options don't work any more:
--cvs
should be--csv
?Thanks!