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 03-21-10, 03:46 AM   #1
billko
中国水兵
 
Join Date: Jul 2007
Posts: 275
Downloads: 21
Uploads: 2
Default

Quote:
Originally Posted by ferg View Post
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.
It works by calculating the ratio of your screen's height and width. I THINK there was an issue when you weren't playing at your monitor's native resolution.

Hopefully you can search this thread and find your solution.

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 03-21-10, 04:50 AM   #2
ferg
Watch
 
Join Date: Dec 2007
Posts: 19
Downloads: 148
Uploads: 0
Default

1440x900 is my monitor's native resolution.

Edit: I also tried 1024x768, and curiously it appears to be wrong by precisely the same amounts. It's as if the dial is not in the position expected. This made me curious, so I decided to compare screenshots of my TMO modded game with the standard game. It looks as though TMO raises the dials for some reason. That would explain this behaviour. Is this utility incompatible with TMO 1.9?

Last edited by ferg; 03-21-10 at 05:36 AM.
ferg is offline   Reply With Quote
Old 03-21-10, 05:30 AM   #3
billko
中国水兵
 
Join Date: Jul 2007
Posts: 275
Downloads: 21
Uploads: 2
Default

Quote:
Originally Posted by ferg View Post
1440x900 is my monitor's native resolution.
minsc is VERY helpful with supporting his application. i'm sure he can help you.
__________________
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 04-30-11, 04:50 PM   #4
Strawberry
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Hello again

I've finally translated the "voice_commands.csv" for TriggerMaru Overhauled to Spanish so I can speak to my crewmen in my mother language and I whish to share it here for others who may be interested.

The file: http://www.megaupload.com/?d=RYSC9LCH

It is not fully tested yet (too many lines) but I will update it if I find any bugs.

Thank you again minsc_tcp for this fantastice software
  Reply With Quote
Old 06-16-11, 12:01 AM   #5
minsc_tdp
XO
 
Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
Default

You're welcome Strawberry.

Feels good to have created something lasting that people enjoy.

I hope you have all managed to fare well in my absence and I sincerely appreciate those who have stepped up to troubleshoot, improve, and tweak and help other in the community.

One day I'd like to review the thread and collect all of the improvements and fixes players have posted and release an update that works, is TMO friendly, does spanish, and fixes the various bugs.

I sometimes wonder about parts of the code that weren't done very well, especially the tube handling, and hope that people have figured out that they can edit the Perl script and recompile it with perl2exe so that the community can fully get control of this beast and wrangle it to do what they need.
__________________
June 29 2016 - shSpeech v2.55 - Voice Command for Silent Hunter 4! View Thread
minsc_tdp is offline   Reply With Quote
Old 07-06-11, 09:05 AM   #6
SaffaSkipper
Bilge Rat
 
Join Date: Jul 2011
Posts: 1
Downloads: 4
Uploads: 0
Default Help?

Ok so I'm not brilliant with coding etc, and I downloaded this today, its been a few years since I've touched Delphi.
Overall it's amazing, but the torpedo commands won't work and some silly commands do the wrong thing, eg. Saying "depth under keel" causes a dive to periscope depth?

Is it perhaps coz I'm running TMO?
SaffaSkipper is offline   Reply With Quote
Old 01-15-12, 09:01 PM   #7
denny927
Electrician's Mate
 
Join Date: Feb 2009
Location: Mexico City
Posts: 132
Downloads: 213
Uploads: 0
Default

very funny, im very looking for this after watching a lets play sh3 in youtube made by frontier359, in fact this guy used a speech command, and is very cool.

this program work with tmo2.2 too?
a step by step install instruction?
with windows7 64 no problem?

thanks
denny927 is offline   Reply With Quote
Old 01-20-12, 03:56 PM   #8
tomoose
Grey Wolf
 
Join Date: Aug 2005
Posts: 930
Downloads: 23
Uploads: 0
Default Saffa Skipper....

....it's either that the software is misinterpreting your command (because it hears one sound clearer than the rest) in which case I'd suggest re-running the Windows voice-recognition tester again.

OR (more likely)

