Donut Team is a labor of love, built and maintained by a small group of passionate developers. We invest our own time and resources to offer our tools, mods, and web services completely free of charge.

We don't run ads, and we will never sell your data - period.

If you've enjoyed anything we've created, please consider supporting our work with a one-time or monthly donation via our Ko-fi page . Every contribution helps us continue building great experiences for the community.

Dismiss
  • Modding Tools
  • Lucas' Simpsons Hit & Run Mod Launcher
  • Hacks
  • Developer Hacks

Debug Text

Available since Version 1.17.

This is a developer hack that can be enabled on the "Developer" page of the Mods List.

This hack displays various debugging information via a series of pages that can be navigated with the R and T keys (or Shift+R and Shift+T for subpages).

Configuration

Mods can customise the font this hack uses by loading a Texture Font (0x22000) named DebugText.

Modes

Built-in

TODO

Registered by Hack Support

"hacks" Page

This page shows which hacks are enabled.

It also shows how many times they patched the game if you're using the -testing command line argument.

"shared hacks" Page

TODO

This page is only available with the -testing command line argument.

"hack events" Page

TODO

This page is only available with the -testing command line argument.

"mods" Page

This page shows what mods and mod hacks are enabled.

"keybinds" Page

This page shows what keybinds exist, what bindings they have and whether or not they're currently being pressed and whether or not they're being ignored.

"mods" Page

This page lists all currently loaded mods and mod hacks.

Registered by Custom Audio Support

TODO

Registered by Custom Trigger Actions

This hack registers a mode that shows all registered conditions. While ingame, it also shows whether or not they're currently met.

Registered by Video Texture Support

TODO

Command Line Arguments

This hack is affected by certain Command Line Arguments for the Mod Launcher.

Version History

Version 1.27

General

Updated this hack to have customizable keybinds.

"state and actions" Page

Updated debug info to show individual booleans for various fields on a JumpAction instead of a single integer. These booleans are as follows:

  • Boost
  • Falling
  • JumpAgain
  • TurboJump
  • InJumpKick
  • DoJumpKick
  • Slam
  • PreSlam

"traffic" Page

Made it so, when standing on top of a traffic car, the car's current road segment is rendered in a different color.

"intersect" Page

Now shows terrain type names and interior flags, instead of showing just a number that was also incorrect if the interior flag is set.

"static entity billboard quads" Page

Added this new page that renders names and groups for billboard quads within the world.

Version 1.26

Added a new "walker cam" page.

Version 1.25.1

General

Added a list of cars that will be removed the next time they're off screen to both the "cars" and "mission" pages.

"mission" Page

  • Made it so this page now shows which stages have checkpoints and which stage is currently the active checkpoint.
  • Changed "active" to "current" when indicating what stage you're currently on.
  • Made it so this page now shows the current state of a stage.
    • A stage's state can be "active", "completed" or "failed".
    • A stage's state can also be nothing.
  • Made it so this page now shows what stage vehicles are being manipulated in each stage.
    • This shows what locator and AI the vehicle is being added and/or activated with.
  • Made it so this page now shows a list of every stage vehicle used in the mission.
    • This list shows whether or not the vehicle is currently in the world.
    • This list also shows the driver of the vehicle and also whether or not the driver is in the world.
    • Cars are removed from this list when the mission is done using them.

Version 1.25

Renamed the -debugtextmode command line argument to -debugtextpage to be more consistent with the hack's settings.

The old is still supported for backwards compatibility.

Version 1.24

"cars" Page

Added information about husks.

Version 1.23.10

"anim entities" Page

Added this new page. This shows "D arrow anims", "W arrow anims", "Anims", "Anim colls", "Multi controllers" and "State props".

Version 1.23.4

"position" Page

Made this page show all action buttons the player is in with (main) after the main one (the one you can interact with) instead of just showing the main one.

Version 1.23.3

"AI cars" Page

Added this page.

"car physics objects" Page

Added this page.

"fences" Page

Fixed an issue introduced in 1.23.2 where switching to this page broke anything that was one-sided.

Frame Limiter

Fixed an issue where mission loading screens (used when selecting a mission or starting one) were considered menus instead of loading screens.

Version 1.23.2

General

  • Added a "keyboards" page, a "mice" page and a "steering wheels" page to a new "controllers" group.
  • Moved the "gamepads" page to the new "controllers" group.

"fences" Page

Fixed a bug where this page didn't set the cull mode before rendering the fences (causing the fences to only be visible from one side in some cases).

"mission" Page

Fixed a crash when a stage condition is null (which will crash the game when reaching the stage).

"music" Page

Fixed a crash when using the game's "MUTE" command line argument (which is enabled by the new No Audio mod).

Version 1.23.1

General

Added a new "gamepads" debug mode.

Version 1.22

General

  • Made debug class names cleaner. For example ".?AVVehicle@@" will now show up as "class Vehicle".
  • Added a -debugtextmode command line argument. This can be used to launch the game with a specific debug mode enabled.
  • Added a -noscaledebugtext command line argument. This disables the debug text being scaled according to the size of the window.
  • Made the debug text scale down to fit the screen.
    • Also added a -nofitdebugtext command line argument to disable this.
  • Made it so pages that are not built in are grouped by what Mod/Hack added them.
    • Grouped pages can be cycled by holding Shift+T/Shift+R.
    • Also added a -nodebugtextgroups command line argument to disable this.
  • Made the "traffic" and "road segments" pages show intersections as blue spheres in the world as well as their names.
  • Removed the "root tree node and animated icons" page and moved its contents to the "tree" and "miscellaneous" pages respectively.

