Shifter fix for Le Mans 24

Having technical difficulties with Supermodel? Last-minute wardrobe malfunction? Get help here.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Shifter fix for Le Mans 24

Postby BadMouth » Fri Nov 04, 2011 2:00 pm

A lot of you probably already figured this out, but for those who haven't:

InputGearShift1 = "JOY2_BUTTON3,JOY1_BUTTON1"
InputGearShift2 = "JOY2_BUTTON4,JOY1_BUTTON2"
InputGearShift3 = "JOY2_BUTTON5"
InputGearShift4 = "JOY2_BUTTON6"
InputGearShiftN = "!JOY2_BUTTON3+!JOY2_BUTTON4+!JOY2_BUTTON5+!JOY2_BUTTON6+!JOY1_BUTTON1+!JOY1_BUTTON2"
InputGearShiftUp = "JOY1_BUTTON1"
InputGearShiftDown = "JOY1_BUTTON2"

JOY2 is my act labs shifter.
JOY1_BUTTON1 & JOY1_BUTTON2 are the shift paddles on my Logitech MOMO that I wanted to use with this game.
When no gear shift buttons are pressed, it will register neutral.
It should work the same with a G25 or G27, provided the correct JOY and BUTTON numbers are substituted.

It's the same neutral fix mentioned here, but I wanted to use my paddle shifters:
viewtopic.php?f=3&t=78&p=683&hilit=neutral#p683

EDIT: Also want to mention that InputGearShiftUP works to upshift, but InputGearShiftDown doesn't work to downshift in LeMans24.
However, InputGearShift1 & 2 work fine for upshift and downshift. That's why the paddle shifters are added on to 1st & 2nd gear.
If InputGearShiftDown worked to downshift, they wouldn't have to be.
User avatar
BadMouth
 
Posts: 47
Joined: Sun Sep 25, 2011 10:42 am

Re: Shifter fix for Le Mans 24

Postby nikdd » Mon Nov 07, 2011 3:56 am

BadMouth wrote:A lot of you probably already figured this out, but for those who haven't:

InputGearShift1 = "JOY2_BUTTON3,JOY1_BUTTON1"
InputGearShift2 = "JOY2_BUTTON4,JOY1_BUTTON2"
InputGearShift3 = "JOY2_BUTTON5"
InputGearShift4 = "JOY2_BUTTON6"
InputGearShiftN = "!JOY2_BUTTON3+!JOY2_BUTTON4+!JOY2_BUTTON5+!JOY2_BUTTON6+!JOY1_BUTTON1+!JOY1_BUTTON2"
InputGearShiftUp = "JOY1_BUTTON1"
InputGearShiftDown = "JOY1_BUTTON2"


Excellent - looks like you've got everything covered in there ;-) ! Thanks for posting that and hopefully it'll be of use to others.

Cheers, Nik.
nikdd
 
Posts: 180
Joined: Fri Sep 02, 2011 10:39 am
Location: London

Re: Shifter fix for Le Mans 24

Postby gm_matthew » Mon Nov 07, 2011 2:40 pm

Very nice, I didn't know the control scheme was that flexible. This is certainly a good solution for the time being until Supermodel is updated next (which probably won't be for a while).

InputGearShiftUp and InputGearShiftDown effectively change a virtual 4-speed shifter that Supermodel currently assumes that all racing games have. For example, in Scud Race, Daytona 2 or Sega Rally 2, they successfully change the gears sequentially, but Le Mans 24 uses the Gear 1 and Gear 2 inputs to control the sequential gears in the game, so they don't work.
gm_matthew
 
Posts: 224
Joined: Fri Oct 07, 2011 7:29 am
Location: Bristol, UK

Re: Shifter fix for Le Mans 24

Postby BadMouth » Tue Nov 08, 2011 12:08 pm

gm_matthew wrote:InputGearShiftUp and InputGearShiftDown effectively change a virtual 4-speed shifter that Supermodel currently assumes that all racing games have. For example, in Scud Race, Daytona 2 or Sega Rally 2, they successfully change the gears sequentially, but Le Mans 24 uses the Gear 1 and Gear 2 inputs to control the sequential gears in the game, so they don't work.


Ok, I get it now. I thought InputGearShiftUp and InputGearShiftDown were meant to be used only for games that originally had the UP/DN shifter.

This is actually better. I wish someone would write the same thing into MAME so everyone could have a good user experience regardless of what type of shifter they have (H pattern, paddles, or a single button).

I finally got around to undoing the shifter toggle hack on the version of MAME on my driving cab so the gear shift works as it did on the original games. It's made a world of difference in the playability of the older games that had Hi/Lo shifters. (I can't code. I just copy and pasted from a shift fix diff file meant for an older version of MAME.)

....but I'm getting off topic. This is the SUPERMODEL forum.
User avatar
BadMouth
 
Posts: 47
Joined: Sun Sep 25, 2011 10:42 am

Re: Shifter fix for Le Mans 24

Postby joeblade » Wed Nov 09, 2011 2:40 am

InputGearShiftUp and InputGearShiftDown effectively change a virtual 4-speed shifter that Supermodel currently assumes that all racing games have. For example, in Scud Race, Daytona 2 or Sega Rally 2, they successfully change the gears sequentially, but Le Mans 24 uses the Gear 1 and Gear 2 inputs to control the sequential gears in the game, so they don't work.


Kinda with this now so if i wanna use the paddle shifts on my g25 for sequential on lemans i need to add them to InputGearshift1 & 2..... 8-)

OT....Been quite busy on mame configuring my g25...some off the settings are still not right but im getting there....S.C.I is a total bitch to setup and has the "lame shift"!! :lol:

cheers once again guys... :)
User avatar
joeblade
 
Posts: 49
Joined: Wed Sep 28, 2011 12:39 am

Re: Shifter fix for Le Mans 24

Postby joeblade » Wed Nov 09, 2011 3:00 pm

Well just ran and little test with the modified settings above....worked a treat!! 8-) :D 8-)
Cheers for that BadMouth... ;)
User avatar
joeblade
 
Posts: 49
Joined: Wed Sep 28, 2011 12:39 am


Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 1 guest

cron