Lego Star Wars: The Skywalker Saga
0 of 0

File information

Last updated

Original upload

Created by

jedijosh920

Uploaded by

jedijosh920

Virus scan

Safe to use

About this mod

LEGO Star Wars: The Skywalker Saga Script Hook allows you to install and use Script Mods! They can call game functions, interact with the game's engine, and much more. Simply, it lets you inject scripts to the game.

Requirements
Permissions and credits
Donations
DISCLAIMER:
This is currently an early version, much more stuff  and info will come in updates to let developers use more game functions, etc. Just uploading now to let some of my Script Mods for LEGO Star Wars: The Skywalker Saga be used!

Leave any questions, comments, concerns, or suggestions in the mod's comment section. I will try to respond as soon as possible.

REQUIREMENTS:
https://www.microsoft.com/en-us/download/details.aspx?id=6812
https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

Install DirectX SDK and Visual Studio C++ Redistributable X64 (vc_redist.x64.exe) 

Most Script Mods will require All DLCs for them to work properly!

About:
LEGO Star Wars: The Skywalker Saga Script Hook allows you to install and use Script Mods! They can call game functions, interact with the game's engine, and much more. Simply, it lets you inject scripts to the game.

Installation:
Place all of the files inside the root of your game's directory.
- dinput8.dll (Hooks dinput8.dll which is loaded by the game at start)
- ScriptHookLSWSS.dll (Actual script hook that gets loaded from the dinput8.dll, this lets you inject scripts, has the main functions, etc.)
- ScriptHookLSWSS.ini (Script Hook settings)
- ScriptHookLSWSS.log (Script Hook Log, which Script Mods can use)
- ScriptHookLSWSS.otf (Script Hook font, which draws text in game)

Create a "scripts" folder as well, which is where you place the Script Mods that you have downloaded or made.

When you launch the game you should get a notification on the top left saying that the script hook was loaded.

Controls:
INSERT KEY - This key is used to unload and load scripts, useful for developers to be able to edit scripts without restarting their game.

Installation Video / Tutorial:


Updates / Changelog
v1.0.0 (4/13/2022)
- Initial release
v1.1.0 (4/14/2022)
- Fixed UI Scaling Issues
V2.0.0 (5/6/2022)
- Rewrote code for improved stability
- Added "Reload Scripts Key" key configuration in the .INI file
- Added "Use D3D11 ImGui" setting configuration in the .INI file
- Added more SDK / Game API functions (in progress)
- GetPlayerEntity, SpawnCharacter, Loading Resources / Handles, etc.
V2.0.1 (6/3/2022)
- Fix Text Alignments for Draw Text (Center, Right)
- Fix Drawing Issues with Handles
- Updated for Game Update 1 (5/19/22)
- Updated for Game Update 2 (5/31/22)

Credits:
(Helping me figure out why it was crashing)

wak
Rolo_1997
Boso
beanerish
Jav
jubjub