Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Setting Hacks > Bug Fixes

Bug Fixes

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.

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

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.

Notes

All bug fixes except those only available with -testing are enabled by default.

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] Section
	; HUDCoinDepth
		; Set whether or not the coin on the HUD will have depth.
	
; [Actors] Section
	; RestoreWaspCollision: 
		; Set whether or not wasp collision gets re-enabled when spawning a wasp camera.

; [Crashes] Section
	; FixCarDeletedWhileLoadingCONFileCrash
		; Set whether or not the game will crash if a car is deleted before it's CON file is finished loading.
	; FixZoneLoadOnExitCrash
		; Set whether or not the game will crash if the game tries to load a zone while exiting.
	; 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.

; [Vehicles] Section
	; NoAirVentAudio
		; Set whether or not the game will play dialog and an air vent sound when driving into the trigger for an airvent.
	
; [Physics] Section
	; FixUninitialisedArticulatedPhysicsObjectCloneRelativeCentreOfMassAndInertiaMatrixUpdateInterval
		; Set whether or not a famous bug that most notably causes the baby van in Level 5 Mission 3 to be tilted and have incorrect physics will be fixed.
		; This bug as well as this fix both apply to other cars as well though it appears most prominently on that one.

; [Cameras] Section
	; 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.

; Notes
	; All bug fixes default to 0 (disabled), meaning it will use the user's setting (if they have the hack enabled).
	
[Visual]
HUDCoinDepth=1

[Actors]
RestoreWaspCollision=1

[Crashes]
FixCarDeletedWhileLoadingCONFileCrash=1
FixZoneLoadOnExitCrash=1
RoadArrowPathItemLimitIncludeIntersectionCount=1

[Vehicles]
NoAirVentAudio=1

[Physics]
FixUninitialisedArticulatedPhysicsObjectCloneRelativeCentreOfMassAndInertiaMatrixUpdateInterval=1

[Cameras]
FixRelativeAnimatedCamCameraChange=1

Version History

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.

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.

1.23.4

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

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.

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 "-testing".
    • 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 "-testing".
    • Also added a FixZoneLoadOnExitCrash to the [Crashes] section of BugFixes.ini since mods are intended to opt into this.

1.21

Renamed "Fix Late Focus Freeze" to "Late Focus Freeze".

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.

1.18.2

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

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.

1.15

Added this hack.

Donut Team © 2020 · v4.0