0 of 0

File information

Last updated

Original upload

Created by

jedijosh920

Uploaded by

jedijosh920

Virus scan

Safe to use

Tags for this mod

About this mod

Marvel's Spider-Man Remastered PC 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. It also includes SDK for developers.

Requirements
Permissions and credits
Donations
Join the official Spider-Man PC Modding Discord for the latest mods and information about Spider-Man PC mods:
(Also for help in the #scripting channel)

https://discord.gg/5mFxWWrSNH

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) 

ONLY MADE FOR STEAM v1.817.1.0 (8/18/22 Update) Game Executable
- You CAN downgrade using Steam's console.
- NO, I will not support cracked versions.
- NO, I will not support any other versions or executables.
- MAY or MAY NOT work for any other versions.

About:
Marvel's Spider-Man Remastered PC 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. It also includes SDK for developers.

Installation:
Place all of the files inside the root of your game's directory.
- SMPCScriptHookLauncher.exe (Launches game with Script Hook)
- ScriptHookSMPC.dll (Actual script hook that gets loaded from the the launcher, this lets you inject scripts, has the main functions, etc.)
- ScriptHookSMPC.ini (Script Hook settings)
- ScriptHookSMPC.log (Script Hook Log, which Script Mods can use)
- ScriptHookSMPC.ttf (Script Hook Font, Added in v1.0.2)

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

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 (This is an old tutorial I made from another game, but it's a similar process!):



Updates / Changelog
v1.0.0 (8/29/2022)
- Initial release
v1.0.1 (8/29/2022)
- Fixed Properties Error (Thanks Rin)
        v1.0.2 (11/18/22)
- Added "ENTITY::GetEntityFromHandlePointer"
- Gets an entity from it's handle pointer
- Added "ENTITY::IsHandlePointerValid"
- Checks if handle pointer is not equal to NULL
- Added "HERO::GetPlayerHeroHandlePointer"
- Gets the player hero's handle pointer
- Fixed "HERO::GetPlayerHero" function
- Uses the new entity functions to avoid crashes if the hero entity didn't exist
- Added "ASSET::LoadAssetByHash" function
- Load game assets by their hash
- Added "HOOK::AddAssetSwap" function
- Add asset swap hook
- Added "HOOK::RemoveAssetSwap" function
- Remove asset swap hook
- Added "TRANSFORM::GetScale" function
- Get a transform's scale
- Added "TRANSFORM::SetScale" function
- Set a transform's scale
- Added "TRANSFORM::GetForward" function
- Get a transform's forward vector
- Added "ACTOR::SpawnActor" function
- Spawn an actor by it's asset hash
- Added "SYNC::GetAvailableSyncManagerIndex" function
- Added "SYNC::CreateSyncObject" function
- Added "ENTITY::Init" function
- Added "ENTITY::SyncManagerComponentList" function
- Moved "ConvertHashToString" to "GAME::ConvertHashToString"
- Added "ACTOR::GetActorAssetManager" function
- Get actor asset manager to use for loading actor assets
- Added "ASSET::WaitForAssetToLoad" function
- Added "ENTITY::ActivateEntity" function
- Added "ENTITY::DeactivateEntity" function
- Added "ACTOR::DeleteActor" function
- Added "SYNC::DeleteSyncObject" function
- Added "ENTITY::GetEntitySyncObject" function
- Added "ENTITY::DoesEntityExist" function
- Added "TRANSFORM::GetRight" function
- Added "TRANSFORM::GetHeading" function
- Added "TRANSFORM::SetHeading" function
- Fixed "HUD::AddMessage" and "HUD::ClearMessage" not waiting until game thread function is called
- Added "LOCALIZATION::GetLocalizedText" function
- Added "HOOK::AddLocalizedTextSwap" and "HOOK::RemoveLocalizedTextSwap"
- Fixed some issues with D3D12 ImGui Hook by now hooking when the player exists
- Added new font