Logitech G25 Profiler issue - Mala.

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!

Logitech G25 Profiler issue - Mala.

Postby knight76 » Mon Feb 27, 2012 4:53 am

I am sure many of you are using G25/27 wheel and pedal combo's with this emulator and various frontends etc.

My setup is to launch Supermodel through Mala. But I am unable to get Logitech profiler settings to stick when I launch Supermodel.exe

Other games through other emulators work fine, in mala my wheel controls work as per my mala profile, then when launching in to other games the wheels settings change to that game, back to mala when I exit the game etc.

But with Logitech Profile for supermodel games launching the emulator from mala either via linking to supermodel.exe and adding switches to the command line that way, or creating a batch file and linking to that through mala, neither way enables the logitech profile to load the supermodel settings.

I realise this is not a Supermodel issue and is no doubt a logitech profile issue as it is not detecting the game launching, but was curious if any others have seen this on their setups and discovered a workaround?

If I run supermodel batch file outside Mala, the logitech does detect the game launch and maps controls to the G25 correctly. So the issue seems to be with mala launching the game itself.

Anyway, hopefully someone has the solution.

Also, does the Supermodel built in controller mapping allow me to map any keystroke to the buttons on my G25? So I can setup coin in, esc and view change buttons.
knight76
 
Posts: 11
Joined: Mon Feb 20, 2012 3:32 am

Re: Logitech G25 Profiler issue - Mala.

Postby nikdd » Mon Feb 27, 2012 5:09 am

knight76 wrote:Also, does the Supermodel built in controller mapping allow me to map any keystroke to the buttons on my G25? So I can setup coin in, esc and view change buttons.


Hey knight76,

Any controller axis/slider/POV/button can be mapped to any game input in Supermodel so there's no reason why you can't map your G25 buttons to the insert coin, start or change view inputs. Are you not able to do this with your setup?

Currently the only inputs that can't be mapped are the Supermodel user interface inputs and that includes exiting the emulator, which is always fixed to the Ecape key. This restriction may change in a future release.

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

Re: Logitech G25 Profiler issue - Mala.

Postby knight76 » Mon Feb 27, 2012 5:52 am

Thanks Nik.

I edit the .ini and set a test setting with just one button changed from default to test. I changed InputVR2 = "KEY_S,JOY1_BUTTON8". The first time I launched the emulator via batch file the setting stuck and it changed the view by pressing button 8 on my wheel.

Subsequent launches have all failed to map that button. Also, I can tell if the mapping has worked as when it works correctly the game boots and enters attract mode. But when the mapping did not work, the game boots and straight away coins up and starts a game.

I'm using the SVN R251 version of the emulator, though I don't think much would have changed from button mapping perspective from 0.2a to the SVN I am running would there? I am also not using any other joysticks plugged in this time lol.

I edited the ini as below and removed much of the settings for games i am not using just in case there was a conflict. But it was also doing this before removing all the entries.

;;
;; Supermodel Configuration File
;; Default settings for Version 0.2a.
;;


;
; Quick Overview
; --------------
;
; All settings are case sensitive. Numbers must be integers. Check your
; spelling carefully because invalid settings are silently ignored. To verify
; that your settings are being parsed correctly, check the contents of
; error.log.
;
; Global options apply to all games. To create configuration profiles for
; individual games, place settings under sections with the same name as the
; corresponding MAME ROM set, like so:
;
; ; Scud Race
; [ scud ]
;
; SoundVolume = 50
; MusicVolume = 200
; ; ... etc. ...
;
; Input mappings are an exceptional case: they are only allowed in the global
; section. Per-game input mappings are not supported.
;
; For a list of all valid settings, please consult README.txt. Only default
; inputs are assigned here.
;


[ Global ] ; Input settings can only be read from the global section!

; Common
InputStart1 = "KEY_1,JOY1_BUTTON9"
InputStart2 = "KEY_2,JOY2_BUTTON9"
InputCoin1 = "KEY_3,JOY1_BUTTON7"
InputCoin2 = "KEY_4,JOY2_BUTTON10"
InputServiceA = "KEY_5"
InputServiceB = "KEY_7"
InputTestA = "KEY_6"
InputTestB = "KEY_8"


; 4-way digital joysticks
InputJoyUp = "KEY_UP,JOY1_UP"
InputJoyDown = "KEY_DOWN,JOY1_DOWN"
InputJoyLeft = "KEY_LEFT,JOY1_LEFT"
InputJoyRight = "KEY_RIGHT,JOY1_RIGHT"
InputJoyUp2 = "JOY2_UP"
InputJoyDown2 = "JOY2_DOWN"
InputJoyLeft2 = "JOY2_LEFT"
InputJoyRight2 = "JOY2_RIGHT"


