Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Using U360's with Battlezone type games  (Read 2379 times)

0 Members and 1 Guest are viewing this topic.

cmoses

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 718
  • Last login:July 27, 2023, 05:19:00 pm
Using U360's with Battlezone type games
« on: March 26, 2009, 04:54:58 pm »
Has anyone been able to use a U360 with a game like Battlezone that had two joysticks for tank controls?  Is there a mapping for it?  If not could one be made so that it would work with that type of joystick?


TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Using U360's with Battlezone type games
« Reply #1 on: March 26, 2009, 06:31:11 pm »
Sure you could create a good mapping for it, but the real problem is the fire button. BZ kinda needs a trigger stick, although I suppose as a hack you could use a pedal to act like the fire button. :dunno
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Using U360's with Battlezone type games
« Reply #2 on: March 27, 2009, 01:34:48 am »
I think the OP is thinking configing one joystick to work with the two 2-way games.

Yup, can be done, and we've talked able it.  Let me see if I can find it... Here is the latest post on it, IIRC.
Robin
Knowledge is Power

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Using U360's with Battlezone type games
« Reply #3 on: March 27, 2009, 12:25:03 pm »
Cool! It hadn't even occurred to me to try to combine the 2 joysticks into 1. I might want to try that sometime. Probably makes it hard to play a real BZ machine once you're used to 1 joystick (there's one at the Ground Kontrol arcade that's not far from me) but I don't play it there all that often anyway.
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

cmoses

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 718
  • Last login:July 27, 2023, 05:19:00 pm
Re: Using U360's with Battlezone type games
« Reply #4 on: March 27, 2009, 01:49:55 pm »
I think the OP is thinking configing one joystick to work with the two 2-way games.

Yup, can be done, and we've talked able it.  Let me see if I can find it... Here is the latest post on it, IIRC.

Yes I am trying to get one joystick to replicate the combinations of the two tank sticks.  I looked at that post and will give them a try.  With the two tank sticks there are only 9 combinations so you should be able to get that with a 8 way joystick.  Position 9 being not moved at all. 

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Using U360's with Battlezone type games
« Reply #5 on: March 27, 2009, 08:59:48 pm »
In the MaLa Umapper there's a 2-way vertical map, so yes it has been done.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Using U360's with Battlezone type games
« Reply #6 on: March 27, 2009, 09:55:02 pm »
Ummon, I don't think you really read the posts in this thread. ???
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Using U360's with Battlezone type games
« Reply #7 on: March 28, 2009, 12:10:31 am »
Yes, this works great with the u360! Thanks u_rebelscum! :applaud: I don't know how you do "not's" in mame's config menu, so I did it by hand. Here's my bzone.cfg:

Code: [Select]
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
    <system name="bzone">
        <video>
            <target index="0" view="Color Overlay" />
        </video>
        <counters>
            <coins index="0" number="33" />
        </counters>
        <input>
            <port tag="DSW1" type="DIPSWITCH" mask="3" defvalue="3" value="2" />
            <port tag="IN3" type="P1_JOYSTICKRIGHT_DOWN" mask="1" defvalue="0">
                <newseq type="standard">
                    JOYCODE_1_YAXIS_DOWN_SWITCH NOT JOYCODE_1_XAXIS_RIGHT_SWITCH OR JOYCODE_1_XAXIS_RIGHT_SWITCH NOT JOYCODE_1_YAXIS_UP_SWITCH NOT JOYCODE_1_YAXIS_DOWN_SWITCH
                </newseq>
            </port>
            <port tag="IN3" type="P1_JOYSTICKRIGHT_UP" mask="2" defvalue="0">
                <newseq type="standard">
                    JOYCODE_1_YAXIS_UP_SWITCH NOT JOYCODE_1_XAXIS_RIGHT_SWITCH OR JOYCODE_1_XAXIS_LEFT_SWITCH NOT JOYCODE_1_YAXIS_DOWN_SWITCH
                </newseq>
            </port>
            <port tag="IN3" type="P1_JOYSTICKLEFT_DOWN" mask="4" defvalue="0">
                <newseq type="standard">
                    JOYCODE_1_YAXIS_DOWN_SWITCH NOT JOYCODE_1_XAXIS_LEFT_SWITCH OR JOYCODE_1_XAXIS_LEFT_SWITCH NOT JOYCODE_1_YAXIS_UP_SWITCH NOT JOYCODE_1_YAXIS_DOWN_SWITCH
                </newseq>
            </port>
            <port tag="IN3" type="P1_JOYSTICKLEFT_UP" mask="8" defvalue="0">
                <newseq type="standard">
                    JOYCODE_1_YAXIS_UP_SWITCH NOT JOYCODE_1_XAXIS_LEFT_SWITCH OR JOYCODE_1_XAXIS_RIGHT_SWITCH NOT JOYCODE_1_YAXIS_DOWN_SWITCH
                </newseq>
            </port>
        </input>
    </system>
