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
  • Setting Hacks

Bug Fixes

Available since Version 1.15.

This hack can be required by a mod to be enabled.

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

This hack contains a variety of bug fixes for issues in the original game.

NOTE: When this hack is required by a mod, the mods settings for it are prioritised over the ones in the hack's settings.

Settings

Visual

Cursor Position

Fixes an issue where the cursor is positioned incorrectly when using an aspect ratio other than 1:1.

Steering Animations

Fixes an issue preventing steering/swaying animations from playing.

Character Rotations

Fixes issues where character rotations are handled incorrectly when standing on top of movable objects such as platforms or cars.

HUD Coin Depth

Makes the coin on the HUD have depth.

Stuck Brake and Reverse Lights

Fixes some issues where the brake and reverse lights could get stuck on cars.

Crashes

Main Menu Cheat Code Enter Crash

Fixes a crash when entering a cheat code on the main menu.

Unlock All Camera Settings Crash

Fixes a crash related to the Unlock All Cameras cheat and the Settings menu.

Late Focus Freeze

Fixes the game freezing on the license screen if it's not focused soon enough.

Zone Load on Exit

This setting is only available when using the -testing command line argument. Fixes the game crashing if it tries loading a zone on exit.

Car Deleted While Loading CON File

This setting is only available when using the -testing command line argument.

Fixes the game crashing if a car is deleted while its CON file is still loading.

High Coin Count

This setting is only available when using the -testing command line argument.

Fixes the game crashing if you collect more than 9,999,999 coins.

Actors

Restore Wasp Collision

Fixes an issue where Wasp Collision becomes disabled entirely (until the level is reloaded) after destroying some amount of wasp cameras resulting in cars being unable to destroy them.

Vehicles

No Air Vent Audio

Fixes an issue where air vent audio still plays when driving into a vent when inside a car.

Baby Van Tilt/Wonky Driving

Fixes a famous bug that most notably causes the baby van in Level 5 Mission 3 to be tilted and have incorrect physics.

This bug as well as this fix both apply to other cars as well though it appears most prominently on this one so it's named after it.

Phone Booth Camera Pan Active Camera Change

This fixes a bug related to pressing the in-car change camera button during the phonebooth's camera pan. Without this bug fix, doing so will cancel the camera and switch your camera to the mouse controlled camera until the game changes your camera again (such as when getting in a car). If you use mission select to select a mission without getting in a car, you will be able to skip the next mission start camera.

Behaviour

Time Skip

Fixes an issue where grabbing the window header causes halts the Windows event loop for the game until it is released, causing a large delta time that causes physics issues.

This fix gives the game a delta time of 20ms instead of the real delta time in this scenario to prevent these issues.

Requiring This Hack

To require this hack, add this line to your mod's Meta.ini:

RequiredHack=BugFixes

Your mod must provide a configuration file when requiring this hack.

Configuring This Hack

To configure this hack, create a file named BugFixes.ini and add the parameters necessary for your mod inside it.

[Visual]
; HUDCoinDepth
; 	Set whether or not the coin on the HUD will have depth.
HUDCoinDepth=1

; FixCursorPosition
;   Fixes an issue where the cursor is positioned incorrectly when using an aspect ratio other than 1:1.
FixCursorPosition=1

; FixSteeringAnimations
;   Fixes an issue preventing steering/swaying animations from playing.
FixSteeringAnimations=1

; FixCharacterRotations
;   Fixes an issue where character shadows and radar icons are rotated incorrectly when standing on top of movable objects such as platforms or cars.
FixCharacterRotations=1

; FixStuckBrakeAndReverseLights
;   Fixes some issues where the brake and reverse lights could get stuck on cars.
FixStuckBrakeAndReverseLights=1

[Actors]
; RestoreWaspCollision: 
; 	Set whether or not wasp collision gets re-enabled when spawning a wasp camera.
RestoreWaspCollision=1

[Crashes]
; FixCarDeletedWhileLoadingCONFileCrash
; 	Set whether or not the game will crash if a car is deleted before it's CON file is finished loading.
FixCarDeletedWhileLoadingCONFileCrash=0

; FixZoneLoadOnExitCrash
; 	Set whether or not the game will crash if the game tries to load a zone while exiting.
FixZoneLoadOnExitCrash=0

; RoadArrowPathItemLimitIncludeIntersectionCount
; 	This fixes an issue where intersections are not accounted for when creating an array used by the game to place road arrows when navigating. 
; 	This issue has been particularly apparent in custom maps where certain road network configurations may cause this issue to arise.
RoadArrowPathItemLimitIncludeIntersectionCount=0

; FixHighCoinCountCrash
;	Set whether or not the game will crash if the player collects more than 9,999,999 coins.
FixHighCoinCountCrash=1

; FixMainMenuCheatCodeEnterCrash
;   Fixes a crash when entering cheat codes on the main menu.
FixMainMenuCheatCodeEnterCrash=1

; FixUnlockAllCamerasSettingsCrash
;   Fixes a crash related to the Unlock All Cameras cheat and the Settings menu.
FixUnlockAllCamerasSettingsCrash=1

; FixLateFocusFreeze
;    Fixes the game freezing on the license screen if it's not focused soon enough.
FixLateFocusFreeze=1

[Vehicles]
; NoAirVentAudio
; 	Set whether or not the game will play dialog and an air vent sound when driving into the trigger for an airvent.
NoAirVentAudio=1

