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

Reply
 
Thread Tools Display Modes
Old 09-10-07, 07:01 AM   #1
billko
中国水兵
 
Join Date: Jul 2007
Posts: 275
Downloads: 21
Uploads: 2
Default

Quote:
Originally Posted by minsc_tdp
Quote:
Originally Posted by billko
I can always cycle them by saying "next tube." Bill
Careful with that, if it missed a tube switch, say you start at 1 and say "tube 3" and it misses it, then you say "next tube" twice to reach tube three, it will actually think you're on tube 5. Then if you say "open tube 1" it will think it has to go 2 more to go 6,1 and it will actually end up opening tube five (cuz you're on 3 and it goes 3+2). So it's best we fix this. If you find yourself all mixed up of course just say "reset tubes" and click tube 1, and it should be fine from there.
I figured that, so I don't rely on it. If the torpedo room didn't "hear" me, I hit the "w" to make sure the command goes through. From the documentation you provided, I figured it was absoultely essential to do this or everything would get out of sync. And, of course, the few times I forgot, I went to "manual override" until I was out of the firefight, then "reset tubes" - after manually setting the tube to tube one, of course.

I hope that the delay thing will fix it. My theory is that when it starts to lag, the program starts loading the keyboard buffer more quickly than SH4 can read it; therefore, some of the "keystrokes" are overlooked. The other theory is that SH4 clears the keyboard buffer right before it reads it, instead of right after it reads it. While that seems to be just semantics, it comes into play when the game slows down significantly because the window of opportunity where the player can input a keyboard stroke and have it be cleared "accidentally on purpose" gets pretty big. A variant of that theory is that the computer slows down so much that the keyboard interrupt isn't serviced until it's too late and the SH4 dumps the keyboard input for the reason above. I dunno, timing gets hairy when the computer is under duress like that. The last theory would explain why, when deep in time compression, the mouse and keyboard become fairly unresponsive, and may be the reason why keyboard strokes are lost to me when the graphices slow the game down.

I hope this has given you some insight on how you might make this super mod accomodate slow rigs like mine. I say it's optional because there's nothing wrong with the mod; it's something wrong (read: slow) about some of the computers it's being run on.

Bill
billko is offline   Reply With Quote
Old 02-24-08, 07:19 PM   #2
tomoose
Grey Wolf
 
Join Date: Aug 2005
Posts: 930
Downloads: 23
Uploads: 0
Default Beauty

Minsc_tdp;
finally gave this a shot. In a word, excellent!! It really adds to the immersion.

A couple of questions;
1. I can't seem to get my 10 torpedo tubes recognized. It's fine up to 'tube 6' but 7 to 10 won't work and I have to click on them. I always start my game with "I have 10 tubes" and "reset tubes". Am I missing something?
2. Is there a way to avoid having the cursor jump around in reaction to the voice command? If not, no biggie, it's just a small distraction.

I've also got TrackIR and I'm just now wondering if I use that on 'mouse emulation' mode if I can move my 'view' using the TrackIR? Hmmmmm:hmm:

Overall, SH4 Speech on top of the TM and RSRD mods has been the best addition to this game. I changed the direction commands to be "come left/right 10, 15, 20 degrees" as opposed to "heading...." and it is so cool to say "come left 10 degrees" and have the response come back "new course XXX degrees". I say "dive" and lo and behold, the sub dives. I say "make your depth 200 feet" and the diving officer responds with " new depth 199 feet" (I know the 199 is a quirk in the game but a very minor one in my book).

SH4 Speech rocks
tomoose is offline   Reply With Quote
Old 02-25-08, 02:08 PM   #3
minsc_tdp
XO
 
Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
Default

I'll test the 10 tubes problem tonight. Didn't know there was any issue there. Nobody has ever reported it.

Make sure it actually hears you when you say "i have ten tubes" by trying that command before you enter the game a few times.

This reminds me of another suggestion someone made - a simple audible feedback anytime a command is recognized and successfully processed. A very short, quick "blip" would be all that is necessary. Hopefully the game doesn't dominate the soundcard, I think I will add this tonight and make the MP3/WAV file interchangable of course so you can use anything you want.

No clue about TrackIR, sorry
__________________
June 29 2016 - shSpeech v2.55 - Voice Command for Silent Hunter 4! View Thread
minsc_tdp is offline   Reply With Quote
Old 02-25-08, 02:09 PM   #4
minsc_tdp
XO
 
Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
Default 2.52

