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 11-05-08, 04:00 PM   #1
minsc_tdp
XO
 
Join Date: Mar 2007
Posts: 413
Downloads: 1
Uploads: 0
Default Scavone

Scavone,

Sorry for my vista comment, I didn't notice your other post where you said you're running XP.

Regarding your win32com error - that's pretty weird. The compiled python script does use win32com (obviously) but I would have thought it would be compiled in and should just work. What might solve the problem is to go ahead and manually install ActivePython and then pywin32 which might overwrite some core system libraries that perhaps this is connecting to.

ActivePython

http://www.activestate.com/store/dow...e-b8d819b7cdbb

PyWin32

http://downloads.sourceforge.net/pyw...8&big_mirror=0

Let me know.
__________________
June 29 2016 - shSpeech v2.55 - Voice Command for Silent Hunter 4! View Thread

Last edited by minsc_tdp; 11-05-08 at 04:00 PM.
minsc_tdp is offline   Reply With Quote
Old 11-05-08, 03:57 PM   #2
minsc_tdp
XO
 
Join Date: Mar 2007
Posts: 413
Downloads: 1
Uploads: 0
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
Billko is right, the latest version 2.54 does not require those, since it uses compiled executables with everything built-in.

There is no install - you unzip the package and run one of the BATs to start it, that's it.
__________________
June 29 2016 - shSpeech v2.55 - Voice Command for Silent Hunter 4! View Thread
minsc_tdp is offline   Reply With Quote
Old 11-13-08, 06:39 PM   #3
havoc
Bilge Rat
 
Join Date: May 2006
Posts: 1
Downloads: 0
Uploads: 0
Default


CAn sombody help ..
this sounds stupid, but how do i go about changing the rez from 1024x 768 to 1680x1050 in the shspeech-stock.bat file.
as u probably can tell i know nothing about computers and its not all that clear in the instructions u ever get that feeling that the answers going to be really easy . and you going to get that DOH! moment ..
havoc is offline   Reply With Quote
Old 11-14-08, 09:53 PM   #4
billko
中国水兵
 
Join Date: Jul 2007
Posts: 275
Downloads: 21
Uploads: 2
Default

Quote:
Originally Posted by havoc

CAn sombody help ..
this sounds stupid, but how do i go about changing the rez from 1024x 768 to 1680x1050 in the shspeech-stock.bat file.
as u probably can tell i know nothing about computers and its not all that clear in the instructions u ever get that feeling that the answers going to be really easy . and you going to get that DOH! moment ..
Okay, not a problem. Right-click on the icon representing your .bat file. Choose "edit." The file will open up in notepad. Type in the resolution you are playing in (in this case, 1680 x 1050) in place of the 1024 x 768. Click on File --> Save. Then click File --> exit and you're done! Don't forget to enjoy the application.

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
Old 11-22-08, 09:10 PM   #5
SinkingDDT
Swabbie
 
Join Date: Nov 2008
Posts: 7
Downloads: 0
Uploads: 0
Any help getting this to work?

I got MS Speech SDK 5.1 downloaded and working, but I can't get this amazing looking program to work. Obviously it would be GREAT, but it would really hook my eight-year-old who is now starting to share my interest in WWII subs.

When I run "sh4speech - stock.bat", I get a MS-DOS screen (?) that ends with "Listening... ." and the cursor blinking below that. What am I missing?

NOT A MODDER OR A COMPUTER MASTER AT ALL!

Any and all appreciated. You modders amaze and shame me.

In the meantime, can you help me?
SinkingDDT is offline   Reply With Quote
Old 11-23-08, 12:17 AM   #6
billko
中国水兵
 
Join Date: Jul 2007
Posts: 275
Downloads: 21
Uploads: 2
Default

Quote:
Originally Posted by SinkingDDT
I got MS Speech SDK 5.1 downloaded and working, but I can't get this amazing looking program to work. Obviously it would be GREAT, but it would really hook my eight-year-old who is now starting to share my interest in WWII subs.

When I run "sh4speech - stock.bat", I get a MS-DOS screen (?) that ends with "Listening... ." and the cursor blinking below that. What am I missing?

NOT A MODDER OR A COMPUTER MASTER AT ALL!

Any and all appreciated. You modders amaze and shame me.

In the meantime, can you help me?
You're missing... maybe microphone setup? There's a few things to do first:
  1. Make sure your microphone is plugged into the right jack and that it is turned on.
  2. Open the control panel: Start --> settings --> Control Panel.
  3. Double-click on the Speech icon. This opens Speech Properties.
  4. Configure the microphone
    1. Click on the <Configure Microphone> button in the Microphone section.
    2. Follow the prompts.
  5. Create a new Profile
    1. Click the <New> button in the Recognition Profiles section
    2. Follow the prompts to create it.
  6. Making sure the Profile you've created has a check mark next to it, train it
    1. click on the <Train Profile...> button
    2. Follow the prompts.
  7. Start up the SH4Speech application, then SH4 itself and enjoy the game
IMHO, it's best, if you have a middle mouse button, to configure the press-to-talk option. That way extraneous noise (or a malicious siblng) can't trigger a false command.

Hope this helps!
__________________
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
Old 11-23-08, 10:07 PM   #7
SinkingDDT
Swabbie
 
Join Date: Nov 2008
Posts: 7
Downloads: 0
Uploads: 0
No joy-

Thanks, Billko-

I don't know how I did it, but I finally got beyond the "Listening..." prompt, but... .

I kept getting it. I spoke many of the commands into the microphone, and would get several lines of text each time, which looked like I was making progress! WOO-HOO! But it kept happening, like it was "Groundhog Day". So, I think the mike is working and the program is 'learning', but I don't know how to 1) make it either stop or remember or 2) actually see anything happening in SH4 itself.

