Coder Social home page Coder Social logo

katsuba's People

Contributors

starrfox avatar vbe0201 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

katsuba's Issues

Put together a wiki for end users

fish said datamining should be more accessible. So as a baseline we want:

  • Picture guides for Windows users on how to use a CLI

  • General explanations of the formats and why you would care about them

  • Some instructions for game modding and common datamining tasks

GitHub Wiki seems like a good place for that.

Colored output

Now that we have a --color option specifically for log output, it might be nice to use it further for regular application output.

owo-colors is nice for this and owo_colors::set_override can be used to globally configure colors based on the value of the option.

Globbing up

For any CLI command accepting filesystem paths, glob patterns should be supported for mass-processing inputs.

c bindings

c bindings will allow most languages to use the kobold library

BCD collision deserializing isn't working on given collision file

To Recreate:
kobold bcd de collision.bcd

Error:
╺━━━━━━━━━━━━━━━━━━━━┅ Backtrace ┅━━━━━━━━━━━━━━━━━━━━╸

0: ←[1m←[1mError: no variants matched at 0x25faa...←[22m
╭───────────────────────┄ Box ┄────────────────────┄

┆bad magic at 0x25faa: 99
╰──────────────────────────────────────────────────┄
╭───────────────────────┄ Ray ┄────────────────────┄

┆bad magic at 0x25faa: 99
╰──────────────────────────────────────────────────┄
╭───────────────────────┄ Sphere ┄────────────────────┄

┆bad magic at 0x25faa: 99
╰─────────────────────────────────────────────────────┄
╭───────────────────────┄ Cylinder ┄────────────────────┄

┆bad magic at 0x25faa: 99
╰───────────────────────────────────────────────────────┄
╭───────────────────────┄ Tube ┄────────────────────┄

┆bad magic at 0x25faa: 99
╰───────────────────────────────────────────────────┄
╭───────────────────────┄ Plane ┄────────────────────┄

┆bad magic at 0x25faa: 99
╰────────────────────────────────────────────────────┄
╭───────────────────────┄ Mesh ┄────────────────────┄

┆bad magic at 0x25faa: 99
╰───────────────────────────────────────────────────┄←[22m
...←[1mWhile parsing field 'data' in Shape←[22m←[22m
at kobold\src\formats\bcd.rs:139
1: ←[1mWhile parsing field 'shape' in Geometry←[22m
at kobold\src\formats\bcd.rs:159
2: ←[1mWhile parsing field 'geometry' in Bcd←[22m
at kobold\src\formats\bcd.rs:170

Can provide collision file if needed

Shell completions

The clap_complete crate generates shell completions for a few notable shells out of the box.

We could have a dedicated command for producing completion files at runtime to let the user install them. flake.nix should detect the current shell and do this installation automatically.

KIWAD Security

We need to tighten security as Katsuba grows more popular amongst end users.

Specifically, we need to

  • make sure that paths we extract from a KIWAD archive are within the specified output directory

  • protect against "zip bomb" constructs where file records specify overlapping data ranges

wad pack is already hardened against creating malicious files because it only accepts a single input directory to pack and does not resolve symlinks.

add --raw flag to op out

a raw flag that prints the class/property hashes and their raw data

this will help with decoding server types

Bad errors in CLI

The Rust filesystem API inherits the notoriously bad error messages provided by the OS.

At some point we need to assess where they can occur and provide better ones through anyhow's .with_context().

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.