; Steering wheel
InputSteeringLeft = "KEY_LEFT" ; digital, turn wheel left
InputSteeringRight = "KEY_RIGHT" ; digital, turn wheel right
InputSteering = "JOY1_XAXIS" ; analog, full steering range

; Pedals
InputAccelerator = "KEY_UP,JOY1_UP"
InputBrake = "KEY_DOWN,JOY1_DOWN"

; Manual transmission
InputGearShift1 = "KEY_Q"
InputGearShift2 = "KEY_W"
InputGearShift3 = "KEY_E"
InputGearShiftN = "KEY_T"
InputGearShiftUp = "NONE" ; sequential shift up
InputGearShiftDown = "NONE" ; sequential shift down

; View buttons
InputVR1 = "KEY_A"
InputVR2 = "KEY_S,JOY1_BUTTON8"
InputVR3 = "KEY_D,JOY1_BUTTON3"
InputVR4 = "KEY_F,JOY1_BUTTON4"

; Miscellaneous driving game buttons: Sega Rally 2, Dirt Devils, Emergency Car
; Ambulance
InputViewChange = "KEY_A,JOY1_BUTTON1"
InputHandBrake = "KEY_S,JOY1_BUTTON2" ; Sega Rally 2 only

; Analog joystick (e.g. Star Wars Trilogy)
InputAnalogJoyLeft = "KEY_LEFT" ; digital, move left
InputAnalogJoyRight = "KEY_RIGHT" ; digital, move right
InputAnalogJoyUp = "KEY_UP" ; digital, move up
InputAnalogJoyDown = "KEY_DOWN" ; digital, move down
InputAnalogJoyX = "JOY_XAXIS,MOUSE_XAXIS" ; analog, full X axis
InputAnalogJoyY = "JOY_YAXIS,MOUSE_YAXIS" ; analog, full Y axis
InputAnalogJoyTrigger = "KEY_A,JOY_BUTTON1,MOUSE_LEFT_BUTTON"
InputAnalogJoyEvent = "KEY_S,JOY_BUTTON2,MOUSE_RIGHT_BUTTON"

Error log from last game played where it did not work is below:

Supermodel v0.3a-WIP Error Log
------------------------------

Started as:
argv[0] = supermodel
argv[1] = daytona2.zip
argv[2] = -show-fps
argv[3] = -res=1290,1080
argv[4] = -no-throttle
argv[5] = -fullscreen

OpenGL information:
Vendor: ATI Technologies Inc.
Renderer: ATI Radeon HD 4800 Series
Version: 2.1.8577
Shading Language Version: 1.20
Maximum Vertex Array Size: 2147483647 vertices
Maximum Texture Size: 8192 texels
Maximum Vertex Attributes: 16
Maximum Vertex Uniforms: 512

Program settings:
XResolution = 1290
YResolution = 1080
FullScreen = 1
WideScreen = 0
MultiTexture = 1
Throttle = 0
ShowFrameRate = 1
InputSystem = dinput
FlipStereo = 0
DirectInputConstForceLeftMax = 100
DirectInputConstForceRightMax = 100
DirectInputSelfCenterMax = 100
DirectInputFrictionMax = 100
DirectInputVibrateMax = 100
XInputConstForceThreshold = 30
XInputConstForceMax = 100
XInputVibrateMax = 100
MultiThreaded = 1
GPUMultiThreaded = 1
PowerPCFrequency = 50
EmulateSound = 1
Balance = 0
EmulateDSB = 1
SoundVolume = 100
MusicVolume = 100
ForceFeedback = 0
VertexShader =
FragmentShader =

Audio device information:
Frequency: 44100
Channels: 2
Sample Format: 32784

Static vertex buffer size: 64.09 MB
Dynamic vertex buffer size: 5.86 MB
Located and bound 8 uniform(s) in GL shader script to 8 texture unit(s).
Created 8 2048x2048-texel GL texture map(s)
Program terminated normally.
knight76
 
Posts: 11
Joined: Mon Feb 20, 2012 3:32 am

Re: Logitech G25 Profiler issue - Mala.

Postby nikdd » Mon Feb 27, 2012 6:48 am

Hi knight76,

knight76 wrote:I edit the .ini and set a test setting with just one button changed from default to test. I changed InputVR2 = "KEY_S,JOY1_BUTTON8". The first time I launched the emulator via batch file the setting stuck and it changed the view by pressing button 8 on my wheel.

Subsequent launches have all failed to map that button.


