A standalone Command Line Interface debugging tool for The Witcher 3 written in Rust.
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
Parts of code of this tool are based off of Wolvenkit modding tool by Traderain, rfuzzo and others
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version v0.5.1
NEW shorthand for verbose by @ADawesomeguy
NEW support for automatically finding Linux scriptslog path by @ADawesomeguy
NEW option to specify a custom path to a log file
FIX reading log files on Linux should work correctly now
FIX printing redundant empty new lines when the scriptslog is read
FIX critical error when reading invalid UTF8 from scriptslog
FIX better error checking when the scriptslog file does not yet exist
Version v0.5
Commands that are expected to finish automatically (i.e. all except for scriptslog) now will automatically cause the program to exit when they're done; no manual input is needed anymore
modlist and varlist commands sort entries alphabetically
reload command gives a nice little summary at the end with colored text for warnings and errors
tweaked delays between info messages
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.