help with programming Cougar Hotas with Foxy/Korgy software
-
Need some advice from BMS users that have experience with programming the FLCS and the TQS with the good old Foxy software that uses Korgy.
I never had any problems in the past. I have a successful .tmj and .tmm file that works with no issues, but I could not get the radar curser to ever function on the TQS throttle. My work-around was to program the Hat-3 on the FLCS to be my radar curser control, instead of the DMS control.
Recently I read a post in this forum on how to fix this, and i made the changes to the CCP and in the BMS advanced settings for the radar curser X-axis and Y-axis.
Now BMS can see my movement with the curserT-1 button in X and Y axis. Sounds like I have a big issue solved, BUT here is where I get stuck. I went back into Foxy software to modify my tmj file. I changed the macros for the HAT-3 to use all four DMS positions. I saved the new tmj file with a different name. When
I try to compile the program I keep getting a Error 2020. I played around with this all day, trying to even start from making completely new tmm and tmj files.
The error code comes up on my first line of the program:
BTN TG1 /H 1st_trigger_det
the macro for this is : 1st_trigger_det = CTL /
I double checked my syntax and I am stumped why this is now happenning. Anyone seen this problem?
I have tried to use TARGET software, but I find it very confusing to use. I have watched youtube on it and my head is spinning.
When I open my previous tmj/tmm file that works well, I can get the compiler to work successfully, and download the tmj to the HOTAS. The test feature gives me all correct readings. Therefore I am still able to run my HOTAS with BMS, but the DMS is not where I would like it, and the radar cursor is not on the TQS.Any suggestions will be greatly appreciated.
Huffer -
@huffer2
When you changed the name of your .tmj file, did you also change the name of your .tmm file AND within your .tmj file, reference the new name of the .tmm file?
Usually one of the first lines in the .tmj file is the reference to the .tmm macro file.
Not in front of my computer right now, but will check error 2020 tomorrow and take a closer look at your problem.
Regards,
Tomcattwo
(VoiceClone) -
@huffer2
In Foxy Help…Error Codes, you can find the definition of all error codes during compile. Here is the text for Error 2020:“ERROR 2020: Unknown key press in a button statement
The compiler couldn’t work out what key you were trying to generate. Some reasons why you might see this error include:
1.) Incorrect key syntax eg. UAROW instead of UARROW
2.) Macro spelling differs from the macro in the macro file (I see this one a lot in files sent to me!). So if in your macro file you have:
Attack_my_target = a b c d
and in your joystick file:
BTN H4U Atack_my_target Rem Incorrect spelling
BTN H3L Attack my target Rem Compiler will think this is 3 separate macros as spaces aren’t allowed in macro names.
then you’ll generate this compiler error.
3.) The macro actually doesn’t exist in your macro file. Eg.
BTN S1 Autopilot
but you don’t have a macro defined for Autopilot in your macro file.
4.) You can see from above that a good reason why you might see this error is because the macros in the joystick file aren’t being found in your macro file. They could be misspelled. But it could also be that you haven’t told the compiler which macro file to associate with your joystick file. So either you do not have a:
USE MDEF macrofilename
statement in your joystick file, or if you do, it could be pointing to the wrong macro file.
5.) A macroname may break one of the macro naming rules. Eg.
Autopilot] = a
would generate this error because a macroname cannot start with [.”Your macro definition 1st_trigger_det = CTL / looks to be correct and doesn’t appear to break any macro-naming rules. So I suspect you have an incorrect reference to your macro file in your .tmj file.
Let’s suppose you named your files: MyBMSFile.tmj and your macro file MyBMSFile.tmm Then the very first line in your MyBMSFile.tmj needs to be:
USE MDEF MyBMSFile.tmm
If that MDEF line is incorrect or is missing (if you used an incorrect filename in the statement), the compiler will not associate your defined macros to the .tmj file and you will get ERROR 2020 on compile.
If you find that this isn’t the issue, perhaps try a simpler macro definition such as:
TriggerDet = CTL /
Hope this helps.
Regards,
Tomcattwo
(VoiceClone) -
@Tomcattwo
Thanks for the help Tomcattwo!
I was using the same name of the .tmm file. I only changes the name of the new tmj. file so that I had a way to revert back to the working original tmj.I am not sure what you mean by having a line in the tmj file mentioning which tmm file to use. I will look at my old files from the old Falcon 3.0 , 4.0 lead pursuit days.
Maybe this is the issue. -
@huffer2
See my post above.
R/
TC2 -
@Tomcattwo
reading this now…I think you have the issue solved. Pilot error!!!I will try this out now.
THANKS FOR YOU IMPUT
-
I was using the same name of the .tmm file. I only changes the name of the new tmj. file so that I had a way to revert back to the working original tmj.
A good habit to get into is: whenever you change the name of the .tmj file, change the name of the .tmm file to match identically.
I am not sure what you mean by having a line in the tmj file mentioning which tmm file to use. I will look at my old files from the old Falcon 3.0 , 4.0 lead pursuit days.
Maybe this is the issue.Make sure your .tmj file has the proper USE MDEF statement, as I described above.
Regards,
Tomcattwo
(VoiceClone) -
TC2,
ALL IS WELL! you answered my prayer!
I think I had a brain fart. Completely forgot that required USE MDEF line.
Huffer <SALUTE> -
M8, but why?
Why are you using keyboard macros instead DX buttons?BMS has moved to DX especially because to move away from keyboard emulation. - and now you’re going backwards
I can help with Foxy how much you want…
Cheers
-
@white_fang
I am comfortable with programming my cougar hotas with foxy. Just old school.
Target software is too new to me, prefer to avoid. I do use Target for the two MFDs. I did use DX to map the Simgear ICP. When I started with falcon BMS a few
years ago, I was unsure how to program DX on my Hotas, reading the manual was overmyhead.
Tomcattwo answered my issue and everything is working great.
My next step for me is to start using a voice program to comm with the AI.
Any suggestions?
Huffer out -
@huffer2 said in help with programming Cougar Hotas with Foxy/Korgy software:
I am comfortable with programming my cougar hotas with foxy. Just old school.
Nothing wrong with old school. But technology marches onward! Most of the DX work is done already by the keyfiles. It is the most realistic way to set up the HOTAS, and will match function descriptions in the BMS manuals.
It’s relatively easy to add “shifted” commands (I.e. using S3 in) to the keyfiles and/or HOTAS .tmj. In fact, I have, I think, the same setup as you: Cougar Stick and throttle (with rudder pedals?) + 2 x TM MFDs + a Simgears ICP. I would be happy to send you my keyfile, Cougar .tmj and .tmm files, a picture of my HOTAS Cougar Control Panel (CCP) setup, and my devicesorting.txt fiie if you wish.
I put “convenience” items on some shifted stick and throttle buttons, wheelbrakes on the paddle switch, VoiceAttack microphone activation and IVC activation on the Comms switch, via the .tmj, but really, my .tmj file is pretty small. All other shifted HOTAS buttons/switches are handled via the keyfile callbacks.
One thing I did change with respect to Cougar stick functions was on Hat 1. In the real jet (and BMS default programming), Hat 1 unshifted applies pitch trim and roll trim. I reprogrammed that so that I apply pitch trim and roll trim using SHIFTED Hat 1 inputs, leaving UNSHIFTED Hat 1 inputs for view zoom in/out (H1U and H1D) and view panning. I was concerned about accidently applying trim settings by accident, so I made trimming the aircraft a “deliberate action” by making it S3 In + H1U or H1D.
Target software is too new to me, prefer to avoid. I do use Target for the two MFDs. I did use DX to map the Simgear ICP.
I don’t use TARGET for anything, personally.
When I started with falcon BMS a few
years ago, I was unsure how to program DX on my Hotas, reading the manual was overmyhead.You don’t really “program DX on your HOTAS”. You just tell Windows to consider the HOTAS buttons as equivalent to DX buttons using 1 simple change in Cougar CCP, and then don’t program any functions to the unshifted buttons in your .tmj file.
You can have a look at mine if you wish to see what I am talking about.Tomcattwo answered my issue and everything is working great.
Happy to help. Go fly first and have some fun. Then consider how best to improve your controllers function.
My next step for me is to start using a voice program to comm with the AI.
Any suggestions?I’ve used SHOOT (old Falcon 4) , dwVAC and Voice Attack at various times. My personal favorite is Voice Attack with @SemlerPDX 's outstanding profile. It works best for me to simulate realistic comms as best I can. SemlerPDX’s profile can be found here. Another popular voice control program is FoxVox, available here..
PM me if you want my files.
BTW, I don’t use the 4.37 Alternative Launcher, which many will recommend for easier DX programming - given that it was problematically deleting/overwriting devicesorting.txt files when 4.37 was first launched. The fix for that is now more widely known. But I did enjoy making my own keyfiles. YMMV. I just prefer using the old BMS launcher because “it just works for me.”
Regards,
Tomcattwo
(VoiceClone) -
@huffer2
Well, it is your show. (I was also eager to Foxy my stick in miraculous ways … but since DX … simplicity is the key)For voice, I also use VoiceAttack - someone correct me, but imho, it is probably most powerful . for, eg scripting.
I can’t say is it the best for voice recognition, as sometimes surprises me with “stupidity level” , but then again, it is win sapi (speech recogn.) - and I am clearly not the best english speaker around. - overall, we understand each otherCheers
-
@Tomcattwo
Thanks for all your help. I also setup the Hat1 to be pan viewing unshifted,and trim shifted. Not sure how to PM you? It would be interesting to see how the cougar DX files look.
Do you know how I can reduce the sensetivity of the microstick? It is hard to control, but getting use to it. Maybe it can be adjusted in the cougar CCP ? -
@white_fang
Voice Attack sounds like a good start. Did you notice any reduction in frame rates by running Voice attack in BMS? Curious.
Thanks again -
@huffer2
No fps drop (there’s no much graphics involved with sound capture process).
It uses some cpu% (voice recognition) , of course. but even for my old “bucket” , but that is negligible.
Windows sapi is part of windows themselves so it is designed already to have minimum impact on system… it is not new tech… some 20?yrs … so, kinda , mature enough. -
@white_fang I’m not a voice attack user but I built FoxVox to handle voice control and it’s free. If you have experienced problems with the Voice Attack recognition you may want to give it a try just as an alternative. Yes, they both use the underlying MS Speech but I guarantee the how is different. I implemented a special recognition layer on top of MS’s standard speech to (hopefully) improve recognition results, especially for deviating and long flexible phrases. It also has a very easy and flexible command structure that allows you to build virtually any output chain… I could do the entire startup sequence using a single voice command if I wanted (which I don’t…just saying - it’s very flexible). It also has a pre-built library you can start with so you don’t need to start from scratch. Anyway, it’s a no-cost alternative you can try if it helps!
-
@foxster Thanks. I tested it few years ago, when it was still in alpha. I’ll take a look again.
Btw , do you remember - “Shoot” ? - it’s pity no one ported it from NET1.1 (some workaround to Net2.0) after all this years… it was limited , no scripting… but damn it was small and fast. -
@white_fang Hmmm…might have been something else as FoxVox has only been out about a year. It has improved since then though. I never heard about shoot. Sounds like you’ve got some good background with voice control.
-
@foxster
Yes, ah… my bad… I was thinking about voice control software “Livrot” . similar free project.
I don’t know if I even tested yours… found some old install in dl dir. 1.0.0.0 x64.
But, promise, I’ll take a look for 1.7.7
Thanks, Cheers
-
@white_fang
I used Shoot extensively for years - I still have a copy on my drives somewhere. In fact, I wrote an extensive Shoot profile to play “Silent Hunter 3” almost entirely mouse/keyboard free using voice commands (in both English and German). Shoot was a great little program.
Regards,
Tomcattwo
(VoiceClone)