Skip to content

A plugin enabling the debug menu and custom lua scripting in Driver San Francisco.

License

Notifications You must be signed in to change notification settings

Yeethan69/DriverSF360

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DriverSF - Lua loading plugin

Showcase

showcase

Features

  • Log lua print statements.
  • Enable custom lua loading in ./scripts.
  • Dump luac files from game to ./dumps/luac.
  • Override lua loading with decompiled lua files from ./dumps/lua (decompile yourself - unluac works).
  • Dev/Debug menus re-enabled (in game dev menu - patched to enable use for custom menus).

** Only tested on base version of game (no title updates)**

Usage

Put the DriverSF.xex in a folder somewhere on a HDD (or USB, not tested however).
Copy scripts folder to next to DriverSF.xex.
Load plugin or set to autoload in dashlaunch.

Run game.

Left and right sticks in to toggle in game menu

(enableCustomMenus = false in scripts/load.lua to disable custom menus, and return in game menu to default)
Logging of dll and lua prints can be toggled in logger.cpp.
Dumping can be toggled in luahooks.h.

TODO

  • Enable loading custom scripts earlier or later - at the moment they load when the game state is "running"

Credits

About

A plugin enabling the debug menu and custom lua scripting in Driver San Francisco.

Resources

License

Stars

Watchers

Forks

Packages

No packages published