I have the speechpack in my DOCUMENTS folder. Is that the problem?

Thanks for the quick response, Billko.
__________________
"Press any key. Where's the 'any' key?"
SinkingDDT is offline   Reply With Quote
Old 11-24-08, 02:29 AM   #8
billko
中国水兵
 
Join Date: Jul 2007
Posts: 275
Downloads: 21
Uploads: 2
Default

Quote:
Originally Posted by SinkingDDT
Thanks, Billko-

I don't know how I did it, but I finally got beyond the "Listening..." prompt, but... .

I kept getting it. I spoke many of the commands into the microphone, and would get several lines of text each time, which looked like I was making progress! WOO-HOO! But it kept happening, like it was "Groundhog Day". So, I think the mike is working and the program is 'learning', but I don't know how to 1) make it either stop or remember or 2) actually see anything happening in SH4 itself.

I have the speechpack in my DOCUMENTS folder. Is that the problem?

Thanks for the quick response, Billko.
So, you've gone through the checklist? Each step MUST be completed for the application to work properly. Setting up the mic makes sure that the microphone gain is enough so that the application can "hear" your voice, but not so loud it distorts and the application cannot understand what you are saying. Training is important because the application has to hear you speak so it can match sounds that you make to text that it "reads."

Also, what you are reporting may actually be the application working as planned. Buried somewhere deep in the documents is an explanation that, to paraphrase, "needs to periodically restart the speech engine to avoid a memory leak." If what you see is "Restarting the speech engine" and then "listening..." that should be normal.

Again, I hope I've given you enough knowledge to make it work! This is such a neat application, I wouldn't give up on it just yet!

Oh, and it shouldn't matter where you placed the SH4Speech folder, as long as it isn't in the recycle bin!

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?

Last edited by billko; 11-24-08 at 02:30 AM.
billko is offline   Reply With Quote
Old 11-26-08, 09:35 AM   #9
SinkingDDT
Swabbie
 
Join Date: Nov 2008
Posts: 7
Downloads: 0
Uploads: 0
Good to go-

Billko, you are the MAN!

Turns out I was, indeed, missing one simple step, and I got it from reading your e-mail--
Start up the SH4Speech application, then SH4 itself and enjoy the game
Um, I didn't realize I had to leave SH4SPeech open when I startedSH4. Which kinda makes sense, since I was thinking someone was a genius to have come up with a way for SH4 to know I wanted to use the Speechpack. Oh, the shame.... .

Thanks again, couldn't have done it without you!

Now for CapnScurvy's Medals Fix... .

What's an ".rar" file?
__________________
"Press any key. Where's the 'any' key?"
SinkingDDT is offline   Reply With Quote
Old 09-13-09, 02:14 PM   #10
DeathCobra
Bilge Rat
 
Join Date: Sep 2009
Posts: 1
Downloads: 51
Uploads: 0
Default

is it somehow possilble to use the Dragon Naturally Speak engine with SH3speech instead of the Microsoft Speech Recognition engine?
DeathCobra is offline   Reply With Quote
Old 10-11-09, 09:37 PM   #11
H2osmokey
Nub
 
Join Date: Jul 2009
Posts: 2
Downloads: 7
Uploads: 0
Default Speech command in Vista

Tried this in vista but it would not comprehend. Can't load the Win speech program as it is designed for XP and prior. Any Speech for Vista and SH4?
(8?

NEVERMIND . . . found out the batch file didn't open right. All commands active now! (8D

Last edited by H2osmokey; 10-13-09 at 07:58 PM.
H2osmokey is offline   Reply With Quote
Old 10-14-09, 07:08 PM   #12
H2osmokey
Nub
 
Join Date: Jul 2009
Posts: 2
Downloads: 7
Uploads: 0
Default sh4Speech fixes command_bar.csv

I was having some difficultiy with the Battle Stations, Depth Below keel, Damage Control etc and discovered some fixes. Here are some lines to update (don't forget to save the original command_bar.csv).

504 Button LowerLeft Depth Under Keel 500 239 739
505 ButtonLowerLeft Evasive Left 500 286 739
506 Button LowerLeft Evasive Right 500 336 739
569 ButtonLowerLeft Battle Stations 565 238 739
567 ButtonLower Left Damage Control Station 565 140 739

(8D
H2osmokey is offline   Reply With Quote
Old 03-16-10, 01:09 AM   #13
minsc_tdp
XO
 
Join Date: Mar 2007
Posts: 413
Downloads: 1
Uploads: 0
Default sooooooooooo

Sooooooooooo......

sh5Speech anyone?
__________________
June 29 2016 - shSpeech v2.55 - Voice Command for Silent Hunter 4! View Thread
minsc_tdp is offline   Reply With Quote
Old 03-16-10, 01:14 AM   #14
billko
中国水兵
 
Join Date: Jul 2007
Posts: 275
Downloads: 21
Uploads: 2
Default

Quote:
Originally Posted by minsc_tdp View Post
Sooooooooooo......

sh5Speech anyone?
like you even hadda ask...
__________________
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
Old 03-21-10, 02:33 AM   #15
ferg
Watch
 
Join Date: Dec 2007
Posts: 19
Downloads: 148
Uploads: 0
Default

First off, thanks for sh4Speech. It seems like it's pretty neat, and I imagine a fair bit of work has gone into making it. I write "seems" only because I can't get it to work properly. Does it not support 1440x900? When I order a depth, it clicks the wrong place on the depth dial. I have correctly set my resolution in the batch file. Thanks, guys.
ferg 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 06:19 PM.


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