Modding FAQ: Getting Started⚓︎
How do I get started modding Isaac? (getting started)⚓︎
We generally recommend that people watch the Lytebringr's series of video tutorials on YouTube. These videos were made after the Afterbirth+ DLC was released, but not much has changed now that Repentance DLC is out, so they are still your best bet for learning the ropes.
The main difference is that the location of the mods directory has changed.
Other resources:
- Written tutorials
- Collection of useful tools
- AgentCucco's Video Tutorials (playlist)
- IsaacScript "Green Candle" tutorial
- catinsurance's Repentance Modding Tutorials
How do I make sprites in the Isaac style?⚓︎
Watch this video by LeatherIceCream, who explains the process.
How do I open the debug console?⚓︎
In Afterbirth+, the debug console is enabled as long as you have at least one mod activated.
In Repentance, the debug console is enabled according to the "EnableDebugConsole" setting in the options.ini file. By default, it is set to "0", so if you want to use the debug console, you must change it from "0" to "1". (By default, the options.ini file is located at C:\Users\[username]\Documents\My Games\Binding of Isaac Repentance\options.ini
.)
To open the console, press the grave/tilde (~) key while in a run. If you are on a non-English keyboard, see the wiki page on the debug console for more information.
The wiki also has a list of every console command.
Where is the directory/folder for mods located?⚓︎
All mods are located in this location:
1 2 3 4 5 |
|
1 2 |
|
1 2 |
|
How do I unpack the game files? How do I use the resource extractor?⚓︎
By default, the game's resources are located here:
1 |
|
However, this directory will be mostly empty unless you run the provided resource extractor. It is located here:
1 |
|
Once you run the extractor, the resources directory will fill up with all of the XML files, ANM2 files, images, and other various files that the game uses.
Note that you also have to re-run the resource extractor every time that there is a vanilla patch.
What are ANM2 files?⚓︎
- In Isaac, animations are represented by anm2 files in the
resources/gfx
folder. - Each entity in the game has an associated anm2 file.
- Additionally, most UI elements are rendered using various anm2 files (in the
resources/gfx/ui
folder). - anm2 files are XML files with a different file extension.
- To edit the vanilla animations or add new animations, you can either:
- Edit the files directly using a text editor, which is what Repentance developer Kilburn did.
- Edit the files using the provided Isaac Animation Editor, which is located at:
C:\Program Files (x86)\Steam\steamapps\common\The Binding of Isaac Rebirth\tools\IsaacAnimationEditor\IsaacAnimationEditor.exe
I modified an XML file and the game crashes when I open it or when I go into a new run.⚓︎
A crash means that the XML file is invalid, meaning that you messed up somewhere while editing the file. Start over from scratch and make tiny edits one at a time until you find the exact part that crashes the game, or use an xml validator such as xmlvalidation.com.
How do you tell what the entity type, variant, or subtype of a particular entity is?⚓︎
You can:
- Type
spawn x
into the in-game console. For example,spawn confessional
would show that the Confessional entity has an identifier of 6.17. This means that it has an entity type of 6 and a variant of 17. - Or, you can Ctrl+F in the
resources-dlc3/entities2.xml
file for the entity you want.
How do I edit rooms?⚓︎
In 2014, Chronometrics made a 3rd party room editor called Basement Renovator to improve upon the official editor. It is open-source and located on GitHub. The Repentance developers use this over the official editor, which is why Repentance rooms only work in Basement Renovator.
The official room editor is still provided with the game and is located at:
1 |
|
Basement Renovator is written in Python, so you can either run it from source or download a pre-bundled exe file from the releases page.
How do I overwrite vanilla music?⚓︎
- For normal music replacement, you can blow away the respective vanilla resource files.
- For dynamic replacement, either:
- Require REPENTOGON and use this callback.
- Use Taz's Music Mod Callback.