I'm afraid to say I have no idea why this might be. Are you sure that for the subsequent launches you are running Supermodel with the correct Supermodel.ini config file?

One thing you can do to tell whether it has read the correct config file or not is press Alt+U when the emulator is running (note: this only works in the SVN version). This will dump the input mappings and their current state to the console and by examining this it should be obvious if the emulator has read in the correct input mappings or not.

Also, between subsequent runs of Supermodel are you plugging in/removing controllers? This can change the number that a joystick is mapped to, so maybe your G25 is appearing as a differently numbered joystick? If you wish to see the list of controllers that Supermodel has recognised and which number each one has been assigned to, try running Supermodel with the -config-inputs option and pressing 'I' to output information about the connected devices.

knight76 wrote:Also, I can tell if the mapping has worked as when it works correctly the game boots and enters attract mode. But when the mapping did not work, the game boots and straight away coins up and starts a game.


I would be surprised if these two things were related. Some games will automatically coin-up on when launched if the emulator was previously quit in the middle of the game. Are you sure you're not just witnessing this effect? To ensure that this is not the case, please try deleting the game's NVRAM file before firing up Supermodel and seeing if it still happens.

knigh76 wrote:I'm using the SVN R251 version of the emulator, though I don't think much would have changed from button mapping perspective from 0.2a to the SVN I am running would there? I am also not using any other joysticks plugged in this time lol.


Nothing much has changed with the SVN version of the input system since the v0.2a release of the emulator. Do you experience the same problem with v0.2a?

