Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up --- Bug Reports --- Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Le Mans 24 on Supermodel Emulator  (Read 3360 times)

0 Members and 1 Guest are viewing this topic.

BadMouth

  • Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8600
  • Last login:Yesterday at 07:52:32 pm
  • ...
Le Mans 24 on Supermodel Emulator
« on: February 27, 2013, 10:01:26 pm »
I haven't really got the controls dialed in or played the game much, but thought I'd share a couple tips for making Le Mans 24 more playable.
Every single game added to a driving cab is an accomplishment.

First up, during the rainy part of the stage, the fog isn't emulated properly and blocks our view, so lets get rid of it completely.  >:D


The glsl shader file attached to this post has been modified to disable fog, per instructions posted by Bart on the Supermodel forums:
http://www.supermodel3.com/Forum/viewtopic.php?f=3&t=85&p=712&hilit=fog#p712

Put the .glsl shader in your supermodel directory.  To use it, add -frag-shader=nofog.glsl to your command line.
Code: [Select]
supermodel.exe lemans24.zip -res=1024,768 -fullscreen -frag-shader=nofog.glsl -sound-volume=50 -music-volume=170

Second,  the shifter works differently than other games.

To get it to work properly, the controls must be modified manually in supermodel.ini
InputGearShiftUp and InputGearShiftDown shifts up and down through the gears on games that originally had 4 speed shifters.
They do not correspond to the up and down on Le Mans 24.

The upshift and downshift should be mapped to InputGearShift1 & InputGearShift2.
The following is my mapping (for all games) that allows either my shifter or paddles to be used.
It also makes neutral work properly.

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.



« Last Edit: February 27, 2013, 10:21:47 pm by BadMouth »

vandale

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 339
  • Last login:December 14, 2019, 06:57:24 pm
  • Id 10 and t error
Re: Le Mans 24 on Supermodel Emulator
« Reply #1 on: February 28, 2013, 04:27:26 am »
can you post a pic of it with no fog, better yet a video :)

BadMouth

  • Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8600
  • Last login:Yesterday at 07:52:32 pm
  • ...
Re: Le Mans 24 on Supermodel Emulator
« Reply #2 on: February 28, 2013, 11:31:09 pm »
can you post a pic of it with no fog, better yet a video :)

The best I can do at the moment is crappy cell phone video.
Someday when I have time I'll set up a better way to record gameplay.

You can still see some raindrops with the fog turned off, but it doesn't really look like it's raining.
The stuff coming from the tires is supposed to be water.
Pit stops are purely accidental, lol

« Last Edit: February 28, 2013, 11:42:24 pm by BadMouth »

Jollywest

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 274
  • Last login:Yesterday at 02:23:48 pm
Re: Le Mans 24 on Supermodel Emulator
« Reply #3 on: March 01, 2013, 01:43:35 am »
Looking good Badmouth.

I never added it to my cab because of the gfx problems but think I will now, cheers  :cheers:

Is there still no FFB on it though?