Skip to content

Instantly share code, notes, and snippets.

View FroggerHH's full-sized avatar
🖥️
Working

Vyacheslav FroggerHH

🖥️
Working
View GitHub Profile
@FroggerHH
FroggerHH / FindShaderReferences.cs
Created December 4, 2025 18:26
Find Valheim shaders references
using System.Text;
using HarmonyLib;
using UnityEngine;
[HarmonyPatch, HarmonyWrapSafe]
file static class FindShaderReferences
{
private const string TARGET_SHADER_NAME = "Standard";
[HarmonyPrefix]
@FroggerHH
FroggerHH / i2cpp_ghidra.md
Created July 4, 2025 18:02 — forked from BadMagic100/i2cpp_ghidra.md
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
@FroggerHH
FroggerHH / MapCapture.cs
Created June 7, 2024 11:54
Capture and save large mode of minimap as png file to the game root folder. Spend big time messing with this code. Hope it will save someone's time.
using System.ComponentModel;
using System.IO;
using System.Threading.Tasks;
using BepInEx;
using JetBrains.Annotations;
using UnityEngine;
using static UnityEngine.Object;
[PublicAPI]
public static class MapCapture