it may be the coordinates for that piece of equipment are off.
For example: Your "dive" button is at coordinate X, Y (where the virtual mouse cursor will go to activate that function) but your screen resolution is different than what is in the original SHIV Speech so your "dive" button is actually at coordinate A, B. If A, B is the coordinate for another command then it will activate instead of the "dive" command. You'll notice the mouse cursor moves when you give certain commands. Your voice command is essentially telling the mouse cursor where to go. The cursor goes to those coordinates. I hope I explained that correctly, someone more experienced can correct me where I went wrong.
tomoose is offline   Reply With Quote
Old 01-27-12, 10:52 AM   #9
bbrus
Bilge Rat
 
Join Date: Oct 2009
Posts: 1
Downloads: 20
Uploads: 0
Default

Hello everyone,

Do you know if SH4 Speech can be used in German, or if there's any voice recognition mod to use with Operation Monsun? I've been searching for a while but I can only find voice mods in german for SH3 and SH5.
bbrus is offline   Reply With Quote
Old 01-31-12, 04:29 PM   #10
Herr Trigger
Electrician's Mate
 
Join Date: Nov 2007
Location: Landlocked inside M25, U.K.
Posts: 135
Downloads: 212
Uploads: 0
Default

Hi, has anyone been able to run sh4speech under Win7 ? I'm having a great deal of grief with this, mic and everthing else works, all I get is the DOS box with the set resolution etc and 'Listening', at any verbal command - nothing.
Yes, I'm starting sh4speech first, then SH4, " I have 10 tubes", "reset tubes", "reset dials",blah blah, give command "Bridge" and nothing.
Any ideas?
Many Thanks,
H.T.

p.s.

I,ve read through this thread over and over and tried every conceivable suggestion but no one has mentioned Win7
Herr Trigger is offline   Reply With Quote
Old 04-10-12, 05:42 AM   #11
Stargazer
A-ganger
 
Join Date: Jan 2011
Posts: 76
Downloads: 32
Uploads: 0
Default

I discovered this purely by accident yesterday and I wish I has found it earlier. This is an amazing piece of work.

I noticed the chap above me asking about Win7. Mr Trigger, run your Win7 Speech Recognition program, this may be a bit quirky but you can train it to be less useless.

Once that program is running, then launch the shSpeech batch file and you're good to go. but Windows has to be listening first otherwise the batch file has no way to interface with you.

Now, I have a question also: I have adjusted the batch file to shoe resolution 1920x1080. Things - for the most part - are working well, but there appears to be a bit of misclicking on the three dials for Speed, Heading/Rudder and Course.

Is this a side effect of using a 16x9 display rather than the more-PC-friendly 16x10? Has anyone got a TMO batch file with slightly adjusted mouse co-ordinates that makes a 1920x1080 voice commanding more accurate?

T'is also something of a Godsend, being able to bark orders inthis manner because I only installed TMO last night and all the buttons are different so instead of keybaord mashing, I can just ask for stuff and it magically appears.

Though I did burp rather audibly last night and subsequently exclaimed "Ooh, excuse me!" to which my Ex-O said, "Yes Sir, New Course: Two-Three"... that made me chuckle.
Stargazer is offline   Reply With Quote
Old 06-28-12, 04:51 AM   #12
Beardmoresam
A-ganger
 
Join Date: Oct 2011
Posts: 74
Downloads: 444
Uploads: 0
Default Commands not effective

Hi, I really like the look of your work, however I'm having some small trouble with it.

It understands what I say perfectly as in the cmd window, the correct commands are being executed (when I check them after) but unfortunately, it is having absolutely no effect in game. Running full screen, 1366x768 on windows 7, made sure my anti-virus isn't sandboxing the program. Can't run it as administrator though as it just closes as soon as it opens. Wondering if perhaps that's the issue?

Any help is appreciated, thanks.
Beardmoresam is offline   Reply With Quote
Old 10-21-12, 09:36 PM   #13
minsc_tdp
XO
 
Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
Default

Quote:
Originally Posted by Stargazer View Post
I discovered this purely by accident yesterday and I wish I has found it earlier. This is an amazing piece of work.

I noticed the chap above me asking about Win7. Mr Trigger, run your Win7 Speech Recognition program, this may be a bit quirky but you can train it to be less useless.

Once that program is running, then launch the shSpeech batch file and you're good to go. but Windows has to be listening first otherwise the batch file has no way to interface with you.

