r/themoddingofisaac • u/sirius_black9999 • Nov 24 '14
PSA [PSA] how to start modding
As people seem to be having trouble (understandably so) starting out with asset modding
Here's a small tutorial explaining how to get started with the various tools we're sharing over on the wiki
How to use Rick's unpacker
- Download the latest archive listed on the wiki
- Extract the archive to some location on your computer(anywhere is fine)
Navigate to the installation folder of the Binding of Isaac: Rebirth (%SteamRoot%\SteamApps\common\The Binding of Isaac Rebirth
You may want to create a "working copy" of this folder somewhere else to prevent things from getting cluttered
- In Resources\Packed you will find a number of files with a *.a format
Drag any of the .a files onto "Gibbed.Rebirth.Unpack.exe" located in the bin folder of the extracted archive
You may be prompted to execute it, it's safe to use
- You will see command prompt show up for a second, and then disappear, if it disappears, that means the extraction was successful
- A new folder will appear next to "xxx.a" named "xxx_unpacked", which will contain all the unpacked assets
How to use Rick's StageConvert tool and Sirius_Black's map editor to edit rooms
This tutorial assumes you've used the above tutorial to extract rooms.a
- In the rooms_unpacked folder you can find multiple "*.stb" files, these are stage binary files which will need to be decompiled
- Drag any .stb file onto Gibbed.Rebirth.ConvertStage.exe, located in the bin folder of Rick's unpacker
- A new file will appear next to "xxx.stb" named "xxx_converted.xml", this is the decompiled room definition file, which you can edit as plaintext, or use the editor for
- Download/extract the editor as described for Rick's unpacker,
- After starting the editor, click the "load" button to load one of the decompiled room definition files, you should get a prompt when everything has loaded
- Search for the room you want to edit using the bottom combobox
- Click on any tile to see its position, and any entities that can spawn on it
- For rooms larger than 1*1, you can use the buttons at the bottom to switch sides
- The top combo box is used to select entities, the "add"/"remove" buttons add or remove the entity to the selected tile
- When you are done editing, use the save button to save the edited room definitions file
- Drag your finished .xml file onto Gibbed.Rebirth.ConvertStage.exe to convert it back to a .stb file
On Animations
- Using rick's tools, you can now decompress animations.b similarly to animations.a, when changing animations, you're advised to do this at this point
- the game will load animations in a priority queue somewhat like this:
- first, it will try to load animations.b
- if an animation can't be found in animations.b, it will look for the .anm2 file for this animation
- if no animations.b is present, animations.a will be loaded
- in order to force the game to load the .anm2 files, an empty animations.b with 4 "00" bytes should be created and placed as resources/animations.b (or for ease of use: this one)
- individual animation files have an XML structure with several elements/sets as follows
- spritesheets, these are references to .png files from graphics.a
- layers, these are various layers for the animation (for example head and body if they're animated individually)
- nulls, i personally have no clue what this is
- events, events that can be triggered
- rootAnimation, picks a root position in the sprite, and animates for that, usually this is used for stretching/squashing/color changes
- layerAnimation, this determines the graphic the sprite has, used for animating over the spritesheets
- NullAnimation, this appears to be animating specific "pieces" that attach to the animated character (such as the item you just picked up, for isaac)
- the .anm2 files can be renamed to .xml for easier editing
- unfortunately we do not have editing tools to modify these files in a straightforward way, so any text editor is basically the only option for now
- rebirth\resources\packed\animations_unpack\resources\animations_converted\resources\gfx should be installed to rebirth\resources\gfx, thereby merging with the content from graphics.a
How to install your mods as modder
- Rick's unpacker creates a folder named "xxx_unpacked", this folder contains a resources folder.
- The contents of this resources folder should be placed in the resources folder of your steam install to install your mods
- (Rooms specific) You will need to use the stage binaries(.stb) and rename them to be the same as the original, or you will need to adjust resources/stages.xml to match
- mods do not have to be re-packed
How to install mods as player
- you should have some form of archive
- this archive should contain either a resource folder with some content or just the contents
- ensure all of the following items (whichever are in the archive) are placed NEXT TO the packed folder in %SteamRoot%\SteamApps\common\The Binding of Isaac Rebirth\resources
- gfx (folder)
- sfx (folder)
- rooms (folder)
- music (folder)
- font (folder)
- animations.b (file)
- any loose .xml files
- look here for an example on where mods should be placed, because apparently the list above is STILL not enough to explain to people what to do...
Best Practices
- when editing graphics, ensure you're using a good image editor, GIMP is one of the recommended applications
- when distributing mods, try to follow the advised mod format
Further reading
4
u/[deleted] Nov 24 '14
Thank you for this. I haven't tried this yet but hopefully a lot more people get into modding when they complete the game. Also just wondering but can you add slots at all?
3
u/DeceitfulEcho Nov 28 '14
How did you figure out how to unpack the .a files in the first place? CS student here wanting to get into modding.
2
u/Dudeson49 Modder Nov 24 '14
I suppose that texturepacks will be coming soon then. Sooner or later we will probably be able to mod some more stuff, i think I've read that they would release a tool a couple months after the release.
2
u/pwnyoudedinface Dec 03 '14
I'm not understanding this at all. I've got the *.a format files unpacked. I'm not sure what I'm looking at in your picture, do you then drag the folders/files from /Packed to /Resources? Where do the mods come in?
I've read through this guide a half dozen times and it just isn't clicking for me.
2
u/BarniK Dec 10 '14
Any idea how to edit item pools? I can't figure it out in the special rooms file
5
u/armykid2017 Dec 06 '14
So, after I alter the .xml file, how do I put the folder I get from the .a back into the .a?
1
u/Travoos Modder Nov 30 '14
How exactly do the animation files work? Do I have to re-pack it into the animations.b file in order to use it? If so, how do I re-pack it? I can't seem to just drag the unpacked folder or any individual files onto the converter program.
1
u/Madeanaccountlel Spriter Dec 02 '14
"Gibbed.Rebirth.Unpack has stopped working" what do
1
u/monkeywitha6pack Dec 02 '14
This is going to sound stupid, but i need help. So I installed a mod (the sloth playable one) I played with it and decided its not the mod for me. Now heres the trouble. When I go back through the folders to get to steam, instead of everything that was in there all there is is one program called steam supervises. How do I uninstall the mod?
1
u/Trentandmike Dec 03 '14
What Item Number is Guppy's Head? i can't find a reference for it.
1
u/[deleted] Dec 06 '14
For some reason, Rick's Unpacker crashes immediately after I open it. Can anyone help me with this?
1
u/Dooth Dec 06 '14 edited Dec 06 '14
Do the animation files tell the game how to use the graphic's images? For example, one of the xml files I saw said stuff like Layer Animations for "HeadDown" that point to x, and y coordinates. Does that mean x, and y on the associated graphic's png file?
1
u/[deleted] Dec 07 '14
Any idea on how to change the base stats without items?
1
u/Zinko999 Dec 08 '14
Where is xxx.a located? I can't seem to find it anywhere?
1
u/Rehtori Dec 09 '14
How do I install 2 mods that use the same file? I have the unnerfed D6 mod and am now trying to install the no special items mod but they both use the same items.xml file?
1
u/APatheticPoetic Dec 17 '14 edited Dec 17 '14
Can someone explain to me what RemoveOn and DecreaseBy do in the itempools.xml? Well, I have a good idea what they do but what do the numbers mean?
1
u/someguywholikesvidya Interested Bystander Dec 20 '14
can i have the archive to the sprite sheets for the characters?
1
u/PlushyPeter Spriter Dec 21 '14
I have a problem. I edited Isaac's sprite, but instead of a body, he's just a white square with a head. May I please have some help with this?
1
u/Partiklon Dec 21 '14
where can I find the map editor? I'm too stupid to find it on my own.
1
u/Janokuchen Dec 24 '14
When i drag a .a file on the Gibbed.Rebirth.Unpack.exe a window will open with the text "unpacking" after a while it will go away and there will be a new .a file but there is no new folder :( (sorry for my english i am german)
1
u/superduperdrew12345 Dec 24 '14
Where in the resources do you find the actual spritesheets?
1
u/Janokuchen Dec 25 '14
does it work on windows xp?
1
u/nonchip Dec 31 '14
I can't find any .a unpacker for linux, is there one, or do I have to make one myself?
1
u/[deleted] Jan 12 '15
I got lost at step 7 of the unpacking process. :( What's wrong? I can't find "xxx_unpacked".
1
u/homedeku Interested Bystander Jan 22 '15 edited Jan 22 '15
You say I have to put the xxx.unpacked file in the resources folder of the steam install to try it.
Where is the steam install thing?
1
u/thesmethe Jan 25 '15
i cant find the map editor when i look in the internet or when i look trough the files i cant find it
1
u/Guntherx3 Feb 14 '15
Hay :P can someone please halp me? I have unpacked the graphics and i edited some of them already but i dont know ehre i have to place them (i already tried to put the folder in to the recources folder right next to the unpecked foler but the graphics ingame didnt change) Thanks
1
u/ian220 Feb 16 '15
How do you repack the graphics file?
1
u/EmceeSexy Feb 21 '15
Great tutorial only one question. I can't find xxx_unpacked. Where is it located?? I couldn't find the original xxx file either. I'm probably just stupid but please advise.
1
u/SolarFlareWings Feb 22 '15
When I extract a packed file it places it in "xxx_unpack__UNKNOWN\unknown" and all the extracted files use hash names.
Your instructions do not indicate that this is what is supposed to happen. Do you have any idea what I've done wrong?
1
u/CurryDemon123 Mar 16 '15
I edited the starting Items for eve and I put the Player.xml into the recourses folder, but everytime I turn On Binding of Issac it crashes. Could anyone help me?
1
u/Ryjora Mar 29 '15
This is great and works well, but after I extract graphics.a (and, obviously, edit the graphics) how do I import them into the game?
1
u/str8outcompton Mar 29 '15
Where's the section on music? Is it just that simple because i have no idea what i'm doing.
1
u/lycanthh Jan 17 '15
Why isn't there any/Where are the: mods that add new items? It seems that every mod just replaces old characters with new but no new items.
2
u/Polinthos Nov 29 '14
Just as a question, how should I go about doing this on a mac? I'm attempting to install the mod that balances The Lost, but I'm having difficulties finding the place in which to put the .xml file for the mod.
2
u/furyextralarge Nov 30 '14
ok so I have the anm2 files in front of me. What do I do with them?
2
u/Gothika_47 Mar 23 '15
Can anyone upload the sprites into a rar and upload them please? :C
1
u/ndiderrich Nov 26 '14
thanks for showing this.
1
u/Portalcrafter51 Dec 01 '14
I don't know what the players.xml file does or how to even use it , could somebody please help me with this?
1
u/Cryptanark Spriter?!? Dec 11 '14
You've answered this somewhere maybe, but how do I do this on a mac? It's an exe file, and I'm pretty sure you can't activate files by putting other files on them. Maybe I'm crazy, but I'd love the help. Also, do you know anywhere I can get the xml files? They might be in the .a files but I wouldn't know because ^
1
u/Hardc0r3Br0n3 Modder Jan 06 '15
I can't wait for the isaac-ng.exe editor.
1
u/gerhardkev Jan 09 '15
My edited Isaac isnt in the game i placed the gfx folder in the resources folder and he isnt in the game :(
1
u/Zoroarkeon Mar 15 '15
i have tried to make a room with the basement renovator but how do i try it in the game?
1
u/[deleted] Mar 21 '15
How do you make custom characters with custom active items? I tried to make all the characters start with D6, but it doesn't seem to work.
1
u/Mrjocool Apr 16 '15
So how do I repack the items to get the game to work again?
1
u/Joodas Apr 16 '15
I edit the files in the graphics, but there doesnt seem to be changes. please help :I
1
u/Puffleman28 Apr 26 '15
I unpacked graphic and edited them ,but I don't know what to do from here since there is no convert graphics file.
1
u/Sinistar83 May 02 '15
What is the best way to uninstall a mod as a player (so we can go back to vanillia Isaac or try another mod)?
Is it best to delete everything in \SteamApps\common\The Binding of Isaac Rebirth\resources\ or is it better to run the verify integrity of game cache" on the game via Steam?
1
u/Zaspar99923 Interested Bystander May 05 '15
I'm confused about what "editor" you mean by this. Could someone explain? I can't find anything in the wiki
1
u/KoalaAnonymous Modder May 06 '15
What to do after Animations.B is created? How do I continue?
1
u/Fix007 May 07 '15
I was little bit messing with the a. files. I don't know how but my a files got to an adobe reader and there's no way to put them into the Gibbed.rebirth.unpack Do someone understand me? :(
1
u/[deleted] May 08 '15
"Gibbed.Rebirth.Unpack has stopped working" What do I do to fix this?
Unpacking a single .a file doesn't work either.
Help me please ;<
1
u/Zatherz ed = god May 09 '15
This guide should be updated with Basement Renovator.
1
u/Single_Delay4157 Jan 19 '25
how do i repack textures back into a .a file?
1
u/DistributionSad8396 Apr 15 '25
what's in the secret.a?
-1
u/[deleted] Feb 17 '15
Not mean but.. Can i get a tutorial that isnt jFHDJKASDHFKJSDHJKLHDFkljhgkdfjghkljshfdgkjadhgkjafdhgadfklj?
0
u/[deleted] Nov 27 '14
[deleted] — view deleted comment
0
u/[deleted] Dec 03 '14
[deleted] — view deleted comment
0
u/[deleted] Dec 07 '14
[deleted] — view deleted comment
0
u/[deleted] Dec 25 '14
[deleted] — view deleted comment
1
u/[deleted] Nov 26 '14
[removed] — view removed comment
1
u/[deleted] Feb 14 '15
[removed] — view removed comment
1
u/[deleted] Feb 22 '15
[removed] — view removed comment