Dump game objects in Hollow Knight into individual sprites and audio clips. Makes it easier to customize textures in the game.
- Download the Scarab mod installer for Hollow Knight 1.5.
- Run the Scarab executable. The modding API will automatically be installed.
- Check the "Installed" checkbox next to "Game Object Dump" from the mod list.
- Install the latest release of the Modding API for Hollow Knight from GitHub. Installation instructions are in the ReadMe.
- Download the latest release of GODump from GitHub.
- Extract the zip to
Steam/steamapps/common/Hollow Knight/hollow_knight_Data/Managed/Mods/GODump
.
- Start the game and a GODump.GlobalSettings.json file in your Hollow Knight saves directory will be generated (delete GODump.GlobalSettings.json before you start if you're updating from an older version).
- Enter a gameplay scene.
- Press F2 and atlases will be generated in
Steam/steamapps/common/Hollow Knight/hollow_knight_Data/Managed/Mods/GODump/Atlases
.The naming convention of an atlas is Animation1@Animation2@...@AnimationN#AtlasName.png - Press F3 and GODump.GlobalSettings.json will be updated with a new string of animations in the current scene.
- Delete the animations you don't want from the resulting pipe-separated ("|") string and save it (Get the animation name from step 3).
- Press F4 and all sprites in the animations you chose will be dumped into the
Steam/steamapps/common/Hollow Knight/hollow_knight_Data/Managed/Mods/GODump/Sprites
folder in .png format. - If you have Unity Explorer,you can locate the
tk2dSpriteAnimation
in Inspector and useGameManager.instance.StartCoroutine(GODump.Dump.DumpSpriteInUExplorer((tk2dSpriteAnimation)CurrentTarget,<dumpPath>))
to dump it by using Unity Explorer console;
- The SpriteBorder is the editable border of the sprite.
- DumpSpriteInfo Whether to dump a JSON file containing sprite info into the
0.Atlases
folder. Pack needed. - DumpAnimInfo Whether to dump a JSON file containing animation info into each sprites folder.
- FixSpriteSize Whether to fix the area outside the red rectangular of a sprite. Pack with v1.2 selected if Not Fix. Pack with v1.3 selected if Fix.
- SpriteBorder Whether to add a red rectangle surrounding each sprite.
- AnimationsToDump A pipe-separated ("|") string that lists which animations to dump.
- AudioClipsToDump A pipe-separated ("|") string that lists which audio clips to dump.
- v1.2 Change naming of sprites to "Animation Num - Frame Num - Collection Num" from "Collection Num" only.Slice sprites one pixel lower than before.Use ** SpritePacker** to pack sprites back into atlas.
- v1.3 Add setting SpriteSizeFix.Cutted empty space of a sprite in an atlas by tk2d tool is now added back.No More Worry About Where The Fuck is The Anchor!
- v1.4 Press F2 to check for atlases you need;Press F3 to print all the animations in the scene
- v1.5 Simplify json file on API 57. Add RedRectangular setting.
- v1.6 Updated for Hollow Knight 1.5. Added audio clip dumping.
- magegihk - Creator of the original GODump mod.
- KayDeeTee - SpriteDump Mod save me a lot of time to figure out how to dump pngs.
- Serena, 56 - Modding API.
- Team Cherry - Without which, we would not have Hollow Knight.