-
Search Results
-
Topic: Dual-Player via Internet
The Vision:
In the old days there have been tons of dual-player games out there – we have met at home played as long as possible (until mom’s stopped us and we’re forced to go to some place else to continue playing)
So wouldn’t it be awesome if we could play the games of our youth together with our childhood-friends?The Idea:
A Dual-Player Top-Level connection via a custom remote desktop like Server – Client protocol.
So – instead of trying to write for each emulator a custom program – the connection is established via raspbian at low-level hardware access.
So Player 1 starts the game-server and afterwards an emulator on the host raspi.
Player 2 starts a special client “emulator” which is pretty much nothing else but a remote desktop client sending the local input while seeing the servers screen content.
The server streams the hosted game via ffmpeg to the connected client and listens to the client user input.
The client plays the ffmpeg stream and sends the local input.The Trouble:
I know this is quite an ambitious project – probably big enough to get it’s own top-nav button ;)
I suppose that the server raspi wouldn’t be able to send full hd quality over ffmpeg – but – most of games don’t need such a high resolution anyway.
And- dual player against each other will never be very fair – as only the client would suffer from all the delay (receiving – sending).
It might also be quite tricky to guarantee a similar screen setup so that just writing to the framebuffer is possible.
A client input mapping needs to be developed…The Possibilities
Imagine to play with two pi-boys via a twisted pair cable or wifi?
Or have the client running on an debian desktop machine and save the stream to file to record gaming sessions?
A way to establish the ip connection user friendly – maybe via a php script on a internetserver… This all needs to be sorted out.Here are some links I stumbled upon doing some research.
ffmpeg.orgLow-level (Linux framebuffer) graphics programming tutorial
High-performance RDP on the Raspberry Pi
So – what do you think –
Can it be done at all?
Have I forgotten something important?
Anyone on this board who’s working on something similar or related?I’d be grateful for any suggestion or hints…
Hi, I’m using RetroPie 3 (over OSMC with RetroPie Script).
I have a dual-shock like (not dual-shock) controller and after first boot (and splash screen with controller configuration for ES) lot of systems goes OK. All fine! Until I test PSX.
First of all, the analog doesn’t works. Ok, reading the forum I added to:
/opt/retropie/configs/all/retroarch-core-options.cfg the line pcsx_rearmed_pad1type = “analog”
Check that the path is “/all/” not “/psx/” because this doesn’t work.Ok, now I have analog detection! But not all fine. I detected that left analog “up” is not correctly calibrated (so is like half up) and, worst, the right analog is misconfigured (checked in Ape Scape).
I executed “RetroPie (menu) -> configure retroarch controller” and it generates the file:
/opt/retropie/emulators/retroarch/configs/MicrontekUSBJoystick.cfg
It doesn’t work, I try executing again the configurator but modifiying other keys (swap up and down, left and right, etc.) and nothing changed, up is still up in a game (tested in SNES games, for example).The script says that my “MicrontekUSBJoystick.cfg” will be used when my controller is detected, but is fake, this file isn’t readed (or is readed and overwrited)
How can I configure my controls?
Topic: Audio over network…
Ok I know this may sound crazy, but I have a Retropie running on a Raspberry Pi 2 in my office. It is hooked up to a no audio 3rd monitor I use for housing my communications workflow when I am not using it for other uses.
I don’t want to run a sound cable between my Pi and my computer’s Line-In port when I have a perfectly good 100 mbps hard wire network already going into both through a 10 gbps switch.
I think you see where I am going here…
I Would like to find some way to get my RetroPie 3.0 bassed Pi exporting audio in the form of a low-latency stream over the network connection to my Windows work computer that is in turn connected to a wireless headset I have on all day. I can tolerate some Latency, that’s not the problem, I am more worried about the load on the Pi.
I think it will go well with the tucked away DualShock 4 I use for controlling the Pi’s emulation and Kodi. ^.~Hi,
I intend to dual boot Kodi and RetroPie (Raspbian) on Rpi2.
If I am not mistaken, the latest RetroPie setup script is for version 3.0 Beta 2.
How or what should I do if I wish to install version 2.6 on Raspbian?Thank you
i’m wondering if these enhancements could help our community…
these are just a few ideas coming from my days as part of the Senior Team at Mobile Phone Modding Site,1: a thanks button, for individual posts, and if possible a “thanks count” in the thread title info?
2: addition to the RetroPie Wiki, maybe the posts/answers/solution etc with a sensible number of “thanks”, could get added to the/a general section of the wiki pages. (herb, this is by no means a criticism of all you’ve done for the wiki!)
3: a spam button (don’t think that needs clarifying)
4: the possibility of creating a nice little community for RetroPie and the OwncloudPie script.
below is a link to the site i was involved in,
of course that site is quite big and wide spread, maybe a few more sub-forums could be added, so as posts could be set into categories, for all to find/ share things easier?
Hello,
I am using a pi 2 on Retropie 3.0 beta 2 and have most emulators setup but have yet to configure a gamepad. I have an old usb Logitech Dual Action (G-UD8), USB Xbox360 controller or a wireless Xbox360 controller with the PC wireless receiver.
I’m not sure where to start on how to install one of these, maybe one is easier than the other? Does Retropie include any drivers?
Thanks
Topic: Help with USB controllers
Hi guys
I have now been trying for two days, but just can’t seem to get my Xin-Mio usb controller configured with retropie. Not even player 1 works in games.
The joystick works ok, can go op and down, but the six buttones does not work :-(
There are seven buttons:
The first row three have numbers 1, 0, 9
The second row three have numbers 2,3,4
And then there is the One Player button on the side, that has the number 8My retroarch files input is this:
input_player1_joypad_index = “0”
input_player1_b_btn = “1”
input_player1_y_btn = “0”
input_player1_select_btn = “9”
input_player1_start_btn = “4”
input_player1_a_btn = “8”
input_player1_x_btn = “7”
input_player1_l_btn = “3”
input_player1_r_btn = “2”
input_player1_up_axis = “-1”
input_player1_down_axis = “+1”
input_player1_left_axis = “-0”
input_player1_right_axis = “+0”input_player2_joypad_index = “0”
input_player2_b_btn = “11”
input_player2_y_btn = “14”
input_player2_select_btn = “7”
input_player2_start_btn = “16”
input_player2_a_btn = “10”
input_player2_x_btn = “13”
input_player2_l_btn = “12”
input_player2_r_btn = “15”
input_player2_up_axis = “-3”input_player2_down_axis = “+3”
input_player2_left_axis = “-2”
input_player2_right_axis = “+2”input_enable_hotkey_btn = “6”
input_exit_emulator_btn = “7”
input_save_state_btn = “#”
input_load_state_btn = “#”I also have a file in the folder /opt/retropie/emulators/retroarch/configs called Xin-MoXin-MoDualArcade.cfg with the following input:
input_device = “Xin-Mo Xin-Mo Dual Arcade”
input_driver = “udev”What am I doing wrong?? Is there a step by step guide somewhere for all this? I have read lots of blogs and other articles but just can’t seem to find out what to do.
PS. When I for example try to play sonic game then i can use the joystick and button 0 which pauses the game. Anything else is not possible, all the other buttons have no effect when used
Hi, I’m configuring my controller and I found in the forum that to get analog support I need to add:
pcsx_rearmed_pad1type = “analog” to /opt/retropie/configs/all/retroarch-core-options.cfgBut I see that every emulator has his “retroarch-core-options.cfg”, so I suposed that everyone has his individual configuration.
I opened psx/retroarch-core-options.cfg and I found the lines:
pcsx_rearmed_pad1type = “standard”So I changed to “analog”…. but nothing changed! Analog is not working!
Finally I try to add the line to all/retroarch-core-options.cfg… and magic! It works!
So I supose that is a bug (or please, correct me and indicate where I can put this option to have a clean config) because the concret configuration is not readed (or is ignoring this option)
Hello everyone!
I’m quite new to RPi, and recently bought myself an RPi 2. So, I decided to use it as old-school gaming station together with my Dualshock-PS3 controller (official sony, no 3rd party).
I followed the guide on the github exactly ( https://github.com/retropie/RetroPie-Setup/wiki/Setting-up-a-PS3-controller ), but my problem is, that the Pi doesn’t recognize the controller even if it is connected via USB. Aka, the js0 file is not written in /dev/input.Any idea what I could do?
Could something be wrong with my setup/sd-card? Because, when I close Kodi (have it installed through the retroPi-Script), sometimes the Pi just freezes, and after hard resetting (power off/on) I get an “bad read/write IO error” or something like that, which keeps the pi in a bootloop, until I power if off & on again.Thanks & Greetings
KirinEDIT: I just checked lsusb – there it is connected & in the dmesg it is also found & initialized.
Hi all, I’m pretty noob to Linux, RetroPie, and basically all things encompassing an arcade machine made from a Raspberry Pi so I hope that you will bare this in mind when responding (please don’t take steps or information for granted.)
I have a board setup with two PS3 controllers worth of buttons (16 in total for each.) They’re both individually recognized in Emulation Station and work just great, I can get in and out of any menu’s and games as needed.
The problem I have is that when I enter any emulator / game, the only controls that are recognized are the attached keyboard. I have no idea how to enter any menu’s to config anything, I don’t seem to be able to exit and games via keyboard either and I’m just really not sure what’s going on. I’d just love to find a “Configure Controller” page but I just cannot find one for the life of me or find anything that helps me.
Thanks for any and all help!
Hey Guys,
I set up TGB Dual in RetroPie 3.0 which allows 2 player Game Boy games to be played, it’s pretty cool so I thought I’d show you how to set it up. Check out the video at the bottom to see how it runs, and an easy install script, or, follow the instructions below:
Instructions below are for 3.0 only! The emulator does work on 2.6 but install will be a little different.
Go to terminal and type the following:
Make our directories:
sudo mkdir /home/pi/tgbdual
sudo mkdir /opt/retropie/libretrocores/lr-tgbdual/
Enter Directory and download required files:
cd /home/pi/tgbdual
sudo git clone https://github.com/libretro/tgbdual-libretro
Build:
cd tgbdual-libretro
sudo make
Copy binary to our emulator folder:
sudo cp tgbdual_libretro.so /opt/retropie/libretrocores/lr-tgbdual/
Edit our emulators.cfg file to show the new emulator:
sudo sed -i -e 's|default="lr-gambatte"|lr-tgbdual="/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-tgbdual/tgbdual_libretro.so --config /opt/retropie/configs/gb/retroarch.cfg %ROM%"\ndefault="lr-gambatte"|g' /opt/retropie/configs/gb/emulators.cfg
Add option to enable 2 player by default to retroarch-core-options:
echo 'tgbdual_gblink_enable = enabled' | sudo tee --append /opt/retropie/configs/all/retroarch-core-options.cfg > /dev/null
Remove the install folder if you like:
sudo rm -rf /home/pi/tgbdual
Now, if you press X when loading a rom, you will have a new emulator option available. Choose this if you want 2 player goodness!
I’m working on a design for a cocktail cabinet using Retro Pie. I want to but track balls on the two controls panels across from each other. Primarily for Centipede/Millipede.
I have gotten screen rotations to work and flips. However I dont understand how I would set up trackballs for Player one and Player 2.
I currently have a USB Happ 2 1/4 inch ball on hand that I have been playing with.
Has Anyone set up a dual trackball system before?
Topic: Dual Shock warning on PSx
All,
I have configured 2 Logitech f310 controllers. Everything works great as far as I can tell, but when playing PSone games that require the Dual Shock controller I cannot get the game to start due to the warning saying I don’t have a Dual Shock controller plugged in.
Odd thing is, I have configured the analog sticks, they (or I should say the left one) works in every game I have tried so far.
Am I missing something here?
Thanks!
Hello,
Just an idea why not have separate forums for each emulator (most popular), allows individuals to focus better then on a particular system then that they are interested in?
Hi, I am having trouble with the 3.0 beta 2. I was using 2.6, and I had no issues.
before I detail my problem, here is what I am using:Pi Model: B
RetroPie Version Used: 3.0 beta 2
Built From: SD Image
USB Devices connected: Dualshock 3 controller, usb keyboard/mouse wireless combo, usb flash drive
Controller used: Dualshock 3
Error messages received: none
Guide used: TechTipsta’s guide on youtube https://www.youtube.com/watch?v=ySoTQhQqZdI
File:
Attachment of config files:
How to replicate the problem: When I plug a usb flash drive into my Pi, it never populates the folders for the roms like it did with 2.6. I installed 2.6, put my usb drive in, populated the folders, reinstalled 3.0 beta 2 using the SD image method, and tried to add games and a bios for psx using the old folders. The flash drive is recognized when I hit f4 and navigate to it, and I can see all the old folders. The contents of the folders are not being recognized and I can not see anything in them when I navigate into the individual rom subfolders. For now, I will reinstall 2.6 since it seems to work fine, but I would like to get 3.0 at some point.Thanks.
Hi all,
I had great success in running RetroPie on my old Pi 1 using Xin-Mo dual arcade controllers, and decided to upgrade to Pi 2. The problem is that the 2nd player joystick can’t distinguish itself from the 1st player’s and both are reporting axis +/- 0 and 1 (X & Y). Buttons for both players are working fine.
Here’s my retroarch.cfg copied from my Pi1 to the new Pi2
input_player1_joypad_index = "0" input_player1_b_btn = "4" input_player1_y_btn = "1" input_player1_select_btn = "8" input_player1_start_btn = "9" input_enable_hotkey_btn = "8" input_exit_emulator_btn = "9" input_player1_up_axis = "-1" input_player1_down_axis = "+1" input_player1_left_axis = "-0" input_player1_right_axis = "+0" input_player1_a_btn = "3" input_player1_x_btn = "0" input_player1_l_btn = "2" input_player1_r_btn = "5" input_player1_l_x_plus_axis = "+0" input_player1_l_x_minus_axis = "-0" input_player1_l_y_plus_axis = "+1" input_player1_l_y_minus_axis = "-1" input_player2_joypad_index = "0" input_player2_b_btn = "14" input_player2_y_btn = "11" input_player2_up_axis = "-3" input_player2_down_axis = "+3" input_player2_left_axis = "-2" input_player2_right_axis = "+2" input_player2_a_btn = "13" input_player2_x_btn = "10" input_player2_l_btn = "12" input_player2_r_btn = "15" input_player2_l_x_plus_axis = "+2" input_player2_l_x_minus_axis = "-2" input_player2_l_y_plus_axis = "+3" input_player2_l_y_minus_axis = "-3"
I’m running RetroPie 3.0Beta 2, kernel version 3.18.11-v7, including updated firmware. I’ve double checked for the patch described here and rebuilt it eliminate the rapid joystick movement bug in the new kernel.
https://github.com/retropie/RetroPie-Setup/wiki/Troubles-with-the-Xin-Mo-Controller
jstest /dev/input/js0 reports only 2 axis on Pi 2
Driver version is 2.1.0. Joystick (Xin-Mo Xin-Mo Dual Arcade) has 2 axes (X, Y) and 22 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, PinkieBtn, BaseBtn, BaseBtn2, BaseBtn3, BaseBtn4, BaseBtn5, BaseBtn6, BtnDead, BtnA, BtnB, BtnC, BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2).
The jstest on Pi 1 reports 4 axis (X, Y, Z, Rx)
Anyone have any suggestions on how to fix this problem and distinguish the two joysticks?
Thanks!
ps. My Pi 1 is running RetroPie 2.6.0 and kernel v 3.6.11
Topic: mupen64plus no sound
I started out with the raspbian desktop and then installed retropie and updated by sources. Everything seems to run fine except there is no sound playing n64 using mupen64plus. Using retroarch n64 is the sound is fine. Any ideas why? I just didnt use the retropie image as I am dual booting with noobs with openelec.