F1-F7 hot keys disabling

Request patches for Keen Dreams.
Post Reply
User avatar
szemigi
Posts: 618
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

F1-F7 hot keys disabling

Post by szemigi » Wed Sep 25, 2019 7:50 pm

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?

levellass
Posts: 2932
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: F1-F7 hot keys disabling

Post by levellass » Thu Sep 26, 2019 3:21 am

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

levellass
Posts: 2932
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: F1-F7 hot keys disabling

Post by levellass » Thu Sep 26, 2019 8:17 am

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

User avatar
szemigi
Posts: 618
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: F1-F7 hot keys disabling

Post by szemigi » Thu Sep 26, 2019 9:43 pm

I tested the patch and after starting a new game in any difficulty the game crashes with black screen (after the loading window).

levellass
Posts: 2932
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: F1-F7 hot keys disabling

Post by levellass » Fri Sep 27, 2019 5:50 am

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.

User avatar
szemigi
Posts: 618
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: F1-F7 hot keys disabling

Post by szemigi » Fri Sep 27, 2019 9:23 am

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).

levellass
Posts: 2932
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: F1-F7 hot keys disabling

Post by levellass » Sun Sep 29, 2019 2:22 pm

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.

Post Reply