Quantcast
Channel: petrockblock » All Posts
Viewing all 952 articles
Browse latest View live

Reply To: Using UDEV rules to assign persistent names to joypads

$
0
0

Well, after about 20 test reboots, it looks like the USB ports on the Pi (unlike the USB hub’s ports) are consistent with how they assign the joypad numbers. I even plugged in a third adapter (a single Sega Genesis port). Upon every reboot, the SNES ports are always js0 and js1, the Genesis is always js2, and the PSX ports are always js3 and js4. This is awesome, as now I can assign the joypads in the emulator specific configs like I was doing before. It’s too bad that I wasted all that time messing with UDEV rules, LOL, but oh well. At least it works now. :)

I guess I can eliminate the USB hub. I should be ok having 3 or 4 controller adapters plugged into the pi, considering I’ll only be using a max of two controllers at once, right? That shouldn’t be too much of a power drain for the Pi?


PS2 controller clones – can't configure all directions and buttons in gui

$
0
0

I’m running RetroPie 3 RC1 (from SD image) coming from Pimame and really liking the joystick driven interface for starters! One basic thing I am having an issue with is I am using 2 clone PS2 controllers (one is Sabrent and one is Tomee). They worked perfectly in Pimame out of the box. When I try to configure in the initial setup I can configure 3 out of the 4 directions on pretty much any of the sticks and let’s say 3 out of the 4 buttons but one is always “already” in use”. I can see the system detects the controllers as Dragonrise Generic USB joystick with 4 axes, 12 buttons and the other same thing only Microntek USB joystick with 4 axes, 12 buttons. Any help would be greatly appreciated. Thanks.

Reply To: MSX keyboard controls help

$
0
0

lr-fmsx or ? try bluemsx – I believe fmsx has some limitations with control input.

Reply To: Cheap generic PS3 wireless controller problem

$
0
0

jwh02017, did you figure it out? I would love to know what all you did to get it set up? I am having the same problem.

Reply To: PS3 Controller in mame4all – Does this actually work? PLEASE HELP! :)

$
0
0

yes

Raspberry Pi 2 + Retropie3 + 2 x PS3 Wireless

Retropie 3 RC1 with 4 PS3 Controllers over Bluetooth (WORKING/STILL NEED HELP)

$
0
0

Hi,

i did manage to get 4 PS3 Controller to work over Bluetooth today, unfortunatly there are no games that work with 4 Players at the same time.

The only won working was N64 Mario Kart but the Game lagged a bit and the sound was awful.
Any suggestions how to improve this or is this a matter of the N64 and i have to “just” overclock it?

Or any other games that 4 players can play at the same time, haven’t tried MAME till now, guess thats the best option?

take care
NeoTrace

Reply To: use controller only in retropie, no keyboard??

$
0
0

pull up the main menu in emulationstation and select configure input and it will start the configure controller process.

Raspberry Pi 2 + Retropie3 + 2 x PS3 Wireless

Reply To: use controller only in retropie, no keyboard??

$
0
0

i have done that before. and after a reboot i have to use the keyboard cause the controller doesn’t work. it still works in the games, but not at start :(


Reply To: Only recognizing one port of a two port USB controller adapter

$
0
0

Cool, thank you for this! I’m having trouble getting it to work though. MAME fails to start any games. Do I put the “mame” and “mame.cfg” files in /opt/retropie/emulators/mame4all? or just the one mame file?

Thanks

There is a patched copy of mame here https://drive.google.com/file/d/0B2TfYq5Awz_jWExLS2RpMHhnalE/view?usp=sharing that works for me with 2 PS3 controllers.

Squid (mame4all author) says that the latest version of the mame source is fixed for this issue but I recompiled and it still didn’t work for me, the binary at the above link does.

Put the binary in /opt/retropie/emulators/mame4all/

Reply To: MSX keyboard controls help

$
0
0

Ya i think fmsx, the one that comes default with the retropie image. Do i have to install bluemsx? is there a guide for that? sorry i’m a noob at this.

Forcing atari2600 to use analog stick on ps3 controller

$
0
0

I’m trying to get atari 2600 to use the analog stick on the ps3 controller, I’m just not sure what to put in /opt/retropie/configs/atari2600

I did figure out how to get into the retroarch menu during a game and change the mapping there. If I do that it lets me use either the dpad or the stick for directions in the game, but it doesn’t save the settings so I have to remap the up, down, left, and right to the analog stick everytime.

Any help would be appreciated!

Reply To: MSX keyboard controls help

$
0
0

Yeah I made a quick video on how/where to install new emulators:

In the video I think its in experimental but it was just moved to the stable emulators. Its called lr-bluemsx.

Controlling EmulationStation with two different controllers with same name

$
0
0

I was wondering if there was any way to specify/identify controllers in the es_input.cfg by something other than device name. I’m using USB controller adapters for SNES and Sega Saturn controllers. They are both identified as “HuiJia USB GamePad”, so I’m only able to configure one or the other for EmulationStation input. One uses “axis” for direction, and the other uses “hat”. I tried putting both of these blocks of code in es_input.cfg, but one overwrites the other. Is it possible for to specify controllers by joystick number (e.g. js0 and js1) like we do in the retroarch.cfg files?

These are the settings for the SNES controller…

`<inputConfig type=”joystick” deviceName=”HuiJia USB GamePad”>
<input name=”up” type=”axis” id=”1″ value=”-1″/>
<input name=”pagedown” type=”button” id=”7″ value=”1″/>
<input name=”start” type=”button” id=”9″ value=”1″/>
<input name=”pageup” type=”button” id=”6″ value=”1″/>
<input name=”a” type=”button” id=”1″ value=”1″/>
<input name=”b” type=”button” id=”2″ value=”1″/>
<input name=”down” type=”axis” id=”1″ value=”1″/>
<input name=”right” type=”axis” id=”0″ value=”1″/>
<input name=”select” type=”button” id=”8″ value=”1″/>
<input name=”left” type=”axis” id=”0″ value=”-1″/>
</inputConfig>`

These are the settings for the Sega Saturn controller…

`<inputConfig type=”joystick” deviceName=”HuiJia USB GamePad”>
<input name=”up” type=”hat” id=”0″ value=”1″/>
<input name=”pagedown” type=”button” id=”2″ value=”1″/>
<input name=”start” type=”button” id=”9″ value=”1″/>
<input name=”pageup” type=”button” id=”21″ value=”1″/>
<input name=”a” type=”button” id=”0″ value=”1″/>
<input name=”b” type=”button” id=”1″ value=”1″/>
<input name=”down” type=”hat” id=”0″ value=”4″/>
<input name=”right” type=”hat” id=”0″ value=”2″/>
<input name=”select” type=”button” id=”7″ value=”1″/>
<input name=”left” type=”hat” id=”0″ value=”8″/>
</inputConfig>`

Reply To: Only recognizing one port of a two port USB controller adapter

$
0
0

I figured out why MAME wasn’t starting. I forgot to change the file permissions to execute. Duh. So, MAME works now with the new binary you provided, but it still does not recognize the buttons on my second controller, unfortunately.

Reply To: Only recognizing one port of a two port USB controller adapter

$
0
0

OK Well it compiled and I’ve tested that it at least works with my setup. Keep your old version just in case you need to revert for some reason.

Edit: Removed link to non-working name build

Let me know if it works :)

