Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

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

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Air / Naval Operations >> [RELEASED] Speech and Ambient Sound Module - Updated CMANO 1.12 936.11 Page: [1] 2 3 4 5   next >   >>
Login
Message << Older Topic   Newer Topic >>
[RELEASED] Speech and Ambient Sound Module - Updated CM... - 11/5/2013 3:35:40 AM   
sluggy2010

 

Posts: 97
Joined: 10/2/2013
Status: offline

---------------------
Quickie instructions

---------------------

SeaHag Version 1.0k

What does SeaHag do?
SeaHag is a Speech and Ambient sound module for Command Modern Air Navy Operations.

Why call it SeaHag? Command is an honour; respect the role, and it just is....I have my reasons.

---------------------

Updated to work with the new format log files in patch 1.12 936.11 onwards of Command -

** DO NOT USE THIS VERSION OF SEAHAG WITH OLDER INSTALLATIONS BEFORE 1.12 936.11 ** IT WILL NOT WORK

Dates / time format string tags are now definable with regular expressions to cope with international formats or 24 hour clocks, and other padding characters. This is because the date time strings stored from CMANO are in local date time formats, not my doing.


example 1
07/08/75 9:30:00 PM - .....

DATE EXPRESSION REGEXP = ".* (AM|PM) - " The default - ignore the double quotes but DO include the spaces and press the button above date regexp to return to default.

example 2
16.07.2011 11:03:46 - ....
DATE EXPRESSION REGEXP = "(0?[1-9]|[12][0-9]|3[01]).(0?[1-9]|1[0-2]).\d\d\d\d (00|[0-9]|1[0-9]|2[0-3]):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]) - "

Ambient Sound tabs save ok now, Use the +/- buttons at the top of the first column to add or delete speech or ambient sound lines. ( thanks Nukkxx for spotting the bug)

My thanks also to bradinggs,commanderchrisp and bomber49 for testing the updates.

==========================================================================================

------------------------------

What does it need to run?
.NET 4.0 same as CMANO
Either Microsoft Speech - present in most modern versions of Windows by default.
or use eSpeak - http://espeak.sourceforge.net/
or any external speech/other command - use other with care....runs an external process to run any other programs but if you know what you are doing this is VERY powerful, eg transmission to web or syslog or anything else.

------------------------------------

SeaHag uses the CMANO logfiles to monitor the action - so no nasty intrusive programs breaking CMANO - and it does not mess about with CMANO in nasty ways.

However if you cant see information you want spoken in the logs - I cannot process it - so no I cant give you voice response for selecting a unit unless the devs send it to the logs.

Installation -

Extract the zip file to a directory that you want to run SeaHag from - thats it, maybe create a shortcut on your desktop.

Start SeaHag and for the first time only click "Default Speech" and "Default Sounds" then click save settings. < YOU MUST DO THIS PART >

It can autodetect the side selection and can detect side changes when you load a savegame now.

Whats new in 1.0i
Change - Changes around date and time processing to reflect CMANO players with different date formats.

Whats new in 1.0h

Bugfix - RegEXP not processing the first RegEXP expression fixed. ( Thanks Rangoon )
Bugfix - A STOP flag in the Reprocess / Continue / Stop column will prevent that line from being spoken at all. ( Thanks jbaxter1964 )
And some small tweaks/tidy ups that should not change functionality

Whats new in 1.0g

Steam users can now set the logfile directory if the registry settings are not found from the Matrix Version - no other changes.

Whats new in 1.0f

- Full expanding editing grid for those with complex rulebases.
- Ability to test speech items and pass a test line immediately through the engine. ( Handy when working with complex lines )
Put the text in the box next to "Parse Line" and click the button "Parse Line" to test how the rules would process the line if found in the log. ( Do a copy and paste from a log file line - it will need the whole line )
- Autodetect savegame loads and skip old messages until the side change is detected.
- New application instance so does not overwrite the old settings files. But does use a new settings file.
- Regular expressions - VERY powerful - and sorry - it may be tricky to understand for the uninitiated, cant change that - its just how things are.
- * wildcard for replace - changes all occurrences in the line ( put the * in the reduce char box )
- created a workaround for Microsoft dotnet library settings not storing fields which contained just a space.

===============================================


Quickstart -

Run SeaHag - ALWAYS BEFORE CMANO - and let it autodetect and do its piece if starting afresh.