Now, I have a question also: I have adjusted the batch file to shoe resolution 1920x1080. Things - for the most part - are working well, but there appears to be a bit of misclicking on the three dials for Speed, Heading/Rudder and Course.

Is this a side effect of using a 16x9 display rather than the more-PC-friendly 16x10? Has anyone got a TMO batch file with slightly adjusted mouse co-ordinates that makes a 1920x1080 voice commanding more accurate?

T'is also something of a Godsend, being able to bark orders inthis manner because I only installed TMO last night and all the buttons are different so instead of keybaord mashing, I can just ask for stuff and it magically appears.

Though I did burp rather audibly last night and subsequently exclaimed "Ooh, excuse me!" to which my Ex-O said, "Yes Sir, New Course: Two-Three"... that made me chuckle.
1920x1080 is a 16:9 aspect ratio, so the ideal screen is in fact a 16:9 display. If you had a 16:10 display and were running 1920x1080 some of the pixels would be stretched and the clicks could be off where they should be. But this could still be related somehow.

My suggestion is to launch your game and take a screenshot, then put that screenshot into a graphic editing program to determine the actual dimensions of the screen, then set your batch file to that.

What is possibly happening is you have an overscan/underscan setting on your display which is causing 1920x1080 to actualy be something like 1908x1010 or something equally weird. When this is in effect, it "lies" to the game and says it's 1920x1080, but then it alters it on the video card after the fact and that would break the locations of things making shSpeech misclick.

Summary: Don't trust your video card resolution or what the game says. Take a screenshot and measure it to determine your actual resolution and put that in the batch file.

Hope that helps.
__________________
June 29 2016 - shSpeech v2.55 - Voice Command for Silent Hunter 4! View Thread
minsc_tdp is offline   Reply With Quote
Old 10-22-12, 07:12 AM   #14
BigWalleye
Sea Lord
 
Join Date: Jul 2012
Location: On the Eye-lond, mon!
Posts: 1,987
Downloads: 465
Uploads: 0


Default

minsc, I found your excellent piece of work a couple of months ago. (It's really an add-on rather than a mod.) I have been using it ever since. The ability to give orders to your crew and have them execute completely changes the experience of the simulation. Nothing will make me feel that I am in a wartime environment while sitting in front of my computer, but the sense of being in a true simulation is enhanced. I would recommend that anyone who has a computer capable of speech recognition download this package, go out and buy a cheap headset (that's all you need) and try it. It's lightyears away from clicking buttons or tapping on a keyboard.

I did notice immediately that all the mouse-click commands were off. The dial-setting commands were initally unusable and the buttonbar commands work in the stock game, but not well in TMO and not at all in RFB. I have used two different monitors with two different resolutions. (1336x768 and 1920x1080). The stock settings would not work in either case. It is not just an overscan issue. I found it was necessary to adjust the mapping files, command_bar.csv and dials.csv, line by line in order to get the package to work properly. I'm sure there is a analytical way to determine the correct adjustments, but I used brute force - change a parameter, then go to SH4 and see if it worked. I eventually developed a strategy for doing this more rationally and precisely, but some of my earliest adjustments are a little rough and I never went back and refined them. (By then, all I wanted to do was play the game!)

If you are interested, I would be happy to send you my final operating files. You might be able to understand why the rework was necessary. If it's OK with you, I would also certainly be willing to make my tweaked version of your work available to anyone who wants to use it. It might save you/them a lot of twiddling. Just one caution: the key_commands.csv file is tweaked to my own custom keyboard mapping. You'll have to drop in the stock key_command.csv to use it.

BTW, I have versions which are compatible with RFB, TMO, and OM. The OM version accepts standard American English. Although my crew responds in Deutch, I'm not sufficiently fluent to give orders in a time-critical situation.
BigWalleye is offline   Reply With Quote
Old 06-28-12, 12:02 PM   #15
abel5405
Nub
 
Join Date: Mar 2010
Location: USA
Posts: 3
Downloads: 117
Uploads: 0
Default Command bar and Dial issues

Old play returning here, I have been play with the speach mod all morning but the Command Bar and dial locations seem to be off. The best example I have is wheen I order "Depth Under Keel" the mouse clicks on the "Pariscope Depth" button.

I have followed all the instructions for startup but still have the same problem. Is there a fix chance? Many thanks in advance for your time and help.
abel5405 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 04:04 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.