Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Pages: 1 2 
Send Topic Print
FS Configuration Swapper (Read 833 times)
Oct 3rd, 2004 at 9:49pm

Skittles   Offline
Colonel
N769JC: "Isn't simulating
stimulating?
JAQ: Westover Field, CA (O70)

Gender: male
Posts: 837
*****
 
Hi,

I got tired of manually switching around the controller assignments in my fs9.cfg.  So I started writing a little program in wee old VisBasic4.

I'm wondering if I should continue to develop it for other people to use. That's if anyone would have a need for it. I posted something about Multiple Configs before, but didn't get any response. So here's your last chance.

...

Here's what I have it doing so far.  Upon starting up, it will extract your fs9.cfg and copy the main section, leaving out the joystick and keyboard commands. That way, any scenery changes you make don't have to be repeated.

You then select a Controller Config. This is a single file created with all the checked Joystick Configs. Select a keyboard config, press the "Write" button and presto, a brand new fs9.cfg ready for use and already configured for the controls you plan on using. In addition, I have created a JOYSTICK CONFIGURATION section which associates the wierd Joystick names with recognizable ones. Interstingly enough, FS seems to ignore this new section, but it's quick to remove any and all comment lines.

I still have to manually create the Joystick Config files, as well as the keyboard config files. But with time, I should have a good Assignments section working better than FS2004's.

Is there anyone interested in using this? I don't want to spend the extra time programming if I don't have to.

Thanks for reading,

Joe
 

What do computers and air conditioners have in common?...
They both will work perfectly, until you open windows.
IP Logged
 
Reply #1 - Oct 8th, 2004 at 11:41am

Skittles   Offline
Colonel
N769JC: "Isn't simulating
stimulating?
JAQ: Westover Field, CA (O70)

Gender: male
Posts: 837
*****
 
I have not received any responses which tells me I'm doing this for myself. I suppose I'll continue the offer until 30OCT04

I'm adding a Joystick Assignments section which is Tabbed with the various sections, ie. Simulator Commands, Radio Commands, etc. It's turning out quite nicely. This area also allows you to save individual sections so you can mix and match.

Joe
 

What do computers and air conditioners have in common?...
They both will work perfectly, until you open windows.
IP Logged
 
Reply #2 - Oct 8th, 2004 at 4:10pm

garymbuska   Offline
Colonel
I would rather be flying
Jacksonville, Florida

Gender: male
Posts: 2850
*****
 
Hello skitles I sent you a PM requesting this program
Thanks Gary M Buska 8)
 
IP Logged
 
Reply #3 - Oct 9th, 2004 at 7:23pm

Skittles   Offline
Colonel
N769JC: "Isn't simulating
stimulating?
JAQ: Westover Field, CA (O70)

Gender: male
Posts: 837
*****
 
I hit a really big wall.  Using standard code in VB4, I don't have access to the joysticks. This creates a little problem for my Joystick Assignments section.

However, all is well. Having done 12hrs of research on the web provided me with just what I needed.

Programming is back on track.
 

What do computers and air conditioners have in common?...
They both will work perfectly, until you open windows.
IP Logged
 
Reply #4 - Oct 12th, 2004 at 2:50am

Skittles   Offline
Colonel
N769JC: "Isn't simulating
stimulating?
JAQ: Westover Field, CA (O70)

Gender: male
Posts: 837
*****
 
A couple more shots as things progress...
...
The biggest advantage with using this combined method is you can see all the joystick assignments at the same time. Meaning, the assignments are not separated by controller. The down side, you can only have one controller axis assigned to a function.


...
Unlike FS where you can ONLY have one key or button function per assignment, my program will tell you there is a duplicate, but won't erase the duplicate.

Things are progressing very well.  So far, the only thing that still has to be done manually is get the RegEntryKeys associated with the controllers.
 

What do computers and air conditioners have in common?...
They both will work perfectly, until you open windows.
IP Logged
 
Reply #5 - Oct 13th, 2004 at 10:59am

Skittles   Offline
Colonel
N769JC: "Isn't simulating
stimulating?
JAQ: Westover Field, CA (O70)

Gender: male
Posts: 837
*****
 
Once again, leave it to M$ to change the rules. Roll Eyes  Having problems with the Keycode assiociations. Looks like M$ thinks they don't have to comply with standard keyboard arrangements so the Keycodes produced don't match what FS is seeing.  Angry

Work is progressing slowly.
 

What do computers and air conditioners have in common?...
They both will work perfectly, until you open windows.
IP Logged
 
Reply #6 - Oct 13th, 2004 at 2:03pm

Travis   Offline
Colonel
Cannot find REALITY.SYS.
Universe halted.
Dripping Springs, TX

Gender: male
Posts: 4515
*****
 
Keep up the great work!  It looks like this could become a very usefull tool for those of us using more than one control system. Cheesy
 

...
IP Logged
 
Reply #7 - Oct 14th, 2004 at 12:18pm

Skittles   Offline
Colonel
N769JC: "Isn't simulating
stimulating?
JAQ: Westover Field, CA (O70)