- Or you can turn off "autodetect side" and it will get the announcements of both (all) sides if you really want it.

Only for the first run ....Click DEFAULT SOUND GRID and DEFAULT SPEECH GRID, then click SAVE SETTINGS.
** Note this applies even if you were using an older version ** I could automate this but you never know how people use this so I left it as manual.

If the date / time in your CMANO log files does not look like the following you will need a custom REGEXP string - use google to find what you need here.
07/08/75 9:30:00 PM - ............ <----- This is the default in my timezone

Seahag will need you to regexp up to and including the space after the minus sign.

Then click "START SeaHag"

SeaHag will look up the CMANO home directory automatically ( from the registry),
it processes the log files automatically and detects new ones on its own and will autoswitch to new log files automatically. ( unless you tell it not to ) by default.

New CheckBoxes on the screen.

AutoDetect Playerside - as it says - allows auto detection of the playerside by SeaHag.

SaveGame Force Wait for Playerside - When SeaHag detects a new logfile it will skip all messages until a side selection line is found, it stops issues when you load a savegame ( Used to cause unwanted messages otherwise )
do not turn this on when autodetect playerside is off - you wont hear anything.

Reset Playerside on new file - If you start a new game then CMANO creates a new logfile and now SeaHag clears the playside so it can pick up the new one.

So you never really need to mess with SeaHag now - it does most things on its own.

=======================

Rule Base Details

Each line read from the logfile is parsed down through the rules changing as it goes.

REDUCE - These rules look for the trigger text then reduce line length ending at the chosen character.

REPLACE - These rules look for the trigger text then replace it with the replacement text - only the 1st occurrence unless you put a * in the reduce char box.
You cannot do a REGEX or a REPLACE with nothing - use a space if you want to remove the item.
Autolimited to a max of 20 replaces when using a wildcard *.

BOTH - Does both actions - a REDUCE then a REPLACE

REGEX - runs a regular expression substitution - advanced substitution of strings.

FIND - allows SeaHag to speak the line - if you do not have a find then SeaHag will not say anything.

REGEX means regular expressions - they are VERY powerful but also hard to learn if you have not seen one before.

I am not going to explain regular expressions here - Good references for REGEX are -

https://msdn.microsoft.com/en-us/library/az24scfc%28v=vs.110%29.aspx
https://msdn.microsoft.com/en-us/library/ewy2t5e0%28v=vs.110%29.aspx

And a quick reference card -> here
http://download.microsoft.com/download/D/2/4/D240EBF6-A9BA-4E4F-A63F-AEB6DA0B921C/Regular%20expressions%20quick%20reference.pdf

There are examples in the default tables, and you can look at those to get used to REGEX lines and how to use them.

If you find them too hard - you can get most of the functionality out of the normal SeaHag functions.
But you will not be able to do some of the clever manipulations of conditional text.

REMEMBER !!! - REDUCES or REPLACES or BOTH or REGEX ( BOTH does a REDUCE then a REPLACE ) - Do NOT trigger speech – only a successful FIND will trigger speech.

Generally REDUCE, REPLACE, BOTH and REGEX do NOT want to have repeat prevention turned on - but I have included the option in case its needed.

It is FINDS - that you would put repeat prevention times on if you find it too chatty.

The speech level box sets the current level of speech and you will notice the rules have a min and max speech level on them - if the level is above the max or below the minimum that rule will not run.

=======================================================

The two tabs Speech and Ambient are the trigger filters.

A line is passed down through each speech filter line unless a STOP ( Last but one column ) is hit.

Reprocess allows you to send the line back to the start of the rules again - auto loop protection is built in at 5 times through the rulebase

=======================================================

*NOTE* That older XP users may also benefit from installing the following Microsoft update for Speech, otherwise you will just get the (very)old Microsoft SAM speech.

http://www.microsoft.com/en-au/download/details.aspx?id=10121

=======================================================

The application setting are stored in
On Win XP - C:\Documents and Settings\<username>\Local Settings\Application Data\SeaHag.exe_<identifier>\1.0.0.0\user.config
On Win 7 - C:\Users\<username>\AppData\Local\SeaHag.exe\<identifier>\1.0.0.0\user.config

Back this file up if you have added lots of filters or sounds. May change for version updates.


You can buy advanced voice synthesis from AT&T, I bought the Audrey Voice - the quality is exceptional.
Found it at http://www.nextup.com/attnv.html

