The Lost World: Jurassic Park Controls are wrong?

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!

The Lost World: Jurassic Park Controls are wrong?

Postby Tomkun » Fri Jan 14, 2022 8:06 pm

Hello,

I have been trying to get The Lost World working with a mouse as input but I am having real trouble.
There are two issues:

First, I cannot get the Y axis to register at all. The X axis and trigger work fine, so I think I have the controls set up right. In the test menu the 1st player seems to also be slightly affecting the 2nd player targeting for some reason. 2nd player controls haven't been set up yet at all.
Second, in the test menu > input test, the coin button '5' registers as the start button. The start button I have configured, '1', does nothing. Although it works in game.

All other games I have tested work as they should.

The command line I am using:
Supermodel.exe -fullscreen -res=1920,1080 -input-system=rawinput "lostwsga.zip"

The relevant parts of Supermodel.ini:
Code: Select all
; Common
InputStart1 = "KEY_1,JOY1_BUTTON9"
InputStart2 = "KEY_2,JOY2_BUTTON9"
InputCoin1 = "KEY_5,JOY1_BUTTON10"
InputCoin2 = "KEY_6,JOY2_BUTTON10"
InputServiceA = "KEY_F2"
InputServiceB = "KEY_0"
InputTestA = "KEY_F1"
InputTestB = "KEY_9"

; Light guns (Lost World)
InputGunLeft = "NONE"               ; digital, move gun left
InputGunRight = "NONE"             ; digital, move gun right
InputGunUp = "NONE"                   ; digital, move gun up
InputGunDown = "NONE"               ; digital, move gun down
InputGunX = "MOUSE3_XAXIS"             ; analog, full X axis
InputGunY = "MOUSE3_YAXIS"             ; analog, full Y axis
InputTrigger = "MOUSE3_LEFT_BUTTON"
InputOffscreen = "MOUSE3_RIGHT_BUTTON"    ; point off-screen
InputAutoTrigger = 0                    ; automatic reload when off-screen
InputGunLeft2 = "NONE"
InputGunRight2 = "NONE"
InputGunUp2 = "NONE"
InputGunDown2 = "NONE"
InputGunX2 = "NONE"
InputGunY2 = "NONE"
InputTrigger2 = "NONE"
InputOffscreen2 = "NONE"
InputAutoTrigger2 = 0

; Analog guns (Ocean Hunter, LA Machineguns)
InputAnalogGunLeft = "NONE"               ; digital, move gun left
InputAnalogGunRight = "NONE"             ; digital, move gun right
InputAnalogGunUp = "NONE"                   ; digital, move gun up
InputAnalogGunDown = "NONE"               ; digital, move gun down
InputAnalogGunX = "MOUSE3_XAXIS"         ; analog, full X axis
InputAnalogGunY = "MOUSE3_YAXIS"         ; analog, full Y axis
InputAnalogTriggerLeft = "MOUSE3_LEFT_BUTTON"
InputAnalogTriggerRight = "MOUSE3_RIGHT_BUTTON"
InputAnalogGunLeft2 = "NONE"
InputAnalogGunRight2 = "NONE"
InputAnalogGunUp2 = "NONE"
InputAnalogGunDown2 = "NONE"
InputAnalogGunX2 = "NONE"
InputAnalogGunY2 = "NONE"
InputAnalogTriggerLeft2 = "NONE"
InputAnalogTriggerRight2 = "NONE"


Please help!
Tomkun
 
Posts: 8
Joined: Sun Dec 08, 2019 9:26 pm

Re: The Lost World: Jurassic Park Controls are wrong?

Postby Bart » Fri Jan 14, 2022 9:39 pm

Hmm, looks correct to me. You only posted the relevant part of the ini file. Is it possible the controls are being reset further along in the file by mistake? My config is:

