RimWorld

RimWorld

Development Mode Hotkey
26 Comments
CatGamer 30 Oct @ 3:26pm 
This even works on the main menu, this mod is amazing!
PSA: I had to enable Numlock to use the default hotkey (the numpad period) so if the mod isn't working for anyone that might be why.
Pooh jin ping 3 Oct @ 7:34pm 
My wrist thanks you. My sanity thanks you.
TacocaT 14 Sep @ 10:41pm 
It's not a monstrous issue, but hitting the default hotkey is also un-fullscreening me. It does not re-fullscreen me if I push it again. I assume it isn't supposed to be doing that :v
veoba 31 Aug @ 5:20am 
I'll chek what you told, but I want to note that your hotkey works fine. pressing . call devmode.
NightmareCorporation  [author] 31 Aug @ 2:11am 
@veoba
The "Hotkeys 1.6" mod also patches that method. Can you try disabling this mod and see if the issue persists? if so, you'll have to report it to that author.

From what I can tell it really shouldn't be this mods patch causing the exception, unless for some reason another mod removed the KeyBindingDef. The patch applied by this mod is incredibly basic, but it can catch other mods that apply patches later and log out their errors, which is what I think is happening here: https://gitlab.com/nightcorp/devmodehotkey/-/blob/master/Source/Patches/Patch_UIRoot_Play.cs?ref_type=heads
veoba 30 Aug @ 3:07pm 
Caught exception when trying to listen for dev-mode hotkey press: System.NullReferenceException: Object reference not set to an instance of an object
[Ref A84AC77F]
at Verse.KeyBindingDef.get_KeyDownEvent () [0x00096] in <24d25868955f4df08b02c73b55f389fe>:0
- POSTFIX Hotkeys: Void Hotkeys.Patches_MultiKeys+Patch_KeyPressed:Postfix(Boolean& __result, KeyBindingDef __instance)
at DevModeHotkey.Patch_UIRoot_Play.AddHookForDevHotkey () [0x00002] in <17d6b3a4a5f24da386656083e0054a6f>:0
veoba 30 Aug @ 3:06pm 
GodzillaNaps 27 Jan @ 2:36pm 
How many years has this game been out, and y'all are still coming out with absolute banger QoL mods? Thank you!
csfireworks 27 Nov, 2024 @ 5:13am 
very useful ~
NightmareCorporation  [author] 17 Nov, 2024 @ 3:27am 
@arms_2003
Yea, the game limits hotkeys to not be usable in some scenarios like specific windows being open, I can only imagine it's for a good reason and would require a completely different mod to work around.
arms_2003 16 Nov, 2024 @ 4:04pm 
I wish i could activate the hotkey in the menus. Also, i removed the mod and the hotkey do not persist lmao
NightmareCorporation  [author] 17 Oct, 2024 @ 9:47pm 
@Zealot-Kun69
That's not how mods work, when you remove the files (and thus the assembly) there is literally no mod anymore.

What I could imagine is that adding a keybinding to the game persists that keybinding in some internal config data. But hitting that key should not do anything. Because it can't. The mod doesn't pull some insane stunt like modifying your game itself. It's just a line of code. Feel free to check it yourself:
https://gitlab.com/nightcorp/devmodehotkey/-/blob/master/Source/Patches/Patch_UIRoot_Play.cs?ref_type=heads
Zealot-Kun69 17 Oct, 2024 @ 4:42pm 
I tried disabling this mod, even completely uninstalling it, and removing its files and validating files on Steam. This mod is forever active on my game, not just the save. But the entire game.
gRaveyard 3 Aug, 2024 @ 7:43pm 
@Photon
I have an option in my menu that allows me to turn Dev mode off permanently for a save. I do not remember if this is a thing a mod added, or if that's Vanilla, sorry.
But either way, the mod Don't Tempt Me is always an option. :D
Xylem 14 Jul, 2024 @ 9:00am 
@Photon The mod you're looking for is called "Don't Tempt me" :steammocking:
MuntCunkey 18 May, 2024 @ 1:33pm 
i need the opposite of this mod LOL i have ZERO self control
Terraria Bunny 3 Jan, 2024 @ 11:19am 
oh yeah :mafia:
An Ol' Spicy Keychain 14 Aug, 2023 @ 2:36pm 
THE ONE PIECE IS REAALLLL
8zf6 28 Jul, 2023 @ 2:11pm 
yeah, I didn't know that that was already a thing, but good to know for others
NightmareCorporation  [author] 28 Jul, 2023 @ 11:45am 
Actually just realised that base game already has a keybinding to toggle the dev palette, you can even see it in the screenshot, it's [ for me.
NightmareCorporation  [author] 28 Jul, 2023 @ 11:20am 
@8zf6
Oh yea, great idea! I'll get right on it
8zf6 28 Jul, 2023 @ 8:21am 
I wonder if dev palette can also be implemented to have a hotkey, but that's just me being ungrateful. Amazing mod, 10/10 would recommend
BAPBHΛΩ 27 Jul, 2023 @ 9:50pm 
@bettlecat It's not just a game, it's a story generator, and you can generate your story however you choose! (I sure as heck know I do!)
d0gL3g 26 Jul, 2023 @ 6:58am 
very convenient, great job
beetlecat 25 Jul, 2023 @ 10:35am 
YES! Finally be able to hide the dev menu bar and pretend i'm not a cheater cheater pumpkin eater all the time.
Bunghole 24 Jul, 2023 @ 4:41pm 
This is a great idea! Thank you