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 03-23-07, 07:43 PM   #1
DirtyHarry3033
Weps
 
Join Date: Aug 2005
Posts: 351
Downloads: 0
Uploads: 0
Default Voice recognition in SH4

Sorry if this is a dumb post, maybe there is an "easy" solution for VR in SH4?

When I was playing SH3 I became totally dependant on a program called Shoot! for about 99.9% of my commands, i.e.:

"Dive Dive Dive!"
"All ahead full"
"All stop"
"Open tube one"
"Fire tube one"
"Depth under keel"

and so on. As a sub commander, there's just something not right about clicking a mouse to do those, you're supposed to open your mouth, give an order and it happens, right?

Well I had d/l'ed a fantastic "Shoot" profile for SH3 (by Cavalier889) and was wondering if it would work with SH4. Looks like maybe it does Haven't tested it thoroughly yet and I'm sure it will break some keystrokes that have changed since SH3, but the few things I've tried work great!

You can get Shoot! here:

http://clans.gameclubcentral.com/shoot/

The SH3 profile for Shoot! is here:

http://www.subsim.com/subsim_files/patches2005.html

Search the page for "Silent Hunter III Voice Command" and you'll find it.

After you've installed everything, browse to:

C:\Program Files\Ubisoft\Silent Hunter Wolves of the Pacific\Data\Cfg

or wherever you installed, and back up commands.cfg!!!! Then copy the Commands_en(1.3).cfg file from the SH3 profile .zip to the above-mentioned folder and rename it to Commands.cfg. This will create key bindings for the less-used commands that don't have a key binding and they will be sent when you run Shoot! with the SHIII.xml profile loaded. (yes you can use them from the keyboard as well)

Like I said, I'm sure this will probably conflict with some key bindings in SH4 that have changed since SH3. But it seems to work and I'm sure any problems can be sorted out with a little effort.

Again, accept my apologies if this is "old news" and there's already VR built into SH4 (if so I ain't found it) Just trying to contribute something And nothing gives me more immersion than telling my crew what to do as opposed to wading/clicking thru endless menus of icons...

DH
DirtyHarry3033 is offline   Reply With Quote
Old 03-23-07, 08:53 PM   #2
Spectre-63
Medic
 
Join Date: Jun 2003
Location: Boise, ID
Posts: 159
Downloads: 42
Uploads: 0
Default

Not a dumb post in the least, DH! I was thinking about trying to find a setup to do just this last night and here you are with a solution.
Spectre-63 is offline   Reply With Quote
Old 03-24-07, 12:30 PM   #3
DirtyHarry3033
Weps
 
Join Date: Aug 2005
Posts: 351
Downloads: 0
Uploads: 0
Default

Spectre, if you try this it's like I thought - it does break some SH4 keys, for instance hitting "M" no longer works to open or close the Message window. I'm sure there are others.

So I'm gonna try something different, Darkfin posted earlier today that the SetKey utility for SH3 works with SH4 also. It lets you assign keystrokes to the commands that aren't assigned to keys, with a nice GUI interface. It's available here:

http://www.subsim.com/subsim_files/p...SetKey1_11.rar

What I'm gonna do is restore the original SH4 Commands.cfg to get all the SH4 keys back and working, then read the SHIII.xml that comes with the Shoot! profile, and add the keystrokes from the .xml for the commands I need using SetKey. If there are conflicts SetKey will tell me, and I can assign something else then change the .xml to match. Should work a lot better!

DH
DirtyHarry3033 is offline   Reply With Quote
Old 03-24-07, 02:26 PM   #4
Rilder
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I wonder if Voice command is supported already, cause if you look in the Main.cfg in ubisoft/Silent hunter 4/data/cfg it has this:

Code:

[SETTINGS]
LoadingMovie=No
VoiceCommand=No
DisableMessages=No
EventCamera=No
  Reply With Quote
Old 03-24-07, 03:49 PM   #5
jdski
Gunner
 
Join Date: Apr 2005
Posts: 95
Downloads: 8
Uploads: 0
Default

Funny you should mention that. I just made a profile for SH4. It doesn't have all the features of the one I had for SH3 because I had a special control.cfg file to work with it. But this has all the basic controls on the keycard.
Copy and paste the stuff below in notepad and save it as a xml file.
I have it set up to use * to toggle on and off.