Code: Select all
InputGunLeft = KEY_LEFT
InputGunRight = KEY_RIGHT
InputGunUp = KEY_UP
InputGunDown = KEY_DOWN
InputGunX = MOUSE_XAXIS,JOY1_XAXIS
InputGunY = MOUSE_YAXIS,JOY1_YAXIS
InputTrigger = KEY_A,JOY1_BUTTON1,MOUSE_LEFT_BUTTON
InputOffscreen = KEY_S,JOY1_BUTTON2,MOUSE_RIGHT_BUTTON
InputAutoTrigger = 0
InputGunLeft2 = NONE
InputGunRight2 = NONE
InputGunUp2 = NONE
InputGunDown2 = NONE
InputGunX2 = JOY2_XAXIS
InputGunY2 = JOY2_YAXIS
InputTrigger2 = JOY2_BUTTON1
InputOffscreen2 = JOY2_BUTTON2
InputAutoTrigger2 = 0
InputAnalogGunLeft = KEY_LEFT
InputAnalogGunRight = KEY_RIGHT
InputAnalogGunUp = KEY_UP
InputAnalogGunDown = KEY_DOWN
InputAnalogGunX = MOUSE_XAXIS,JOY1_XAXIS
InputAnalogGunY = MOUSE_YAXIS,JOY1_YAXIS
InputAnalogTriggerLeft = KEY_A,JOY1_BUTTON1,MOUSE_LEFT_BUTTON
InputAnalogTriggerRight = KEY_S,JOY1_BUTTON2,MOUSE_RIGHT_BUTTON
InputAnalogGunLeft2 = NONE
InputAnalogGunRight2 = NONE
InputAnalogGunUp2 = NONE
InputAnalogGunDown2 = NONE
InputAnalogGunX2 = NONE
InputAnalogGunY2 = NONE
InputAnalogTriggerLeft2 = NONE
InputAnalogTriggerRight2 = NONE


Note that Lost World can use either lightguns or the analog gun. For reasons that I can't remember, people really wanted the analog gun version, so it is configured in Games.xml to use that. You can change it there to use lightguns (I believe analog_gun1 -> gun1) and see if it helps.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: The Lost World: Jurassic Park Controls are wrong?

Postby Tomkun » Sat Jan 15, 2022 4:56 pm

Thanks for the response.

Here is my complete supermodel.ini:

Code: Select all
;;
;; Supermodel Configuration File
;; Default settings for Version 0.3a.
;;
 

;
; 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!

; Network board
Network = 0
SimulateNet = 1
PortIn = 1970
PortOut = 1971
AddressOut = "127.0.0.1"

; Common
InputStart1 = "KEY_1,JOY1_BUTTON9"
InputStart2 = "KEY_2,JOY2_BUTTON9"
InputCoin1 = "KEY_5,JOY1_BUTTON10"
InputCoin2 = "KEY_6,JOY2_BUTTON10"
InputServiceA = "KEY_F2"
InputServiceB = "KEY_0"
InputTestA = "KEY_F1"
InputTestB = "KEY_9"

; 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"

; Fighting game buttons
InputPunch = "KEY_A,JOY1_BUTTON1"
InputKick = "KEY_S,JOY1_BUTTON2"
InputGuard = "KEY_D,JOY1_BUTTON3"
InputEscape = "KEY_F,JOY1_BUTTON4"
InputPunch2 = "JOY2_BUTTON1"
InputKick2 = "JOY2_BUTTON2"
InputGuard2 = "JOY2_BUTTON3"
InputEscape2 = "JOY2_BUTTON4"

; Spikeout buttons
InputShift = "KEY_A,JOY1_BUTTON1"
InputBeat = "KEY_S,JOY1_BUTTON2"
InputCharge = "KEY_D,JOY1_BUTTON3"
InputJump = "KEY_F,JOY1_BUTTON4"

; Virtua Striker buttons
InputShortPass = "KEY_A,JOY1_BUTTON1"
InputLongPass = "KEY_S,JOY1_BUTTON2"
InputShoot = "KEY_D,JOY1_BUTTON3"
InputShortPass2 = "JOY2_BUTTON1"
InputLongPass2 = "JOY2_BUTTON2"
InputShoot2 = "JOY2_BUTTON3"

; 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"

; Up/down shifter manual transmission (all racers)
InputGearShiftUp = "KEY_Y"           ; sequential shift up
InputGearShiftDown = "KEY_H"         ; sequential shift down

; 4-Speed manual transmission (Daytona 2, Sega Rally 2, Scud Race)
InputGearShift1 = "KEY_Q,JOY1_BUTTON5"
InputGearShift2 = "KEY_W,JOY1_BUTTON6"
InputGearShift3 = "KEY_E,JOY1_BUTTON7"
InputGearShift4 = "KEY_R,JOY1_BUTTON8"
InputGearShiftN = "KEY_T"