========================================================

Use a FIND with a search text of * on its own if you want to find all speech lines – a bit too chatty if you don’t have enough REDUCE filters, other wildcard options are not added as of yet.

The default action of a line is to “CONTINUE” to process the table upon a match, a STOP will stop processing the table at that point.

Use sound files to add effects which trigger just before the speech to increase immersion.

Use a speech REPLACE with the search text of @ to just trigger the sound launch.

The continuous flag for ambient sound will cause the sample to automatically loop constantly, good options here are control room or radio chatter.

The attached samples are good for control room background noises.

The percentage chance of an ambient sound triggering will be tested and if not successful the replay prevention will be added to the next play trigger.

This means that if a sound has a 40% chance of playing and a 60 second replay prevention then if the sound DOES or DOES NOT play the replay prevention will not have the possibility of playing for another 60 seconds.

If you turn off the voice check box and optionally the "more diagnostics" checkbox you can test filters quickly without waiting for the voice to run. **Remember to turn voice back on, or leave it off if you don't want voice and just use the Ambient and Triggered sound options.

*NOTE* The stop button may have to be pressed more that once, the sounds and speech are higher priority that button detection.

Thanks

Thanks to the Devs for such a great simulation.

MP3/MP2/MP1/OGG/WAV/AIFF Files can be used.

In theory the files can be any size, but the smaller the better really.


My Thanks to the creators of the BASS libraries – awesome library guys thanks.


Disclaimer.

SeaHag is provided as is, the use of this software is done so solely at your own risk.
It is a condition of the use of this software that I am not liable for any damage as a result of its use.

Copyright.

You may use this software free of charge. You may not charge for its distribution or profit from its distribution in any way.

You may not reverse engineer or reduce the binary back to source code form. You may not distribute its source code.

You may distribute SeaHag but you may not do so as your own or someone elses work, it took my time to build it.



Thank you.

Sluggy



Attachment (1)

< Message edited by sluggy -- 5/29/2017 1:57:48 PM >
Post #: 1
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/5/2013 4:43:00 AM   
jjmauzey

 

Posts: 8
Joined: 10/17/2013
Status: offline
Nice job sluggy, I am Checking it now.

Great Idea.

_____________________________

Thanks, Jeff~

(in reply to sluggy2010)
Post #: 2
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/5/2013 8:59:05 AM   
Dide


Posts: 129
Joined: 5/10/2009
From: Italy
Status: offline
Good job! I like the old voices of harpoon II/III, but i don't know how extracting of my boxed game. Any idea? Thanks!

(in reply to jjmauzey)
Post #: 3
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/5/2013 9:12:14 AM   
RoryAndersonWS


Posts: 1536
Joined: 6/16/2009
Status: online
Looks pretty cool!

_____________________________


Command Developer, Warfare Sims.
Command Videos: http://youtube.com/baloogan
http://baloogancampaign.com

(in reply to Dide)
Post #: 4
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/5/2013 9:50:25 AM   
smudge56

 

Posts: 667
Joined: 1/17/2009
From: UK
Status: offline
I will look at this thanks mate for your effort.

(in reply to RoryAndersonWS)
Post #: 5
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/5/2013 1:22:37 PM   
jjmauzey

 

Posts: 8
Joined: 10/17/2013
Status: offline
sluggy, is there a way to configure the text to speech engine to read out long numbers singly? IE: instead of "three hundred and fifty thousand" -> "three five zero five zero zero"



_____________________________

Thanks, Jeff~

(in reply to smudge56)
Post #: 6
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/5/2013 2:15:00 PM   
GBS

 

Posts: 903
Joined: 7/3/2002
From: Southeastern USA
Status: offline
Not being so computer savvy, I'm a little afraid of this. To make sure I understand, does this put voice in to the game announcing certain events like those that appear in the Message Log?

< Message edited by GBS -- 11/5/2013 3:54:10 PM >

(in reply to sluggy2010)
Post #: 7
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/5/2013 2:15:23 PM   
sluggy2010

 

Posts: 97
Joined: 10/2/2013
Status: offline

There is now mate - how about that for quick turnaround
Added as a check box option re-download to get version 1.0a

Regards

Sluggy

(in reply to jjmauzey)
Post #: 8
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/5/2013 2:23:08 PM   
jjmauzey

 