Raspberry Pi 2 + Retropie3 + 2 x PS3 Wireless


Reply To: Only recognizing one port of a two port USB controller adapter

$
0
0

Thank you for doing this! It ALMOST worked, lol. MAME fires up just fine, and it detects every button on the second control pad…except for the directional buttons. I can’t imagine the button #’s would be any greater than 34, but I don’t know. Do you think perhaps axes 10 and 11 need to be enabled? Even though MAME sees the d-pad presses as JoyButton #’s instead of JoyAxis, the jstest results show Axes 10 and 11 firing when I press controller 2’s d-pad.

Whether you’re able to continue working on it or not, thank you VERY much for your efforts. Very generous of you, and I really appreciate it.

OK Well it compiled and I’ve tested that it at least works with my setup. Keep your old version just in case you need to revert for some reason.

http://choccyhobnob.com/?d=441

Let me know if it works

Reply To: SNES and IPAC

$
0
0

Hello !

It sounds like you have a button set up on your IPAC which triggers some sort of emulator function.

My suggestion would be to look in the controller configurations of the RetroArch.cfg file, (located in /opt/retropie/configs/all/ if you are using the latest RetroPie image) and to see what is already mapped to your keyboard (make sure to check any hotkeys too since they may be mapped to the keyboard). It helps a ton to initially setup your 1p keys with emulation station (remembering to hold a button to skip through stuff you can’t map), then go back and edit this config file specifically with your keyboard configuration. Saves a ton of headache. (esepcecially when most emulators run via RetroArch)

Don’t forget, you can also reprogram your IPAC using the Windows software. (A good thing to do since the default setting misses out a ton of shift keys you could set to random keys. You could map stuff like R2 and L2 and analogue sticks via button press combos)

Here is what I set my main IPAC keys to:

P1:
Up: UP ARROW
DOWN: DOWN ARROW
LEFT: LEFT ARROW
RIGHT: RIGHT ARROW
1:a
2:s
3:d
4:z
5:x
6:c
7:5
8:6
1p Start: 1

P2:
Up: I
Down: K
Left: J
Right: L
1: t
2: y
3: u
4: f
5: g
6: h
7: 5
8: 6
2p start:2

Also if you are using pisnes or pifba, you will need to find a patched binary (I made a thread yesterday about it that might help), since the emulators have P2 keyboard controls disabled by default.

I always use Street Fighter 2 to test my key setups since it uses all 6 main buttons. (Snes, MAME, and FBA versions I’d recommend)

Can you share your retroarch.cfg please ?

After reconfiguring the IPAC and the retroarch.cfg… the buttons don’t work…

If I put again “space” and “k” on the IPAC and on retroarch.cfg. it works again on MAME FBA, but not anymore on SNES… :'(

Reply To: Only recognizing one port of a two port USB controller adapter

$
0
0

It works ok for me with snes controllers plugged in but not with PS3 controllers. Oh well it was worth a try!

I enabled 28 axis and 34 buttons so I think we can say its not a lack of inputs that is keeping it from working!

Raspberry Pi 2 + Retropie3 + 2 x PS3 Wireless

Reply To: Only recognizing one port of a two port USB controller adapter

$
0
0

hmm!

Raspberry Pi 2 + Retropie3 + 2 x PS3 Wireless

Reply To: Only recognizing one port of a two port USB controller adapter

$
0
0

Thank you again for giving it a shot!

Viewing all 952 articles
Browse latest View live