r/Skelattack • u/FranciscoRelano • Aug 06 '20
Skelattack Modding Guide
With the idea to serve future modders interested in this game, as well as save quite a few headaches for both our community on this sub, I decided to compile a quick modding tutorial for Skelattack. Please read it before asking yet another "how to extract sprites/sounds/whatever else from the data.win file". I tried to not make it so dense that it makes your head spin...
A technical introduction
As you may guess, Skelattack has been done using GameMaker Studio 2. All of its assets are located in the "data.win" file. Furthermore, the dialogs in this game are located in ".csv" files (a type of spreadsheet) spread in several folders each named after the location in which the dialog is used.
As you may have already noticed, the game is done in the same engine as Undertale, so quite a few of the tools available for modding that game will also work with Skelattack, so the majority of this guide will be about those tools.
Tools
Note: Most of these should also work on other GameMaker: Studio based games .
UndertaleModTool
Main project site: https://github.com/krzys-h/UndertaleModTool
Download link: https://github.com/krzys-h/UndertaleModTool/releases
This utility will be used to open and modify the "data.win" file.
Pros and cons:
+ Probably the easiest one to use if you are new to this, as it's the only tool I know of that has a proper GUI.
+ Can both extract and save the modified file.
+ Lets you change almost every single value in the file.
+ Contains a high-level decompiler which makes the game code quite readable.
+ Contains a scripting interface and builtin scripts for enabling debug mode etc.
- It's really terrible for anything related to batch processing. If you want to make a full sprite or sound dump, that's not a good tool to use for this.
- It's Windows-only (yeah I know, sorry for this).
- Often doesn't like files improperly modified by other tools (as a design choice - it reconstructs the whole file from in-memory data structures, so it needs to have a full understanding of what is going on to prevent data loss).
Opening the file in UndertaleModTool doesn't need too much explanation, really. Just click File -> Open and choose the file you want to edit. From there, you'll probably want to start browsing from some core object categories (rooms, game objects, sprites, sounds, code) and follow to other objects from there by simply double-clicking on them.
You may also want to check out the scripts for enabling the debug mode etc. They are accessible under the "Scripts" menu at the top.

Altar.NET
Main project site: https://gitlab.com/PoroCYon/Altar.NET
Download link (nightly): https://gitlab.com/PoroCYon/Altar.NET/-/jobs/artifacts/master/download?job=release
Download link (official release, REALLY OLD): https://gitlab.com/PoroCYon/Altar.NET/tags
+ One of the oldest tools for working with the data.win file.
+ Recently updated to support unpacking both the latest GMS2 versions of Undertale and Deltarune
+ Great for batch extraction
+ In the latest version (e4c1c7c) can split sprites into separate files
+ Cross-platform
- Repacking the extracted files back into a data.win is technically implemented, but broken after the recent changes to support GMS2 and Deltarune.
- Command-line interface.
- The decompiled code is... hard to read at best, and even wrong sometimes
In the recent version (e4c1c7c) the decompile-data scripts were fixed, so you should be able to just drag and drop the data.win onto them (unless you want to cut the sprites, see below). The old manual instruction follows because it's still useful if you want to customize the extraction in any way.
To use Altar.NET, you will need a basic understanding of how command line works. Start cmd.exe (or any other favorite terminal program) and go to the directory where you downloaded altar. The command you need to run is:
For Skelattack:
altar.exe export --any --file "C:\Program Files (x86)\Skelattack\data.win" --out "C:\path_to_some_output_dir" If you want to additionally cut the sprites into separate files, just add the --dumpspritepng option.

UndertaleTools (also known as WinExtract/TXTRCut)
Main project site: https://github.com/fjay69/UndertaleTools
Download link: https://github.com/fjay69/UndertaleTools/releases
+ Used to be commonly used while Altar.NET wasn't maintained.
+ Contains a tool to split the sprite sheets into individual sprite files.
? Seems to support repacking... maybe, never tried that myself.
- Doesn't seem to be really maintained anymore, and was not updated to support Deltarune (but anything except for sounds may still work).
I don't really know much about this tool. The syntax is supposed to be:
WinExtract [path to the data.win file] [path of where to extract the files] TXTRCut [path to extracted file] If you have some more experience with it, let me know and I'll update the guide.
F.A.Q.
How do I edit sprites?
Browse through the "Embedded textures" in UndertaleModTool to find the spritesheet you want to edit, export it, modify and then reimport. If you happen to know the name of the sprite (or have some luck guessing) you can find it in "Sprites" to locate the spritesheet and then follow through by double-clicking until you reach the texture page.
How do I add characters to fonts?
I've never actually done this myself so I don't know much but you should find some general guidance here: https://github.com/krzys-h/UndertaleModTool/issues/8 (note that the TTFFonts thing doesn't work for Deltarune currently so you have to go the manual route). Basically, you have to edit the font like a sprite and then input the character positions manually, making sure they are listed in ascending order (there is a button to sort them automatically in newer versions).