[WIP] Realistic Gearshift

Discussion in 'Other' started by Seven Smiles, Dec 11, 2017.

  1. ctbr

    ctbr Registered

    Joined:
    Jan 11, 2012
    Messages:
    33
    Likes Received:
    5
    Now it works :)
    Thanks for your work, this is great with the Aussie legends cars.

    Works with Automobilista as well
     
    Seven Smiles likes this.
  2. doddynco

    doddynco Registered

    Joined:
    Dec 13, 2017
    Messages:
    102
    Likes Received:
    151
    I've edited the Grind_default.wav to make it sound a bit more realistic.
     

    Attached Files:

    Seven Smiles likes this.
  3. Wanderer

    Wanderer Registered

    Joined:
    Mar 31, 2017
    Messages:
    31
    Likes Received:
    14
    Did the same thing way back for rF1.
    But i didnt wanted it to be more realistic, but to be much more aggressive.
     

    Attached Files:

    Seven Smiles likes this.
  4. Lu ManiaK

    Lu ManiaK Registered

    Joined:
    Feb 3, 2014
    Messages:
    73
    Likes Received:
    56
    Just my opinion as an H user from a long time.
    I will never use that. I don't really need that. What I need, or what every H shifter really needs is not a grinding tranny. We need a force feedback shifter.
     
    The Iron Wolf likes this.
  5. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    725
    Likes Received:
    773
    See update in first post.
     
    Alex72 and Mauro like this.
  6. Alex72

    Alex72 Registered

    Joined:
    Dec 27, 2016
    Messages:
    1,238
    Likes Received:
    932
    Massive thanks @Seven Smiles !!!

    Question: do we use the EXE's before every drive or is it an installation?
     
  7. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    725
    Likes Received:
    773
    Just run gearshift.exe each time before loading rFactor. It sits there watching the shifter and clutch.

    In fact once gearshift is loaded you can hear the graunching sound if you shift without pressing the clutch and it will be firing 0s at whatever window has focus. Part of the testing was to do that in Notepad:
    Capture.JPG
     
    Alex72 likes this.
  8. Alex72

    Alex72 Registered

    Joined:
    Dec 27, 2016
    Messages:
    1,238
    Likes Received:
    932
    Cheers, bud.
    ¨
    BTW is AutoHotKey coded into it all and i dont need to run it too at the same time? Im so happy you guys help the community with things like this. Coding/scripting is hard! :) Thank you.
     
  9. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    725
    Likes Received:
    773
    No I translated it from AHK into Python and compiled it into the two exes, just run them.
     
    Alex72 likes this.
  10. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    725
    Likes Received:
    773
    For me at least it’s much easier than car or track modding.

    That is my one go at track modding (for rF1). I later added a building (there is only one at Llandow) and a bit more detail but the amount of work still required to build even such a simple track to anything more than a laughable quality seemed enormous. As for cars... well, let’s just say that my square building didn’t look anything like the real thing!
     
    Last edited: Sep 30, 2018
    Alex72 likes this.
  11. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    725
    Likes Received:
    773
    One important check I forgot - doing a fresh install as another user on my PC :oops:
    There's a new release that provides the essential default values if there is no existing gearbox.ini
    I also edited the readme to say that you need Grind_default.wav too.
     
    Alex72 likes this.
  12. Alex72

    Alex72 Registered

    Joined:
    Dec 27, 2016
    Messages:
    1,238
    Likes Received:
    932
    Thank you. Where do we put the .WAV file?
     
  13. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    725
    Likes Received:
    773
    All three files (and the .ini file that's created) go together wherever you want. The whole thing is completely independent, it just reads the clutch and shifter inputs and bangs out Numpad 0 to whatever window has focus.
     
    Alex72 likes this.
  14. elbo

    elbo Registered

    Joined:
    Feb 19, 2012
    Messages:
    552
    Likes Received:
    150
    Can someone walk me through how to make this work
    I made a folder and put gearshift.exe, configurer.exe, grind_default.wav in it.
    I clicked gearshift.exe and a window briefly open and shut again and it created gearshift.ini (all fields empty).
    I started rf2 and put numpad zero as neutral.
    From there nothing happens in game, no grinding sound on a clutchless shift and it goes into gear with no problem.
    My shifter and clutch is a G27 configured as joystick 2 in windows.
     
    Last edited: Oct 4, 2018
  15. zaphman

    zaphman Registered

    Joined:
    Oct 15, 2010
    Messages:
    37
    Likes Received:
    12
  16. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    725
    Likes Received:
    773
    elbo: You have to run Configurer first, see the readme on the Github page. I’ll make gearshift run it if there is no gearshift.ini.

    zaphman: thanks, I’ll implement your change.
     
    Last edited: Oct 4, 2018
  17. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    725
    Likes Received:
    773
    Changes for both made in V1.5.27. I also added some start up dialogue to gearshift.py along with sanity checking.
     
    Mauro likes this.
  18. ChiefWiggum

    ChiefWiggum Registered

    Joined:
    Nov 29, 2016
    Messages:
    685
    Likes Received:
    5,591
    this is really nice, but we can't control who is use it and who not, is this correct? I mean for online races
     
  19. elbo

    elbo Registered

    Joined:
    Feb 19, 2012
    Messages:
    552
    Likes Received:
    150
    No you can't. It is to be used for your own personal growth, not to go faster...:D
     
  20. ChiefWiggum

    ChiefWiggum Registered

    Joined:
    Nov 29, 2016
    Messages:
    685
    Likes Received:
    5,591
    I don't want it faster, I want it more real
     
    Mauro and Seven Smiles like this.

Share This Page