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: JPAC newbie  (Read 3414 times)

0 Members and 1 Guest are viewing this topic.

MikeMelga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 12, 2023, 06:24:13 am
  • I want to build my own arcade controls!
JPAC newbie
« on: November 14, 2016, 06:58:51 am »
Hi everyone.

I was given a Jamma Arcade machine and I bought a JPAC and an ArcadeVGA.

Wired everything up but I am having trouble with the controls.


When I test the controls with notepad I seem to get every P2 button (P1 does not send any ascii but they seem to also work) but I cannot get controls in-game nor the shift functions. 


From what I've read I must have one (or more) stuck or bad connected buttons.

When I redefine keys in MAME it show a "SPACE <the key I press> NOT BACKSPACE" or something like that everytime.

When I start a game like Bubble Bobble the controls are very erratic and sometimes I get 'Tilt'.

Any ideas on the best approach to eliminate the offending button(s) or what the problem may be?

Thanks.

Mike


Edit: My JPAC is an old version... so I guess I can't use WinIpac to check buttons.
« Last Edit: November 14, 2016, 09:59:43 am by MikeMelga »

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: JPAC newbie
« Reply #1 on: November 16, 2016, 05:05:24 am »

If you can drop me an email we can try to help.

The first thing to check is the self-test LED on the J-PAC. If this is not staying lit it indicates one or more shorted or stuck switches which will cause shift functions not to work.

Andy

MikeMelga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 12, 2023, 06:24:13 am
  • I want to build my own arcade controls!
Re: JPAC newbie
« Reply #2 on: November 16, 2016, 05:52:28 am »
AndyWarne,

Thanks for the reply.

The J-Pac flashes 1 or 2 times when powered and then stays always lit.

I've done some further reading and this weekend I am going to test the controls with a keyboard test app and will begin to test button by button. If I'm lucky I will find the stuck/broken switch and replace it.

if not... I will let you know :)
My email is mike.melga.pt  at  gmail.com

Thaks again.

Regards,
Mike


MikeMelga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 12, 2023, 06:24:13 am
  • I want to build my own arcade controls!
Re: JPAC newbie
« Reply #3 on: November 18, 2016, 06:28:07 pm »
Ok... I've done some more testing.

The J-Pac flashes 2 times on startup and then remains lit. According to the manual it's normal operation.

I tested with a keyboard test app (keythis) and every button worked. When you press and hold any button the app shows as the button being pressed which is correct.
However... when I press and hold the Start1 button (the one which should access the shift function) it shows pressed but immediately returns to the non pressed state.

 :dizzy:

Is this normal behaviour?

As a test I disconnected ALL buttons (removed ground) except for Start1 and Joystick 1. Same behaviour, still no shift functions.

 :angry:

What can I do more?


Thanks.

Regards,
Mike

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: JPAC newbie
« Reply #4 on: November 18, 2016, 06:40:23 pm »
When you are not pressing any buttons are any being lit up as active?
I had this problem with a Mini Pac and it turned out to be a weak switch on my joystick toggling on and off.

MikeMelga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 12, 2023, 06:24:13 am
  • I want to build my own arcade controls!
Re: JPAC newbie
« Reply #5 on: November 19, 2016, 10:50:13 am »
Titchgamer,

Thanks for the reply.

When I am not pressing any buttons no key is being lit. The keys only light up when I press the buttons.

