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

Reply To: XBOX 360 Controllers mount location

$
0
0

I found the issue. I actually followed this guide (https://github.com/RetroPie/RetroPie-Setup/wiki/Setting-up-the-XBox360-controller) but instead of installed the “Xboxdrv” via the command line, I used the RetroPie Setup script. This actually besides installed the Xbox driver, also updates update.rc to run the driver.

So long story short, I undid the actions I did as described in the guide above and my controllers were put on js0 and js1. I also blacklisted the xpad module to make sure no conflicts could come from that.


Selecting Shaders exits the emulator – why?

$
0
0

Hi all, spent the last weeks setting up my retropie using V3 Beta 4 with two iBuffalo controllers and it’s working a treat. So I decide to experiment with some shaders by watching Floob’s excellent video on this topic. Problem is that when I try to advance through the shaders in runtime, the emulator just exits – why?

In /opt/retropie/confogs/all/retroarch.cfg, I have put:

video_smooth = false
video_shader_enable = true
video_shader_dir = /opt/retropie/emulators/retroarch/shader/

input_shader_next = m
input_shader_prev = n

I even disbaled all my hotkeys and just assigned keyboard controls – it still exits. I tried altering the syntax to

input_shader_prev_btn = “m” and it still exits the emulator.

I exit with escape: input_exit_emulator = escape and it works. I am also using
input_autodetect_enable = false
and this:

input_player1_joypad_index = “0”
input_player1_b_btn = “1”
input_player1_y_btn = “3”
input_player1_select_btn = “6”
input_player1_start_btn = “7”
input_player1_up_axis = “-1″
input_player1_down_axis = “+1″
input_player1_left_axis = “-0″
input_player1_right_axis = “+0″
input_player1_a_btn = “0”
input_player1_x_btn = “2”
input_player1_l_btn = “4”
input_player1_r_btn = “5”
input_player2_joypad_index = “1”
input_player2_b_btn = “1”
input_player2_y_btn = “3”
input_player2_select_btn = “6”
input_player2_start_btn = “7”
input_player2_up_axis = “-1″
input_player2_down_axis = “+1″
input_player2_left_axis = “-0″
input_player2_right_axis = “+0″
input_player2_a_btn = “0”
input_player2_x_btn = “2”
input_player2_l_btn = “4”
input_player2_r_btn = “5”


which I got from this site and works a treat.

Any ideas what I am missing here? Thanks, I attach my full cfg

Attachments:
  1. retroarch.txt

Reply To: Selecting Shaders exits the emulator – why?

Reply To: Selecting Shaders exits the emulator – why?

$
0
0

Thank you very much. One quick update later at it’s working a treat.

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

$
0
0

Rpi 2
Retropie 3.0 RC1 (and also tested on 2.6 previously)

Hi all,

I’ve now spent absolutely ages upon ages trying to figure this out. I’ve Googled left right and centre and looked through this and various other forums.

My problem is.

PS3 Controller works on retroarch ecmulators over Bluetooth. NO problem at all.

BUT I cannot get the thing to work on mame4all. It is killing me now!

I was (eventually) able to get some MAME roms to work with the controller by changing the default emulator to libretro-mame and they work well. But there are lots of roms which don’t work on linbretro-mame and only really on mame4all (I have tested with keyboard only).

I fear I am missing something really obvious despite my painstaking efforts to try and resolve this!

Does anyone out there know the answer?

Thanks!

Reply To: Autofire on the axis

$
0
0

Don’t know if this fix can help me.
First of all, I wired only player 1 buttons (6 action buttons + start and select = 8 buttons) on Xin-mo to test some games before building the cabinet.
I have this problem: When I try to configure controls (with TAB on the keyboard) in mame4all Start (1P) and Select (coin) does not give input.
After a research on internet I discover that mame4all support only controller with max 16 buttons (0 to 15). In jstest my action button are 10 to 15 and Start and select are 16 and 17. Probably this is my problem, but i don’t know how to fix it.

I have the latest version of retropie 3.0 (beta4)

Sorry for my english and thanks for your answers

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

$
0
0

I too am unable to get my 360 pad working with mame4all, curiously it works in the UI but cannot get it working on games. other emulators are fine, barring lr-pifba which also doesn’t work!

Reply To: PS3 Controller no longer working in Mame4All after RC1 update

$
0
0

I am also looking for a solution.


Reply To: PS3 Controller no longer working in Mame4All after RC1 update

AMIGA mapping keyboard to arcade buttons?

$
0
0

Hi!

So i’ve built arcade cabinet and i’d like to play Pinball Dreams :) Will somebody teach me how to map left shift and right shift to arcade buttons?
Is it possible in amiga emulator?

