Skip to content

Instantly share code, notes, and snippets.

@BadMagic100
BadMagic100 / docfx-instructions.md
Created November 25, 2022 23:00
Setting up DocFX and GitHub Pages for a library mod

Intro

These instructions describe how to set up DocFX and publish documentation as a static website to your repository's GitHub Pages. They are targeted at Hollow Knight modders and use some conventions that have been generally adopted in the Hollow Knight modding community, but should be generally applicable to other types of projects as well.

As a note before we begin, much of this content has room for preferential variation. In general, this documentation assumes the following:

  1. You have an existing C# project that you want to add docs to (i.e. you are not starting from scratch) and that your project is in the the default C# project layout (solution in its own folder, csproj's nested one level deeper alongside their contents).
  2. You want your documentation in a folder named docs inside the top-level solution directory, and will document only one project in
@BadMagic100
BadMagic100 / doorstop_config.ini
Last active December 25, 2022 06:29
Debugging HK Mods
# General options for Unity Doorstop
[General]
# Enable Doorstop?
enabled=true
# Path to the assembly to load and execute
# NOTE: The entrypoint must be of format `static void Doorstop.Entrypoint.Start()`
target_assembly=hollow_knight_Data/Managed/Assembly-CSharp.dll
@BadMagic100
BadMagic100 / i2cpp_ghidra.md
Last active June 20, 2024 13:38
Instructions to get a useful decompilation out of an il2cpp game. Or, "I spent hours to trial and error so hopefully you won't have to"

Decompiling IL2CPP Games with Il2CppDumper and Ghidra

This guide will walk through how to decompile/reverse engineer IL2CPP games for modding usage.

Note: expect this entire process to take upwards of an hour. Have something ready to do on the side while waiting for processing to finish.

Prerequisites

  1. Download Il2CppDumper