Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#4476427 - 06/02/19 09:20 PM WOTRKeys Run Time Error '9' when trying to remap keys.  
Joined: Apr 2000
Posts: 248
kverdon Offline
Member
kverdon  Offline
Member

Joined: Apr 2000
Posts: 248
Tigard, Oregon
HELP!

I just received and setup my new VKB Gunfighter 2 MCG Pro Joystick and was trying to get it setup in WOTR. The first time I opened WOTRKeys, all was well and both my VKB Gunfighter 2 MCO Pro stick (with Pedals) and my TM Warthog Throttle were recognized. I was able to delete the extra axis on the Warthog but was unable to get it to recognize any new axis assignements. I saved the file and the stick, rudder and throttle did appear to work in WOTR. However when I went back to edit some other key/button assignments, when I enter the workshop and try to launch the re-map keys app I get an error: " WOTRkeys Runtime Error '9' Subscript out of Range" and WOTRKeys crashes. I can delete the WOTRKey file and start over but it then does it again.

Is there a workaround for this??? Can you Manually Edit the WOTRKey map file?

Really bummed as I have been looking so forward to flying WOTR with my new HOTAS setup but am now grounded :-(

thanks,

Kevin

#4476437 - 06/02/19 11:25 PM Re: WOTRKeys Run Time Error '9' when trying to remap keys. [Re: kverdon]  
Joined: Sep 2018
Posts: 317
ChiefWH Offline
Member
ChiefWH  Offline
Member

Joined: Sep 2018
Posts: 317
You might want to email OBD support directly on this.

I think it is possible to edit the file thouh, it is in your roaming apps folder, somewhere like:

C:\Users\You\AppData\Roaming\OBD_Games\OBDWW2 Wings Over The Reich\WOTRKeys.xca

#4476473 - 06/03/19 04:29 AM Re: WOTRKeys Run Time Error '9' when trying to remap keys. [Re: ChiefWH]  
Joined: Apr 2000
Posts: 248
kverdon Offline
Member
kverdon  Offline
Member

Joined: Apr 2000
Posts: 248
Tigard, Oregon
Thanks I will contact them directly. I have a feeling the length of VKB controller name is what is blowing up the WOTRKeys program. Yes I found the .xca file and though I could directly edit the xml file in notepad ++, it would be rather difficult without the syntax for all the commands.
I have been able to cobble something that works by mapping all the Warthog throttle commands using my initial and only shot at WOTRKeys. I then mapped all the VKB Stick buttons to keyboard commands using the VKB software. It works but it is a PITA and far from ideal. Should I want to change a throttle button I gave to delete the file and start over from scratch and I have no way to remap axes right now.

#4476488 - 06/03/19 10:25 AM Re: WOTRKeys Run Time Error '9' when trying to remap keys. [Re: kverdon]  
Joined: Mar 2003
Posts: 8,138
Polovski Offline
Polovski  Offline

Hotshot

Joined: Mar 2003
Posts: 8,138
I have your email and have just responded, it's because previously VBK in their wisdom added a "space" character at the end of their DirectX joystick name. Runtime did not like that,
so we fixed it by forcing it to be removed by our WOTRKeys program.

However being more wise, on this new stick from VBK they add a space at the START of the name now. No need for it but it's there.
That's what causes a problem. Possibly also a problem in runtime too. We will add a fix for that in the next patch - in the meantime we'll send a test on if you can try it please.


Regards,

Polovski,
OBD Software, developers of immersive flight sims;
Wings Over Flanders Fields and Wings Over The Reich
http://www.overflandersfields.com
http://www.wingsoverthereich.com
#4476778 - 06/05/19 01:40 PM Re: WOTRKeys Run Time Error '9' when trying to remap keys. [Re: Polovski]  
Joined: Apr 2000
Posts: 248
kverdon Offline
Member
kverdon  Offline
Member

Joined: Apr 2000
Posts: 248
Tigard, Oregon
Thanks Pol! You guys are GREAT!!!!! The new WOTRKeys program works like a charm and I'm back up in the air in record time. I was amazed you got that fixed in just a few hours. Keep up the FANTASTIC work!!!

thanks,

Kevin

#4476860 - 06/06/19 09:10 AM Re: WOTRKeys Run Time Error '9' when trying to remap keys. [Re: kverdon]  
Joined: Mar 2003
Posts: 8,138
Polovski Offline
Polovski  Offline

Hotshot

Joined: Mar 2003
Posts: 8,138
Great, thanks for testing it too Kevin

Last edited by Polovski; 06/06/19 09:10 AM.

Regards,

Polovski,
OBD Software, developers of immersive flight sims;
Wings Over Flanders Fields and Wings Over The Reich
http://www.overflandersfields.com
http://www.wingsoverthereich.com
#4479732 - 06/24/19 02:22 PM Re: WOTRKeys Run Time Error '9' when trying to remap keys. [Re: kverdon]  
Joined: May 2012
Posts: 737
epower Offline
Artless Aide-de-camp
epower  Offline
Artless Aide-de-camp
Member

Joined: May 2012
Posts: 737
Experiencing the same thing with my VKB gunfighter stick.
First time keymapping works but on the next attempt to keymap I get the error.

edit - Ack, my bad. I should have posted this in the WOFF forum. Will take it directly to OBD support

Best,

epower

Attached Files Double trouble.jpgAlb1.jpgAlb2 and end.jpgPfalz1 death.jpgBlue tail dead.jpgMac and DFW close.jpgBig Drag.jpgPeriwinkle.jpgClarissa note with silk hat.jpgThe Children.jpgDFW tag team.jpgHector.jpgAmiens Triptych.jpgDFW collage.jpgHiAlbs.jpg
Last edited by epower; 12/16/20 07:01 PM.
#4479901 - 06/25/19 01:11 PM Re: WOTRKeys Run Time Error '9' when trying to remap keys. [Re: kverdon]  
Joined: Mar 2003
Posts: 8,138
Polovski Offline
Polovski  Offline

Hotshot

Joined: Mar 2003
Posts: 8,138
The new function binding tool both for WOFF and WOTR is out now in their respective patches released yesterday (WOFF) and today (WOTR).

(Either WOFFKeys.exe or WOTRKeys.exe is found in your \Toolbox folder in your install. You can also launch it from "Workshop" menu. "Re Map keys/controllers").


Last edited by Polovski; 06/25/19 01:13 PM.

Regards,

Polovski,
OBD Software, developers of immersive flight sims;
Wings Over Flanders Fields and Wings Over The Reich
http://www.overflandersfields.com
http://www.wingsoverthereich.com

Moderated by  Polovski 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
10 years after 3/8/2014
by NoFlyBoy. 03/17/24 10:25 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0