inkanim

Crates.ioinkanim
lib.rsinkanim
version0.4.0
sourcesrc
created_at2023-02-23 16:16:37.59848
updated_at2024-03-23 16:23:43.739637
descriptionCLI tool to quickly extract infos from JSON exports of .inkwidget and .inkanim
homepage
repositoryhttps://github.com/cyb3rpsych0s1s/inkanim
max_upload_size
id792867
size103,369
Rom's (Roms1383)

documentation

README

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 :wink: 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 !

Commit count: 219

cargo fmt