Main > Software Forum

ctrlr.ini file help...

Pages: << < (2/3) > >>

ErikRuud:

A .cfg file is created for every ROM the first time you run it.  It holds more than jsut the key mappings.

It only overides the ctrlr files if you go into the tab menu and change the keys.



Minwah:


--- Quote from: ErikRuud on May 25, 2004, 11:41:20 am ---A .cfg file is created for every ROM the first time you run it.  It holds more than jsut the key mappings.


--- End quote ---

I realised that part....


--- Quote ---It only overides the ctrlr files if you go into the tab menu and change the keys.

--- End quote ---

Thanks for clarifying, I wasn't sure if it saved the inputs into the cfg, whatever they happened to be.

Any more ideas?

Tiger-Heli:


--- Quote from: Minwah on May 25, 2004, 11:56:39 am ---
--- Quote from: ErikRuud on May 25, 2004, 11:41:20 am ---A .cfg file is created for every ROM the first time you run it.  It holds more than jsut the key mappings.


--- End quote ---

I realised that part....


--- Quote ---It only overides the ctrlr files if you go into the tab menu and change the keys.

--- End quote ---

Thanks for clarifying, I wasn't sure if it saved the inputs into the cfg, whatever they happened to be.

Any more ideas?

--- End quote ---
MAME Analog Plus or NoNameMAME might do better.  I know analog pedal support was added to Analog Plus a long time ago, but I thought official MAME picked it up.  And since it's working with the TAB menu and not the .ini files, I doubt that's the problem.

FWIW.

Minwah:


--- Quote from: Tiger-Heli on May 25, 2004, 12:06:28 pm ---MAME Analog Plus or NoNameMAME might do better.  I know analog pedal support was added to Analog Plus a long time ago, but I thought official MAME picked it up.  And since it's working with the TAB menu and not the .ini files, I doubt that's the problem.

--- End quote ---

That's what I thought (v0.6x IIRC).  I might check it out anyway to make sure...

Howard_Casto:

Part of your problem is quite simple....

You have one pedal for player 1 and the second for player 2.....  Each player has two pedals. Polepos has the pedals both properly mapped to player 1.  (I updated the code myself.)  

Second issue which may or may not cause your problem.....


Taken from the polepos driver:

PORT_START /* IN1 - Brake */
   PORT_ANALOGX( 0xff, 0x00, IPT_PEDAL2, 100, 16, 0, 0x90, KEYCODE_LALT, IP_JOY_DEFAULT, IP_KEY_DEFAULT, IP_JOY_DEFAULT )

   PORT_START /* IN2 - Accel */
   PORT_ANALOGX( 0xff, 0x00, IPT_PEDAL, 100, 16, 0, 0x90, KEYCODE_LCONTROL, IP_JOY_DEFAULT, IP_KEY_DEFAULT, IP_JOY_DEFAULT )


See where a hardcoded key is defined?  Unfotunately it's very tough to get these keys removed (devs want them in for some stupid reason).  What they do is override your mappings.  When you define a cfg file or ctrlr file it is *supposed* to override these keys, but due to a glitch in the loading order sometimes ctrlr files don't.  

If you want it fixed bug urebelscum, he was supposed to be on it.  ;)


Hope that helps,
HAC

Pages: << < (2/3) > >>

Go to full version