Universal PCB (eventually) thread

I really can’t recommend wiring up the buttons in a way other than how its labelled (Jab, strong, fierce, etc. Street Fighter 2x3 layout) unless your stick has a completely different layout. Things get difficult and confusing REAL quick.

Let’s say you have a strictly GG stick, with the ‘all but forward button’ layout. You wire it up, ignoring the forward button. Then when you try to play it on an NES, you don’t have a button for A. Since you cant press a button that doesnt exist, you can’t even remap it to another button.

You’d be much better off mapping it to the buttons as they’re laid out. If needed, I can even give make the stick buttons map to different PSX buttons and get you a custom .HEX file, but things will get weird and very confusing if you dont have the minimum buttons its expecting.

I was planning on leaving all six buttons there and all wired up but just wiring them so that they would be in the GG layout. I would rather have it this way than have to remap the buttons every time I start the game. Being that this is the main game I plan on playing it would kind of be a pain.

However, if you could make custom a .hex file for PSX that sets up this layout as the default one that would be really nice. Then I wouldnt have to remap the buttons around when I go to play other systems. Or if you could make soemthing for the PS button select cable where you hold down some set of buttons when you plug it in to change to a GG layout that would be nice too, though I am pretty sure just changing the .hex file to GG layout would be easier. However you want to do it is fine with me.

Having the option of permanently saving the button mappings to EEPROM sounds like a better option. The EEPROM on it could store settings for like 32 systems. Gimme a week or so to implement it.

it’d be awesome if one day you could sell pre-built PCBs with a set of most-commonly used cables. maybe someday!

also, for the dreamcast: when you ‘piggyback’, does that mean that you still use the cable that comes with the dreamcast pcb itself? essentially you’d still have the whole two wires sticking out of the stick deal?

Im on the same boat as you :wgrin:

Im looking into seeing how much getting them pre-assembled would cost, but at low volume it would be pretty expensive. When I figure out a price point, I’ll setup pre-orders.

I’m not sure what you mean, but I did put up pictures of a dreamcast piggyback already. You use the cable that came with the DC pcb and connect it to a 15 pin connector just like any other UPCB cable. There are no cables hanging out of the system. Inside the stick, there is one ribbon cable going from the UPCB to the Dreamcast PCB. When you want to play the piggybacked controller, you plug in the 15 pin cable to the back just like any other supported console.

Version 1.6 released, first post updated.
Changes:

  • Button mappings can now be made permanent by holding the programming button down and pressing Start three times. There is a different storage area for each system, so your Neogeo layout can be completely different from your PSX layout which is different from your Saturn layout, etc.
  • Amiga CD32 support. Big thanks to StreetSkiver for pointing me in the right direction for learning how that pad works. Untested, because I don’t have a clue who actually owns a CD32.

Anyone know anything about the Nuon controller, or any other controllers I may have missed? I’m pretty sure the controller data in the UPCB code is getting to be more accurate and more thorough than the data on GameSX :slight_smile:

I got a chance to test out the UPCB on a PS3 the other day. From what I found it works on most things but not all.

I tried it out on the menu, some of the downloadable games, and GGX using the backwards compatability.

It worked on the menu, though there is no PS button so you cant get back to the menu from a game unless you have a regular controller. Though this doesnt matter much since its likely that the controller will be used only for certain games and not used in place of a PS3 controller.

For the downloadable games it worked but with some exceptions. For games that require an analog stick the buttons work but not the stick since I am assuming the stick is taking place of the d-pad, and then for some reason on Gauntlet 2 the diagonal directions didnt work. I could walk directly up, down, left, or right, but for some reason the diagonals just wouldnt work.

Finally, when I tried to load up GGX at my friend’s, the PS3 did not recognize the controller at all. With both his controller and mine plugged in the game wouldnt let him access VS mode so I know it doesnt even see the controller.

It could just be this one game that it doesnt work on, or it may be that it doesnt work at all with backwards compatability, more testing would have to be done to figure out which one it is. But I just thought I would give some input on this since the PS3 wasnt fully tested.

