Home - FearAndDelight/Schedule-1-Modder-Documentation GitHub Wiki

Welcome to the Schedule-1-Modder-Documentation wiki!

What is IL2CPP

Schedule 1 uses IL2CPP meaning the game's code is translated from C# -> Microsoft Intermediate Language -> C++ This makes it a little more annoying to mod this game, but not hard! If we had the mono-version of this game we could simply program like we would any other C# game (with minor changes)

Reading The Decompiled Code of Schedule 1

Because IL2CPP is hard to understand decompiled how can we more easily understand the code?

  1. Go to "Properties" for Schedule 1 via Steam and go to "Betas"
  2. Select the "Alternate" beta (This will change the game to Mono)
  3. Go to "Installed Files" -> "Browse" and copy the Assembly-CSharp.dll from within the game files to a safe place
  4. Download dnSpy (or a decompiler of your choice) and open the dll with it
  5. Go back to "Betas" and select "None"

I recommend going back to the IL2CPP version to mod the game because

  1. It is currently the most supported version for modding
  2. There is no guarantee that the mono version will remain available in future versions

The Beauty of Melon Loader (A.K.A Please Use Unity Explorer)

https://github.com/GrahamKracker/UnityExplorer/releases/tag/4.9.4 For this, you want the one for IL2CPP

The Unity Explorer allows you to easily see scene hierarchy in-game, edit values, see components associated with objects, and even execute C# code in-game for quick prototyping.

Harmony Patches Are Cool

Harmony Patches let you attach code to the end or start of any method in the game no matter if its private or public. I would highly recommend using it!

Melon Wiki on Harmony Patches https://melonwiki.xyz/#/modders/patching?id=patching-using-harmony

More Information on Harmony Patch's Annotation's System https://harmony.pardeike.net/articles/annotations.html