Skip to content

Nathnefo/SaintExec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SaintExec

presentation

SaintExec is a lua executor for Saint Row IV Re-Elected.

Status

Epic games Version : Working.
Steam Version : Untested. (contact me on discord Nathnéfo#4261)

How to use

Download the lastest release. Open the injector before lauching the game, choose gameplay or interface (gameplay can only be executed in-game !) and execute the script.

How to create a script ?

A post on saintsrowmods explain everything : https://www.saintsrowmods.com/forum/threads/how-to-create-a-lua-script-for-saintexec.20376/.
Example script to inject into Gameplay (It makes your car invulnerable !):

function make_invulnerable(player_name, vehicle_name, i)
    vehicle_set_invulnerable(vehicle_name)
end

on_vehicle_enter("make_invulnerable", LOCAL_PLAYER)

Known Issue

  • Crash when calling printc too many times (Add a delay between with sleepc).

Roadmap

  • Repair Issues.
  • Add the ability to dump lua scripts.
  • Make a tutorial.
  • Make a Hook function inside lua.

Credit

A huge thank to ElCapor how help me a lot (This project would not be possible without him), the website saintsrowmods.com for the many resources on it contains and the library MinHook.
Project inspiration : sr4---hook, Axon.