Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03144 DIP/Input Trivial Always May 6, 2009, 16:34 May 7, 2009, 12:18
Tester etabeta View Status Public Platform SDLMAME
Assigned To etabeta Resolution Fixed OS MacOS X
Status [?] Resolved Driver
Version 0.131 Fixed in Version 0.131u1 Build Normal
Fixed in Git Commit Github Pull Request #
Summary 03144: piratpet: Button 2 skips level
Description If you press P1 Button 2, you can skip the level

According to the source, it would happen only when "Debug" dip is set to ON, but it happens no matter how you set the DipSwitch

was it a 1 button game or is it the correct behavior?
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems piratpet
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
7
User avatar
No.04329
Haze
Senior Tester
May 6, 2009, 21:00
I imagine the owner was only expected to connect one button. The second should be available in MAME (to document that it exists as far as the game is concerned) but should maybe be unmapped by default.

The dipswitch maybe applies to the other sets only?
User avatar
No.04330
etabeta
Developer
May 6, 2009, 21:30
pictures of the cabinet show that there is only 1 button (like jungle king). so it should not be available to the users ;)

when you say available, what do you mean?

should I use IPT_UNKNOWN with only a comment about its use, or should I map it to something like 'F1', with a PORT_NAME like "Skip to next level"?
User avatar
No.04331
Haze
Senior Tester
May 6, 2009, 21:42
the 2nd option. The game recognizes it, so it shouldn't really be completely disabled, just, not available by default.
User avatar
No.04332
Tafoid
Administrator
May 7, 2009, 00:10
The 3rd dip location in that set is completely undocumented in the jungle king and jungle hunt manuals (not even unused is mentioned). This game was added in 0.60 with an "unknown" label - changing to "debug" in 0.61. In all cases since added - the p2 button was set to level skip.
User avatar
No.04334
Kale
Developer
May 7, 2009, 11:32
when you say available, what do you mean?

You map it as IPT_OTHER, use a PORT_NAME(x) and nothing else.
MAME will not map that button to anywere.
User avatar
No.04335
Haze
Senior Tester
May 7, 2009, 11:34
by available I mean the user should be able to go into the inputs menu and select a key for it, but it shouldn't have one by default as it wasn't connected to the control panel on the cab.

the user should _not_ have to recompile the code to be able to use the button.
User avatar
No.04336
etabeta
Developer
May 7, 2009, 12:18
edited on: May 7, 2009, 12:22
Thanks for the additional info. I add that in fact both players have a skip button (but P2 only works for P2 when cabinet is cocktail)

however, I just sent a fix which properly document the presence of a 'skip level' bit which is NOT a second button in the cabinet.

@Kale: My doubt was between making it configurable by the user or not. In any case, I mapped the two skip buttons to F1/F2. Feel free to change it, if you think is needed.