> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Melchior FRANZ > Sent: Wednesday, January 19, 2005 7:59 PM > To: flightgear-users@flightgear.org > Subject: [Flightgear-users] Re: Loading Problems > > This version had still a bug that crashed fgfs if the > joystick config file defined > more axes/buttons than the js actually has. Ideally, as Erik > already said, you would > write a configuration file for this joystick. It's not really > difficult. Just copy > the closest of the existing congfigs, change the name in the > <name> tag to what > js_demo.exe reports and add the path to > $FG_ROOT/joysticks.xml. A text editor is all > you need. > > Alternatively, you can find out which js fgfs tries to use, > and remove all axes > and buttons that your js doesn't have. Running C:\> fgfs.exe > "--log-level=info"|more > should tell you the used joystick. You get something like this: > > Looking for bindings for joystick "SAITEK CYBORG 3D USB" > Trying "Analog 4-axis 4-button joystick" > Trying "SAITEK CYBORG 3D USB" > Found bindings
Day 9 FlightGear still wont load but some light on the situation at least maybe for those tech's who know the code. I Created a joystick config file from another one which closely matched my joystick, edit4ed it and included it's path in "joysticks.xml" I ran fgfs.exe "--log-level=info"|more (note, MORE is not recognised in this WIN environment with fgfs) but the pause key works, and got out a report, here are all the errors in the report, maybe someone can enlighten me to the significance of these and hopefully suggest a work around. REPORT ERRORS: Object Panel Instruments not found. Object ControlsGroup not found. Reading Communication protocol from E:/FlightGear/data/Protocol .xml "Note the space after Protocol." Unable to load the protocol configuration file. Medium=file. Direction=in. Hertz=5 Filename= "Note no filename." Error opening file: "Note no filename" Error opening channel communication layer. I/O channel config failed. Deleting a sample. END REPORT ERRORS: The "system.fgsfrc" file is obviously overwritten every time FlightGear runs as I have experimented with making the file "read only" and that stops FG dead. This is the information contained in my "system.fgsfrc" file located in "E:FlightGear\Data":- --fg-root=E:\FlightGear\data --fg-scenery=E:\FlightGear\data\Scenery;E:\FlightGear\scenery --airport-id=KSFO --aircraft=c172r-3d-jsbsim --control=joystick --enable-mouse-pointer --disable-random-objects --disable-ai-models --time-offset=1200 --generic=file,in,5,, This is the relevant path entry in the "joysticks.xml":- <js-named include="Input/Joysticks/Logitech/Logitech-attack-3-win.xml"/> This is the "name" entry in "Logitech-Attack-3-win.xml" joystick config file:- $Id: Logitech Attack 3 win USB $ --> <PropertyList> <name>Logitech Attack 3 USB</name> <axis n="0"> Etc. etc. Does any of the above assist anyone to help a newbie at this task. Many thanks, Grayham............. _______________________________________________ Flightgear-users mailing list Flightgear-users@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-users 2f585eeea02e2c79d7b1d8c4963bae2d