Skip to content
Adrian K edited this page May 6, 2026 · 1 revision

The mod offers various debug functionalities available when starting the game in debug mode.
To start the game in debug mode use the Worldsmith feature to test the map or add the launch option -debug "<PATH TO YOUR MAP>" in steam.

Pause menu

When starting the game in debug a menu will be added offering some QoL functionality.
To access the pause menu go to Options > Mods > Switch Blocks.
The pause menu the offers 5 options to:

Reload blocks.xml

To reload changes made to the settings.

Reload drawables

To reload changes made to any drawable.

Create mod folders

To create the required file structure for the mod.

Create blocks.xml

To create the blocks.xml with all possible settings for the used block types.

Create drawable templates

To create templates for drawables in a templates folder.

ModLoadLog

This file contains information about the loading process of mods and should be looked at first should something go wrong.
You can find this file at the path your Jump King is installed at.
E.g. D:\SteamLibrary\steamapps\common\Jump King\ModLoadLog.txt.
The mod will add various messages to the mod load log, showing the start and end of setups for the block types present in the map as well as the various steps in the setup like reading the save files, creating logic entities, creating drawables etc.
General messages are marked with [INFO] where as potential issues are marked with [WARNING].
Outright errors will create a stacktrace.

Should an error occur with the mod when the setup failed as well as how it failed will be listed here.

Crash log

Like the mod load log this is an important file to debug the mod. Crashes will be listed here should any occur. Unlike the ModLoadLog this file will not be created new every time and every crash will be listed here.
Unfortunately Worldsmith will also write messages into the crash log should the ending data not be correct, and as of writing this, Worldsmith does not create ending data correctly creating a lot of entries regarding incorrect ending data.
You can find this file at the path your Jump King is installed at.
E.g. D:\SteamLibrary\steamapps\common\Jump King\crashlog.log.

Example

[INFO - Switch Blocks] Beginning 'On Level Start' log.

[INFO - Switch Blocks] Beginning AUTO Setup.
[INFO - Switch Blocks] Attempting to load from file.
[INFO - Switch Blocks] Creating logic entity.
[INFO - Switch Blocks] Creating drawables.
[INFO - Switch Blocks] Creating behaviours.
[INFO - Switch Blocks] Finished AUTO Setup.

[INFO - Switch Blocks] Beginning COUNTDOWN Setup.
[INFO - Switch Blocks] Attempting to load from file.
[INFO - Switch Blocks] Creating logic entity.
[INFO - Switch Blocks] Creating drawables.
[INFO - Switch Blocks] Attempting to load from D:\Documents\Projects\jk\DebugPlayground\bin\switchBlocksMod\countdown\platforms4.xml.
[INFO - Switch Blocks] Successfully created 2 platform(s).
[INFO - Switch Blocks] Creating behaviours.
[INFO - Switch Blocks] Finished COUNTDOWN Setup.

[INFO - Switch Blocks] Beginning GROUP Setup.
[INFO - Switch Blocks] Attempting to load from file.
[INFO - Switch Blocks] Creating logic entity.
[INFO - Switch Blocks] Creating drawables.
[INFO - Switch Blocks] Attempting to load from D:\Documents\Projects\jk\DebugPlayground\bin\switchBlocksMod\group\platforms12.xml.
[WARNING - Switch Blocks] Failed to create 2 platform(s).
[INFO - Switch Blocks] Creating behaviours.
[INFO - Switch Blocks] Finished GROUP Setup.

[INFO - Switch Blocks] Beginning JUMP Setup.
[INFO - Switch Blocks] Attempting to load from file.
[INFO - Switch Blocks] Creating logic entity.
[INFO - Switch Blocks] Creating drawables.
[INFO - Switch Blocks] Attempting to load from D:\Documents\Projects\jk\DebugPlayground\bin\switchBlocksMod\jump\platforms4.xml.
[INFO - Switch Blocks] Successfully created 2 platform(s).
[INFO - Switch Blocks] Creating behaviours.
[INFO - Switch Blocks] Registering functions.
[INFO - Switch Blocks] Finished JUMP Setup.

[INFO - Switch Blocks] Beginning SEQUENCE Setup.
[INFO - Switch Blocks] Attempting to load from file.
[INFO - Switch Blocks] Creating logic entity.
[INFO - Switch Blocks] Creating drawables.
[INFO - Switch Blocks] Xml or texture path not found.
[INFO - Switch Blocks] Creating behaviours.
[INFO - Switch Blocks] Finished SEQUENCE Setup.

[INFO - Switch Blocks] Beginning THRESHOLD Setup.
[INFO - Switch Blocks] Attempting to load from file.
[INFO - Switch Blocks] Creating logic entity.
[INFO - Switch Blocks] Creating drawables.
[INFO - Switch Blocks] Attempting to load from D:\Documents\Projects\jk\DebugPlayground\bin\switchBlocksMod\threshold\platforms6.xml.
[INFO - Switch Blocks] Successfully created 2 platform(s).
[INFO - Switch Blocks] Attempting to load from D:\Documents\Projects\jk\DebugPlayground\bin\switchBlocksMod\threshold\sands6.xml.
[INFO - Switch Blocks] Successfully created 2 scrolling platform(s).
[INFO - Switch Blocks] Creating behaviours.
[INFO - Switch Blocks] Finished THRESHOLD Setup.

[INFO - Switch Blocks] Finished 'On Level Start' log.

Clone this wiki locally