This game sucks. My buddy agrees -- majority wins.
Try Undertale or Deltarune instead. They're GameMaker games. Here's a pretty good UndertaleDecomp.
I haven't seen a good Deltarune one yet but I'm working on one. Very, very, very slowly.
Anyway, unfortunately, everything on the Internet is permanent, so I kinda have to keep this available.
OpenTower is licensed under CC BY 4.0.
Credit my GitHub profile.
- Pizza Tower on Steam, or through "other means". I personally prefer the latter.
- GameMaker 2023.1.1.62. This specific version has the same quirks the retail game comes with.
- Steamworks SDK v1.55, unless you're making a standalone no patch mod.
- UndertaleModTool. Not Bleeding Edge.
- A brain. I know it may be hard to come around one for someone like you, but I believe in you!
This repository doesn't include any of the datafiles or sprites.
-
Make sure Pizza Tower is up to date. No mods. If you have
.pofiles around then you probably have a mod installed. -
Open the
data.winfile in the game's installation folder with UndertaleModTool. -
Open the "Scripts" tab at the top of the UndertaleModTool window and select "Run other script..."
- Go to OpenTower's folder and select one of the two
PTdecompiler.csxfiles. Whichever one works for you.
- It will ask you to select a folder; select the OpenTower folder. Should have all of these folders inside of it.
- It takes a while to dump every frame of every sprite. Don't panic.
- After it's done, open
PizzaTower_GM2.yypin the specified version of GameMaker. That's about it. - To fix Steam SDK errors, open Extensions > Steamworks and change the SDK location setting to wherever you put it.
If you don't remove Steamworks before making a build, it'll just run the game on Steam instead, unmodified. I recommend removing the extension entirely for standalone mods. Look through all Steam related code and comment out any use of the steam_ functions. You could also get ballsy and try to make your own fake Steam implementation.
If you want to move to a future GameMaker version you'll need to make some changes.
- Upgrade or remove the Steamworks extension.
- New GameMaker versions re-order and move assets around, making the code run in a different order. This breaks everything. The way I fix it is I make a persistent object that manually runs each broken object's step events in the intended order. Sounds terrible and tedious but if you really hate old GameMaker then you must.
- The specific version of GameMaker used to build the game originally had a bug that you now have to replicate. Whenever text is drawn to the screen, offset it by the font's sprite origin. You can replace every
draw_textwith your own. - Rename the
string_splitscript and function to something else, since that became an actual GameMaker built-in. - If your mod is going to be a patch rather than standalone keep in mind that the .exe would have to be included now as well.
- Probably more. I forgot. If you got this far you can figure out the rest anyway.
Delete the %programdata%/GameMakerStudio2 folder while GameMaker is closed. Then reopen it.
It happens when you use a newer GameMaker version. It breaks this older one.
You have the wrong UndertaleModTool version. Try this stable version and/or try the "old" version of the script.
Well,


