S9ilent's Vocal Control *29/03/2015*
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
I can start the speech recognition in my computer but there is no supporting russian version of the game in your program, so I can't use your program as good as I want. I have tried to modify x3tc.xml but it didn't solved the problem. After I have edited that file the program have ceased to perceive commands, so I have returned the previous state of that file.
I think that you should try to add supporting for russian version to the next build (now your program supports english, french and even polsky version). Please help me with my problem when you will can.
I think that you should try to add supporting for russian version to the next build (now your program supports english, french and even polsky version). Please help me with my problem when you will can.
-
- Posts: 362
- Joined: Wed, 2. Aug 06, 03:41
So, does this actually work fo anything usefull? So far, it seems to me i can only designate ships, and get them to follow me. I cant even have them follow another ship, or attack them, or dock, or anything.
It recognizes the commands and puts it in the subtitle, but does nothing... I said to dock at my target, and it just ran up to it, and stayed there...
EDIT:
Seems to me that, for some reason, the ships are either not complying with the orders they get, like having a "dock" order and just sitting there though theres plenty space, or not attacking what i told them to... Or theyre not receiving the orders period, such as it seems the windows speech recog keeps giving me the "what was that" ding... Only on some commands "such as a follow target command"
It recognizes the commands and puts it in the subtitle, but does nothing... I said to dock at my target, and it just ran up to it, and stayed there...
EDIT:
Seems to me that, for some reason, the ships are either not complying with the orders they get, like having a "dock" order and just sitting there though theres plenty space, or not attacking what i told them to... Or theyre not receiving the orders period, such as it seems the windows speech recog keeps giving me the "what was that" ding... Only on some commands "such as a follow target command"
-
- Posts: 362
- Joined: Wed, 2. Aug 06, 03:41
This is, (though unfortunately) likely true. Most of what i know of how to use it was by looking at the examples in the documents, and by examining the grammar compiler... took me about an hour to figure out what some stuff ment, like cname.MuHoTaBP wrote:BlueShade Zero, I think that you haven't learnt how to use this program correctly. But of course a few of commands in readme file are became outdated because it should be others, for example if you want to give a command for any wing you shouldn't speak the word 'wing'.
If theres a more updated document that details exactly how to use it, it would be nice.
Also, i noticed you cant order ships to do anything that involves stations... unless its your target.
EDIT
yeah, so some further testing showed that, even with designating my target, my ships WOULD NOT dock at my caravel. it recognized what i was saying, it even said "blue wing docking at ReAver" which was right. But they just sat there with their previous order.
also, how do i clear designations. I've got a few that i'd like to replace with other things.
@BlueShade Zero
There are some bugs in the current system which I'm working out in the newer build. (The more complex commands with more then 2 levels of properties are failing to register correctly)
The *ding* "What was that" bug is being removed in the newer version. (I built this in xp which had no built in voice recognition which was ok, but then in vista/7 it is conflicting with the windows voice recognition, hence all the dinging)
I'm hoping to simplify the grammar designer
(it will look mostly the same, by the define section will be removed)
(I will also try to add linking so (right/control) clicking on a ruleref e.g. cname will jump to that rule)
(I will unfortunately also add complexity to the grammar designer by allowing plug ins to be used, at the moment it is just 1 file for everything)
Can I just ask you
So you said "blue wing dock at my target"
And then ingame, in the subtitles, it said
"blue wing dock at ReAver" (I'm going to assume your target is called ReAver)
But then nothing happened?
You can just overwrite designations, I have not implemented a clear yet, but I will in the next version. (e.g. just say betty designate delta 7 again, and your target will become the new delta 7)
@MuHoTaBP
I'll work on it (Sorry I had assumed you meant it wasn't working on Russian, not that I hadn't built the langId option in )
It will still have to run through the english recognition.. stuff (so you will need to sound out russian words into english~like spelling) but hopefully, it should be compatible. (I did adhoc tests with German words before)
There are some bugs in the current system which I'm working out in the newer build. (The more complex commands with more then 2 levels of properties are failing to register correctly)
The *ding* "What was that" bug is being removed in the newer version. (I built this in xp which had no built in voice recognition which was ok, but then in vista/7 it is conflicting with the windows voice recognition, hence all the dinging)
I'm hoping to simplify the grammar designer
(it will look mostly the same, by the define section will be removed)
(I will also try to add linking so (right/control) clicking on a ruleref e.g. cname will jump to that rule)
(I will unfortunately also add complexity to the grammar designer by allowing plug ins to be used, at the moment it is just 1 file for everything)
Can I just ask you
So you said "blue wing dock at my target"
And then ingame, in the subtitles, it said
"blue wing dock at ReAver" (I'm going to assume your target is called ReAver)
But then nothing happened?
You can just overwrite designations, I have not implemented a clear yet, but I will in the next version. (e.g. just say betty designate delta 7 again, and your target will become the new delta 7)
@MuHoTaBP
I'll work on it (Sorry I had assumed you meant it wasn't working on Russian, not that I hadn't built the langId option in )
It will still have to run through the english recognition.. stuff (so you will need to sound out russian words into english~like spelling) but hopefully, it should be compatible. (I did adhoc tests with German words before)
-
- Posts: 362
- Joined: Wed, 2. Aug 06, 03:41
Cant wait to try out the updated version. When i saw this at first, i kinda shrugged it off, but then thinking about it i saw its potential for multi wing, and fleet combat.s9ilent wrote:@BlueShade Zero
There are some bugs in the current system which I'm working out in the newer build. (The more complex commands with more then 2 levels of properties are failing to register correctly)
The *ding* "What was that" bug is being removed in the newer version. (I built this in xp which had no built in voice recognition which was ok, but then in vista/7 it is conflicting with the windows voice recognition, hence all the dinging)
I'm hoping to simplify the grammar designer
(it will look mostly the same, by the define section will be removed)
(I will also try to add linking so (right/control) clicking on a ruleref e.g. cname will jump to that rule)
(I will unfortunately also add complexity to the grammar designer by allowing plug ins to be used, at the moment it is just 1 file for everything)
Can I just ask you
So you said "blue wing dock at my target"
And then ingame, in the subtitles, it said
"blue wing dock at ReAver" (I'm going to assume your target is called ReAver)
But then nothing happened?
You can just overwrite designations, I have not implemented a clear yet, but I will in the next version. (e.g. just say betty designate delta 7 again, and your target will become the new delta 7)
Yes, ReAver is the name of my TM (a pirate caravel). And not exactly nothing... Let me do abit of testing, i think i arbitrarily ran into another, perhaps unrelated bug. From what i've seen, the ship would approach the TM and just stop, but i noticed it did that again recently with a manual command though it eventually docked with some fiddling... However i've played for hours in this profile and it never did that before i tried using the verbal docking command...
As i said, i'll do some heafty testing, see what works what doesnt... I think something in installed jacked up the ships AI. I got my guys to attack a TS, but they'd follow it for about 10 KM before even one of them opened fire. I made sure they all had weapons, check, all turrets set to defend, check... they all had the "attack" order set... check... but their behavior is strange...
I'm looking at the naval shuffle right now as the culprit... I'll make a fresh install with only the mods i REALLY want and see what happens.
-
- Posts: 6
- Joined: Wed, 6. Jan 10, 18:12
- Phobocaster
- Posts: 99
- Joined: Fri, 16. Jul 10, 18:29
@ MuHoTaBP / others
Hi,
I've found my self EXTREMELY short of time, so I dont forsee my self completing this any time soon.
I have completed the program, and it exports the required data to X3's tfile folder (you can configure the tfiles/lang id's etc.) and I have written the lib files to decode the xml data that gets imported into x3
What I have not done is,
1) I have not finished re-writing the grammar's (i.e. telling the program what to recognize)
2) I have not written a script to do the actual importing
3) I have not finished writing scripts, that use the imported data, and "do stuff" (e.g. if the game realizes I say all ships follow me, there is no script that makes all the ships follow me)
So what I"m going to do, is I'm going to post up what I've already done and if there are any avid scripters out there they can take a look at it and use it.
(I unfortunately have to re-divert time to my SFM project, as I've recently discovered it is a source of major lag on my system)
Download Link
http://www.members.optusnet.com.au/whyi ... ersion.rar
The lib script required to convert the tfile data, to my xml objects is available here:
link
Hi,
I've found my self EXTREMELY short of time, so I dont forsee my self completing this any time soon.
I have completed the program, and it exports the required data to X3's tfile folder (you can configure the tfiles/lang id's etc.) and I have written the lib files to decode the xml data that gets imported into x3
What I have not done is,
1) I have not finished re-writing the grammar's (i.e. telling the program what to recognize)
2) I have not written a script to do the actual importing
3) I have not finished writing scripts, that use the imported data, and "do stuff" (e.g. if the game realizes I say all ships follow me, there is no script that makes all the ships follow me)
So what I"m going to do, is I'm going to post up what I've already done and if there are any avid scripters out there they can take a look at it and use it.
(I unfortunately have to re-divert time to my SFM project, as I've recently discovered it is a source of major lag on my system)
Download Link
http://www.members.optusnet.com.au/whyi ... ersion.rar
The lib script required to convert the tfile data, to my xml objects is available here:
link
- Skillzfire
- Posts: 769
- Joined: Tue, 3. May 11, 15:11
hey guys getting a wierd problem, i followed the directions unziped the file and ran the aplication but, i get this
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\EGOSOFT\X3 Terran Conflict\t\7742-L044.xml' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at SVC_Gamma.Form1.Tickactual()
at SVC_Gamma.Form1.Timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
SVC Gamma
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Anthony/Desktop/svc_gamma/SVC%20Gamma.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Interop.SpeechLib
Assembly Version: 5.0.0.0
Win32 Version: 5.0.0.0
CodeBase: file:///C:/Users/Anthony/Desktop/svc_gamma/Interop.SpeechLib.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
any fixes?
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\EGOSOFT\X3 Terran Conflict\t\7742-L044.xml' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at SVC_Gamma.Form1.Tickactual()
at SVC_Gamma.Form1.Timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
SVC Gamma
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Anthony/Desktop/svc_gamma/SVC%20Gamma.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Interop.SpeechLib
Assembly Version: 5.0.0.0
Win32 Version: 5.0.0.0
CodeBase: file:///C:/Users/Anthony/Desktop/svc_gamma/Interop.SpeechLib.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
any fixes?
Death is not a hunter unbeknownst to its prey, one is always aware that it lies in wait. Though life merely a journey to the grave, it must not be undertaken without hope. Only then will a traveler's story live on, treasured by who bid him farewell. But alas, my guest's life has ended, his tale left unwritten
- Skillzfire
- Posts: 769
- Joined: Tue, 3. May 11, 15:11
sorted i think i just had let it thorugh firewall and run it as admin oh is it compatible with version 3.1?s9ilent wrote:System.UnauthorizedAccessException: Access to the path 'C:\Program Files\EGOSOFT\X3 Terran Conflict\t\7742-L044.xml' is denied.
Something in your computer is not giving me access to the file. (firewall? run as administrator? Is the file being edited by something else?)
Did you get the path correct?
Death is not a hunter unbeknownst to its prey, one is always aware that it lies in wait. Though life merely a journey to the grave, it must not be undertaken without hope. Only then will a traveler's story live on, treasured by who bid him farewell. But alas, my guest's life has ended, his tale left unwritten
-
- Posts: 205
- Joined: Tue, 21. Aug 12, 22:11
Hi. Sorry to start up an old thread, but I'm really hoping you're still involved with this potentially brilliant mod.
I just can't get it to actually work. I unzipped to a folder OTHER THAN the game folder, ran as admin (with voice recog running), and started X3:TC, enabled subtitles and started talking. Nothing.
I have tried 3 voice command programmes for X3 without success, and I really don't want this one to join the casualty list. Please help!
Additional Info:
OS: Windows 7 Home Premium 64bit
Language: English (UK) (could this be causing problems?)
Mods: X3 Rebalance Mod, Marine Repairs, Green Factories Turbo Boost
I just can't get it to actually work. I unzipped to a folder OTHER THAN the game folder, ran as admin (with voice recog running), and started X3:TC, enabled subtitles and started talking. Nothing.
I have tried 3 voice command programmes for X3 without success, and I really don't want this one to join the casualty list. Please help!
Additional Info:
OS: Windows 7 Home Premium 64bit
Language: English (UK) (could this be causing problems?)
Mods: X3 Rebalance Mod, Marine Repairs, Green Factories Turbo Boost
When Carl Marx said "Religion is the opiate of the masses.", he hadn't seen television.
-
- Posts: 205
- Joined: Tue, 21. Aug 12, 22:11
Rofl my emoticons didn't come out so great. Apologies, this has been my first post on this forum. Will use them properly from now on.
I have a couple of other questions while I'm at it, I've read nearly the whole thread, and it seems unclear whether several issues have been cleared up. Namely:
1. Will I (using Windows 7) need to have my speech recog active, running, but in "sleep" mode, or not on at all?
2. Do I have to cut/paste scripts etc. into the appropriate folders in X3TC's directory?
3. Are hotkeys actually usable now? (The OP says they are, but most recent reference in the thread says they aren't and never will be.)
Any help = most appreciated.
{Emoticons fixed. - Terre}
I have a couple of other questions while I'm at it, I've read nearly the whole thread, and it seems unclear whether several issues have been cleared up. Namely:
1. Will I (using Windows 7) need to have my speech recog active, running, but in "sleep" mode, or not on at all?
2. Do I have to cut/paste scripts etc. into the appropriate folders in X3TC's directory?
3. Are hotkeys actually usable now? (The OP says they are, but most recent reference in the thread says they aren't and never will be.)
Any help = most appreciated.
{Emoticons fixed. - Terre}
When Carl Marx said "Religion is the opiate of the masses.", he hadn't seen television.