Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Yeah, I'm getting the same problem (I'm also on Windows 11 if that matters)

I, on my W11 computer, also initially had some issues running JTool (the editor that KeyTool is a mod of), but I managed to fix them through downloading the Microsoft Visual C++ 2010 x86 Redistributable - 10.0.30319 package. I don't remember having to do anything else to get JTool to work, so give downloading that package a try and let me know if it works.

I downloaded that but it didn't work for me. Also, now that I look at it again, my error is slightly different:

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object oWorld:
global variable name 'savePlayerXScale' index (100069) not set before reading it.
at gml_Script_loadPlayer
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_loadPlayer (line -1)
gml_Script_loadMap
gml_Script_loadStartupMap
gml_Script_mainInit
gml_Object_oWorld_Create_0

This looks like the error you get when you run the .exe outside of the folder. Try making sure that you are running the .exe through file explorer in the "KTool" folder?

Thanks, it works now!

Now I just need to figure out how to, y'know, do anything other than placing basic keys and doors, such as setting a counter to display a certain key color, making keys and doors that have a number more than 1, making Combo Doors work, and so on...

Press Alt+Click on a key, door, or other object to open up a code editor. You have to set their variables with code to make them function properly, even single keys/doors, or else they break in the editor. How it typically works is you set variables with code formatted like "variable=value;", with the semicolon at the end of every line of code. The most common variables are "count" for key/door count, "w/h" for door width/height, "c" for door lock color, "cs" for door base color, and "type" for key/door type. You can read more about them in the instructions file attached.

Key counters work a special way. Basically, the counter itself is the "list" of key counts to show, and you add the different key colors to that list, which it then auto-generates the counter graphic with. The basic code looks like such "s0=COLOR;s1=COLOR;s2=COLOR;" etc, with each "s" being the first, second, third row of the list (starting from 0), and "COLOR" being replaced with a number which correlates to the key color, which you can find in one of the readme files. You can also set "long=(Either 0, 1, or 2);" to make the counter longer.

Thanks for the help!

I suppose this editor has a little documentation about it, read it

Yeah, I heard that there was an instructions sheet but didn’t know where to find it when I made that previous comment. I’ve now found the instructions sheet, so I think I understand it now.