Skip to content

harmw/xrk-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xrk-cli

Simple cli to read AiM xrk data files.

Development

Early stages CLI, exploring possibilities.

⚠️ the is based around the Rust xdrk lib, which in turns wraps around libmatlabxrk.so.0, which is actually libxdrk-x86_64.so which means:

  • Linux
  • x86_64

in my case, both my M1 Macbook and FreeBSD server are utterly useless here (well, I'm building this on a bhyve vm, so there's that)

💡 My build env is Ubuntu 24.04.1 LTS.

$ sudo apt install libxml2-dev
cargo build --release
mkdir ~/lib
ln -s ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xdrk-1.0.0/aim/libmatlabxrk.so.0 ~/lib/
$ LD_LIBRARY_PATH=~/lib ./target/release/aim-reader-cli --help
Simple CLI to inspect and process XRK race data files

Usage: aim-reader-cli <FILE_PATH>

Arguments:
  <FILE_PATH>  Path to the xrk data file

Options:
  -h, --help     Print help
  -V, --version  Print version

TODO

Unknown error:

I/O warning : failed to load external entity "user/profiles/units.xml"
I/O error : No such file or directory
I/O error : No such file or directory
File '**REDACTED**.xrk' loaded successfully!

Current workaround:

mkdir -p user/profiles
echo "<XML/>" > user/profiles/units.xml

About

CLI to explore AiM race data files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages