File information

Last updated

Original upload

Created by

SpontanCombust

Uploaded by

SpontanCombust

Virus scan

Safe to use

Tags for this mod

About this mod

A standalone Command Line Interface debugging tool for The Witcher 3 written in Rust.

Permissions and credits
Changelogs



This tool is intended for Witcher 3 modders who make mainly script based mods.
The main features of it include recompiling game scripts at run time, monitoring scripts log and remotely running exec functions in game, which can greatly help during mod development.



Installation
Unpack the executable into any directory you want and use a terminal like cmd.exe or Powershell to enter commands.


Usage

In order to use this tool make sure the game is running and that it was launched with following arguments: -net -debugscripts.

Print help information.
rw3d_cli.exe help
rw3d_cli.exe help <SUBCOMMAND>

Recompile game scripts.
rw3d_cli.exe reload

Remotely call an exec function from the game. Remember to use quotation marks for the command argument.
rw3d_cli.exe exec "spawn('Nekker', 3)"

Remotely call an exec function from the game and print only the output from the game.
rw3d_cli.exe --no-delay --log-level=none exec "gotoProlog()"

Monitor game's scripts log and highlight lines that include specific keywords. You can set multiple key words to be highlighted with the same color.
rw3d_cli.exe scriptslog --yellow="[My mod]" --yellow="[Also my mod]"

Monitor game's scripts log and filter out non-highlighted lines.
rw3d_cli.exe scriptslog --red="[My mod]" -f

Print the list of mods installed.
rw3d_cli.exe modlist

Print the root path of game's scripts.
rw3d_cli.exe rootpath

Print the opcode for a script function
rw3d_cli.exe opcode -f IsCiri -c CR4Player

Print the list of config variables
rw3d_cli.exe varlist



Remarks
The tool has been compiled for 64-bit Windows systems.

The tool is open source and can be found on my GitHub repository:
https://github.com/SpontanCombust/rusty_witcher_debugger

Parts of the code of this tool are based off of Wolvenkit modding tool by Traderain, rfuzzo and others.
https://github.com/WolvenKit/WolvenKit