thanx :)

Snes9X Controller doesnt Work

$
0
0

Hi,

I have installed Retropie 3.0 RC1 and some emulators, i can play snes games using armsnes, catsfc, pocketsnes and snes9x-next, but with snes9x and pisnes the image quality is far the best, the problem is, everytime i run a game using snes9x or pisnes both the controller and keyboard stops working.

Can anyone help me solve this?

Thanks!

Reply To: Mapping keys for Megadrive games

$
0
0

Deleting _btn fixed the problem. Thank you very much for your help

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

$
0
0

I have an older retropie version that was compiled with support for the ps3 controllers. I am also interested if there is a 2.6 version, that will run on an Rpi2 that is compiled to include support for the ps3 controllers via bluetooth.

Have a strange problem with my controller.

$
0
0

Hi Everyone,
Would like to get some help on a strange controller issue. I am running RP version 3 beta 4. I am using a Game Elements PC Recoil gamepad. The issue I am having is certain emulators work and some do not. Mame and Neo Geo work perfectly. SNES,Mega-Drive, Turbo Graphics and N64 do not. The buttons respond, but the joystick movement does not work. Just like to know what I am doing wrong and if I have to configure each emulator separately. They were working fine up until a few days ago. I have been running this for about 2 months with no problems. Appreciate any help on this. Thanks :)

Reply To: RC1 & Logitech F310 controller – Have to unplug F310 controller when I run emula

$
0
0

While we didn’t have that particular issue with this controller we did find that the different mode settings (button underneath, as well as the mode toggle button on top) changed the input radically with the controller sending through axis differently as well as buttons themselves being different. Could it have anything to do with this?

Ironically my cheap as dirt logitech dual action controller works perfectly.

There's always one.


Cannot get generic PS3 controller to link to bluetooth Dongle

$
0
0