"miscellaneous" Page

  • Added "Action buttons" to show the amount of action buttons that exist out of the maximum.
  • Added "Playing sound clip players" and "Playing sound stream players" which show the current amounts out of the maximums.

"cars" Page

  • Added "Parked car count" to show how many parked cars currently exist.
  • Moved the listed traffic cars to the "traffic" page.

"mission" Page

  • Now shows "Time" in stages with a timer. This is shown in milliseconds.
  • Now shows the current time and duration on "timer" objectives in milliseconds.

"traffic" Page

  • Added "Count" to show the amount of traffic cars currently in existence out of the maximum.
  • Added "In-car limit" to show what the in-car limit is currently set to.
  • Added "Group" to show what traffic group is currently in use.
  • Added a list of all models in the current traffic group with the current amount of each one out of their maximum.
  • Added a list of all current traffic cars and whether or not they're active (in the world).

"music" Page

Fixed a crash when viewing this page when the current region had multiple layers in it.

"paths" Page

  • Made this page only show the models of the current ped group and not show an "x" after each count.
  • Made this page show characters and which ones are in use.

Version 1.21

"gags" Page

Added this page. It lists all the current gags (the outside ones or the ones for the current interior) and whether or not they're loading/loaded. It also shows their joint positions in the world.

Version 1.20

General

Added a "world spheres" Page that shows information about any currently loaded World Spheres and their respective Lens Flares (if applicable).

"cars" Page

Added Parked cars enabled to show if parked cars are currently enabled.

"paths" Page

  • Added Enabled to show if pedestrians are currently enabled.
  • Added Group to show the currently selected ped group.
  • Added information about all the ped groups that exist.

Version 1.19

General

  • Made Ctrl+C copy the current page text to clipboard.
    • Also added "Allow Copying with Ctrl+C" to the "Advanced" tab of the hacks settings to disable that.

"actors" Page

Added this page.

"cams" Page

Made this page exclude null cameras.

"characters" Paege

Added this page.

"intersects" Page

Made this page not say "Y: " before the Y and "Z: " before the Z of "Intersect triangle pos 3".

"loaded characters" Page

Added this page.

"missions" Page

Made this page exclude null missions.

"mission" Page

  • Made this page show "null" for null objectives instead of crashing.
    • This is helpful for debugging in the event the stage's objective is not getting added.

"traffic" Page

Made this page render the segments of the road the car is currently on (and the previous roads segments if the car is on an intersection).

"triggers" Page

  • Made this page include the type number of locators in brackets after the type name.
  • Made sphere triggers render as spheres now instead of boxes.

Version 1.18.3

General

Made the in-world text of the "triggers", "character joints", "car joints", "dyna phys", "static phys", "road segments" and "car matrix" pages render under the frontend.

"fences" Page

Added this page. This page renders Fence collision in the world.

"intersect" Page

  • Added Tree node min and Tree node max.
  • Added Tree node parent offset.
  • Changed Intersect normal to Intersect triangle normal.
  • Now renders the current intersect on top of the world.
  • Now shows the memory location of the current Intersect.
  • Now shows the vertex positions of the current Intersect triangle.

"paths" Page

Added this page. This page renders pedestrian Paths on top of the world.

"tree" Page

Now renders the bounding box of the tree node and renders all of the intersects inside it.

Version 1.18.2

"states and actions" Page

  • Added (no wait) after actions that their set does not wait for.
  • Added Walker locomotion action time, Walker locomotive action next idle animation time and Walker locomotive action can play idle animation

"lights" page

Removed enabled for lights and made disabled lights instead show ** (disabled)** after them.

Version 1.18.1

"lights" page

Added this page.

Version 1.18

General

  • Moved to the new Developer page.
  • Added settings that allow you to configure the look and feel of the hack and which pages are visible.
  • Fixed lag on the "dyna phys" and "static phys" pages while loading.
  • Made the hack work during movies.
  • Made the hack use Radical's official chunk names.
    • You can revert to the old names by using the new Use Legacy Names setting on the Advanced tab of the hack's settings.
  • Made the "car joints" and "character joints" pages show the joints in the world instead of listing them.
  • Made the hack check for a font called DebugText and use that if it exists.

"car matrix" Page

Added this page.

"memory" Page

Added this page with information on a few different heaps.

"music" Page

Added this page with various information about the currently loaded RMS files.

"regions" Page

Made this page also show the current and loaded interior.

"road segments" Page

Added this page that draws road segments in the world with names.

"root tree node and animated icons" Page

  • Fixed a crash when going to this page when not ingame or while loading.
  • Made Animated icons work outside the Release English version of the game.

"traffic" Page

Made Contact car traffic locomotion AI segment now include the road segment name in brackets.

"triggers" Page

Made this page list triggers the player is in and show triggers as boxes with names in the world.