Hello everyone! This is an introduction to GD Modding (using Geode), a handbook that covers all of the essentials of GD Modding. To follow along with this handbook, you will need to have Geode installed. This handbook is written as a tutorial for beginners, though even if you are an experienced GD modder already, getting a fresh-up on the basics can never do harm. Even if for some reason you don’t use Geode, this handbook still contains general information about modding and GD modding specifically, however all practical code examples and the code project we will build later will use Geode.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/geode-sdk/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Do note that while this handbook is written for people with little to no previous experience modding GD, previous programming and computing knowledge is assumed. It is highly recommended that before you start GD modding, you should at the very least know how to use C++. (Knowledge of other programming languages is also good, but the closer to C++ the better) If you’re unsure that you have sufficient programming skills, here’s a list of concepts you should at the very least know:- Control flow
- Variables
- Functions
- Data types
- Classes
- Inheritance (including multiple inheritance)
- Namespaces
- The C++ Standard Library
- Pointers & references (if you don’t know how pointers work, you can get through this tutorial, but you will also be in big trouble later on)
- Macros and the C++ Preprocessor
- Difference between compile-time and runtime
- X86 Assembly (doesn’t mean you should speak or read it fluently; just know what it is)
- Reverse enginering (the basics of using Ghidra will be explained in Volume 2)
Volumes
This handbook is collected into ?? Volumes, going over the following material:- Volume 1: The basics of modding (Hello, World!)
- Volume 2: Reverse engineering
- Volume 3: Geode, working with other mods, and publishing your mod
- Volume 4: Making a mod (Project)
How to read this handbook
It is recommended to read through the book chapter-by-chapter. Important concepts and keywords are highlighted in bold. Variables, functions, registers and all other code entities are written likethis. Code blocks look like this:
This is what an info box looks like. It contains general information about the current topic that you might find useful.
These boxes may also contain links to further reading materials for the interested.
[Note 1] This is what an explanation of a note looks like.