Very appreciated. I can easily change the code so that moving the stick moved both the POV hat (the way it currently moves. You’re already familiar from the doujin problems :slight_smile: and the X and Y axis (which the PS3 sees as the left analog stick) at the same time. This would probably remove the need for xmapper for your PC games, but do you think that would help with the PS3 games that use the analog stick? Are there any forseeable problems with using the left analog and dpad at the same time in any fighting games you can think of?

The ‘not being seen at all’ problem I’m not sure how to address yet, same with the home button. I’ll have to do a rewrite of the USB section eventually, but if its any consolation, I’ve been doing a lot of reading on the matter and beginning to understand the USB protocol andhow the PIC uses it.

Could you walk diagonally in Gauntlet using a sixaxis? DId you try any other BC games other than GGX? What about PS1 games?

I cant think of any problems having it use both d-pad and analog stick for a fighter, but I am sure for some games, games that you likely wouldnt use a stick for, it might cause problems.

For Gauntlet, my friend who was using a sixaxis could walk diagonally, which is why it seemed odd that I wasnt able to even though I could walk in the normal directions.

For BC games I didnt try anything else aside form GGX. I should have tried more to see if it was a glitch with just that game or all BC games but I didnt think of it at the time.

Edit: Some thing I just thought of for the joystick. Would it be possible to have it set up to switch between POV hat and XY axis using the programming button? Like set it up to be similar to button remapping where holding up and releasing the button would set it as POV hat and holding down and releasing it would change it to XY axis. I dont know if that would be possible to do but it would prevent any problems that could occure in having both things read at the same time and it would make it easy to switch back and forth between the two.

I can’t do it using the programming button, but I can set it up as an additional console, probably watching for a direction on the stick when first plugged in.

I got a chance to test the BC on PS3 again today. Its not often that I get out to this friend’s house since its a bit on the far side but I was there again and I brought my stick to test a little more.

This time I tried PS1 games. There were two of them that he was able to find. One was some yugioh game and the other was and RPG which I dont remember the name of. On both of them the controller was not recoginzed, both the joystick and buttons didnt register.

My friend is saying that it may just be a glitch with the PS3 since that for BC there are a lot of glitches. Like in the beginning it didnt play most old games.

I want to use Ps2/DC/KEYBOARD on my arcade cabinet… for 2 players obviously.

Would th UPCB be able to do this with out needing more that one pcb per person? are keyboards even supported? (i.e: does not need to switch anything and be connected to all 3 systems.)

Any particular reason why keyboard and not a regular PC USB joystick, or in case your game requires keyboard, a regular PC USB joystick + Xmapper (xpadder? I keep forgetting the name) combo?

Yup. (Using the Saturn output and a Saturn->DC converter for the DC support)

Nope. There’s gotta be some switching between them so the UPCB knows which system its hooked up to. It can’t do more than one system at a time, and I don’t want to have to deal with 3+ different power sources.

Nope. They can be, but its WAY down on the priority list unless you have a real good reason why a keyboard can do something a joystick can’t.

I want to install the UPCB in the Agetec mod I am doing. The HRAP instructable you made and the UPCB one look like they will be fine for everything else I’ll be doing. I am going to replace the buttons and stick, and connect the UPCB up to the buttons, and I was planning on piggybacking the Agetec PCB that’s in there, so I was just wondering if you had any progress on the instructable for that?

keyboard allows me to build in support for console players to plug and play along with the arcade machine like a tekken 5 machine. It would allow me to emulate that with converters and extended usb cords inside the machine so that the keyboard and usb pad both control player 1 and 2… like tekken 5 cabinet

I have the pictures taken, and know what to write. I’ll going on a trip this weekend, and I’ll write it up then, and hope to have it up Monday.

Because console players usually have keyboard connectors on their sticks? Umm, okay, but the UPCB definitely doesn’t have any kind of keyboard input, and there’s no plans for that.

console players as in lets see… controller users? and i would use a ps2 > usb to emulate that part and the keys to emulate the player 1 and player 2 actual sticks.

It’s your project, so set it up however you like. I’m gonna reply in your thread cause it doesnt sound like a UPCB would help in what you need.

No rush on the instructable, I won’t need it till I get the UPCB from you anyway.