; VR4 view change buttons (Daytona 2, Le Mans 24, Scud Race)
InputVR1 = "KEY_A,JOY1_BUTTON1"
InputVR2 = "KEY_S,JOY1_BUTTON2"
InputVR3 = "KEY_D,JOY1_BUTTON3"
InputVR4 = "KEY_F,JOY1_BUTTON4"

; Single view change button (Dirt Devils, ECA, Harley-Davidson, Sega Rally 2)
InputViewChange = "KEY_A,JOY1_BUTTON1"

; Handbrake (Dirt Devils, Sega Rally 2)
InputHandBrake = "KEY_S,JOY1_BUTTON2"

; Harley-Davidson controls
InputRearBrake = "KEY_S,JOY1_BUTTON2"
InputMusicSelect = "KEY_D,JOY1_BUTTON3"

; Virtual On macros
InputTwinJoyTurnLeft = "KEY_Q,JOY1_RXAXIS_NEG"
InputTwinJoyTurnRight = "KEY_W,JOY1_RXAXIS_POS"
InputTwinJoyForward = "KEY_UP,JOY1_YAXIS_NEG"
InputTwinJoyReverse = "KEY_DOWN,JOY1_YAXIS_POS"
InputTwinJoyStrafeLeft = "KEY_LEFT,JOY1_XAXIS_NEG"
InputTwinJoyStrafeRight = "KEY_RIGHT,JOY1_XAXIS_POS"
InputTwinJoyJump = "KEY_E,JOY1_BUTTON1"
InputTwinJoyCrouch = "KEY_R,JOY1_BUTTON2"

; Virtual On individual joystick mapping
InputTwinJoyLeft1 = "NONE"
InputTwinJoyLeft2 = "NONE"
InputTwinJoyRight1 = "NONE"
InputTwinJoyRight2 = "NONE"
InputTwinJoyUp1 = "NONE"
InputTwinJoyUp2 = "NONE"
InputTwinJoyDown1 = "NONE"
InputTwinJoyDown2 = "NONE"

; Virtual On buttons
InputTwinJoyShot1 = "KEY_A,JOY1_BUTTON5"
InputTwinJoyShot2 = "KEY_S,JOY1_BUTTON6"
InputTwinJoyTurbo1 = "KEY_Z,JOY1_BUTTON7"
InputTwinJoyTurbo2 = "KEY_X,JOY1_BUTTON8"