I made a final test: I disconnect EVERYTHING except for the Start1 button and it still does not hold when I keep it pressed  :(
Replaced the button with another one: same thing.

Don't know what to do next :(

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: JPAC newbie
« Reply #6 on: November 19, 2016, 11:47:12 am »
When you press and hold any other button does it stay on?
Or do they all just blink on and off?

MikeMelga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 12, 2023, 06:24:13 am
  • I want to build my own arcade controls!
Re: JPAC newbie
« Reply #7 on: November 19, 2016, 11:59:57 am »
Every other button stays on (pressed).
Only Start1 goes on and immediately off.   

 :dunno

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: JPAC newbie
« Reply #8 on: November 19, 2016, 12:04:06 pm »
Maybe its the microswitch then? Try swapping it with one of the others.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 09:02:54 am
  • Designated spam hunter
Re: JPAC newbie
« Reply #9 on: November 19, 2016, 12:09:22 pm »
I disconnect EVERYTHING except for the Start1 button and it still does not hold when I keep it pressed  :(
Replaced the button with another one: same thing.
On the J-Pac, that is normal.

P1 Start is the default button for "shifted functions".

If you press and release P1 Start, the J-Pac sends a "1" keystroke. (un-shifted function)

If you press P2 Start, the J-Pac sends a "2" keystroke. (un-shifted function)

If you press and hold P1 Start then press P2 Start, the J-Pac sends an "ESC" keystroke (shifted function) instead of a "1" and "2" keystroke. (un-shifted functions)

http://www.ultimarc.com/jpac.html
Quote
Shift functions. Holding "Start1" and pressing other buttons sends a range of codes for MAME functions such as "escape", "Coin 1", "tab", "enter". This means no extra buttons are needed on the cabinet. In programmable mode any input can be the shift key and all keys can be programmed with a shifted code.

List of J-Pac shifted function defaults. (right column)
http://www.ultimarc.com/jpac2.html


Scott

MikeMelga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 12, 2023, 06:24:13 am
  • I want to build my own arcade controls!
Re: JPAC newbie
« Reply #10 on: November 20, 2016, 12:15:37 pm »
Maybe its the microswitch then? Try swapping it with one of the others.

Done that. No change.


If you press and hold P1 Start then press P2 Start, the J-Pac sends an "ESC" keystroke (shifted function) instead of a "1" and "2" keystroke. (un-shifted functions)

PL1,

Yes, I know that. The problem is that I cannot HOLD P1 Start. I can hold every other button, but P1 Start does not hold.


Now I am having a different problem: I reconnected all buttons, rewired the whole thing and as soon as I enter windows, it seems that F1 is being pressed. I get dozen of help windows open  :(

 :timebomb:


EDIT: running the key test app shows that F1 is repeatedly  being pressed.     :dunno

My J-PAC is not the newer one: was bought in 06/2010
« Last Edit: November 20, 2016, 12:31:27 pm by MikeMelga »

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11057
  • Last login:Yesterday at 08:50:04 am
  • Obey.
    • The Chris Burke Band
Re: JPAC newbie
« Reply #11 on: November 20, 2016, 03:38:53 pm »
This is an old and well known issue with JPACs.  Nothing will fix this besides replacing the encoder or your PC.


MikeMelga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 12, 2023, 06:24:13 am
  • I want to build my own arcade controls!
Re: JPAC newbie
« Reply #12 on: November 20, 2016, 04:23:02 pm »
This is an old and well known issue with JPACs.  Nothing will fix this besides replacing the encoder or your PC.

pbj,

What do you mean? Are you saying the J-Pac is incompatible with my PC setup? If I change the PC's motherboard it would work?


EDIT:  When I enter J-PAC's test mode it starts with "Coin 1 « 5" which would indicate a problem with the P1 B1 button, but that button is disconnected  :(
« Last Edit: November 20, 2016, 05:32:39 pm by MikeMelga »

Scassidy24

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 183
  • Last login:October 12, 2023, 11:56:34 am
  • I love my Nostalgia Machine
    • forum.arcadecontrols.com/index.php/topic,150379.0.html
JPAC newbie
« Reply #13 on: December 14, 2016, 12:18:52 am »
I'm Probably off base here but just in case.... you wouldnt Happen to have any switches accidentally wired to the "normally closed" terminal would you?  I had a problem getting my coin door switches working  until I realized that the leaf switches (although appearing to be exactly the same as all other switches on my cabinet) actually had NO and NC terminals in the opposite locations.  Just on those two leaf switches.  Maybe you have one of those "backward" switches.  Just confirm it's not in normally closed position.   

Maybe a long shot sorry if that's no help

Sent from my iPhone using Tapatalk
« Last Edit: December 14, 2016, 12:26:03 am by Scassidy24 »

mahuti

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2757
  • Last login:September 18, 2024, 01:16:22 pm
  • I dare anything! I am Skeletor!
Re: JPAC newbie
« Reply #14 on: December 14, 2016, 01:04:45 pm »
I've had problems with joysticks that had the NO and NC positions swapped as well.

If F1 Is popping up all over the place... then that would be the place to look. Ultimarc's docs shows F1 maps from the service connector:

https://www.ultimarc.com/jpac2.html

So... what is wired up to the service connector?
Raspberry Pi, AttractMode, and Skeletor enthusiast.

MikeMelga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 12, 2023, 06:24:13 am
  • I want to build my own arcade controls!
Re: JPAC newbie
« Reply #15 on: December 23, 2016, 07:06:17 am »
Hi.

Thanks for the replies.

I gave up on the shift functions. Could not get them to work.
Everything is wired up properly. No NC switches. Shift functions just don't work. Every buttons works fine on it's own :)

The 'service' problem I already sorted it out: it appeared because I wasn't powering the arcade (jamma and monitor). Once I powered up the rest of the arcade...it was gone :)

So... thanks for all the suggestions but I am still stuck with no shift functions. Got to live with it  :)