Posts: 8
Joined: 10/17/2013
Status: offline
Great, can't wait to try it out with numbers enunciated, Thanks sluggy

_____________________________

Thanks, Jeff~

(in reply to sluggy2010)
Post #: 9
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/5/2013 2:35:24 PM   
sluggy2010

 

Posts: 97
Joined: 10/2/2013
Status: offline
Yes mate it does - and also adds ambient sounds if you want.

It does not mess about with the Command program - it reads the logs generated by command and you just run it before running the command simulation.

At present the procedure for first time use is as follow.

1) Extract the zip file to a new folder somewhere you choose.
2) Run SeaHag
3) First Time only Click Default Speech Grid, then click Default Sound Grid, then Click Save Settings.
4) Exit SeaHag.
5) Start SeaHag again and ensure you can see the filter entries in the grids at the bottom of the window - if not go back to step 3
6) Each time you run SeaHag now ( until the next version ) you will need to enter the side you will be playing in game - see the red writing - enter your side ( Capitals sensitive ) into the field and click Start SeaHag
7) Now run Command - SeaHag will autodetect the logfiles and just get on with it.
8) If you finish that scenario then you only need to go back to SeaHag and click stop then enter the new side you will be playing and click start again.

Side detection will be automatic when the Dev's push out beta 452 as they kindly added the text to the logs that I needed.

In fact now that I think about it, for the less computer savvy, I'll make it auto do steps one-three above and start automatically as well

Regards

Sluggy



< Message edited by sluggy -- 11/5/2013 3:37:50 PM >

(in reply to GBS)
Post #: 10
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/5/2013 2:58:54 PM   
GBS

 

Posts: 903
Joined: 7/3/2002
From: Southeastern USA
Status: offline
Wow that is pretty impressive! I'll try to follow your instructions.

(in reply to sluggy2010)
Post #: 11
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/5/2013 2:58:54 PM   
sluggy2010

 

Posts: 97
Joined: 10/2/2013
Status: offline

One last thing while I remember.

You can buy advanced voice synthesis from AT&T, I bought the Audrey Voice - ok $60 but the quality is exceptional.
Found it at http://www.nextup.com/attnv.html

An example of the high quality of ( I can only vouch for Audrey ) is attached.

Regards

Sluggy


Attachment (1)

(in reply to sluggy2010)
Post #: 12
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/5/2013 6:38:32 PM   
GBS

 

Posts: 903
Joined: 7/3/2002
From: Southeastern USA
Status: offline
No luck for me, no voices when I run the game. Confused a little on naming my side. I was playing Caribbean Crisis as Netherlands.

In the side space side I typed "Nehterlands" then started CMANO. Did I do this correctly? I had already completed the other steps as prescribed.

< Message edited by GBS -- 11/5/2013 7:39:12 PM >

(in reply to sluggy2010)
Post #: 13
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/5/2013 9:15:13 PM   
pandoraefretum

 