Forgot to post here - 2.52 updated with "Pause Recognition" and "Resume Recognition" commands. I'm thinking that this, combined with Press To Talk Mode is pretty good, but a nice third option would be a key-based recognition toggler. Just tap once and it ignores, tap again and it starts listening.
__________________
June 29 2016 - shSpeech v2.55 - Voice Command for Silent Hunter 4! View Thread
minsc_tdp is offline   Reply With Quote
Old 02-25-08, 03:17 PM   #5
tomoose
Grey Wolf
 
Join Date: Aug 2005
Posts: 930
Downloads: 23
Uploads: 0
One more thing.

I'm probably pushing my luck (and your patience ) with more questions.

I'm running at 1650 x 1090 resolution. Because the .csv files etc come defaulted to the smaller resolution, what are the tweaks I must do and in which files. I edited the voice_command.csv but am unsure about the other .csv files as I don't want to screw it up.

Having said that, it seems to work pretty much flawlessly but I find the occasional command where I say a command and instead of executing that specific command my 'view' will pan and then point down (usually on the bridge).

I'm sure these issues are pure ignorance on my part and are not problems with the mod itself. It's really added a new dimension to the game for me, thanks very much for your work, well done.

BTW, the installation was a breeze. The only other download necessary was the actual MS SDK software. The SDK 'training' session, IMHO, is a must before using the mod. The other bonus is, if I forget to run the mod batch file to start it before starting SH4, no biggie, simply alt-tab out, start it then alt-tab back in.
tomoose is offline   Reply With Quote
Old 02-25-08, 04:42 PM   #6
minsc_tdp
XO
 
Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
Default

Quote:
Originally Posted by tomoose
I'm probably pushing my luck (and your patience ) with more questions.
Not at all!

Quote:
Originally Posted by tomoose
I'm running at 1650 x 1090 resolution. Because the .csv files etc come defaulted to the smaller resolution, what are the tweaks I must do and in which files. I edited the voice_command.csv but am unsure about the other .csv files as I don't want to screw it up.
You don't have to edit any CSVs for resolution. Just edit the BAT file in the root folder and punch in your resolution. It should just work!

Quote:
Originally Posted by tomoose
Having said that, it seems to work pretty much flawlessly but I find the occasional command where I say a command and instead of executing that specific command my 'view' will pan and then point down (usually on the bridge).
This is because you are focused in the periscope/camera (ya know, where the mouse disappears) and when it tries to move the mouse, it doesn't know this. Get in the habit of knowing which commands require the mouse to move around (anything not mappable to a key, such as dials) and make sure your mouse is visible before executing the command. I wish I knew a way to detect the mouse state and manage that for you but, I don't.

Quote:
Originally Posted by tomoose
I'm sure these issues are pure ignorance on my part and are not problems with the mod itself. It's really added a new dimension to the game for me, thanks very much for your work, well done.
Bah, the manual might help on some of the above questions but, I don't read manuals either.

Quote:
Originally Posted by tomoose
BTW, the installation was a breeze. The only other download necessary was the actual MS SDK software. The SDK 'training' session, IMHO, is a must before using the mod. The other bonus is, if I forget to run the mod batch file to start it before starting SH4, no biggie, simply alt-tab out, start it then alt-tab back in.
Yeah, the documentation has a lot of good recommendations for tuning the mic and speech recognition, and is worth reading for sure.

You could try adding "start c:\games\sh4\sh4.exe" to your BAT file and it'll run it for you (change path to EXE of course, and wrap it in quotes if it has spaces)

Minsc
__________________
June 29 2016 - shSpeech v2.55 - Voice Command for Silent Hunter 4! View Thread
minsc_tdp is offline   Reply With Quote
Old 04-24-08, 04:11 AM   #7
W4lt3r
Ensign
 
Join Date: Apr 2008
Posts: 222
Downloads: 46
Uploads: 0
Default

I got a question regarding this mod, do i need to have proper working windows speech recognizing software, because somehow my Vista doesnt have that software and i cannot find ANY instructions on how to get it..

Or is there an alternative program that can run the same thing?
W4lt3r is offline   Reply With Quote
Old 04-24-08, 11:30 AM   #8
tomoose
Grey Wolf
 
