Homepage Forums Search Search Results for 'usb'

Viewing 35 results - 2,381 through 2,415 (of 3,655 total)
  • Author
    Search Results
  • #87880
    Floob
    Member

    SO this issue is related to running roms from a USB device as opposed to the default location on the SD card? Then yes, you may well need to re-point the paths as you have done.

    I’ve kept mine simple and run all roms from SD.

    #87861
    BuToNz
    Participant

    Not seen anybody using the DS4. Does it detect the input when you run the configure USB controller option?

    #87848

    In reply to: NES + ControlBlock

    tanglo
    Participant

    Solved.

    The USB port on the CB is defective.
    Soldered a cable to the 5V connection on the CB.

    Now everything is working fine.

    #87846
    kingdltoe
    Participant

    Is there anybody who can help me?

    The controller works in retroarch but not in the emulators.
    I have downloaded the lastest emulators from sourcery but it seems that when I start the emulators it´s not loading the retroarch file.

    I have follow the RetroPie: Configure USB Controller – Part 2 from Floob in youtube.
    But nothing i do seems to work!!

    Please help me!

    evilllama
    Participant

    I have been playing with DOSbox because I want to play Bedlam. I am using the same file set up I use on my computer and the interface seems the same, but the computer works, the pi does not.

    I set c to /media/usb/pc because that is where I am putting my installed games. On the pi and computer, dir gives me a folder BEDLAM. cd bedlam and the dir give me the correct folders and files. Now I try to setup, play, or run and the computer works perfectly, but the pi…

    I get the setup menu, I select the option to select my audio driver, and it states it can not find the file and kicks me back to dos prompt. If I skip sound and try to play, it does the same. I try to “install to disk” and the same issue happens.

    What am I missing? Works on PC, not on Pi. Any ideas?

    juan9999
    Participant

    Hi, I upgraded from 2.3 to 2.5, and my 2nd player joystick stopped working in 2 player games (e.g. outlaw, combat)

    I migrated the games to the liberato emulator (previously there was only one), and the joysticks both work in other retroarch games.

    #87834
    juan9999
    Participant

    Ok, so I upgraded to 2.5 of the emulator, and it mostly fixed my first issue- now the two generic N64 USB controllers work (except for the analogue joystick) my retroarch.cfg got corrupted

    and the second issue was due to the wrong type of “quotes”

    – How can I get the analogue controls working? When I run the

    sudo ./retroarch-joyconfig -j 0 >> /opt/retropie/configs/all/retroarch.cfg

    Here is what was visible on the screen when I was programming the controller

    Up D-pad
    Joyaxis moved: Axis 1, Value -20945
    Down D-pad
    Joyaxis moved: Axis 1, Value 23002
    Left D-pad
    Joyaxis moved: Axis 0, Value -20174
    Right D-pad
    Joyaxis moved: Axis 0, Value 22745

    and here is what was added on

    input_player1_joypad_index = “0”
    input_player1_b_btn = “2”
    input_player1_y_btn = “3”
    input_player1_select_btn = “8”
    input_player1_start_btn = “9”
    input_player1_up_btn = “h0up”
    input_player1_down_btn = “h0down”
    input_player1_left_btn = “h0left”
    input_player1_right_btn = “h0right”
    input_player1_a_btn = “1”
    input_player1_x_btn = “0”
    input_player1_l_btn = “4”
    input_player1_r_btn = “5”
    input_player1_l2_btn = “4”
    input_player1_r2_btn = “5”
    input_player1_l3_btn = “7”
    input_player1_r3_btn = “7”
    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_player1_r_x_plus_axis = “+0”
    input_player1_r_x_minus_axis = “-0”
    input_player1_r_y_plus_axis = “+1”
    input_player1_r_y_minus_axis = “-1”

    evilllama
    Participant

    As this topic keeps coming up… It seems that no matter what image is used or the Pi model, people run into the issue of emulationstation showing a clrmamepro verified set, but failing to load with the missing files error.

    The fix is to ensure both the es_systems.cfg file and the mame.cfg file are directed to the location of your ROM sets. If you transferred with the USB method, Pi did this correctly for you. If you did this over your network… human error could be the issue. Check the location of your ROMs. Otherwise….

    es_systems.cfg can (typically) be found at
    /etc/emulationstation/es_system.cfg
    Look for MAME and ensure <path> leads to your ROMs (move ROMs or change path if needed)

    mame.cfg can (typically) be found at
    /opt/retropie/emulators/mame4all/mame.cfg
    Look for rompath=/home/pi/RetroPie/roms/mame and ensure this leads to your ROMs (move ROMs or change path if needed)

    This may seem redundant or overly simple, but if you want to know why I say this please read below. If you don’t care and want your ROMs to work, just change the ROM locations or paths and go play games. :)

    From what I have found, the es_systems.cfg file tells Emulationstation where to look for the the ROM sets. This shows the ROMs in Emulationstation. THEN, Mame4AllPlus (M4AP) is executed and told to run ROM “X”. M4AP then looks at a location that is designated under the mame.cfg file for the files to run game “X”.

    So when one gets the “missing file” error whens loading a ROM, they need to ensure that BOTH the es_systems.cfg file and the mame.cfg file are directing to the SAME location.

    My line of logic comes from my personal installations and that every solution seems to be fixing the paths within the .cfg file(s) and/or putting the ROMs in the correct folder.

    On all my Pi set ups, I run ROMs from the USB. In one installation, I had one(1) MAME ROM on both the USB and on the SD card. That one ROM ran without an issue, but every other ROM stated it was missing the required files. When I changed the path in mame.cfg, every single ROM loaded without an issue.

    I then started another Pi build, and I changed the mame.cfg but forgot to change the es_systems.cfg. No ROMs showed in emulationstation. I changed the path in es_systems.cfg and every ROM showed and executed without an issue.

    On my 3rd installation, I changed both paths and never had an issue loading MAME ROMs.

    Example threads and solutions:

    MAME Roms not working

    mame4all "required files are missing"

    #87829

    In reply to: Xbox One controller

    Anonymous
    Inactive

    Hey there Diskonekted,

    i was wondering how you managed to connect the Xbox One controller to the pi?
    When i connect the controller to the Pi’s usb port with a micro USB, the controller’s light does not come on? so with no power i cannot enter key bindings in the emulation station menu.

    Any help would be appreciated.

    #87816
    maikeximu
    Participant

    Does anybody notice a slight input lag when playing SNES compared to a normal console experience ? Mario is jumping but a little slower than my memories. Does it come from the emulation or can the controller be in cause ? (mine are bought from Aliexpress – ok material but i’m sure they won’t last long).

    Links in case someone is interested :
    http://www.aliexpress.com/item/1-x-Retro-Super-for-Nintendo-SNES-USB-Controller-for-PC-for-MAC-Controllers-SEALED/2051991309.html
    http://www.aliexpress.com/item/USB-for-NES-Classic-Controller-for-Windows-PC-and-Mac-Classic-Style-White-Wholesale/32213747217.html

    #87802
    stoerte
    Participant

    I also tried a Snes to USB adapter. In emulation station it works perfectly. But in Mario Kart the buttons of the Snes controller are wrong. All configuration tipps don’t work for me.

    #87783
    dpicc68
    Participant

    i’ve used the following link to setup roms on USB.

    http://electricgardener.net/2014/04/03/retropie-moving-games-usb-stick/

    It seems to work….. the only issue I am having is scraping gambits within rom directory using Floob’s method.

    Need to scrape in original rom directory…. then copy everything across.

    #87782
    MrBrsnes
    Participant

    @mfkl90

    Try this:

    sudo nano /etc/usbmount/usbmount.conf

    Find the line:

    FS_MOUNTOPTIONS=""

    Change it to:

    FS_MOUNTOPTIONS="-fstype=vfat,flush,gid=plugdev,dmask=0007,fmask=0117"

    Let me know the result.

    MrBrsnes

    #87780
    phipix01
    Participant

    Hi.

    unfortunately i can’t give you any clue about your problem ..
    but i was wondering if you are using these PSX to USB Adapters
    PSX to USB
    because i had a similar problem with them.

    cheers!

    phil

    EDIT: image doesn’t seem to show up: http://www.i-love-pc.com/images/products/g456.jpg

    #87770
    clone206
    Participant

    In case anybody is interested, I figured out that it’s actually quite easy to switch video plugins. mupen64plus has a –gfx switch that allows you to specify which plugin to use. Retropie 2.5 comes with two customized plugins, which happen to also be the plugins used in ouya, which is why ouya users also face the mario kart 64 issue. These plugins are named gles2n64 and gles2rice.

    In retropie 2.5 gles2n64 is the default plugin used by mupen64plus. It actually looks quite a bit nicer – at least for composite video out – than gles2rice, which I believe used to be the default in previous versions. The problem is that gles2n64 tends to lock up on a lot of roms, and in the case of mario kart 64, it can only display one of the players’ screens.

    In order to use the gles2rice plugin only for certain n64 roms, I created a separate folder in the roms directory. Then I created a new system in es_systems.cfg, and specified that plugin using the –gfx switch within the command tags. Note that you also have to explicitly set the gles2n64 plugin using the –gfx switch within the command tags of the original system, or the other system will cause gles2rice to be written into the main mupen config file as the default plugin. I’m guessing there’s a more elegant way to accomplish this, so sorry if I’m leading anybody astray, but it was the best I could do with the knowledge I have. I know you can also edit plugin settings on a per-game basis via config files too.

    Below is the relevant config code for using my method. The path to the roms directory has also been changed from the default because I keep all my roms on a usb stick, so you can’t just copy and paste this into your /etc/emulationstation/es_systems.cfg file. Also, I added a “sudo” before the commands as I also store save data on the usb stick, and if the commands aren’t run as root, mupen can’t write to the fat32 formatted usb stick. I’ve also read that running as root can give performance gains.

      <system>
        <fullname>Nintendo 64</fullname>
        <name>n64-mupen64plus</name>
        <path>/media/usb0/r0ms/n64-mupen64plus</path>
        <extension>.z64 .Z64 .n64 .N64 .v64 .V64</extension>
        <command>sudo /opt/retropie/supplementary/runcommand/runcommand.sh 1 "/opt/retropie/emulators/mupen64plus/bin/mupen64plus --gfx mupen64plus-video-n64 --configdir /opt/retropie/configs/n64 --datadir /opt/retropie/configs/n64 %ROM%" "mupen64plus"</command>
        <platform>n64</platform>
        <theme>n64</theme>
      </system>
      <system>
        <fullname>Nintendo 64</fullname>
        <name>n64-mupen64plus</name>
        <path>/media/usb0/r0ms/n64-mupen-rice</path>
        <extension>.z64 .Z64 .n64 .N64 .v64 .V64</extension>
        <command>sudo /opt/retropie/supplementary/runcommand/runcommand.sh 1 "/opt/retropie/emulators/mupen64plus/bin/mupen64plus --gfx mupen64plus-video-rice --configdir /opt/retropie/configs/n64 --datadir /opt/retropie/configs/n64 %ROM%" "mupen64plus"</command>
        <platform>n64</platform>
        <theme>n64</theme>
      </system>

    Now I’m going through all my roms, and when I find one that doesn’t work with the default plugin, I simply move it over into the alternate folder (specified with the above config code) and relaunch emulationstation. Now there are two nintendo 64’s listed in emulation station, one for the default plugin, and one for the rice plugin. Of course, some roms don’t work with either plugin, but sometimes I get lucky. Majora’s Mask and Banjo Kazooie are two notable examples of roms that only work with the rice plugin for me.

    I haven’t been able to test 2 player mario kart 64 with the rice plugin as I need my friend to come back over with his controller (unless I can figure out how to specify player two as using the keyboard), but I’m hopeful it’ll work, as it seems to work for ouya users based on the reddit thread in my previous post.

    All in all, n64 games run much better on my raspberry pi 2 than they did on my b+. And I finally have working doom, duke nukem 3d, and quake III arena. I’ll post my overclock and memory split settings as well. It’s been pretty stable at these settings, but if I try to go up to 1140 the pi seems to freeze up and I get locked out. And I believe it was also the cause of sd card corruption, which is why I store roms, save data, and backups of config files on a usb stick now.

    gpu_mem=64
    arm_freq=1100
    core_freq=500
    sdram_freq=500
    over_voltage=6

    UPDATE: I got two player mario kart 64 to work with the rice plugin! I had to tweak some settings in /opt/retropie/configs/n64/mupen64plus.cfg to get it to work. With the default config both players’ screens just freeze before the race even starts. This seems to have to do with when the screen is redrawn. Under the “[Video-Rice]” section of the file I changed the following parameters. This also had the effect of making things look nicer too (smoother frame rate)

    ScreenUpdateSetting = 7
    ...
    SkipFrame = False
    SkipScreenUpdate = False

    Edit: Lowered gpu memory to 64 for better performance.

    flo57570
    Participant

    Hello,

    I have a problem with all the Mario ROM snes .

    Let me explain,

    The game starts properly, the controller works correctly in the game menu and when I launch my game more no key answers, I can not have controlled Mario .

    I have a PS3 USB jostick.

    HELP ME PLEASE

    Flo

    #87763

    In reply to: Xbox One controller

    diskonekted
    Participant

    So initial report is that it seems promising! When the system boots up it automatically detects the XbOne controller and I run through the basic left-right-up-down setup and can navigate through the menu options.

    I haven’t transferred across any ROMS yet, but will do so soon. I tried the shareware games that were already packaged with the build and both Doom and Quake seemed unresponsive to controller input, so a problem there.

    I haven’t run through the configuration mentioned here, as I figured this is only for the 360 controller (as the article name suggests), but will jump into the system config soon to have a look at some things.

    I’ll note that I don’t have “wired XbOne” controllers per se; these are just the normal wireless ones that I’m using with the USB cables, so when shutting the RetroPi system down, these automatically sense a loss of connection and search for the Xbox One wirelessly. This isn’t so much of a “problem” when turning off the Retro, but can be an issue when rebooting it, as I noticed some funky modprobe errors when doing this, as the system (presumably) notices that there are problems sending input the the controller (naturally as it has a Xbox One and a RetroPi trying to direct it).

    I’ll note that the system build info shows it’s using kernel 3.18.5, so this is probably the same Debian build as Raspbian, just cut down and tailored for RetroPi.

    More troubleshooting soon!

    ehpower2
    Participant

    For those who do not know what i am talking about here is the page about what i am talking about.

    http://www.raphnet-tech.com/products/4nes4snes/

    My issue is after image 2.3 where it worked exactly as it says on the page i have since upgraded to 2.4 images and now 2.5 and the problem is the same.

    When i upgraded to image 2.4 retro-pie refuses to see the rest of the axises and no matter what i only have 2 axies and no matter what port i plug into which 2 of the data lines are for snes ports and the other two are for nes ports it only will see axis 0 and 1 never 2 through 8.

    Also it does not plot the axises accurtely as for instance you can press left hat and all you get as response is 0+ axis.

    I believe this is a bug to how it handles usb but any suggestions and help would be welcome

    #87751

    In reply to: Autofire on the axis

    daveireland20
    Participant

    Having the exact same issue with a Xin-Mo Dual USB controller, my Pi knowledge is certainly lacking a little but this seems quite manageable, if it isn’t too much trouble and seeing only as it was mentioned would it be too much hassle for you to post the updated compiled Kernel feederchain?

    Cheers

    #87736

    In reply to: uae4all

    petrockblog
    Keymaster

    I don’t have a usb controller for testing unfortunately – but it works on keyboard.

    #87727

    In reply to: NES + ControlBlock

    petrockblog
    Keymaster

    The power switch will only work with a single power supply attached to the ControlBlock. For what I experienced, the micro USB cable can also have an impact: In my case I had to used a very cheap one that seems to lead to quite a high voltage drop. There are also some posts about this in the official RPi forum, e.g., at http://www.raspberrypi.org/forums/viewtopic.php?p=370520#p370520.

    What does sudo i2cdetect -y 1 give as output? This checks for I2C devices …

    #87676

    In reply to: Autofire on the axis

    feederchain
    Participant

    I am using a genesis controller attached to a retrobit Genesis to USB adapter.

    I think I figured it out. Or at least I found something that worked for me. I suppose I should spend some more time testing but I’ll post what I’ve done anyway. This does involve compiling the kernel. Which I had to do anyway to get my controller working.

    See

    Retrobit USB Genesis Adapter Driver Install?

    Here is a link to the code that was put in, that I removed to make it work.

    https://github.com/raspberrypi/linux/commit/79346d620e9de87912de73337f6df8b7f9a46888

    In short, find the following lines

    
    if (field->flags & HID_MAIN_ITEM_RELATIVE)
    	map_rel(usage->hid & 0xf);
    else
    	map_abs_clear(usage->hid & 0xf);
    break;
    
    

    And remove them, and then recompile.

    If you don’t want to compile, I can probably post my compiled package for you. It was created using Adafruit’s Kernel-o-Matic.

    You may just not want the other change I made, which can be seen in the first link I posted.

    #87672
    MrBrsnes
    Participant

    Hey there,

    I am looking for the exact same solution. Any help is very welcome. I’ve got this problem not only with the PSX roms, also with SNES.

    I have already added the following to my retroarch.cfg file.

    I am using my 16GB SD card with NOOBS (Openelec & Retropie) on my RPi2. I have copied all my roms onto my fat32 USB stick to safe some space on my SD card.

    Is there a chance to active saving/loading here? Or can I change the path where the savee games can be located? It would be ok to have them on the SD card if necessary.

    Thanks in advance.

    Kind regards,
    MrBrsnes

    EDIT: I’ve found this: – So I’ll give it a try later and let you all know.

    #87604

    In reply to: HELP!!!

    pimann2000
    Participant

    Thanks, I think I will try to use the USB Method. :)

    #87574
    raoulangel
    Participant

    The Pi is supposed to be portable for a reason.. I am using it for my project because of it’s ability to provide the flexibility without the space requirements. The Power is supplied by 4 “D” batteries in the orioginal battery compartment under the unit. Cannot remove that. The extenal power plugs into a barrel connector at the side of the unit, the wires are attached internally to the power ports of the Pi and the screen. The speakers are powered from the Pi USB ports, and so will the LED lights for the Marquee. The interference was there even when everything was outside the enclosure laid out on the table.

    #87555
    raoulangel
    Participant

    Pi 2 version B, Adafruit svga screen with video driver board (using HDMI), 3-watt USB-powered speakers with 3.5mm jack, Ultimarc Mini-pac, wired to Arcade Mini stick and 14 buttons… Powered by the built in 4 “D” battery compartment…

    evilllama
    Participant

    I swear, this MAME is going to kill me….

    So again, 2.4 on my RPI B+.

    I corrupted the image and started over (brown out/ black out in a snow storm), but now I can not get any joy inputs on the MAME. I start emulation, hit tab, go to overall inputs to re-map. Once I select a function to map, I press enter then press the corresponding joy pad input and it just sits there… So I press every single input and move every input (analog) and NOTHING is accepted. I hit the clone keyboard command and it accepts it. Try again to input the command for the joypad and the clone keyboard command and only get the keyboard mapped.

    MAME is ignoring any input that is not from the keyboard at this point. I think I forgot something when I installed the image or I am missing something here. I went over my (very detailed) notes 3 times, but I can not see any mistakes in the setup.

    Any ideas why MAME is ignoring any non-keyboard commands?

    chimaera
    Participant

    I made two autoconfigs for the retroUSB NES and SNES controller ports.

    It would be nice to see these included in the project!

    #87512
    juan9999
    Participant

    ok, so I’ve tried analyzing the

    /opt/retropie/configs/all/retroarch.cfg

    file, and I only see a player 1 config, no player 2 config

    Also,

    I’ve tried adding the following commands to be able to exit the emulator

    input_enable_hotkey_btn = “7”
    input_exit_emulator_btn = “9”

    to
    opt/retropie/emulators/RetroArch/configs/GenericUSBJoystick.cfg

    but they don’t work either… what are the correct files/locations to debug?

    Does anyone have the proper config files for two retrolink USB N64 controllers with the analogue joystick as I am unable to get that to work?

    juan9999
    Participant

    Hi

    Using bits and pieces I found on the internet I managed to mostly get two usb controllers (USB N64 controllers) working with emulator station and retroarch.

    Although I have programmed both the same, I am having one issue where only in one joystick the down buttonbutton seems to triggers two events- a down and a “fire”- whereas on the other the down, only does down, and the fire is the down button on the C buttons.

    All other mappings works fine.

    I’d appreciate any assistance in debugging etc.

    juan9999
    Participant

    I’m having an issue with two retrolink usb controllers (USB N64 controllers) in mame

    http://www.amazon.co.uk/Retro-Bit-N64-8 … =Retro-Bit

    Everything on the two usb controllers working with emulator station and retroarch EXCEPT for the analogue joystick.

    In mame, I have the opposite problem, I can get everything working EXCEPT for the d-pad controls – i.e. analogue and other buttons work fine.

    HELP!!!!

    sudodaemon
    Participant

    Raspberry Pi B+
    RetroPie 2.5.0

    I’m trying to set up sixaxis so I can use my PS3 controller, following this guide…

    https://github.com/petrockblog/RetroPie … controller

    And this is what happens.

    pi@retropie:/home/pi# gcc -o sixpair sixpair.c -lusb
    cc1: error: /usr/local/include/arm-linux-gnueabihf: Not a directory
    cc1: warning: /usr/local/include: not a directory [enabled by default]
    pi@retropie:/home/pi#

    So, I’ve looked, and they are definitely not directories, seems as though if it pointed to /usr/include/arm-linux-gnueabihf it would be happy, because that is where everything lies…. I’m stuck here… I’ve reinstalled gcc, brain fart…

    #87451
    Floob
    Member

    This may help – its how I use an iBuffalo USB with N64

    http://smartretro.co.uk/forums/viewtopic.php?f=3&t=22

    #87446
    galego
    Participant

    no, i dont have!

    One more thing:

    When I turn on the Raspberry and try to sync my Xbox wireless controller, the receiver does not light the LED, even when I hold the button. This may show that the error is really the PSU, right?

    ==
    Yeh i did whitout all usb

    #87443
    petrockblog
    Keymaster

    2a is fine. You don’t have another USB power supply/charger around to test ?
    did you try without the usb devices connected ?

Viewing 35 results - 2,381 through 2,415 (of 3,655 total)