|
DIY Hardware Planning to build a cockpit or want to show off your wheel modifications... this is the place. |
|
Thread Tools |
11-07-2005, 09:02 | #1 |
Registered
Join Date: May 2005
Location: Greece
Posts: 362
|
FFShifter
EDIT
New Release FFShifter_1_0_Beta_0_3.zip Disclaimer and Introduction fom README.pdf FFShifter v1.0 BETA 0.3 Important: This is FFShifter v1.0 BETA 0.3 This software comes with no warranties of any kind. By installing this software you agree that you do so at your own risk and you accept full responsibility for any damage caused by the use or installation of the software. The producer of FFShifter makes every effort to ensure the program is safe but can not accept any responsibility whatsoever for personal injury or death that may arise during the use of the software, or any damage of any kind to your system including corrupted files, lost data or damage to hardware. 1) Introduction FFShifter is utility program to simulate a car gear shifter with a Force Feedback Joystick. Its main functionality is to send key strokes to the active window (usually a racing or driving simulation). It is meant to be used by home-made gear shifters (with gear shifting plates) which use FF Joysticks. The original idea was to provide a program that would actually simulate the gear shifting plate by constricting the joystick to move on predefined paths. Unfortunately, FF Joysticks do not provide the functionality of exact positioning. If you apply two constant forces in opposite directions, they cancel themselves out. Also, when you apply a constant force, it moves the joystick all the way to the force?s direction (depending on force of course). So the ideal use of FFShifter is with a FF Joystick and a gear shift plate. With some practice you can use FFShifter with only the joystick, but expect to have some bad shifts. The reason behind it, is when a constant force is applied in one direction (lets say 180 degrees ? in the third gear), you get resistance trying to pull the joystick back, but you don not have resistance to the left or right, so by the weight of your hand it may slide to first gear (left) or fifth gear (right). Another reason for a bad shift is when a constant force kicks in, if you do not hold strongly the joystick it may end up on another gear. I hope you understand the programs limitations, and you find it useful. Please read the rest of the README.pdf contained in the zip file before using the program. The program has been tested on a machine with DirectX 9.0c with a Logitech Wingman Force 3D Joystick, Logitech MOMO wheel (black) and Live For Speed S2 Demo. You must make sure that the game you are using is not "stealing" the force feedback joystick. In LFS I had to configure in the control options not to use the device id of the joystick. People that modify their joysticks to work with shifter plates, post your mods for other people to see. Requests and suggestions are welcome, although not guaranteed to be implemented (bug fixes are high on the priority list). Other things planned for future releases : 1) Clutch support from pedals, keyboard or joystick and emulation of bad shifts. Hope you enjoy.... EDIT ----------------------------------------------------------------------------------------------- General performance tips. ----------------------------------------------------------------------------------------------- Try one at a time and then move to the next one until you get the performance you desire. 1) Turn all drawing options off - you do not need FFShifter to draw anything while you are playing. 2) In the config screen, disable error logging if enabled. 3) In the config screen change GearShift Delay (ms) from 0 to 5, then to 10, then to 15 4) In the config screen change the parameter Joystick Poll Rate (ms) from 20 to 25 or 30. 5) Joystick Poll Thread Priority from Real Time to Highest or Above Normal. 6) Try turning off sound effects. In most cases turning drawing off will do the trick. You simply have to test and find the right settings for your hardware that won't kill your fps and you won't have delayed shifts. ----------------------------------------------------------------------------------------------- Using the Force Editor ----------------------------------------------------------------------------------------------- you can use the mouse to edit the size of the forcefield, the angle of the constant force, the min + max power values, the spring offset point and the spring force values, when you are adding a new forcefield (you have pressed add) or when you are editing (you have pressed edit) a forcefield. Only then if you move your mouse cursor over a forcefield you will see it change cursor type. You will get a move icon when over a forcefield. Up-Down or Left-Right arrows for changing dimensions (when over rectangle points). And a cross over the rest of the rectangles. You then press down the left mouse down (keep it pressed) and move your mouse. Also when you are in edit mode you select a different forcefield either by clicking in the forcefields listbox or by holding down Ctrl and left clicking over another forcefield in the graphics window. Beware though, when you have activated the forcefields you cannot edit them. The only time you can edit them is when adding or editing. ----------------------------------------------------------------------------------------------- Using FFShifter with LFS ----------------------------------------------------------------------------------------------- First thing to make sure is that in the games you plan to use FFShifter, they are set up so they do not use the joystick. Let's take for example LFS : Start LFS without FFShifter but with joystick plugged in - if you start the game and you are getting force feedback effects to the joystick, then you must go back to the control options and select another device to get the force feedback effects, preferably your wheel. Also make sure you setup your shifting mode to shifter, and you configure the same keyboard buttons as your shifter plate (default ones are Q- Reverse, W - first, S - second , E - third, D - fourth, R - fith, G -sixth for the 6-gear plate). After you have made sure the game is not using the joystick, exit the game, load FFShifter but do not press start. Load LFS, go into the track and then press the hotkey that starts up FFShifter (sometimes the hot key does not get picked up - try it again). If you Alt-Tab to windows and then back to LFS, chances are you may need press hotkey to deactivate and then press it again to start FFShifter again. Hope this helps... Last edited by ghostve; 03-11-2005 at 01:03. |
11-07-2005, 10:42 | #2 |
Registered
Join Date: Oct 2002
Location: Curitiba
Posts: 49
|
fantastic, downloading and testing...
thank you very much. |
11-07-2005, 10:58 | #3 |
Registered
Join Date: Dec 2003
Location: UK
Posts: 529
|
This sounds great. I'm tempted to go buy a joystick just to test it out
|
11-07-2005, 14:06 | #4 |
Registered
Join Date: Jun 2005
Posts: 425
|
DARN!!!
I would've bough a new joystick (logitech force 3d) today, but it was sold out, if nothing goes wrong, i'll have it tomorrow, but I want to try the program :P it looks very good Ghostve, too bad I suck in C++ (tried to create something like this) because it seems a very good language to make this kind of programs in. |
11-07-2005, 14:33 | #5 |
Registered
Join Date: Dec 2003
Location: UK
Posts: 529
|
ghostve does the ff actually make it feel like a real shifter yet? Or just hold it into position?
|
11-07-2005, 14:52 | #6 |
Registered
Join Date: May 2005
Location: Greece
Posts: 362
|
Well as already stated is impossible by only using the FF joystick to program the force feedback to constrain the joystick to move on predetermined paths (like the shifter plate). So they only way to achieve it is to have a supporting shifter plate. Once you have this plate, the rest of the forces (locking force and spring force trying to reset joystick to center, also transition from spring to locking - the "bump" feeling we were talking on another thread) feel quite nice.
Of course you can use it with just the Joystick, but you wont have any restrictions like a shift plate path. I still have not modified my joystick to be used under a shifter plate (as I am afraid I might brake it, and I still need it to complete the program), but I am sure other people will be more brave and technical savvy to try it out and post their results. |
11-07-2005, 14:58 | #7 |
Registered
Join Date: Dec 2003
Location: UK
Posts: 529
|
Ah thats what I wanted to know thanks. Im going to go pick one up to dissmantle Might post the results within the next week or so.
|
11-07-2005, 17:08 | #8 |
Registered
Join Date: Dec 2003
Location: UK
Posts: 529
|
Just tried the program, It has great potential! Once the joystick is fitted with a gate it will feel brilliant. Well done
I am just trying to dismantle my logitech force 3d and its proving a bit difficult. |
11-07-2005, 17:33 | #9 | |
Registered
Join Date: May 2005
Location: Greece
Posts: 362
|
Quote:
|
|
12-07-2005, 01:55 | #10 |
Registered
Join Date: May 2003
Location: France
Posts: 28
|
Ghostve, your prog is awesome !!!
I've been playing for hours with it on LFS, and the feeling is great ! I've configured it with my keys, and with the R gear in the 6 gear gate. Moreover, I've decrease the amount of forcefeeback in the gates (*FORCE_POWER_MIN 40.0) It's better for me 'cause my FF Joystick isnt hold by anything, and too much FF makes it move. The only problem is that the gears 3 and 4 arent lock on the horizontal axe, but if I'm not wrong, you already said that you cant solve it because of FF own's limitations. You've done a great job, thx you very much |
12-07-2005, 08:00 | #11 | |||
Registered
Join Date: May 2005
Location: Greece
Posts: 362
|
Quote:
Quote:
One thing I forgot to mention: All logitech FF devices come with the Logitech profiler through which you can set the overall force feedback characteristics (see attached image). So you may be using the same force characteristics with someone else with exactly the same joystick, but because your global device characteristics are different, you will get a different feeling. My guess is that other FF joysticks (besides Logitech) will have a similar setup.
Quote:
For example if you want to shift to 2nd which is lower left, you take the stick to neutral, move it all the way left and then down (as you would in a real gear shifter in your car). Last edited by ghostve; 12-07-2005 at 10:37. |
|||
12-07-2005, 09:14 | #12 |
Registered
Join Date: Dec 2003
Location: UK
Posts: 529
|
It suprises there hasnt been more attention on this. This program means almost anyone can create a shifter fairly quickly and easily. It has a lot of potential over traditional designs because of its flexibility eg. being able to stop you shifting if the clutch isnt down.
|
12-07-2005, 10:16 | #13 |
Registered
Join Date: Aug 2002
Location: Berryville, VA
Posts: 353
|
wow thanks for the program. I am definatly going to give this a try. Thanks for the work on this!!
__________________
Joe Dinsmore Member of Team Boss at www.teamboss.org Owner of www.fearwhat.com Admin. of CarXChange @ www.car-x-change.com Admin. of Ironman Racing Series at www.ironmanracing.com Stock Car Evolution @ www.rfstockcars.com Webmaster of www.gmpartsnetwork.com www.dt-racing.com www.simpros.com |
12-07-2005, 10:59 | #14 |
Registered
Join Date: Aug 2003
Location: Slovenia
Posts: 253
|
Would this work with GPL?
__________________
UKGPL Masters Cup. SBRC. |
12-07-2005, 11:36 | #15 |
Registered
Join Date: Feb 2001
Location: Denmark
Posts: 20,454
|
Man why dont I have a FF joystick, would love to try it .
Just thought about having different profiles for different gearbox types. Standard roadcar, Dogbox, sequential box etc. Would be cool . Making this thread sticky. |
12-07-2005, 11:49 | #16 | |
Registered
Join Date: May 2005
Location: Greece
Posts: 362
|
Quote:
1) You have a FF Joystick 2) The game can be configured to accept gears as key presses 3) The game does not "steal" the Joystick and reset it. If you have an FF wheel, you must be able to define in the game which controller you want to use (LFS does this). If your wheel is not FF, then you must be able to turn off FF for the joystick within the game. 4) The game does not use exclusively the DirectInput interface to accept key presses, and can process key presses through the normal windows message pump. If someone has GPL and an FF Joystick they can post whether it works or not. Also people that have tried it, they can post what joysticks (and wheels/pedals) they are using and in what racing games they have managed to make it work. Issues 3 and 4 require a technique called dll injection. Basically I have to program a dll to intercept directinput calls so I can stop games from getting access to the joystick (entering "guru" land). I am looking into it but it is not at the top of my TODO list. Next Item for development is the interactive editor. |
|
12-07-2005, 15:36 | #17 |
Registered
Join Date: Sep 2004
Posts: 144
|
gpl demo
heres a link to GPL demo its really full version with out all the tracks hope this helps http://www.bhmotorsports.com/GPL/downloads/3239
|
12-07-2005, 21:24 | #18 | |
Registered
Join Date: Oct 2002
Location: Curitiba
Posts: 49
|
Quote:
Once this program turns popular we will start seeing some amazing effects on actual and future games. This is The Most important development I see in years when we think about joysticks and controllers for the pc. After the Act labs shifter some years ago there has been no real novelty in this area. Congratulations Ghostve, this a genious idea. |
|
12-07-2005, 21:44 | #19 |
Registered
Join Date: May 2005
Location: Greece
Posts: 362
|
To Asmodeus
Thanks for your nice comments. What you described is what I have in mind for the final release of FFShifter, and no doubt I believe LFS might be the first game to actually emulate a real shifter with clutch support (you have to admit that its physics are pretty close to reality, so I am sure they will want to enhance other areas like shifting). The only thing to note, that this is not my original idea: if you search the forum you will find lots of threads that discuss the use of a FF Joystick as a gear shifter, and at some point Futaris created a program similar to FFShifter (no longer posted, so I cannot compare). The only original about FFShifter I would have to say is the implementation of forcefields, which enable different forces to be activated at different areas and not have all the forces acting together, which causes the joystick to jump all over the place. |
12-07-2005, 22:30 | #20 |
Registered
Join Date: May 2003
Location: France
Posts: 28
|
Asmodeus, I think you're too enthusiast... I dont want to deceit you, but it seems very hard to match FF effect with the way a real shifter react...
Obviously, its already nice by now, but I dont think it can improve as much as you think... it would be great, indeed, but I wonder if it's really possible. |
12-07-2005, 22:44 | #21 | |
Registered
Join Date: May 2005
Location: Greece
Posts: 362
|
Quote:
I'll be waiting for milgo to post his FF shifter with a shifter plate to see the results. My belief is that once clutch support is implemented where you will get kickback (or rumble effects) when trying to shift from neutral to a gear without pressing the clutch, or trying to get out of gear without pressing the clutch will be extremely difficult, and all these acompanied by the right sound effects, you will have a pretty decent simulation of a real gear shifter. My opinion anyway.... |
|
12-07-2005, 22:49 | #22 |
Registered
Join Date: May 2003
Location: France
Posts: 28
|
Ok, you're the one who did the prog, so I will agree with you about that...
But for me, who isnt going to make a shift plate for his joystick, it would be more difficult to do something which would be really realistic |
12-07-2005, 22:51 | #23 |
Registered
Join Date: Oct 2002
Location: Curitiba
Posts: 49
|
Ricou,
I really don't think this is the case. If I were a simulation developer from let's say, dead papyrus, LFS, etc, I would be very interested. If you want the shifter to refuse a broken 3rd gear or just accept it or vibrate differently when you should have used the clutch, it is just a matter of sending the desired info to the ff joystick....and the shift plate is really necessary to make it work better. Simple as that, once you have the idea and proves it can be done, like Ghostve did. Last edited by Asmodeus; 12-07-2005 at 22:54. Reason: adding info |
12-07-2005, 22:59 | #24 |
Registered
Join Date: Dec 2003
Location: UK
Posts: 529
|
I think I remember reading something about BRD releasing a FFB shifter. There has to be a lot of potential! There is also that aluminium shifter plate and holder for a joystick in development from DE.
Last edited by milgo; 12-07-2005 at 23:01. |
13-07-2005, 09:34 | #25 |
Registered
Join Date: Mar 2004
Location: Switzerland
Posts: 432
|
Great that finally someone wrote a program like this!
Unfortunately, it does not work for me: I have an old Microsoft Sidewinder Force Feedback Pro (Gameport), but haven't used it for more than a year (race sims brought me away from flight sis ;-) ). Back then, the joystick worked flawlessly (even under WinXP with it's rather bad Gameport support). But now, when I try to use the ffshifter, it crashes as soon as I try to start it (clicking the start-button) with the message shown in the attachement. My DFP works with the ffshifter (It does not crash), so I think it's not a Win/DirectX problem. The problem must be my joystick or less probably the ffshifter-program. Does anyone here use a Microsoft FF Pro (Gameport) with the ffshifter and does it work? |
Bookmarks |
Thread Tools | |
|
|