Join Date: Aug 2005
Posts: 930
Downloads: 23
Uploads: 0
Default MS SDK software

The MS SDK software is available from the Microsoft website. It's free and is easy to install.
tomoose is offline   Reply With Quote
Old 04-24-08, 11:36 AM   #9
W4lt3r
Ensign
 
Join Date: Apr 2008
Posts: 222
Downloads: 46
Uploads: 0
Default

It's for XP.. Not for Vista, or is it compabilitible with Vista too?
W4lt3r is offline   Reply With Quote
Old 04-24-08, 05:34 PM   #10
minsc_tdp
XO
 
Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
Default

I have used it with Vista and I know it works.

The key difference between XP and Vista is that you have to manually enable voice recognition in Vista. When you do this, a weird bar appears at the top of your screen with, if I recall correctly, a big button. This enables the voice recognition and then sh4Speech can hook into it. I believe you do this under Control Panel, search for Speech.
__________________
June 29 2016 - shSpeech v2.55 - Voice Command for Silent Hunter 4! View Thread

Last edited by minsc_tdp; 04-24-08 at 05:46 PM.
minsc_tdp is offline   Reply With Quote
Old 04-25-08, 07:32 AM   #11
W4lt3r
Ensign
 
Join Date: Apr 2008
Posts: 222
Downloads: 46
Uploads: 0
Default

RIight, just DLed the SDK 5.1 and i dont understand it one bit... How to manually start the thing etc...
Because my speech recognition panel in Control panel only has 1 and half lines of text and it is "If you would like to learn more about speech related tools and support from Microsoft, please visit the Microsoft Speech Online Community"

And on that site there is no clue at all HOW To install the damn thing. It already presumes i got the software.

Last edited by W4lt3r; 04-25-08 at 07:46 AM.
W4lt3r is offline   Reply With Quote
Old 05-20-08, 11:59 AM   #12
platounet
Swabbie
 
Join Date: Feb 2006
Posts: 7
Downloads: 233
Uploads: 0
Default Sh4speech and Real Fleet Boat

Sh4speech is a very enjoyable mod.. But as i like to play with RFB , i 'll be grateful if it was possible to have a version of Sh4speech for RFB as you did for TMO...Think about it and thanks you very much!
platounet is offline   Reply With Quote
Old 05-21-08, 08:07 AM   #13
tomoose
Grey Wolf
 
Join Date: Aug 2005
Posts: 930
Downloads: 23
Uploads: 0
Default Still problems with aft torpedoes and voice

minsc_tdp;
me again, LOL. I've been away for awhile and am back enjoying SHIV and SH4 Speech. I'm still having the same problem as before.

I start mission with "I have six tubes" and "reset all tubes" and "reset all dials" etc.
When I'm using the TDC etc I have no problem with tubes 1 to 4. I say "tube 3" it goes to tube 3. When I say "tube 5" or "tube 6" (the aft tubes) there's no reaction or it will default back to tube 1. The same applies for later subs with 10 tubes, the forward tubes react accordingly whereas the aft tubes don't and I have to use the cursor.

Perhaps I need to do more "practice" with SDK to get it more familiar with my voice but it seems more than a coincidence that it's always the aft tubes in each sub.

Have you had a chance to look at this?
Thanks for your time.
Tomoose
tomoose is offline   Reply With Quote
Old 11-04-08, 10:19 AM   #14
Stev1
Medic
 
Join Date: Apr 2005
Location: Scotland
Posts: 164
Downloads: 205
Uploads: 0
Default

I've downloaded and installed SH4 Speech-voice command and it says that ActivePerl and Active Python are needed, what is activeperl and active python
Stev1 is offline   Reply With Quote
Old 11-04-08, 12:31 PM   #15
billko
中国水兵
 
Join Date: Jul 2007
Posts: 275
Downloads: 21
Uploads: 2
Default

Quote:
Originally Posted by Stev1
I've downloaded and installed SH4 Speech-voice command and it says that ActivePerl and Active Python are needed, what is activeperl and active python
Are you sure this is version 2.x? The leatest versions should have no dependancies on either of those. All you should need to to is unzip it and run the batch file. Some customization of the batch file might be needed, but that's about it.

Bill
__________________
Damage Control 1.1 - LeoVampire Edition - Can you trust the experience of your crew to inform you of how deep you can really dive?
billko is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 02:17 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.