Code Monkey home page Code Monkey logo

Comments (5)

bmaupin avatar bmaupin commented on June 22, 2024 1

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.

from xoreos-tools.

DrMcCoy avatar DrMcCoy commented on June 22, 2024

1.

$ ./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!


2.

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!


3.

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.

from xoreos-tools.

DrMcCoy avatar DrMcCoy commented on June 22, 2024
  • Fixed the mission short options (2.) with fdc4e0a
  • Fixed the wrong examples in the man page (1.) with 3203b5c

from xoreos-tools.

bmaupin avatar bmaupin commented on June 22, 2024

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"

from xoreos-tools.

DrMcCoy avatar DrMcCoy commented on June 22, 2024
$ ./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?

from xoreos-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.