Debug Console

From Cassette Beasts

Cassete Beasts has a debug console that can be used for testing mods and other gameplay features.

Usage

The console can be enabled (and disabled) with the following cheat:

Once enabled, you can show and hide the debug console by pressing F1 on a keyboard, or R3 on a controller. (R3 is when you press the right stick in like a button, on a controller that supports it.)

Enabling the console will mark your save file as cheated, which is visible in the speedrun timer. This won't prevent you from completing the game or getting achievements though.

Be careful with the debug console. You can softlock yourself if you use a command at the wrong time, or modify something you don't understand.

Disabling

Entering the same cheat again disables the console.

Note that having enabled the debug console will be permanently recorded in your save file - the in-game timer will forever say that you have cheated from that point on (for that save file).

List of commands

This list can also be viewed in-game via the commands command.

Command Description Parameters
Basic commands
echo Prints a string String
history Print all previous commands used during the session none
commands Lists all available commands none
help Outputs usage instructions String
quit Exit application none
clear Clear the terminal. none
engine_version Shows engine version. none
fps_max The maximal framerate at which the application can run. Integer (between 10 and 1000)
Network commands
close_connection Closes the MP network connection none
Weather commands
weather Sets or gets the current weather String
weather_values Lists available weather types to use with the weather command String
weather_pollen Weather - amount of pollen (0.0 - 1.0) Decimal
weather_snow Weather - amount of snow (0.0 - 1.0) Decimal
weather_rain Weather - amount of rain (0.0 - 1.0) Decimal
weather_wind Weather - amount of wind (0.0 - 1.0) Decimal
weather_clouds Weather - density of clouds (0.0 - 1.0) Decimal
weather_fog Weather - amount of fog (0.0 - 1.0) Decimal
weather_leaves Weather - density of leaves (0.0 - 1.0) Decimal
weather_wind_angle Weather - angle of wind (-180 - 180) Decimal
Debug commands
dev Toggles dev mode none
input_map Prints the current input map to the console none
randomize_sprite Randomizes the player character's appearance none
pyjamas Sets the player's outfit none
reload_scene Reloads the current scene; may cause bugs none
load_scene Loads a scene from a given path; may cause bugs String
push_scene Loads a scene from a given path without unloading the current scene; may cause bugs String
gain_exp Gives the given number of experience points to the player's team. Integer
debug_stream_map Toggles display of the debug streaming map none
warp_to_camera Warps the players to the position pointed at by the camera (outside of battle only). none
passive_message Displays a 'passive message' on the screen (for UI testing purposes) String, String
dialog_message Displays a message dialog on the screen (for UI testing purposes) String
stat_adjust Brings up the base stat adjustment UI none
expo_mode Enters expo mode (and will exit the current game WITHOUT saving). none
locale Gets/sets the current locale code used for string localisation. Doesn't update any strings already in use. String
font_test_message Displays a standardised message for testing font and localisation issues. none
battle_init_pause Delays the start of every battle by the given number of seconds. Decimal
battle_start_pause Delays the start of every battle by the given number of seconds. Decimal
report_shader_compilation Enable/disable reporting of unexpected shader compilations (in debug builds only) Boolean
export_data Export monster/move/etc. databases to the given path. String
platform Prints the name of the platform services the game is using none
platform_set_stat Sets a platform service stat String, Integer
platform_unlock_achievement Unlocks the named achievement String
platform_reset_stats Resets all the user's stats and achievements none
filter_name Applies profanity filter to the given string String
filter_text Applies profanity filter to the given string String
max_stamina Gets or sets the max amount of stamina the player has Decimal
ability Gets or sets the player's abilities String, Boolean
flag Gets or sets one of the player's flags String, Boolean
counter Gets or sets one of the player's counters String, Integer
randomize_all Enables monster, type, and movepool randomization none
randomize_types Enables monster type randomization none
permadeath Enables/disables permadeath Boolean
add_item Adds an item to the player's inventory String, Integer
give_loot Generates loot and adds it to the player's inventory String, Integer
consume_item Removes an item from the player's inventory String, Integer
list_item_ids Lists all the valid item IDs that can be used with add_item none
inventory Lists the items in the player's inventory none
inventory_stack_limit_increases Gets or sets the increases on stack limits in the player's inventory String, Integer
heal Heals the player's party none
hurt Hurts the members of the player's current party none
fusion_meter Gets or sets how full the player's fusion bar is. Range is 0 to 100 inclusive. Integer
unlock_partner Unlocks partner by ID. Valid values are lower-case English names of the characters: kayleigh, meredith, etc. String
lock_partner De-unlocks partner by ID. Valid values are lower-case English names of the characters: kayleigh, meredith, etc. String
partner Gets or sets the player's partner. Valid values are lower-case English names of the characters: kayleigh, meredith, etc. String
player_name Gets or sets the player's name. String
player_level Gets or sets the player's current combat level. Integer
partner_level Gets or sets the partner's current combat level. Integer
relationship_level Gets or sets the current partner's relationship level (0-4 inclusive). Integer
relationship_kind Gets or sets the current partner's relationship to platonic (0), dating (1), or romantic (2) Integer
next_relationship_level Fulfills the requirements for reaching your current partners's next relationship level. none
randomize_party_sticker_rarity Re-randomizes the rarity of the stickers in your party Boolean
give_tape Gives the user a tape of a specific species. String, String
debug_tapes Gives the player a random set of tapes for debug none
debug_stickers Gives the player one of every sticker Boolean
debug_team Sets up the player's team with a standard set of tapes at a given level, configured as would be expected of the player at this level. The player's existing tapes are put in storage. The partner is changed to Kayleigh. And the player & partners' levels are changed. Integer
seen_all_species Gets/sets a cheat mode. When true, all species are considered 'seen' in the bestiary. Boolean
seen_random_fusions Debug helper. Adds a random number of random fusions to your bestiary. none
day_length Gets or sets the length of an in-game day (in real-time seconds) Decimal
date Gets or sets the current world date Integer
time Gets or sets the current world time Decimal
hour Gets or sets the current world time in hours Decimal
report_event Increments a stat counter in the user's save file String, String, Integer
stat Returns the value of the stat with the given name and key String, String
win_battle Immediately win and end the current battle none
flee_battle Immediately flee and end the current battle none
lose_battle Immediately lose and end the current battle none
world_level Gets the level of the area the player is currently in none
game_over Immediate game over none
no_aggro Enables/disables aggro Boolean
player_scale Gets/sets the scale of the player characters Decimal
warp_overworld Warps to the given chunk in the overworld. The warp target name may also be given. Integer, Integer, String
warp Warps to a given scene. The warp target name may also be given. String, String
action_icons Override the default platform controller button icons String
start_quest Starts the quest from the given resource path String
complete_quest Completes the quest with the given resource path String
set_captains_defeated Marks all the captains as having been defeated none
set_clues_obtained Marks all clues for the main quest as obtained (the associated archangels are also considered defeated) none
list_all_clues Lists all of the main quest clues, regardless of whether they've been obtained yet none
list_obtained_clues Lists the main quest clues that have been obtained none
rumors List all the current rumors in Harbourtown. none
regenerate_rumors Generate a new set of rumors for Harbourtown. none
clear_noticeboard Clears the noticeboard of quests so that more can be generated. none
server Switches multiplayer server String
LiveSplit commands
autosplit_start_timer Start the timer (if connected to a LiveSplit server) none
autosplit_pause Pause the timer (if connected to a LiveSplit server) none
autosplit_resume Resume the timer (if connected to a LiveSplit server) none
autosplit_skip_split Skip the next split (if connected to a LiveSplit server) none
autosplit_split Split the timer (if connected to a LiveSplit server) none
autosplit_unsplit Unsplit the timer (if connected to a LiveSplit server) none
autosplit_reset Reset the timer (if connected to a LiveSplit server) none
autosplit_send_command Send a specific command to LiveSplit (if connected to a LiveSplit server) String
Settings commands
apply_settings Applies current settings none
save_settings Saves current settings none
load_settings Loads settings none
level_scale_up Calculates how much opponents scale their levels up when you're higher level than them String
level_scale_down Calculates how much opponents scale their levels down when you're lower level than them String
setting_autosave Gets/sets autosave setting Boolean
setting_show_timer Gets/sets show_timer setting Boolean
setting_show_quest_tracker Gets/sets show_quest_tracker setting Boolean
setting_graphics_framerate Gets/sets graphics_framerate setting Integer
setting_graphics_antialiasing Gets/sets graphics_antialiasing setting Integer
setting_graphics_dof_blur Gets/sets graphics_dof_blur setting Boolean
setting_graphics_glow Gets/sets graphics_glow setting Boolean
setting_graphics_shadows Gets/sets graphics_shadows setting Boolean
setting_graphics_world_streaming Gets/sets graphics_world_streaming setting Integer
setting_graphics_fullscreen Gets/sets graphics_fullscreen setting Boolean
setting_graphics_resolution Gets/sets graphics_resolution setting 2D Vector
setting_graphics_glitch_effects Gets/sets graphics_glitch_effects setting Boolean
setting_level_scaling Gets/sets level_scaling setting Decimal
setting_ai_smartness Gets/sets ai_smartness setting Decimal
setting_enable_screen_shake Gets/sets enable_screen_shake setting Boolean
setting_enable_controller_vibration Gets/sets enable_controller_vibration setting Boolean
setting_enable_custom_modes Gets/sets enable_custom_modes setting Boolean
setting_network_crossplay Gets/sets network_crossplay setting Boolean
setting_audio_vocals Gets/sets audio_vocals setting Boolean
SaveSystem commands
reload Reloads the most recent save none
load_file Loads a save file String
save Triggers a save String
load_new_state Resets all progress in the current file none
save_uncompressed Enables/disables saving save files in uncompressed format Boolean
decompress Decompress a save file (without loading into it, or modifying the original file) String
compress Compress a decompressed save file (without loading into it, or modifying the original file) String