#utilities #command-line-tool #cli #wolvenkit #inkwidget

bin+lib inkanim

CLI tool to quickly extract infos from JSON exports of .inkwidget and .inkanim

8 releases

0.4.0 Mar 23, 2024
0.3.0 Feb 4, 2024
0.2.8 Jan 28, 2024
0.2.7 Jun 9, 2023
0.2.3 Feb 23, 2023

#690 in Command line utilities

Download history 86/week @ 2024-07-29

364 downloads per month

MIT/Apache

84KB
2K SLoC

InkAnim

build crates.io WolvenKit WKitJsonVersion

This little tool allows to quickly introspect .inkwidget and corresponding .inkanim exported as JSON from Wolvenkit when modding the game Cyberpunk 2077.

why ?

Browsing in WolvenKit is fine when there's a couple of widgets and interpolators, but it can quickly become tedious or close to impossible when there's hundreds of inkanimInterpolators and deeply-nested inkWidgets.

if you don't believe me, have a look in WolvenKit at base\\gameplay\\gui\\quests\\q001\\q001_mission0_connect_to_girl.inkwidget and base\\gameplay\\gui\\quests\\q001\\q001_mission0_connect_to_girl_animations.inkanim 😉 this is the anim for the biomonitor from the mission "The Rescue" : watch on YouTube.

screenshot: list screenshot: whois screenshot: whereis

usage

install with

cargo install inkanim

available commands:

  • list: quickly introspect and filters by interpolator type or widget indexes path

    inkanim list --help
    
  • whois: quickly get widget names path from indexes path

    inkanim whois --help
    
  • whereis: quickly get widget indexes path from names path

    inkanim whereis --help
    

development

Quickly try out methods with:

cargo run list --path '1.3.0.0.6' --type progress --widget ./inkwidget_connect_to_girl.json
cargo run whois --path '1.3.0.0.6' --widget ./inkwidget_connect_to_girl.json
cargo run whereis --path "main_canvas.Booting_Info_Critica_Mask_Canvas.Booting_Info_Critical_Canvas.Booting_Screen.BOOTING_PROGRESS_Text" --widget ./inkwidget_connect_to_girl.json

roadmap

This tool is in its early stage, so please open an issue if you find any bug.

Feel free to come discuss any feature you feel is missing.

Contributions welcomed !

Dependencies

~6–13MB
~149K SLoC