; Analog joystick (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"
InputAnalogJoyTrigger2 = "KEY_D,JOY_BUTTON2"
InputAnalogJoyEvent2 = "NONE"

; Light guns (Lost World)
InputGunLeft = "NONE"               ; digital, move gun left
InputGunRight = "NONE"             ; digital, move gun right
InputGunUp = "NONE"                   ; digital, move gun up
InputGunDown = "NONE"               ; digital, move gun down
InputGunX = "MOUSE3_XAXIS"             ; analog, full X axis
InputGunY = "MOUSE3_YAXIS"             ; analog, full Y axis
InputTrigger = "MOUSE3_LEFT_BUTTON"
InputOffscreen = "MOUSE3_RIGHT_BUTTON"    ; point off-screen
InputAutoTrigger = 0                    ; automatic reload when off-screen
InputGunLeft2 = "NONE"
InputGunRight2 = "NONE"
InputGunUp2 = "NONE"
InputGunDown2 = "NONE"
InputGunX2 = "NONE"
InputGunY2 = "NONE"
InputTrigger2 = "NONE"
InputOffscreen2 = "NONE"
InputAutoTrigger2 = 0

; Analog guns (Ocean Hunter, LA Machineguns)
InputAnalogGunLeft = "NONE"               ; digital, move gun left
InputAnalogGunRight = "NONE"             ; digital, move gun right
InputAnalogGunUp = "NONE"                   ; digital, move gun up
InputAnalogGunDown = "NONE"               ; digital, move gun down
InputAnalogGunX = "MOUSE3_XAXIS"         ; analog, full X axis
InputAnalogGunY = "MOUSE3_YAXIS"         ; analog, full Y axis
InputAnalogTriggerLeft = "MOUSE3_LEFT_BUTTON"
InputAnalogTriggerRight = "MOUSE3_RIGHT_BUTTON"
InputAnalogGunLeft2 = "NONE"
InputAnalogGunRight2 = "NONE"
InputAnalogGunUp2 = "NONE"
InputAnalogGunDown2 = "NONE"
InputAnalogGunX2 = "NONE"
InputAnalogGunY2 = "NONE"
InputAnalogTriggerLeft2 = "NONE"
InputAnalogTriggerRight2 = "NONE"

; Ski Champ controls
InputSkiLeft = "KEY_LEFT"
InputSkiRight = "KEY_RIGHT"
InputSkiUp = "KEY_UP"
InputSkiDown = "KEY_DOWN"
InputSkiX = "JOY1_XAXIS"
InputSkiY = "JOY1_YAXIS"
InputSkiPollLeft = "KEY_A,JOY1_BUTTON1"
InputSkiPollRight = "KEY_S,JOY1_BUTTON2"
InputSkiSelect1 = "KEY_Q,JOY1_BUTTON3"
InputSkiSelect2 = "KEY_W,JOY1_BUTTON4"
InputSkiSelect3 = "KEY_E,JOY1_BUTTON5"

; Magical Truck Adventure controls
InputMagicalLeverUp1 = "KEY_UP"
InputMagicalLeverDown1 = "KEY_DOWN"
InputMagicalLeverUp2 = "NONE"
InputMagicalLeverDown2 = "NONE"
InputMagicalLever1 = "JOY1_YAXIS"
InputMagicalLever2 = "JOY2_YAXIS"
InputMagicalPedal1 = "KEY_A,JOY1_BUTTON1"
InputMagicalPedal2 = "KEY_S,JOY2_BUTTON1"

; Sega Bass Fishing / Get Bass controls
InputFishingRodLeft = "KEY_LEFT"
InputFishingRodRight = "KEY_RIGHT"
InputFishingRodUp = "KEY_UP"
InputFishingRodDown = "KEY_DOWN"
InputFishingStickLeft = "KEY_A"
InputFishingStickRight = "KEY_D"
InputFishingStickUp = "KEY_W"
InputFishingStickDown = "KEY_S"
InputFishingRodX = "JOY1_XAXIS"
InputFishingRodY = "JOY1_YAXIS"
InputFishingStickX = "JOY1_RXAXIS"
InputFishingStickY = "JOY1_RYAXIS"
InputFishingReel = "KEY_SPACE,JOY1_ZAXIS_POS"
InputFishingCast = "KEY_Z,JOY1_BUTTON1"
InputFishingSelect = "KEY_X,JOY1_BUTTON2"
InputFishingTension = "KEY_T,JOY1_ZAXIS_NEG"


My games.xml is as far as I know vanilla. I have never changed it. I will change the lines you suggested and let you know how I get on, but I did read the the other gun style doesn't let you use the crosshairs. Is that right?
Tomkun
 
Posts: 8
Joined: Sun Dec 08, 2019 9:26 pm

Re: The Lost World: Jurassic Park Controls are wrong?

Postby Bart » Sat Jan 15, 2022 6:47 pm

I don't see anything strange in your mapping. The only thing I find suspicious is the use of MOUSE3. Why do you use MOUSE for analog joystick (e.g., Star Wars Trilogy) but MOUSE3 for Lost World, Ocean Hunter, and LA Machineguns? Are you absolutely sure it is still working in those latter two games? I'm wondering if you are using some sort of controller remapping software outside of Supermodel that may be interfering here. If a MOUSE3 device is actually present, Supermodel will correctly use it according to your control set up. But all bets are off if some other program is interfering or if your mouse sometimes appears as MOUSE and other times as MOUSE3 or something else entirely.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: The Lost World: Jurassic Park Controls are wrong?

Postby Tomkun » Sat Jan 15, 2022 9:17 pm

Until recently I was using xinput.
I built myself a GUN4IR lightgun, so wanted to set up rawinput. I never got around to changing Star Wars (I usually use a control pad for that anyway). Both Ocean Hunter and LA Machine Guns work fine with this Supermodel.ini.

I got Mouse3 from using -config-inputs

The rom I am using comes from the latest MAME set.

I just retried it and realised that the Gun 1 Y Axis is actually controlling the Gun 2 X Axis. I don't know why...
Tomkun
 
Posts: 8
Joined: Sun Dec 08, 2019 9:26 pm

Re: The Lost World: Jurassic Park Controls are wrong?

Postby Bart » Sun Jan 16, 2022 5:16 pm

Tomkun wrote:Until recently I was using xinput.
I built myself a GUN4IR lightgun, so wanted to set up rawinput. I never got around to changing Star Wars (I usually use a control pad for that anyway). Both Ocean Hunter and LA Machine Guns work fine with this Supermodel.ini.

I got Mouse3 from using -config-inputs

The rom I am using comes from the latest MAME set.

I just retried it and realised that the Gun 1 Y Axis is actually controlling the Gun 2 X Axis. I don't know why...


Is there a calibration in the test menu you can perform? It shouldn't be necessary, though. I don't see a reason why this would be happening. I wonder if the gun is remapping itself each time to a different mouse device. But that doesn't explain why it works consistently in the other games. Do you have a frontend or any other piece of software in the loop?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: The Lost World: Jurassic Park Controls are wrong?

Postby Tomkun » Sun Jan 16, 2022 6:56 pm

There is a gun calibration tool in the test menu, but it doesn't help.

I tried dinput and xinput with no luck.

I tried changing the input type to 'gun' from 'analog_gun', but it didn't help.

I use launchbox as a front end, but the same issue occurs when I use the command line.

I deleted the NVRAM file for the game, but it didn't help.

As you can see from the Supermodel.ini file I showed you, there are no player 2 inputs set up at all for guns, so the inputs are getting mixed up somewhere along the line.

As an experiment, I tried this:
Code: Select all
; Analog guns (Ocean Hunter, LA Machineguns)
InputAnalogGunLeft = "NONE"               ; digital, move gun left
InputAnalogGunRight = "NONE"             ; digital, move gun right
InputAnalogGunUp = "NONE"                   ; digital, move gun up
InputAnalogGunDown = "NONE"               ; digital, move gun down
InputAnalogGunX = "MOUSE3_XAXIS"         ; analog, full X axis
InputAnalogGunY = "NONE"         ; analog, full Y axis
InputAnalogTriggerLeft = "MOUSE3_LEFT_BUTTON"
InputAnalogTriggerRight = "MOUSE3_RIGHT_BUTTON"
InputAnalogGunLeft2 = "NONE"
InputAnalogGunRight2 = "NONE"
InputAnalogGunUp2 = "NONE"
InputAnalogGunDown2 = "NONE"
InputAnalogGunX2 = "MOUSE3_YAXIS"
InputAnalogGunY2 = "NONE"
InputAnalogTriggerLeft2 = "NONE"
InputAnalogTriggerRight2 = "NONE"


And it works!

Unfortunately per-game input settings are not possible otherwise this could have been a temporary work-around.
Tomkun
 
Posts: 8
Joined: Sun Dec 08, 2019 9:26 pm

Re: The Lost World: Jurassic Park Controls are wrong?

Postby Bart » Mon Jan 17, 2022 1:29 am

Per-game input settings *are* possible and have been for a while :) The documentation just hasn't been updated. You can even specify a different input system per game using e.g. InputSystem=xinput. But still, this makes no sense at all to me. I've never seen a similar issue reported and it's working fine here. If per-game input settings can help you, you'll have to go with that for now.

