shSpeech

Voice Command for Silent Hunter 4

(and adaptable to other games!)

Silent Hunter 5

I don't really have time at the moment to update shSpeech for SH5, nor do I even own the game yet.  However, skwasjer from SubSim has already created a new voice command SH5 app using direct calls (no more goofy mouse cursor moving and clicking, as cool as it was to behold) and compatible with JSGME (JGSME?  JMGSE?  :P).  Check it out here.

Also, 7Infanterie19 from SubSim has informed me that he has "edited the SH4 csvs (and remapped the IDs into sections) to work with SH5 using voice_commands and key_commands, emptying the other files that relate to clicking".  Here's the files and his email to me:

Hi minsc_tdp,
 
I've attached the files to this email. 

SHSpeech - csv files for SH5 by 7Infanterie19.zip
Commands.cfg

So, to recap, I've organized the commands into numbered blocks, by crew/type. I've deleted a lot of the stuff that I wasn't using, so if someone wants to figure out and add things like "Evasive Left Maneuver" that was for SH4, they are free to do so. I've used most of the voice commands that you already had, but added some of my own, such as for time compression key words for certain speeds, such as:
 
TC 1 = Real Time
TC 64 = Riding
TC 128 = Coasting
TC 256 = Cruising
TC 512 = Speeding
TC 1024 = Flying 
TC 2048 = Max Time
TC 4096 = Warp Speed
 
and a section for the TAI map that includes commands for stock or for gutted's Less Annoying TAI mod.
 
I only edited and use the key_commands.csv, voice_commands.csv, and variables.csv files, but (mostly) zeroed out the other files that related to dials and clicking. The tubes setup didn't work for me, so I worked it that it cycles tubes using the key setup in command.cfg (the W key), and cycles based on the current tube, only one tube at a time. These files worked fine for me before moving over to VRFS, so please put it out as "as is .. no support". I figure that people should be able to figure out and use the program based on your original instructions, so figuring out the commands or changes that I made, should be no real problem for them.
 
Any suggestions or questions, please let me know.
 
Have a good one.
 
7Infanterie19

PS: 
I realized that they will probably need to see (or use) my command.cfg to know my key setup that the csvs are matched to, so I'm sending it to you. I originally started with Church's command.cfg, and updated it from there.

Silent Hunter 4

I created shSpeech as a voice command program for Silent Hunter 4, but could be adapted to other games (and has been adapted to Silent Hunter 3 already by TomCatTwo!) It currently supports everything the game can do, allowing you to issue all orders completely hands-free, which frees up your mouse to only manipulate the cameras and periscope, map, and other things that traditionally did not involve spoken orders.  It knows how to click precise points on the various dials and controls with multi-step sequences and supports multiple resolutions.

It is extremely quick, responsive, reliable, and the recognition is great if you follow the readme and spend a few minutes training your speech system and if you adjust your microphone often. The first time you hear someone bark "Yes sir!" in response to an order you barked yourself at your crew, your whole SH experience will change forever!

To follow the original thread on SubSim.com, the greatest submarine simulation forum on earth, click here.

shSpeech is licensed under the Creative Commons license, which does not allow commercial distribution.  If you are interested in licensing the technology for your product, please contact me!

shSpeech for SH4 has aged a bit and there may have been SH4 updates that have broken certain things.  If you're really hankerin' to make it work, best bet is to hit the main forum thread.

Silent Hunter 3

Also be sure to check out sh3Speech by TomCatTwo for Silent Hunter 3!

A special thanks to all of those who have assisted others during my absences, your kindness is legendary. You know who you are.


This page and download is hosted by my 10-year web services company, HaveAByte.com.  Come by and check it out, refer your friends!

# Erik Knepfler (minsc_tdp)