</mameconfig>
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Using U360's with Battlezone type games
« Reply #8 on: March 29, 2009, 06:15:06 pm »
Ummon, I don't think you really read the posts in this thread. ???

By his wording I didn't get that he wanted to use only one stick, and then I sorta glossed over his second post. In any case, I can't find it, so maybe it was a special build, but I swear I recall playing some fairly earlier version of mame that had this feature.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Using U360's with Battlezone type games
« Reply #9 on: March 29, 2009, 07:03:27 pm »
Well, it doesn't need to be a feature of mame given that you can configure it to work as u_rebelscum indicated. And in fact it probably shouldn't be a feature of mame since that would be an inaccurate representation of the original hardware.
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Using U360's with Battlezone type games
« Reply #10 on: March 31, 2009, 06:19:29 pm »
I think it was the old GLBattlezone, actually.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Using U360's with Battlezone type games
« Reply #11 on: April 02, 2009, 04:11:08 pm »
I don't know how you do "not's" in mame's config menu, so I did it by hand.

Not's are done by "double clicking" a direction.  Ands are done by pressing the other button/direction within less than a sec of the prior press.  Ors and done by waiting (for just over a second) for the prior map to register, then press enter and the next button/direction.

For example, to do:
JOYCODE_1_YAXIS_DOWN_SWITCH NOT JOYCODE_1_XAXIS_RIGHT_SWITCH OR
JOYCODE_1_XAXIS_RIGHT_SWITCH NOT JOYCODE_1_YAXIS_UP_SWITCH NOT JOYCODE_1_YAXIS_DOWN_SWITCH


Go to the input (joy right down in this case), press enter, then press down right right, wait until mame takes it, press enter, then press right up up down down.

If you're good at moves like this, it can be faster this way.  FWIW, I mess up a little too often, so have found editing by hand is just as for me (especially for remapping mice or trackball directions).

I was going to ref the mamedev wiki FAQs, but it's not very clear.  I'll edit it...  edit: okay, I think this is a little better.
« Last Edit: April 02, 2009, 04:19:26 pm by u_rebelscum »
Robin
Knowledge is Power

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Using U360's with Battlezone type games
« Reply #12 on: April 02, 2009, 10:56:58 pm »
'Not' in-game menu is double the direction you don't want. Enter>two quick pushes.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Using U360's with Battlezone type games
« Reply #13 on: April 03, 2009, 12:11:29 pm »
'Not' in-game menu is double the direction you don't want. Enter>two quick pushes.

Yeah, but you have to have something else mapped first, as mame doesn't allow a map of just a not: "not joy1 b1" is not valid, but "joy1 up not joy1 b1" is valid.  So you have to push the non-not key/button(s) before you do a the double push.  And mame has to have at least one non-not mapped before the double pushes work.  Examples: "enter,  A, A" doesn't register; "enter, A, A, W" registers as "A W" (both A and W need to pressed at the same time); "enter, A, A, W, W" doesn't work; and "enter, A, A, W, W, E" registers as "A NOT W E", which is the same as "A E NOT W" (both A & E keys have to be pushed, but the W key).

(If you understood all that, I'm sorry; I've been a bad influence. ;) )
Robin
Knowledge is Power

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Using U360's with Battlezone type games
« Reply #14 on: April 04, 2009, 04:50:30 pm »
Right. A lone 'not' give you 'none'. Well.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Using U360's with Battlezone type games
« Reply #15 on: April 04, 2009, 05:05:59 pm »
Actually, a lone "not" would mean "anything but". ;)
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Using U360's with Battlezone type games
« Reply #16 on: April 06, 2009, 07:25:11 pm »
TSs-ss-ss-sss.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.