Do you know that Saints Row 1 shipped with a developer console on disk and is very simply to enable?
well mostly all Volition games have a developer console and within each release they do minor upgrades to it.
Saints Row 2 is no exception! with the PC build having it when built as a debug build, but the functionality to render and process (user) text is functionality stripped from the exe, but everything else remains, (there even remains ~307 _unsed commands automatically found all thanks to @scanti)
CConsole aims to restore the rendering and some of the processing of the developer console
(inaccurately from vconsole but functionally it's fine)
It also adds ~307 leftover commands left in the game.
If you're using BlingMenu change it's own ToggleKey to something else within BlingMenu.ini, or turn off UseToggleOnly to have it do CTRL+` or whatever ToggleKey is.
No, this does not work in Multiplayer.
This will generate an ini on boot.
modify con_hooklocation to either 0 or 1 to change console size.
use
CConsole comes with ~307 commands thanks to scanti for finding them through a script, not all are named so most have unknown functionality, use print_to_file to dump the commands to game's directory.
Just because you inputted a console command and got no output it doesn't mean that it didn't do anything, several console output functions have been stripped and are merely left as a sprintf call to the console's buffer without actually printing it.
the bind to open CConsole is
Keyboard input might be completely lost randomly, have not been able to replicate under normal circumstances other than setting debugging breakpoints and resuming the game. (Hoping to fix this i hate KeyboardProc SR2 doesn't even use it!), I hope it doesn't happen under normal gameplay but I am not sure.
I am not sure of how stable my text processing is, if any crashes occur please use Juiced and send me a crashdump.
the .asi/dll does export all the functions you need to call to add console commands, I even have a cvar based system from IDTech's games, but I have not finalized a API header for use yet, but feel free to make use of the currently exported functions.
Juiced Patch screws with a function to get console argument types (this is done to allow teleporting in Juiced), CConsole will handle this and won't break what Juiced Patch does to it, this does mean that player_teleport is pretty much broken as it won't accept the params as Juiced is using them. (Juiced's internal console command for this is tp_player)
No, this does not work in Multiplayer.
This will generate an ini on boot.
modify con_hooklocation to either 0 or 1 to change console size.
use
search
and searchcvar
to listall / search through commands.CConsole comes with ~307 commands thanks to scanti for finding them through a script, not all are named so most have unknown functionality, use print_to_file to dump the commands to game's directory.
Just because you inputted a console command and got no output it doesn't mean that it didn't do anything, several console output functions have been stripped and are merely left as a sprintf call to the console's buffer without actually printing it.
the bind to open CConsole is
`
Keyboard input might be completely lost randomly, have not been able to replicate under normal circumstances other than setting debugging breakpoints and resuming the game. (Hoping to fix this i hate KeyboardProc SR2 doesn't even use it!), I hope it doesn't happen under normal gameplay but I am not sure.
I am not sure of how stable my text processing is, if any crashes occur please use Juiced and send me a crashdump.
the .asi/dll does export all the functions you need to call to add console commands, I even have a cvar based system from IDTech's games, but I have not finalized a API header for use yet, but feel free to make use of the currently exported functions.
Juiced Patch screws with a function to get console argument types (this is done to allow teleporting in Juiced), CConsole will handle this and won't break what Juiced Patch does to it, this does mean that player_teleport is pretty much broken as it won't accept the params as Juiced is using them. (Juiced's internal console command for this is tp_player)
Download and install Ultimate ASI Loader, dinput8.dll x32 suffices for SR2.
Drag and drop the mod's ASI into the game's directory or into a scripts folder in the same directory as the game.
Drag and drop the mod's ASI into the game's directory or into a scripts folder in the same directory as the game.
Credits:
@scanti : Reverse Engineering help and a script to / for finding find most unused console commands.
Volition: Freespace 2 source code
Attachments
Last edited: