[RELEASED] Speech and Ambient Sound Module - Updated CMANO 1.12 936.11

Take command of air and naval assets from post-WW2 to the near future in tactical and operational scale, complete with historical and hypothetical scenarios and an integrated scenario editor.

Moderator: MOD_Command

sluggy2010
Posts: 122
Joined: Wed Oct 02, 2013 1:09 am

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by sluggy2010 »


You can add a replace line in the filters

Search text Sqn
Replace text Squadron
set repeats suppression to 0
and last column to Continue

Do this before the 'Finds'

Its worth the money sounds like an RAF admin :)


pandoraefretum
Posts: 118
Joined: Fri Sep 27, 2013 2:59 pm

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by pandoraefretum »

Yes, thanks for the REPLACE tip
well on my way to smoothing it all out... (thanks to a space after Squadron)
Nice recommendation Sluggy about the Audrey16,
She brings the game to life.. SeaHag is a wonderful module!!
sluggy2010
Posts: 122
Joined: Wed Oct 02, 2013 1:09 am

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by sluggy2010 »


Glad you like it, as a note if anyone creates REALLY long tables of filters etc, and you want to back them up then they are held in c:\users\<username\Appdata\Local\SeaHag<Versioninfo>\1.0.0.0\user.config

Worth knowing if you have added lots of entries in the filter tables.

Its an XML file - so copy it away as different versions may store in different directories.

Regards

sluggy





User avatar
coolts
Posts: 387
Joined: Tue Feb 01, 2011 7:47 am
Location: Auf Wiedersehen, Pet

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by coolts »

Doesn't work on 8.1.

Log file and game DIR not found automatically, (mine aren't in "c:\program files").

when clicking "Default Dir" I get;

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Logs'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption)
at SeaHag.Form1.ScanDirectory(String DirPath)
at SeaHag.Form1.Button2_Click_1(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


...and then in game...


************** Exception Text **************
System.TypeInitializationException: The type initializer for 'Un4seen.Bass.Bass' threw an exception. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at Un4seen.Bass.Bass.BASS_SetConfig(BASSConfig option, Int32 newvalue)
at Un4seen.Bass.Bass.b()
at Un4seen.Bass.Bass..cctor()
--- End of inner exception stack trace ---
at Un4seen.Bass.Bass.BASS_Init(Int32 device, Int32 freq, BASSInit flags, IntPtr win)
at SeaHag.Form1.init_sound()
at SeaHag.Form1.Button2_Click(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


"Gauls! We have nothing to fear; except perhaps that the sky may fall on our heads tomorrow. But as we all know, tomorrow never comes!!" - Chief Vitalstatistix
MikeGER
Posts: 380
Joined: Tue Feb 01, 2011 10:18 am

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by MikeGER »

after i've set the log-file path (they populated the list, so that is working fine) , hit both default buttons, (filters show up down below, and saved the setting) I entered a side name and then hit "Start"

...i get this error-message ( ...but i can press continue?) i' m using W7/64bit
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.TypeInitializationException: Der Typeninitialisierer für "Un4seen.Bass.Bass" hat eine Ausnahme verursacht. ---> System.BadImageFormatException: Es wurde versucht, eine Datei mit einem falschen Format zu laden. (Ausnahme von HRESULT: 0x8007000B)
bei Un4seen.Bass.Bass.BASS_SetConfig(BASSConfig option, Int32 newvalue)
bei Un4seen.Bass.Bass.b()
bei Un4seen.Bass.Bass..cctor()
--- Ende der internen Ausnahmestapelüberwachung ---
bei Un4seen.Bass.Bass.BASS_Init(Int32 device, Int32 freq, BASSInit flags, IntPtr win)
bei SeaHag.Form1.init_sound()
bei SeaHag.Form1.Button2_Click(Object sender, EventArgs e)
bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
bei System.Windows.Forms.Button.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.18052 built by: FX45RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll.
----------------------------------------
SeaHag
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.0.
CodeBase: file:///C:/Games/Command%20Modern%20Air%20Naval%20Operations/Downloads%20f%C3%BCr%20CMNAO/SeaHaq-sound%20Module/SeaHag.exe.
----------------------------------------
Microsoft.VisualBasic
Assembly-Version: 10.0.0.0.
Win32-Version: 11.0.50709.17929 built by: FX45RTMREL.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.
----------------------------------------
System
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.18044 built by: FX45RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Core
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.17929 built by: FX45RTMREL.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Windows.Forms
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.18047 built by: FX45RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System.Drawing
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.18021 built by: FX45RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Runtime.Remoting
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.17929 built by: FX45RTMREL.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.17929 built by: FX45RTMREL.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
System.Speech
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.17929 built by: FX45RTMREL.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll.
----------------------------------------
System.Xml
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.18060 built by: FX45RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Configuration
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.18060 built by: FX45RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
Microsoft.GeneratedCode
Assembly-Version: 1.0.0.0.
Win32-Version: 4.0.30319.18060 built by: FX45RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
Bass.Net
Assembly-Version: 2.4.10.3.
Win32-Version: 2.4.10.3.
CodeBase: file:///C:/Games/Command%20Modern%20Air%20Naval%20Operations/Downloads%20f%C3%BCr%20CMNAO/SeaHaq-sound%20Module/Bass.Net.DLL.
----------------------------------------
mscorlib.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.17929 built by: FX45RTMREL.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt
sluggy2010
Posts: 122
Joined: Wed Oct 02, 2013 1:09 am

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by sluggy2010 »

Coolts - MikeGER

**edited - this change now built into v1.0d - try that one



Can you both try the attached.

Copy to the SeaHag directory and run the BETA code, let me know if you get the same problems.

I think both issues are attached to 64bit, though pandoraefretum above didn't get a problem.

Ensure you delete the user.config files as well from C:\Users\<username>\AppData\Local\SeaHag.exe\<identifier>\1.0.0.0\user.config

Then re click the two default grids, and save settings.


Regards

Sluggy

User avatar
coolts
Posts: 387
Joined: Tue Feb 01, 2011 7:47 am
Location: Auf Wiedersehen, Pet

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by coolts »

Yep. Will try after work. BTW, when you say i have to "set player side", do you mean I type in "United Kingdom" or somesuch? Or BLUEFOR, etc? Apologies if it's me being a bit daft.
"Gauls! We have nothing to fear; except perhaps that the sky may fall on our heads tomorrow. But as we all know, tomorrow never comes!!" - Chief Vitalstatistix
sluggy2010
Posts: 122
Joined: Wed Oct 02, 2013 1:09 am

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by sluggy2010 »

yep - "United Kingdom" or "Argentina" etc.

Only until the dev's release Beta 452 onwards, I need the side selection.

They kindly added it to Beta 452

ironic got it working on XP now have to do 8.1 [8|]
bomber1949
Posts: 16
Joined: Wed Oct 16, 2013 10:45 am

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by bomber1949 »

I Just want to drop in and thank you sluggy [:'(] for your Sound enhancement it has added a very immersive feel to this already brilliant simulation which is improving all the time by the way so while I am here I would like to give a big thanks to the developers and coders for this excellent "sim" and the regular feedback from the mods and developers at this forum to questions and problems given by us the end users, certainly a tottaly opposite experience than with RTW 2 [:@].

Getting ack to your sound addon sluggy I had it working and running fine on windows 7 (64 bit) up until your last release where it then gave out an error for me and would not then run but the beta fix you supplied to possibly rectify an error with windows 8.1 has also rectified the error thrown up with my installation under windows 7 (64 bit) and seems to be running fine again so I thought I would add that in case it helps you or anyone else having a similar problem certainly a very nice bit of software that seems to pull you into Command even more so!
love it!

CHEERS Mate
sluggy2010
Posts: 122
Joined: Wed Oct 02, 2013 1:09 am

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by sluggy2010 »


Great thanks for the feedback.

If it started working again for you , then I am pretty sure the issue was the jump back to .Net40 to get it up and running for the XP users.[8|]

I've had to change the compilation option to target for x86 specifically if anyone is interested. Odd thing was I didn't need to do that under .Net45 - ho hum [&:]

Anyhoo - I'm glad the module has done what I wanted it to, to add some more to what you so rightly described a great piece of software.

Soooo - I'll package up the Beta mentioned above then remove the Beta posting. So version 1.0d which up in about 10 mins - "should" work now on XP, Vista, Win7, 32 or 64bit annndddd Win8 and 8.1 - phew!

Thanks everyone for helping clear up the last minute bugs. Just to put things into perspective this is about a thousand lines of code now - har de har har so much for speech in 5 lines :)

Regards

Sluggy


Dimitris
Posts: 14771
Joined: Sun Jul 31, 2005 10:29 am
Contact:

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by Dimitris »

ORIGINAL: sluggy
Just to put things into perspective this is about a thousand lines of code now - har de har har so much for speech in 5 lines :)

Par for the course in the dev trade.

The _real_ tragedy is when the client is willing to pay only for the "5 lines of code" [:)]
MikeGER
Posts: 380
Joined: Tue Feb 01, 2011 10:18 am

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by MikeGER »

i just tested the SeaHaq-Beta1.exe ...and now it works [&o] (i hear the ambient humming)

THX ! Sluggy for the fast responce and bringing this immersive addon to the community [8D]
sluggy2010
Posts: 122
Joined: Wed Oct 02, 2013 1:09 am

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by sluggy2010 »


hehe yeah - or the you're standing next to the salesmen when he tells the client that its only five lines of code and you know its a thousand [:'(]


FERdeBOER
Posts: 13
Joined: Mon Oct 21, 2013 5:38 pm

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by FERdeBOER »

This is simply amazing and should be in the game by default. [&o]

Works great and I can finally "forget" the game, as I will be alerted when something happens. [:D]

User avatar
JSF
Posts: 137
Joined: Fri Jul 29, 2011 11:40 am

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by JSF »

Downloaded and started SeaHag. But I cannot check Default Speech Grid or Default Sound Grid, both are light Grey.
User avatar
JSF
Posts: 137
Joined: Fri Jul 29, 2011 11:40 am

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by JSF »

Found it, now it works.

Great Job!!![&o]
sluggy2010
Posts: 122
Joined: Wed Oct 02, 2013 1:09 am

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by sluggy2010 »


As we seem to have reached a stable version - any chance of a "sticky" for the message?

Regards

Sluggy
User avatar
airwinger63
Posts: 53
Joined: Thu Sep 26, 2013 7:49 pm

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by airwinger63 »

ORIGINAL: airwinger63

Evening,

I get the following error when I try to run the execute file, seahag.exe is not a valid Win32 application. I'm running Windows XP w/ SP-3 installed on a Asus Px6D58 motherboard with an Intel i7 950 @ 3.07.

Airwinger63


Evening,

I downloaded your 1.0d and installed the updated MS Speech files. Works great now. Thanks for what you’re doing. Now if you just point me in the of some speech files that sound life a nice Russian female that just finished off 5 packs of Camels cigarettes, I’ll be all set for a while.

V/R

Airwinger63
IYAOYAS

If You Ain't Ordnance You Ain't Shit.
sluggy2010
Posts: 122
Joined: Wed Oct 02, 2013 1:09 am

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by sluggy2010 »

how about a hot Dutch Euro chick who has chewed on one too many Gauloises?

http://ttsdownload.com/acapelasamples/Jasmijn.wav


Best source of voices I found were at http://www.nextup.com/



User avatar
jomni
Posts: 2827
Joined: Mon Nov 19, 2007 12:31 am
Contact:

RE: [RELEASED] Speech and Ambient Sound Module - files attached

Post by jomni »

No speech for me.

Are there presets for the speech tab? Or do I have to make one myself?
Would love to have a sample config file or something.

Post Reply

Return to “Command: Modern Operations series”