Funny tool for your trainers for unity-mono based windows 64bit games!
- SDKGenerator.exe
-f "path/to/Assembly-Csharp.dll" "path/to/other_optional.dll
- or path to main game lib. For example "The Last Stand" uses "TheLastStand.dll" instead of "Assembly-Csharp.dll"
- you can use
-w SomeCoolType SomeSecondCoolType
to create a proxy only for these types. However, this doesn't work super well.
- Create new .net 6.0 project. Console or App.
- Add generated GameSDK.dll to your project and add this references:
<ItemGroup>
<PackageReference Include="Reloaded.Assembler" Version="1.0.14" />
<PackageReference Include="Reloaded.Injector" Version="1.2.5" />
<PackageReference Include="Reloaded.Memory" Version="8.1.0" />
</ItemGroup>
- Reloaded.Memory 9.0.0 and higher is not supported due to huge changes.
- Init GameSDK:
var myGame = Process.GetProcessesByName("gameName")[0];
SDK.MonoBridge.Init(myGame);
- Have fun with GameSDK.* namespace!
The Last Stand Pseudo Trainer for old version Ravenfield + Raylib
- Get/Set non-generic fields and non-generic non-valuetype (!!!) properties.
- Call non-generic methods (with instance and static) with 0-5 args.
- Read/Create mono strings.
- Generics. Generic types (not generic methods!!) with 1 argument are currently supported, only methods.
- Dotnet or Mono sometimes lose pointers xD :D
- And a lot of things, probably.