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 > SH4 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-01-07, 06:38 PM   #13
panthercules
The Old Man
 
Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
Default

Wow - that's definitely weird. Based on the error message (really long, but dealt with not being able to find part of the path blah blah blah...), I was able to figure out that in addition to renaming the commands file to commands_en.cfg and putting the renamed commands file in the same folder as SetKey is in, you also have to create a copy of the commands file in that same folder and call it "commands_en.bak".

Once that was done, SetKey saved the changes down just fine, without error messages.

Now, just have to compare the changed file to the old one and see if it made all the changes I asked it to without breaking something inside the file.

[EDIT] Good suggestion to just find the specific commands that got changed and then paste the new key lines into a clean copy of the SH4 commands.cfg file, because SetKey really does screw up/change a bunch of unintended stuff inside that file when it's doing its thing. However, just pasting in to a clean copy only the changed key line in the specific commands you know you changed worked just fine. I was able to map a key to "get depth below sub keel" and use the key in game just fine.

(Note for those interested - there is also a command called "report depth below keel" or something like that. I tried that first, but while the mapping worked and the key called up a report in game, the answer was always wrong - it always said depth below keel was 0. So you need to use the one that starts with "get" - using the key mapped to that command brought back the same answer that clicking the depth-below-keel button did.)

Now to map the other commands and get them entered into the speech recognition program files, then it's out to sea again
__________________

Last edited by panthercules; 08-01-07 at 07:52 PM.
panthercules is offline   Reply With Quote
 


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 06:27 AM.


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.