Hi there, I am, what I would like to call, an experienced newbie at Linux. I have 3 machines all running different distributions and really like what I have learned to do so far. A few months ago, I built a retropie for my GF and she loves it to pieces. We originally had a cheap usb NES style controller. I thought it would be cool to try and upgrade to a ps3 controller to play wireless, so I got a generic one and a few bluetooth dongles. That’s where the fun went far far away. I was originally using 2.6 and when following all of the instructions I found on the wiki (https://github.com/RetroPie/RetroPie-Setup/wiki/Setting-up-a-PS3-controller) and online videos, it would get to the point of pairing the two devices and would throw an error that sixpair was not loaded into the correct folder. I tried just about everything and thought that maybe it was preloaded into the 3.0 version of Retropie. So I bust out a new sd card, load 3.0 and go to config. This time, when doing the process in the setup screen, it actually said both were set up correctly (which is odd because the wiki says it “most likely say that it couldn’t find your PS3 controller”). So then I went to the next step and when running the sixpair file, it gives a huge list of warnings such as
nothing could be found at this address…
Freeing device config descriptor….
Number of possible configurations: 1
Number of alternate settings: 1
along with the
Current Bluetooth master: 00:00:20:36:00:32
Setting master bd_addr to 00:15:83:0C:BF:EB
and then after that
Device closed, attempting to flush all busses…

It has never paired with the bluetooth. I have tried multiple dongles, but only the one controller so far. I even tried just plugging in the controller through usb and could get it to work on emulation station but could not get it to work one bit on any of the games. I halfway assume that is because the retroarch isn’t set correctly, but I am trying to stay to one problem at a time.
Has anyone encountered this and have a way to help? I am frustrated.
Thanks

Attachments:
  1. IMG_20150730_164725656
  2. IMG_20150731_110840388
  3. IMG_20150731_110837387

Using UDEV rules to assign persistent names to joypads

$
0
0

I’m using USB controller adapters for SNES and PSX controllers. Each one has a single USB connection and two controller input ports.

The good thing about these is that both ports on each device are recognized whether there is a controller plugged into it or not. So, upon startup, js0, js1, js2, and js3 are assigned to them automatically.

The bad thing is that the jsx name assignments are not always consistent. Sometimes the SNES adapter gets js0 and js1, and other times it gets assigned js2 and js3. This obviously makes it difficult when specifying controllers with input_player1_joypad_index in the emulator-specific retroarch.cfg file.

To solve the problem, I created UDEV rules that assign consistent jsx names. Inspiration was taken from this thread: http://ubuntuforums.org/showthread.php?t=1595666&p=9974813#post9974813

And I refined it to assign unique numbers to devices with identical ID_VENDOR and ID_MODEL values (as is the case with the two ports on each adapter) with a related solution on StackExchange here: http://unix.stackexchange.com/a/105218/125793

My udev rules are as follows…

KERNEL=="js?", ENV{ID_VENDOR}=="HuiJia", ENV{ID_MODEL}=="USB_GamePad", IMPORT{program}="/usr/local/bin/unique-num /run/miner-counter 6 SNES_NUM", NAME+="input/js$env{SNES_NUM}"
KERNEL=="js?", ENV{ID_VENDOR}=="WiseGroup._Ltd", ENV{ID_MODEL}=="MP-8866_Dual_USB_Joypad", IMPORT{program}="/usr/local/bin/unique-num /run/miner-counter2 8 PSX_NUM", NAME+="input/js$env{PSX_NUM}"

My SNES controller adapter ports (ID_VENDOR=”HuiJia”) are successfully named js6 and js7. They are listed in /dev/input, and I am able to test them with jstest.

I have specified these joypads in /opt/retropie/configs/snes/retroarch.cfg…

input_player1_joypad_index = "6"
input_player2_joypad_index = "7"

All that said, they do not work. I can only assume that it is because the joypad index that retroarch uses looks at something different, perhaps the true path, maybe? …

(this is from udevadm info -q all -n /dev/input/js7)

/devices/platform/bcm2708_usb/ … /input/input/input4/js4

I really don’t know. I’m pretty much at a stopping point here, after putting a lot of hours into figuring out how to get the udev name assignments working, which i assumed would do the trick based off of the example i saw (first link). But perhaps, that author had not tested to see if it actually did work.

Also, I’m not sure if this is related, but I do get an IOError upon exiting the emulator. It reads “IOError: [Errno 13] Permission denied: ‘/dev/input/js0′. Could this be related?

Thanks for any guidance you can provide. I’ve spent a lot of time researching and learning–and don’t mind doing even more to solve the problem–but I am way beyond my pay grade at this point, LOL. Ay help is greatly appreciated!

MSX keyboard controls help

$
0
0

I have a weird issue with keyboard controls for MSX games, the directional buttons, space button, and F1 buttons work, all the rest of the buttons on the keyboard don’t work! How do i set it up? please help.

Using Retropie 3 Beta 4 on Raspberry Pi 2

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

$
0
0

What happens if you dont specify the joypad buttons in the system specific retroarch.cfg and instead use the auto controller file in /opt/retropie/configs/all/retroarch-joypads/ ?

If you just put the single SNES usb port in the top left usb port, dos it see both and assign them as player 1 and 2 (indicated by the yellow retroarch writing)?

RetroPie help guides: https://goo.gl/Yfy8kj

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

$
0
0

What happens if you dont specify the joypad buttons in the system specific retroarch.cfg and instead use the auto controller file in /opt/retropie/configs/all/retroarch-joypads/ ?

If you just put the single SNES usb port in the top left usb port, dos it see both and assign them as player 1 and 2 (indicated by the yellow retroarch writing)?

Thanks for the reply! I’m actually using a USB Hub (the Plugable 7-port USB 2.0), but I have now bypassed it, and plugged the single SNES usb port into the top left usb port on the pi. This works! I reenabled input_autodetect in the global config file, and removed everything i added to the snes-specific config file. It assigns one port of the adapter to Player 1 and the other port to Player 2. I can unplug and plug in controllers between the two ports, swap them, and everything works as it should.

But what about my other adapter? I have the Playstation adapter plugged into the second usb port in the Pi. Is there a way for me to tell the Playstation emulator to ignore the SNES adapter plugged into the first port, and use the PS controllers? Perhaps could I specify a controller type? In configs/all/retroarch-joypads the Playstation cfg file is called “WiseGroup.,LtdMP-8866DualUSBJoypad.cfg”. Can I somehow point to this in the Playstation specific config file?

Thanks so much for your help.

Viewing all 952 articles
Browse latest View live