The VG Resource
[Tutorial] How to rip and fix GameMaker Studio 2 Tilesets - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: The Spriters Resource (https://www.vg-resource.com/forum-110.html)
+---- Forum: Ripping Help (https://www.vg-resource.com/forum-114.html)
+---- Thread: [Tutorial] How to rip and fix GameMaker Studio 2 Tilesets (/thread-38537.html)



[Tutorial] How to rip and fix GameMaker Studio 2 Tilesets - DogToon64 - 01-19-2021

Hey folks, I'm back with another tutorial! And this time, we're going to be talking about Game Maker Studio 2 Tilesets.

Before I begin, I'd like to give a big shoutout to Random Talking Bush for teaching me how to fix GMS2 Tilesets. Thanks RTB!

What you'll need:
  • Undertale Mod Tool
  • GIMP (You can use MS Paint, but GIMP is preferred since it has a grid.)

Step 1. Ripping the tileset

First of all, you'll need to rip a tileset.

1. Open the "data.win" file and open "Backgrounds & Tile sets".
   

NOTE: Not every tileset is in the "Backgrounds & Tile sets" list, some might be in the "Sprites" list. If the tileset is in the "Sprites" list, then you won't need to follow Step 2, because it won't have any "bleed", which I'll discuss in Step 2.

2. Select the tileset you want to rip. (In this case, I'm going to rip the Pizzamart Tileset from Pizza Tower)
   

3. Export it by double-clicking "(UndertaleTexturePageItem)", click the "Export" button, and save your file.

Step 2. Fixing the Tileset

If you haven't noticed, the tileset you exported is actually stretched.
   

This "stretching", or "bleeding" is a weird thing that Game Maker Studio tilesets have around each individual tile.

Here's how you fix the bleed:

1. You might notice that there's a checkered tile in the top-left corner. Do not remove it! It isn't useless. You'll need it as a reference to know how much stretching you'll need to trim off around each tile.

Open GIMP, and change the grid size, in "Image > Configure Grid" to what size the checkered tile is + 4.
In this case, we're dealing with a 32 X 32 tileset, so you'll need to set the grid size to 36 X 36.

2. Turn on the grid by clicking "Show Grid" in the "View"

3. Draw a rectangle around each tile, like this:
   

4. Remove the grid, and bring the tiles in, and you should end up with something like this:
   

And that's all! Hopefully this is helpful! Smile
If you have any questions, let me know in the comments!