[Physics]
; FixUninitialisedArticulatedPhysicsObjectCloneRelativeCentreOfMassAndInertiaMatrixUpdateInterval
; 	Set whether to fix a famous bug that causes both:
;		"Baby Van Tilt": The baby van in Level 5 Mission 3 to be tilted and have incorrect physics.
;		"Wonky Driving": Cars with messed up, wonky feeling physics.
; 	This bug as well as this fix both apply to other cars as well though it appears most prominently on that one.
FixUninitialisedArticulatedPhysicsObjectCloneRelativeCentreOfMassAndInertiaMatrixUpdateInterval=1

; FixTimeSkip
;	Set whether or not the "Time Skip" bug fix is enabled
FixTimeSkip=1

[Camera]
; FixRelativeAnimatedCamCameraChange
; 	Fixes a bug related to pressing the in-car change camera button during the phonebooth's camera pan. 
; 	Without this bug fix, doing so will cancel the camera and switch your camera to the mouse controlled camera until the game changes your camera again (such as when getting in a car). 
; 	If you use mission select to select a mission without getting in a car, you will be able to skip the next mission start camera.
FixRelativeAnimatedCamCameraChange=1

Notes

  • All of this hack's settings, except those only shown when using the -testing command line argument, are enabled by default.
  • Any bug fixes forced on or off with a configuration file will override any user settings for this hack if they have it enabled.

Version History

Version 1.27

  • Renamed the Baby Van Tilt setting to Baby Van Tilt/Wonky Driving as it has been discovered these issues are caused by the same bug.
  • Added a new Time Skip bug fix.
    • Also added a FixTimeSkip property to the [Physics] section of BugFixes.ini to force enable this bug fix in a mod.

Version 1.26

  • Added the Crashes > High Coin Count bug fix. This fixes an issue where the game would crash if you collected more than 9,999,999 coins.
    • Mods can also opt into this fix with the new FixHighCoinCountCrash property in the [Crashes] section.

Version 1.24

  • Added the new RoadArrowPathItemLimitIncludeIntersectionCount bug fix to the [Crashes] section.
    • This fixes an issue where intersections are not accounted for when creating an array used by the game to place road arrows when navigating.
    • This issue has been particularly apparent in custom maps where certain road network configurations may cause this issue to arise.
  • Added the new Visual > Stuck Brake and Reverse Lights bug fix to the hack's settings.
    • This fixes some issues where the brake and reverse lights could get stuck on cars.

Version 1.23.6

Added Vehicles > Phone Booth Camera Pan Active Camera Change.

This fixes a bug related to pressing the in-car change camera button during the phonebooth's camera pan. Without this bug fix, doing so will cancel the camera and switch your camera to the mouse controlled camera until the game changes your camera again (such as when getting in a car). If you use mission select to select a mission without getting in a car, you will be able to skip the next mission start camera.

We also added a FixRelativeAnimatedCamCameraChange property to the [Camera] section of BugFixes.ini to opt in to this.

This bug fix exists as a result of research done by aldelaro5.

Version 1.23.4

Made FixZoneLoadOnExitCrash also fix a crash when proceeding to another level.

Version 1.23.3

Added Physics > Baby Van Tilt. This fixes a famous bug that most notably causes the baby van in Level 5 Mission 3 to be tilted and have incorrect physics.

This bug as well as this fix both apply to other cars as well though it appears most prominently on this one so it's named after it.

We also added a FixUninitialisedArticulatedPhysicsObjectCloneRelativeCentreOfMassAndInertiaMatrixUpdateInterval property to the [Physics] section of BugFixes.ini so mods can opt into this bug fix. The name is very literal.

This bug fix exists as a result of extensive research done by aldelaro5. He also made an in depth video explaining the bug which can be found here if you're interested.

Version 1.22

  • Added Vehicles > No Air Vent Audio.
    • Also added a NoAirVentAudio property to the [Vehicles] section of BugFixes.ini.
  • Added Crashes > Car Deleted While Loading CON File when using the -testing command line argument.
    • Also added a FixCarDeletedWhileLoadingCONFileCrash" to the [Crashes] section of BugFixes.ini since mods are intended to opt into this.
  • Added Crashes > Zone Load on Exit when using the -testing command line argument.
    • Also added a FixZoneLoadOnExitCrash to the [Crashes] section of BugFixes.ini since mods are intended to opt into this.

Version 1.21

Renamed Fix Late Focus Freeze to Late Focus Freeze.

Version 1.19

  • Added Actors > Restore Wasp Collision.
    • This fixes an issue where destroying a certain number of wasps disables their collision until the level is fully reloaded.
  • Changed the tooltip for Character Rotations to be more specific about what it does. The hack's description was also updated to reflect this change.
  • Made Fix Steering Animations also fix the steering/swaying animation cancelling immediately/starting again repeatedly.

Version 1.18.2

Fixed an issue where BugFixes.ini wasn't required and wasn't included when compiling mods that require the hack.

Version 1.18

  • Moved this hack to the new Settings page.
  • Added a fix for a crash related to the options menu and the Unlock All Cameras cheat.
  • Added a fix for the crash that happens if the game is not focused fast enough on the license screen.
  • Moved the Main Menu Cheat Code Enter crash fix to the new Crashes group.

Version 1.17

  • Added a new setting for applying depth to the Coin on the HUD.
  • Made this hack requirable and configurable by mods via BugFixes.ini.