............................

<?xml version="1.0" encoding="iso-8859-1"?>
<shoot-config>
<!--push-to-talk initial-state="on" mode="hold">
<key type="F10" />
</push-to-talk-->
<push-to-talk initial-state="on">
<hold on-press="enable">
<key type=""/>
</hold>
<toggle>
<key type="*"/>
</toggle>
</push-to-talk>
<command-list>
<!--PROGRAM CONTROLS-->
<command name="options" phrase="options">
<key type="ESC"/>
</command>
<command name="help menu" phrase="help menu">
<key type="F1"/>
</command>
<command name="command room" phrase="command room">
<key type="F2"/>
</command>
<command name="navigation map" phrase="navigation map">
<key type="F3"/>
</command>
<command name="map" phrase="map">
<key type="F3"/>
</command>
<command name="attack periscope" phrase="attack periscope">
<key type="F4"/>
</command>
<command name="attack periscope 2" phrase="periscope">
<key type="F4"/>
</command>
<command name="bridge" phrase="bridge">
<key type="F5"/>
</command>
<command name="deck gun" phrase="deck gun">
<key type="F6"/>
</command>
<command name="aa gun" phrase="aa gun">
<key type="F7"/>
</command>
<command name="sonar" phrase="sonar">
<key type="F8"/>
</command>
<command name="radar" phrase="radar">
<key type="F9"/>
</command>
<command name="sub management" phrase="sub management">
<key type="F10"/>
</command>
<command name="free camera" phrase="free camera">
<key type="F11"/>
</command>
<command name="free camera 2" phrase="external">
<key type="F11"/>
</command>
<command name="captains panel" phrase="captains panel">
<key type="F12"/>
</command>
<command name="up obs periscope" phrase="up o b s periscope">
<key type="ctrl insert"/>
</command>
<command name="up observation scope" phrase="up observation scope">
<key type="ctrl insert"/>
</command>
<command name="scan right" phrase="scan right">
<key type="end" repeat="40" pause="2"/>
</command>
<command name="scan left" phrase="scan left">
<key type="home" repeat="40" pause="2"/>
</command>
<command name="stop scan" phrase="stop scan">
<key type="end"/>
</command>
<command name="up attack periscope" phrase="up attack periscope">
<key type="ctrl pageup"/>
</command>
<command name="up periscope" phrase="up periscope">
<key type="ctrl pageup"/>
</command>
<command name="all stop" phrase="all stop">
<key type="`"/>
</command>
<command name="ahead one third" phrase="ahead one third">
<key type="1"/>
</command>
<command name="ahead two thirds" phrase="ahead two thirds">
<key type="2"/>
</command>
<command name="ahead slow" phrase="ahead slow">
<key type="2"/>
</command>
<command name="ahead standard" phrase="ahead standard">
<key type="3"/>
</command>
<command name="ahead full" phrase="ahead full">
<key type="4"/>
</command>
<command name="ahead flank" phrase="ahead flank">
<key type="5"/>
</command>
<command name="back one third" phrase="back one third">
<key type="6"/>
</command>
<command name="back two thirds" phrase="back two thirds">
<key type="7"/>
</command>
<command name="back slow" phrase="back slow">
<key type="7"/>
</command>
<command name="back full" phrase="back full">
<key type="8"/>
</command>
<command name="back emergency" phrase="back emergency">
<key type="9"/>
</command>
<command name="back flank" phrase="back flank">
<key type="9"/>
</command>
<command name="pause" phrase="pause time">
<key type="backspace"/>
</command>
<command name="down obs periscope" phrase="down o b s periscope">
<key type="ctrl delete"/>
</command>
<command name="down observation scope" phrase="down observation scope">
<key type="ctrl delete"/>
</command>
<command name="down attack periscope" phrase="down attack periscope">
<key type="ctrl pagedown"/>
</command>
<command name="down periscope" phrase="down periscope">
<key type="ctrl pagedown"/>
</command>
<command name="zoom" phrase="zoom">
<key type="tab"/>
</command>
<command name="open/close tube" phrase="tube door">
<key type="q"/>
</command>
<command name="cycle tubes" phrase="cycle tubes">
<key type="w"/>
</command>
<command name="emergency surface" phrase="emergency surface">
<key type="e"/>
</command>
<command name="blow balast" phrase="blow balast">
<key type="e"/>
</command>
<command name="torpedo management" phrase="torpedo management">
<key type="t"/>
</command>
<command name="damage management" phrase="damage management">
<key type="y"/>
</command>
<command name="TBD" phrase="t b d">
<key type="u"/>
</command>
<command name="observation periscope" phrase="observation periscope">
<key type="o"/>
</command>
<command name="observation scope" phrase="observation scope">
<key type="o"/>
</command>
<command name="periscope depth" phrase="periscope depth">
<key type="p"/>
</command>
<command name="hard to port" phrase="hard to port">
<key type="["/>
</command>
<command name="hard to starboard" phrase="hard to starboard">
<key type="]"/>
</command>
<command name="surface" phrase="surface">
<key type="s"/>
</command>
<command name="dive" phrase="dive">
<key type="d"/>
</command>
<command name="deploy decoys" phrase="decoys">
<key type="J"/>
</command>
<command name="captains log" phrase="captains log">
<key type="k"/>
</command>
<command name="lock view" phrase="lock view">
<key type="l"/>
</command>
<command name="rudder amidships" phrase="rudder amidships">
<key type="'"/>
</command>
<command name="launch" phrase="launch tube">
<key type="enter"/>
</command>
<command name="silent running" phrase="silent running">
<key type="z"/>
</command>
<command name="clock" phrase="clock">
<key type="x"/>
</command>
<command name="crash dive" phrase="crash dive">
<key type="c"/>
</command>
<command name="event camera" phrase="event camera">
<key type="v"/>
</command>
<command name="recognition manual" phrase="recognition manual">
<key type="n"/>
</command>
<command name="radio message" phrase="radio massage">
<key type="m"/>
</command>
<command name="previous unit" phrase="previous unit">
<key type=","/>
</command>
<command name="next unit" phrase="next unit">
<key type="."/>
</command>
<command name="chase" phrase="chase">
<key type="."/>
</command>
<command name="event camera off" phrase="event camera off">
<key type="/"/>
</command>
<command name="interface" phrase="interface">
<key type="numpad."/>
</command>
<command name="take screenshot" phrase="take screenshot">
<key type="ctrl F11"/>
</command>
<command name="framerate" phrase="framerate">
<key type="ctrl F8"/>
</command>
<command name="Time Compression 32X 1" phrase="compression thirty two">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="5" pause="20"/>
</command>
<command name="Time Compression 64X 1" phrase="compression sixty four">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="6" pause="20"/>
</command>
<command name="Time Compression 128X 1" phrase="compression one twenty eight">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="7" pause="20"/>
</command>
<command name="Time Compression 256X 1" phrase="compression two fifty six">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="8" pause="20"/>
</command>
<command name="Time Compression 512X 1" phrase="compression five twelve">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="9" pause="20"/>
</command>
<command name="Time Compression 32X 2" phrase="time compression thirty two">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="5" pause="20"/>
</command>
<command name="Time Compression 64X 2" phrase="time compression sixty four">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="6" pause="20"/>
</command>
<command name="Time Compression 128X 2" phrase="time compression one twenty eight">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="7" pause="20"/>
</command>
<command name="Time Compression 256X 2" phrase="time compression two fifty six">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="8" pause="20"/>
</command>
<command name="Time Compression 512X 2" phrase="time compression five twelve">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="9" pause="20"/>
</command>
<command name="Time Compression 1024X 1" phrase="compression ten twenty four">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="10" pause="20"/>
</command>
<command name="Time Compression 1024X 2" phrase="compression full">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="10" pause="20"/>
</command>
<command name="Time Compression 1024X 3" phrase="compression max">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="10" pause="20"/>
</command>
<command name="Time Compression 1024X 4" phrase="full compression">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="10" pause="20"/>
</command>
<command name="Time Compression 1024X 5" phrase="max compression">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="10" pause="20"/>
</command>
<command name="Time Compression 1024X 6" phrase="time compression full">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="10" pause="20"/>
</command>
<command name="Time Compression 1024X 7" phrase="time compression max">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="10" pause="20"/>
</command>
<command name="Time Compression 1024X 8" phrase="time compression ten twenty four">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="10" pause="20"/>
</command>
<command name="Time Compression 16X 1" phrase="compression sixteen">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="4" pause="20"/>
</command>
<command name="Time Compression 8X 1" phrase="compression eight">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="3" pause="20"/>
</command>
<command name="Time Compression 4X 1" phrase="compression four">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="2" pause="20"/>
</command>
<command name="Time Compression 2X 1" phrase="compression two">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="1" pause="20"/>
</command>
<command name="Time Compression 16X 2" phrase="time compression sixteen">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="4" pause="20"/>
</command>
<command name="Time Compression 8X 2" phrase="time compression eight">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="3" pause="20"/>
</command>
<command name="Time Compression 4X 2" phrase="time compression four">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="2" pause="20"/>
</command>
<command name="Time Compression 2X 2" phrase="time compression two">
<key type="CTRL Enter"/>
<key type="Numpad+" repeat="1" pause="20"/>
</command>
<command name="Time Compression Normal 1" phrase="compression normal">
<key type="backspace" repeat="2" pause="20"/>
</command>
<command name="Time Compression Normal 2" phrase="normal time">
<key type="backspace" repeat="2" pause="20"/>
</command>
<command name="Time Compression Normal 3" phrase="real time">
<key type="backspace" repeat="2" pause="20"/>
</command>
<command name="Time Compression Normal 4" phrase="compression off">
<key type="backspace" repeat="2" pause="20"/>
</command>
<command name="Time Compression Normal 5" phrase="compression one">
<key type="backspace" repeat="2" pause="20"/>
</command>
<command name="Time Compression Normal 6" phrase="time compression normal">
<key type="backspace" repeat="2" pause="20"/>
</command>
<command name="Time Compression Normal 7" phrase="time compression off">
<key type="backspace" repeat="2" pause="20"/>
</command>
<command name="Time Compression Normal 8" phrase="time compression one">
<key type="backspace" repeat="2" pause="20"/>
</command>
<command name="Time Compression Normal 9" phrase="normal compression">
<key type="backspace" repeat="2" pause="20"/>
</command>
<command name="heading to view" phrase="heading to view">
<key type="="/>
</command>
<command name="view to heading" phrase="view to heading">
<key type="-"/>
</command>
</command-list>
<sounds>
<sound type="recognized" source="recognized.wav" pan="0" volume="100"/>
<sound type="not-recognized" source="notrecognized.wav" pan="0" volume="100"/>
<sound type="speech-enabled" source="speechenabled.wav" pan="0" volume="100"/>
<sound type="speech-disabled" source="speechdisabled.wav" pan="0" volume="100"/>
</sounds>
</shoot-config>
jdski is offline   Reply With Quote
Old 04-02-07, 03:02 PM   #6
teber
Nub
 