Gender: male
Posts: 837
*****
 
Quote:
Keep up the great work!  It looks like this could become a very usefull tool for those of us using more than one control system. Cheesy
Thanks, I think so too, which is why I'm suprised nobody else is speaking up. I don't know why anyone else hasn't thought of this. I'll try to write up a complete description of features available to give an idea what it can do so you , Gary or anyone else interested can provide suggestions.

I'm approaching the last legs. VB4 does not allow the TAB key to send Keycode info to the sub routines and it returns the wrong keycode for the KPEnter key. Those are easy work arounds.
All I have left is to write the Opening and Saving sub routines. Should have those done this weekend.  Next week I may be going out to sea for the week.
When I get the whole thing functioning smoothly, I'll start a limited release version for debugging. I have no idea how this will work in WinXP. I'm awaitring a copy of XP to install on my second system. I also don't know how this will work on foreign systems.

Joe
 

What do computers and air conditioners have in common?...
They both will work perfectly, until you open windows.
IP Logged
 
Reply #8 - Oct 19th, 2004 at 11:19am

Skittles   Offline
Colonel
N769JC: "Isn't simulating
stimulating?
JAQ: Westover Field, CA (O70)

Gender: male
Posts: 837
*****
 
Just another update:

Having a few problems with the saving subroutines for the Joystick section. It actually works ok, but all the AXIS and BUTTON lines are out of order so I'm working on a sorting routine, but it's not working to well. If I can't fix it soon, I'll just dump it.

It's the lack of proper planning that's kicking my butt. As I progress, I add features which affect several other subroutines.

The biggest thing I'll have to re-work is the JoystickPolling subroutine.  The JOYINFOEX subroutine within the winmm.dll supposedly only supports 16 buttons per stick, but it appears to be able to support more. Since all my programming is based on 16 it's going to require a full overhaul to switch to 32.
For some reason, it's not recognizing the U-axis on my X-45.
 

What do computers and air conditioners have in common?...
They both will work perfectly, until you open windows.
IP Logged
 
Reply #9 - Oct 21st, 2004 at 10:59am

Skittles   Offline
Colonel
N769JC: "Isn't simulating
stimulating?
JAQ: Westover Field, CA (O70)

Gender: male
Posts: 837
*****
 
UPDATE:

I'm in the final stage.  Just working out some undesirable results, and started producting a Users Manual.
 

What do computers and air conditioners have in common?...
They both will work perfectly, until you open windows.
IP Logged
 
Reply #10 - Oct 21st, 2004 at 11:18am

Travis   Offline
Colonel
Cannot find REALITY.SYS.
Universe halted.
Dripping Springs, TX

Gender: male
Posts: 4515
*****
 
Couple of quick questions:

Quote:
U-axis on my X-45


Which one is this?  I have an X-45, but I'm not sure what the U-axis is.

And will the program go out as freeware or payware?
 

...
IP Logged
 
Reply #11 - Oct 21st, 2004 at 12:15pm

Skittles   Offline
Colonel
N769JC: "Isn't simulating
stimulating?
JAQ: Westover Field, CA (O70)

Gender: male
Posts: 837
*****
 
Just for the information The axis' are X, Y, Z, R, U, V in that order, so the U axis is rotary 1.

The program will be freeware.
 

What do computers and air conditioners have in common?...
They both will work perfectly, until you open windows.
IP Logged
 
Reply #12 - Oct 21st, 2004 at 5:01pm

richardd43   Offline
Colonel
Edmonton AB

Gender: male
Posts: 764
*****
 
I also use a joy stick and a yoke and would be very interested in your program. Keep up the work, I am sure there are others as well.
 

Asus P8Z77-V Deluxe
Intel I7 3770K w/ Corsair H100
Thermaltake Level 10 GT
Silverstone 1000W PSU 
Corsair 120G Force 3
2 x  Seagate Sata 3 
16 G Corsair Meemory
2 x EVGA GTX 295   
Windows 7 Ultimate
IP Logged
 
Reply #13 - Oct 21st, 2004 at 6:42pm

Skittles   Offline
Colonel
N769JC: "Isn't simulating
stimulating?
JAQ: Westover Field, CA (O70)

Gender: male
Posts: 837
*****
 
Thank you , that's very encouraging.  Just putting on some final touches. I have finished the users manual. I'm having a poker game and going to a party this weekend. Then next week I'm out to sea again. I'm hoping to have the first release available by the 1st of November.  I haven't been doing much of anything except working on this program to get it finished.
 

What do computers and air conditioners have in common?...
They both will work perfectly, until you open windows.
IP Logged
 
Reply #14 - Oct 21st, 2004 at 7:00pm

cleobis   Offline
Colonel
OPorto, Portugal

Gender: male
Posts: 417
*****
 
this is a great idea, please don't stop Grin I'm really hoping you can get it done. good job m8 Wink
 

...&&*** Força Aérea Portuguesa *** www.emfa.pt/
IP Logged
 
Pages: 1 2 
Send Topic Print