Another thing I suggest you try is running Supermodel with the -config-inputs command line option and configuring the inputs by hand (don't forget to save the new config at the end). Then take a look at the updated Supermodel.ini file and compare it with your manually edited one.

Lastly, if none of the above helps, can you try running with the command line option -input-system=sdl and seeing if your buttons get recognised then (note: this may mess up you controller axes, so just use it to test the buttons for now).

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

Re: Logitech G25 Profiler issue - Mala.

Postby GamerGee » Mon Feb 27, 2012 9:29 am

I havent used the profiler for my g27. But i will try it out to see..
Machine: Mac Pro 2,2 (Dual Quad Xeon @ 3GHZ)
OSX 10.6.7 / (Bootcamp 64-Bit Windows 7 Ultimate)
9GB Ram
ATI Radeon 5770 (PC Flashed To EFI Mac)
X360 Pad Soon To Be G27 Wheel
GamerGee
 
Posts: 187
Joined: Wed Nov 30, 2011 9:45 am

Re: Logitech G25 Profiler issue - Mala.

Postby knight76 » Mon Feb 27, 2012 2:28 pm

nikdd wrote:Hi knight76,

I'm afraid to say I have no idea why this might be. Are you sure that for the subsequent launches you are running Supermodel with the correct Supermodel.ini config file?

One thing you can do to tell whether it has read the correct config file or not is press Alt+U when the emulator is running (note: this only works in the SVN version). This will dump the input mappings and their current state to the console and by examining this it should be obvious if the emulator has read in the correct input mappings or not.

Also, between subsequent runs of Supermodel are you plugging in/removing controllers? This can change the number that a joystick is mapped to, so maybe your G25 is appearing as a differently numbered joystick? If you wish to see the list of controllers that Supermodel has recognised and which number each one has been assigned to, try running Supermodel with the -config-inputs option and pressing 'I' to output information about the connected devices.


Thanks I will try the Alt-U and see what the output says. In between boots of the emulator I am not changing anything, literally I hit esc to quit, then double click the bat file to launch again. I also edited the .ini to set it up as just joy instead of joy1 so if this was somehow happening, it would apply the setting to all joysticks.

nikdd wrote:I would be surprised if these two things were related. Some games will automatically coin-up on when launched if the emulator was previously quit in the middle of the game. Are you sure you're not just witnessing this effect? To ensure that this is not the case, please try deleting the game's NVRAM file before firing up Supermodel and seeing if it still happens.


Your right, I am quitting mid game as when I make a change and go in to test, I quit when it hasn't worked. But when I race that entire game that it auto started when booting up, it instantly coins up and starts a game again at the end, and then again at the end of that one. I played 3 games straight once to see if it was just using up some residual credits but it keeps going. Which also means I don't get to quit outside of being in game. Also, the only time I have noticed it actually boot up and sit at the attract mode was when my controller mapping had worked. Every other time when it auto coined up my mapping failed.

I can test this by disabling my logitech profiler pre boot to see if that is interfering somehow, though I don't have a Daytona 2 profile in it anyhow.

Also, I can close mala down in case the logitec profiler is conflicting with the mapping as there is a mala profile for controls. Though I am sure I tried this.

nikdd wrote:Nothing much has changed with the SVN version of the input system since the v0.2a release of the emulator. Do you experience the same problem with v0.2a?

Another thing I suggest you try is running Supermodel with the -config-inputs command line option and configuring the inputs by hand (don't forget to save the new config at the end). Then take a look at the updated Supermodel.ini file and compare it with your manually edited one.

Lastly, if none of the above helps, can you try running with the command line option -input-system=sdl and seeing if your buttons get recognised then (note: this may mess up you controller axes, so just use it to test the buttons for now).

Hope that helps, Nik.


I will give it a run on the 0.2a emulator and see if I can replicate the issue. Also I will test my logitech profiler linking to the 0.2a version.

Thanks for the help again.
knight76
 
Posts: 11
Joined: Mon Feb 20, 2012 3:32 am

Re: Logitech G25 Profiler issue - Mala.

Postby knight76 » Mon Feb 27, 2012 2:33 pm

GamerGee wrote:I havent used the profiler for my g27. But i will try it out to see..


Thanks, see if the settings stick and profiler detects the launch of supermodel. I tried pointing the profiler to the supermodel.exe, the bat I was running to launch it, and CMD.exe in the system 32 folder but it would not map the control for any of them.

I suspect the issue is more between my wheel and supermodel as even without using a logitech profile, and setting up the .ini by hand, I still am having issues. My G25 should not be faulty as it works with every other game emulated or not, Mame games, model 2 emulators, PC/Ps3 racing games etc, all through the logitech profiler, or configured in game.

Anybody else using a G25 wheel without issues? Maybe I can get a copy of your .ini to try?
knight76
 
Posts: 11
Joined: Mon Feb 20, 2012 3:32 am

Re: Logitech G25 Profiler issue - Mala.

Postby GamerGee » Mon Feb 27, 2012 4:47 pm

i can give you my g27 ini if that helps
Machine: Mac Pro 2,2 (Dual Quad Xeon @ 3GHZ)
OSX 10.6.7 / (Bootcamp 64-Bit Windows 7 Ultimate)
9GB Ram
ATI Radeon 5770 (PC Flashed To EFI Mac)
X360 Pad Soon To Be G27 Wheel
GamerGee
 
Posts: 187
Joined: Wed Nov 30, 2011 9:45 am

Re: Logitech G25 Profiler issue - Mala.

Postby GamerGee » Mon Feb 27, 2012 4:49 pm

;****
;*** Configuration file autogenerated by Supermodel UI® (v0.6 build 78)
;****


[ Global ]

;****
;*** User preferences
;****

XResolution = 1920
YResolution = 1200
FullScreen = 1
WideScreen = 1
ForceFeedback = 1
DirectInputConstForceMax = 100
DirectInputFrictionMax = 99
DirectInputSelfCenterMax = 100
DirectInputVibrateMax = 100
XInputConstForceMax = 100
XInputVibrateMax = 100
XInputConstForceThreshold = 35


;****
;*** General input configuration
;****

InputStart1 = "JOY1_BUTTON3"
InputStart2 = "KEY_2,JOY2_BUTTON9"
InputCoin1 = "JOY1_BUTTON2"
InputCoin2 = "KEY_4,JOY2_BUTTON10"
InputServiceA = "JOY1_BUTTON1"
InputServiceB = "KEY_7"
InputTestA = "JOY1_BUTTON4"
InputTestB = "KEY_8"
InputJoyDown = "JOY1_POV1_DOWN"
InputJoyDown2 = "JOY2_DOWN"
InputJoyLeft = "JOY1_POV1_LEFT"
InputJoyLeft2 = "JOY2_LEFT"
InputJoyRight = "JOY1_POV1_RIGHT"
InputJoyRight2 = "JOY2_RIGHT"
InputJoyUp = "JOY1_POV1_UP"
InputJoyUp2 = "JOY2_UP"
InputEscape = "JOY1_BUTTON2"
InputEscape2 = "JOY2_BUTTON4"
InputGuard = "JOY1_BUTTON4"
InputGuard2 = "JOY2_BUTTON3"
InputKick = "JOY1_BUTTON1"
InputKick2 = "JOY2_BUTTON2"
InputPunch = "JOY1_BUTTON3"
InputPunch2 = "JOY2_BUTTON1"
InputBeat = "KEY_S,JOY1_BUTTON2"
InputCharge = "KEY_D,JOY1_BUTTON3"
InputJump = "KEY_F,JOY1_BUTTON4"
InputShift = "KEY_A,JOY1_BUTTON1"
InputLongPass = "KEY_S,JOY1_BUTTON2"
InputLongPass2 = "JOY2_BUTTON2"
InputShortPass = "KEY_A,JOY1_BUTTON1"
InputShortPass2 = "JOY2_BUTTON1"
InputShoot = "KEY_D,JOY1_BUTTON3"
InputShoot2 = "JOY2_BUTTON3"
InputSteering = "JOY1_XAXIS"
InputSteeringLeft = "JOY1_XAXIS_NEG"
InputSteeringRight = "JOY1_XAXIS_POS"
InputBrake = "JOY1_RZAXIS_NEG"
InputAccelerator = "JOY1_YAXIS_NEG"
InputGearShift1 = "JOY1_BUTTON9"
InputGearShift2 = "JOY1_BUTTON10"
InputGearShift3 = "JOY1_BUTTON11"
InputGearShift4 = "JOY1_BUTTON12"
InputGearShiftN = "KEY_T"
InputGearShiftDown = "JOY1_BUTTON6"
InputGearShiftUp = "JOY1_BUTTON5"
InputVR1 = "JOY1_BUTTON17"
InputVR2 = "JOY1_BUTTON18"
InputVR3 = "JOY1_BUTTON19"
InputVR4 = "JOY1_BUTTON16"
InputViewChange = "JOY1_BUTTON17"
InputHandBrake = "JOY1_RXAXIS_POS"
InputTwinJoyCrouch = "KEY_R,JOY1_BUTTON2"
InputTwinJoyForward = "KEY_UP,JOY1_YAXIS_NEG"
InputTwinJoyJump = "KEY_E,JOY1_BUTTON1"
InputTwinJoyReverse = "KEY_DOWN,JOY1_YAXIS_POS"
InputTwinJoyStrafeLeft = "KEY_LEFT,JOY1_XAXIS_NEG"
InputTwinJoyStrafeRight = "KEY_RIGHT,JOY1_XAXIS_POS"
InputTwinJoyTurnLeft = "KEY_Q,JOY1_RXAXIS_NEG"
InputTwinJoyTurnRight = "KEY_W,JOY1_RXAXIS_POS"
InputTwinJoyShot1 = "KEY_A,JOY1_BUTTON5"
InputTwinJoyShot2 = "KEY_S,JOY1_BUTTON6"
InputTwinJoyTurbo1 = "KEY_Z,JOY1_BUTTON7"
InputTwinJoyTurbo2 = "KEY_X,JOY1_BUTTON8"
InputAnalogJoyDown = "KEY_DOWN"
InputAnalogJoyLeft = "KEY_LEFT"
InputAnalogJoyRight = "KEY_RIGHT"
InputAnalogJoyUp = "KEY_UP"
InputAnalogJoyX = "JOY_XAXIS,MOUSE_XAXIS"
InputAnalogJoyY = "JOY_YAXIS,MOUSE_YAXIS"
InputAnalogJoyTrigger = "KEY_A,JOY_BUTTON1,MOUSE_LEFT_BUTTON"
InputAnalogJoyEvent = "KEY_S,JOY_BUTTON2,MOUSE_RIGHT_BUTTON"
InputGunDown = "KEY_DOWN"
InputGunLeft = "KEY_LEFT"
InputGunRight = "KEY_RIGHT"
InputGunUp = "KEY_UP"
InputGunX = "MOUSE_XAXIS,JOY1_XAXIS"
InputGunX2 = "JOY2_XAXIS"
InputGunY = "MOUSE_YAXIS,JOY1_YAXIS"
InputGunY2 = "JOY2_YAXIS"
InputOffscreen = "KEY_S,JOY1_BUTTON2,MOUSE_RIGHT_BUTTON"
InputOffscreen2 = "JOY2_BUTTON2"
InputTrigger = "KEY_A,JOY1_BUTTON1,MOUSE_LEFT_BUTTON"
InputTrigger2 = "JOY2_BUTTON1"
InputAutoTrigger = 0
InputAutoTrigger2 = 0


;****
;*** SUI configuration
;****
;ROMpaths=C:\EmuCR-Supermodel-r258-x86\roms
Machine: Mac Pro 2,2 (Dual Quad Xeon @ 3GHZ)
OSX 10.6.7 / (Bootcamp 64-Bit Windows 7 Ultimate)
9GB Ram
ATI Radeon 5770 (PC Flashed To EFI Mac)
X360 Pad Soon To Be G27 Wheel
GamerGee
 
Posts: 187
Joined: Wed Nov 30, 2011 9:45 am


Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 1 guest

cron