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: 246
kverdon Offline
Member
kverdon  Offline
Member

Joined: Apr 2000
Posts: 246
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


No longer posting on SIMHQ, mods are now here:

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

Joined: Apr 2000
Posts: 246
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: 6,410
Polovski Offline
Polovski  Offline

Hotshot

Joined: Mar 2003
Posts: 6,410
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: 246
kverdon Offline
Member
kverdon  Offline
Member

Joined: Apr 2000
Posts: 246
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: 6,410
Polovski Offline
Polovski  Offline

Hotshot

Joined: Mar 2003
Posts: 6,410
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: 72
epower Offline
Junior Member
epower  Offline
Junior Member

Joined: May 2012
Posts: 72
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

Last edited by epower; 06/24/19 02:46 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: 6,410
Polovski Offline
Polovski  Offline

Hotshot

Joined: Mar 2003
Posts: 6,410
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
New scam
by KraziKanuK. 07/22/19 06:25 AM
Flight yoke question
by SpongeBob55. 07/21/19 09:17 PM
When Not To Use The Video Chat Cat Filter
by Arthonon. 07/21/19 08:28 PM
HBO’s «Chernobyl»
by semmern. 07/20/19 06:15 PM
Spacesuit Article
by Rick_Rawlings. 07/19/19 09:31 PM
Storm Area 51
by Chaz. 07/19/19 08:20 PM
Checking in from Spokane our new home
by JimK. 07/18/19 11:45 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0