As for how to specify per-game input settings, they are no different than any other game-specific setting. You can't use the -config-inputs utility, unfortunately, and must edit the .ini by hand. Let me know if you need help with that but there is a description in the default .ini file itself at the very top in the comment block.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: The Lost World: Jurassic Park Controls are wrong?

Postby Tomkun » Mon Jan 17, 2022 2:53 am

So if it's not the emulator, it's not my Supermodel.ini and it's not my system, could it be the rom I'm using?

It's from the latest MAME set, so I assume it's good, but perhaps I should try an older one?

Edit:
And we have our culprit!
It seems that something has changed in the recent MAME romset that causes this issue.
Tomkun
 
Posts: 8
Joined: Sun Dec 08, 2019 9:26 pm

Re: The Lost World: Jurassic Park Controls are wrong?

Postby Bart » Mon Jan 17, 2022 11:07 am

Tomkun wrote:So if it's not the emulator, it's not my Supermodel.ini and it's not my system, could it be the rom I'm using?

It's from the latest MAME set, so I assume it's good, but perhaps I should try an older one?

Edit:
And we have our culprit!
It seems that something has changed in the recent MAME romset that causes this issue.


Supermodel loads ROMs based on file checksums. Nothing has changed in the ROM set otherwise, the definition in Games.xml would be stale and the files would not be loaded at all. I honestly don't know what the issue could be. It makes no sense that one axis is detected and not the other when the configuration file is clearly correct. As a final test, could you revert to the original configuration you posted (which was not fully working in Lost World), run the game, and paste Supermodel.log here?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Next

Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 1 guest