Posts: 105
Joined: 9/27/2013
Status: offline
Great stuff... Well done Sluggy!
Yes, the "Audrey" sounds very high class... I like it
Anna, the default 64-bit Win 7 voice is not very inspiring.
How do I change her ? (might get Audrey... I am tempted)
Lastly, do you know if "Audrey" works with the default Microsoft Speech API (64bit win7) ?
(or do you have to get "TextAloud" to hear Audrey?

cheers!
Pando

< Message edited by pandoraefretum -- 11/5/2013 10:33:17 PM >

(in reply to sluggy2010)
Post #: 14
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/5/2013 10:15:08 PM   
airwinger63


Posts: 52
Joined: 9/26/2013
Status: offline
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

_____________________________

IYAOYAS

If You Ain't Ordnance You Ain't ****.

(in reply to pandoraefretum)
Post #: 15
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 12:11:00 AM   
sluggy2010

 

Posts: 97
Joined: 10/2/2013
Status: offline
**FILE ATTACHMENT REMOVED - NO LONGER TWO VERSIONS **

See top posting

< Message edited by sluggy -- 11/6/2013 5:16:04 AM >

(in reply to airwinger63)
Post #: 16
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 12:23:44 AM   
sluggy2010

 

Posts: 97
Joined: 10/2/2013
Status: offline

Yep that should be right, do you get sound Fx but no Speech or nothing?

As long as you clicked "Start SeaHag" it should announce its successful start.

I can try to help but need the following info -

Windows Version.
Screen shot of SeaHag and a copy of the log entries in the the log windows ( highlight the text in the log window ) with CTRL_A then CTRL_C to copy - Remember to Check the box marked "more diagnostics" before running.

Then paste that into a post here on the board.

Regards

Sluggy

(in reply to GBS)
Post #: 17
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 12:44:01 AM   
pandoraefretum

 

Posts: 105
Joined: 9/27/2013
Status: offline
Hi Sluggy,

I purchased TextAloud and Audrey as per your recommendation.
Can you show me what to enter in SeaHag to make it work ?
(I have entered it into external prog but I must be missing a setting within TextAloud perhaps?)

Thanks mate,
cheers, Pando

(in reply to sluggy2010)
Post #: 18
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 1:10:47 AM   
pandoraefretum

 

Posts: 105
Joined: 9/27/2013
Status: offline
I see now I needn't have bought TextAloud as Audrey16 can be activated and used with the MS Speech API on 64bit Win7 easily enough by pasting

%windir%\SysWOW64\speech\SpeechUX\sapi.cpl

into the browser to change the default voice.

Oddly Anna was replacing Sqn with Squadron while Audrey16 cannot ... am working on it...
Got it.. a SPACE character after the replacement word Squadron was all that was needed.
Now I am replacing BOGEY, which Audrey pronounced strangely... nor can she say the word "air" !
BUT I must admit Audrey16 is a much more soothing voice than the default Win7 Anna

< Message edited by pandoraefretum -- 11/6/2013 2:25:53 AM >

(in reply to pandoraefretum)
Post #: 19
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 1:17:19 AM   
jomni


Posts: 2827
Joined: 11/19/2007
Status: offline
SIRI for Command. Wish I can speak to it as well.

_____________________________


(in reply to pandoraefretum)
Post #: 20
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 1:20:25 AM   
sluggy2010

 

Posts: 97
Joined: 10/2/2013
Status: offline

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 :)



(in reply to pandoraefretum)
Post #: 21
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 1:37:40 AM   
pandoraefretum

 

Posts: 105
Joined: 9/27/2013
Status: offline
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!!

(in reply to sluggy2010)
Post #: 22
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 2:54:43 AM   
sluggy2010

 

Posts: 97
Joined: 10/2/2013
Status: offline

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






(in reply to pandoraefretum)
Post #: 23
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 7:31:55 AM   
coolts


Posts: 297
Joined: 2/1/2011
From: Auf Wiedersehen, Pet
Status: offline
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)




< Message edited by coolts -- 11/6/2013 8:34:33 AM >


_____________________________

"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

(in reply to sluggy2010)
Post #: 24
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 9:27:18 AM   
MikeGER

 

Posts: 374
Joined: 2/1/2011
Status: offline
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

quote:

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


< Message edited by MikeGER -- 11/6/2013 10:27:59 AM >

(in reply to coolts)
Post #: 25
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 10:14:52 AM   
sluggy2010

 

Posts: 97
Joined: 10/2/2013
Status: offline
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



< Message edited by sluggy -- 11/6/2013 1:58:57 PM >

(in reply to MikeGER)
Post #: 26
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 10:18:12 AM   
coolts


Posts: 297
Joined: 2/1/2011
From: Auf Wiedersehen, Pet
Status: offline
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

(in reply to sluggy2010)
Post #: 27
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 10:22:26 AM   
sluggy2010

 

Posts: 97
Joined: 10/2/2013
Status: offline
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

< Message edited by sluggy -- 11/6/2013 11:23:46 AM >

(in reply to coolts)
Post #: 28
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 11:56:47 AM   
bomber1949

 

Posts: 15
Joined: 10/16/2013
Status: offline
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

(in reply to sluggy2010)
Post #: 29
RE: [RELEASED] Speech and Ambient Sound Module - files ... - 11/6/2013 12:31:00 PM   
sluggy2010

 

Posts: 97
Joined: 10/2/2013
Status: offline

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.

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



(in reply to bomber1949)
Post #: 30
Page:   [1] 2 3 4 5   next >   >>
All Forums >> [New Releases from Matrix Games] >> Command: Modern Air / Naval Operations >> [RELEASED] Speech and Ambient Sound Module - Updated CMANO 1.12 936.11 Page: [1] 2 3 4 5   next >   >>
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.248