Join Date: Mar 2007
Posts: 4
Downloads: 0
Uploads: 0
Default Problems with shoot and setkeys

I got a commands.cfg file + a shoot profile for sh3 last year and it was great. I tried porting it to sh4 with mixed results.

I am hoping that somebody else made a good commands.cfg and shoot profile that works.

All documented keyboard commands worked, after I changed some of the keys in the shoot profile that where different between sh3 and sh4.

I missed using voice commands like weather report and report on contacts so I used setkeys to bind keys to the commands in sh4.

After I used setkeys I get some strange behavior in the game including :
If I use the voice command for depth under keel it always says 0 but if I click the icon it gives the proper reading.

Changing torpedo settings to contact by clicking on the dial with the mouse results in the WO telling me about contacts.


When ever I change course by clicking on the GUI I get the message "Hard to port"
When ever I change depth by clicking on the GUI I get the mesage "crash dive"

I also experience crash to desktops when running shoot before running SH4. Without shoot I only CTD when my fat fingers accidently hit A key.

Bob
teber is offline   Reply With Quote
Old 04-02-07, 03:28 PM   #7
WhiskeyBravo
Gunner
 
Join Date: Mar 2007
Location: Suffolk, UK
Posts: 96
Downloads: 6
Uploads: 0
Default

I've never tried shoot but if it's half as good as Voice Activated Commands (VAC) then it's well worth a try.

See my post here: http://www.subsim.com/radioroom/showthread.php?t=110052

for info on VAC and a profile I've been using very succesfully for a few days now.

Cheers all,

WB.

PS Is it possible to upload files to Subsim for others to download?
WhiskeyBravo is offline   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 07:04 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.