Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
02035 DIP/Input Minor Always Jul 22, 2008, 20:10 Aug 30, 2008, 13:02
Tester Kold666 View Status Public Platform MAME (Official Binary)
Assigned To robiza Resolution Fixed OS Windows XP/Vista 32-bit
Status [?] Resolved Driver
Version 0.126u1 Fixed in Version 0.127u2 Build Normal
Fixed in Git Commit Github Pull Request #
Summary 02035: gwarb: Guerrilla War bootleg doesn't need a rotary joy
Description I dumped my guerrilla war pcb which doesn't need the rotary joystick and it's the same romset as the bootleg one in mame.
it shouldn't need the rotary joystick.

Also the freeze dipswitch doesn't work on the emulated game, on the pcb it works.
Steps To Reproduce
Additional Information
Github Commit
Flags Verified with Original
Regression Version
Affected Sets / Systems gwarb
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
15
User avatar
No.01775
Fortuna
Tester
Jul 24, 2008, 23:28
yeah, i remember playing this bootleg without rotary joystick, possible is a different set or different settings
User avatar
No.01780
Kold666
Developer
Jul 25, 2008, 05:00
I tried all the dips and the romset was dumped and confirmed to be the same as mame.
User avatar
No.01786
Haze
Senior Tester
Jul 25, 2008, 07:18
is there some sub-board converting normal joystick to rotary positions, or is it just using the directions as-is?

I know the tehkan world cup trackball -> joystick hacks are 100% hardware, so I'm just checking...
User avatar
No.01797
Kold666
Developer
Jul 25, 2008, 15:44
no sub-board or hacked piggyback boards, the directions goes to normal ttl buffers like normal games.
User avatar
No.02121
Haze
Senior Tester
Aug 19, 2008, 11:17
If I understand your other report, then as far as the games are concerned the 'rotary' joysticks just act as joysticks with 12 directions.

In which case, I guess your specific bootleg board only handles 4 of them, thus allowing you to use a normal joystick.

The code probably still handles all the joystick directions (and has the protection removed) so will still work with a 'rotary' input in MAME.

If this is the case then it's entirely possible the same bootleg code was used on boards which accepted the full range of inputs.

I could be wrong, I haven't looked over the driver, or done any research into how these sticks work.
User avatar
No.02122
Kold666
Developer
Aug 19, 2008, 12:09
edited on: Aug 19, 2008, 12:13
No, the rotary joysticks are like normal ones with 4 switches usually connected to the jamma connector (or an equivalent connector).

What is different is that the joystick has a cable with 13 wires (12 directions + gnd) which goes to another connector on the pcb.

if you use a normal joystick on ikari or similar games, you can move around the character but you can ONLY shoot in one directio because the rotary joystick move gun direction.

The rotary joystick can be rotated around the axis with discrete steps and you can hear the clicks of the contacts. you can continue ratating to the left or to the right without a limit.

SNK rotary traces are hidden in an epoxy block ;)

In this bootleg they have patched something to make the character move and shoot in the same direction
User avatar
No.02123
Haze
Senior Tester
Aug 19, 2008, 14:46
or the joystick input, and rotary input just come from the same place.. so if you press up on the joystick you press up on the rotary stick.

still sounds like a hardware hack to me, specific to the way your bootleg was designed thus leaving you without the ability to use the real controls on your board.
User avatar
No.02128
robiza
Developer
Aug 19, 2008, 17:40
gwar and ikari have 8 shot directions but the rotary joy have 12 positions

i don't think 4 switchs are unused but probably the game get the direction knowing the last switch pressed

i.e. last switch pressed = 6
new switch pressed = 7

rotation is defined

last switch pressed = 6
new switch pressed = 12

not sure the game handle correctly this thing
User avatar
No.02136
Kold666
Developer
Aug 20, 2008, 06:01
I tested the traces and they aren't shorted with the directions, so if it's an hack they have done a complex circuit
User avatar
No.02146
nicolasa
Developer
Aug 21, 2008, 06:45
fixed joystick input.

the freeze dipswitch was already working.
User avatar
No.02158
Kold666
Developer
Aug 21, 2008, 10:45
how did you fix it? :)
User avatar
No.02165
nicolasa
Developer
Aug 22, 2008, 09:26
the rotary controller MAME was using was 8-position instead of 12. It was using a mapping table to convert the 8 positions to 4-bit codes. Those 4-bit codes were just the normal joystick inputs.
User avatar
No.02206
robiza
Developer
Aug 24, 2008, 19:29
the game is not fixed
kold say in gwarb the player should rotate if you go in diagonal direction
User avatar
No.02264
Kold666
Developer
Aug 29, 2008, 10:26
yes, to make a long story short, this set should play like Commando
User avatar
No.02274
robiza
Developer
Aug 30, 2008, 12:22
edited on: Aug 30, 2008, 12:23
ok
i think when a rotary joy is present the game works like gwar, when the rotary joy is not present the game works like commando

in CUSTOM_INPUT( gwar_rotary ) you can use a:

return 0x0f to simulate the rotary joy not present

this trick works only with gwarb and not with gwar