Page 1 of 1

F1-F7 hot keys disabling

Posted: Wed Sep 25, 2019 7:50 pm
by szemigi
I want a patch, which disables calling (ONLY) F1,F2,F3,F4,F5,F6 and F7 shortcut hot keys:

- during the game (when you play, you cannot press any of them)
- from the main menu (you cannot use the shortcuts when you are in the main menu)
- from the title (so if you are on the title screen and try to press F1 to F7, nothing happens)

Possible?

Re: F1-F7 hot keys disabling

Posted: Thu Sep 26, 2019 3:21 am
by levellass
This patch prevents the player using the F1-7 keys during gameplay, but they still work in the menu.

Code: Select all

#Disable gameplay menu access
%patch $4548 $EB $0C

Re: F1-F7 hot keys disabling

Posted: Thu Sep 26, 2019 8:17 am
by levellass
This SEEMS to disable them entirely, both in the game and in the menu, this patch should be tested, to see if it doesn't also disable some other menu stuff that you want however:

Code: Select all

#Disable hotkeys in menu
%patch $15F35 $CB

Re: F1-F7 hot keys disabling

Posted: Thu Sep 26, 2019 9:43 pm
by szemigi
I tested the patch and after starting a new game in any difficulty the game crashes with black screen (after the loading window).

Re: F1-F7 hot keys disabling

Posted: Fri Sep 27, 2019 5:50 am
by levellass
Which patch, the one that disables in-game or the one that disables entirely?

Both patches seem to work fine for me, I'm also using the following patches:

Code: Select all

#Ignore START.EXE
%patch $3BD1 $EB

#Ignore LOADSCN.EXE, never display error message
#%patch $39C0 $B8 $0001W  $50 $9A $000004CARL    $44 $44 $5E $5D $CB
Possibly we're using different versions of Keen Dreams? I can send you a working setup with the patch and you can check.

Re: F1-F7 hot keys disabling

Posted: Fri Sep 27, 2019 9:23 am
by szemigi
I use the patches you mentioned + I'm using KDR 1.13 for modding. Probably KDRPATCH problem? (I think I'm using the latest. Who knows.)

Moreover, I'm using your patch you posted here first (which disables the shortcuts, even in the main menu).

Re: F1-F7 hot keys disabling

Posted: Sun Sep 29, 2019 2:22 pm
by levellass
Ok, this is the test setup, it works for me on my machine: https://www.dropbox.com/s/o3pzqo4yn8tsc ... T.zip?dl=0

You should be able to replace stuff in it with your own files until something breaks.