SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-24-09, 08:06 AM   #1
Paul Roberts
Helmsman
 
Join Date: Mar 2005
Posts: 106
Downloads: 83
Uploads: 0
Default Laptop Keyboard Shortcuts

Hi all,

Now that I'm playing SH4 on a laptop, I discover that I miss my numpad keys. (My laptop has no numerical keypad.)

Is there an (easy) way to remap the shortcut keys for "time compression" and "hide interface" (which was Numpad Delete) to new keys?

Thanks!
Paul Roberts is offline   Reply With Quote
Old 08-24-09, 12:29 PM   #2
Munchausen
Commodore
 
Join Date: Jul 2002
Posts: 608
Downloads: 25
Uploads: 1
Default

Quote:
Originally Posted by Paul Roberts View Post
(My laptop has no numerical keypad.)
Most laptops have "blue keys" ... you hold down the "Function" (Fn) key while pressing whatever key has a blue label. The Numpad "Del" key is also the Numpad "." key ... try using the corresponding Function key and see if it hides the orders bar.

If it doesn't work, you can remap keys by editing the (IIRC) "commands.cfg" file.
Munchausen is offline   Reply With Quote
Old 08-24-09, 01:45 PM   #3
Paul Roberts
Helmsman
 
Join Date: Mar 2005
Posts: 106
Downloads: 83
Uploads: 0
Default

Thanks.

I seem to have no blue function-enabled keys (other than the function row at the top of the keyboard). There's no "shadow" numpad on my Dell.

Is there a simple tutorial for keymapping in SH4 available? I searched but did not find.
Paul Roberts is offline   Reply With Quote
Old 08-25-09, 12:13 PM   #4
Munchausen
Commodore
 
Join Date: Jul 2002
Posts: 608
Downloads: 25
Uploads: 1
Default

  • Find the correct file (I think it's called commands.cfg) in your game folder.
  • Drag a backup copy of the file to your Desktop.
  • Open the in-game file using Notepad.
  • Examine the file carefully ... determine how keys are mapped.
  • Find the key you want to remap.
  • Find a mapped key you never plan to use.
  • Modify the file by switching keymap functions.*
  • Save the file.
  • Launch the game and test your mod.
If it works, congratulations. If it doesn't, replace your modded file with the backup you dragged to Desktop.

* Either that, or determine which keys have not yet been mapped and use one of them instead. Some keys are disabled (via the semicolon in front of the command line) ergo, you have a ready-made key and its corresponding keycode.
Munchausen is offline   Reply With Quote
Old 12-18-16, 03:03 AM   #5
green_abobo
Sparky
 
Join Date: Jan 2009
Location: running silent 700 meters off your starboard bow..
Posts: 152
Downloads: 50
Uploads: 0
Default

If your laptop is like mine, i have to do FN + home / num lk key, in order to alternate between navigational controls (heading to view & 0 rudder) & attack periscope, (up / down) or vice versa.

They both use the same buttons on my keypad.

Happy holidays.
__________________

green_abobo is offline   Reply With Quote
Old 12-18-16, 05:16 AM   #6
Col7777
Grey Wolf
 
Col7777's Avatar
 
Join Date: Jun 2003
Location: Manchester UK
Posts: 944
Downloads: 260
Uploads: 0
Default

You can buy numerical keypads that plug in the USB, they are not expensive:



https://www.google.co.uk/search?q=nu...e=off&tbm=shop
__________________


Silent and Violent
Col7777 is offline   Reply With Quote
Old 12-18-16, 01:53 PM   #7
Deputy
Watch Officer
 
Join Date: Aug 2006
Location: New Mexico
Posts: 344
Downloads: 129
Uploads: 0
Default

Quote:
Originally Posted by Col7777 View Post
You can buy numerical keypads that plug in the USB, they are not expensive:



https://www.google.co.uk/search?q=nu...e=off&tbm=shop
Probably your best bet. As Col says, they are not expensive and a lot easier to use.
Deputy is offline   Reply With Quote
Old 12-21-16, 08:10 AM   #8
jldjs
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Also, DL SHKeymapper from the downloads section and use it to change commands.cfg. It's easier than TextEdit on that file.
  Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.