Forum Replies Created

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • shades42
    Participant
    Post count: 16

    Oh this is interesting to see !

    I have Dragons Lair running with the “mystery” build before and it was quite playable and the joystick functionality worked as well.

    The only thing I had to do was write some code to I could use a key combo to exit the game and get back into emulationstation and make up a theme for it.

    I am curious if you looked/ran the “mystery build” and visually how yours compares if I can ask? THe mystery build seemed a little fuzzy with the video , but that might be the files I have

    Just trying to figure out if I should blow away my current setup to try this :)

    shades42
    Participant
    Post count: 16
    in reply to: chd's on advmame? #114742

    If you go here

    You can find the info on where to put them, post from Floob gives an example.

    shades42
    Participant
    Post count: 16

    Just an update on this for anyone else looking and reading.

    If I run jstest in putty on another system, and presses buttons while Kodi it loading, as soon as it is up and running, all my buttons stop registering. I have tried this with both wheezy and jessie running Kodi 15.2 on fresh installs.

    As soon as Kodi exits, my buttons start function again (before it goes back in ES).

    I wish I thought of this before, because I wrote/stole/borrowed/modified some code that will take inputs from js0 (buttons and axis) and map them to key presses and they show up in the terminal window of the pi, but its useless if Kodi “kills” the joystick :)

    shades42
    Participant
    Post count: 16

    Thanks for the effort, first did a comparison yours and mine are the same, tried it anyway still no success.

    Seems lot of people use this option, even read some SteamOS threads about people using it successfully, so it has to be me somewhere some way :)

    At least this endeavor cleaned things up a little for you, and I learned a bunch of stuff along the way. Now I am trying to write my own code to see if I can get something working.

    shades42
    Participant
    Post count: 16

    I lied I can’t toss the towel in lol…

    I grabbed a wired xbox controller and hooked that up and tried giving it ago and I couldn’t register any button presses with that either..

    Any suggestions are welcome, it isn’t for KODI so much anymore its wanting to map key presses to the joystick for other things now so I need to figure out what is wrong.

    Thanks in advance

    shades42
    Participant
    Post count: 16

    I think I am going to have to toss in the towel with my controller and this option, I’ve go so far as fresh install and only the joymap and never get anything registering.

    It was an exciting possibility and fun messing with it but no luck and out of ideas :)

    Thanks though and thanks for the direction.

    shades42
    Participant
    Post count: 16

    I would think something like this would fit right in with the space theme and if you upgrade to the PI 2 you could use the other PI for this.

    http://www.issabove.com/

    Project looks awesome!

    shades42
    Participant
    Post count: 16

    If you know the IP address of your PI ( assuming it is connected to the network ) samba a pretty easy way to put your roms where the need to be.

    Just punch in the following on your pc

    \\192.168.1.123 ( assuming that is your pi ip address )
    \\retropie (also works for me )

    You should see 4 folders, bios,configs,roms, splashscreen. Open up the roms folder and drag and drop, easy and I have had no issues with doing it this way.

    The bad blocks could be from your OC of the pi, I would check out this link and run the stresstest.

    https://github.com/RetroPie/RetroPie-setup/wiki/Overclocking

    Will give you an idea if the OC is causing corruption of your SD card.

    I would also add this line to your config.txt ( where your overclock settings would be )

    temp_limit=65

    At least to start, as this will stop the overclock settings if your temperatures reach what ever # you put in. I have read some PI 2’s can show issues if temps reach over 65 degrees C but the warranty default is 85 C

    shades42
    Participant
    Post count: 16

    @dudleydes I noticed with the link you provided there is a type for the permissions

    sudo groupdadd -f uinput there is an extra d groupdadd

    once you remove it and put

    sudo groupadd -f uinput it works and if you are C/P’ing the

    KERNEL==”uinput”, GROUP=”uinput”, MODE:=”0660″ you will need to change the quotes.

    I can run the loadmap without the sudo now ( i worked on this incase that was the issue ) but still no button presses.

    I am wondering if installing the Virtual Gamepad is messing some of this up.

    Do you have it installed? if not I need to figure out how to uninstall it

    shades42
    Participant
    Post count: 16

    Hey dudleydes,

    With the link you provided I was able to get joystick control in kodi no problems, but once I leave kodi a few things happen.

    #1. The joystick no longer works
    #2. If I quit ES afterwards to get to the terminal screen its just black and eventually goes back to ES. If I hit a key while its black it just stays black. I already upgraded to Kodi 15.2

    When I run

    sudo /home/pi/MyJoy/loadmap /home/pi/MyJoy/kodi.map

    from the terminal I get the same output I listed above ( with the inclusion of the xbox gamepad from trying the other link ) but again nothing being written on the screen.

    I also changed all the button presses to letters in the map file

    button vendor=0x11c0 product=0x5500 src=2 target=kbd button="a"
    button vendor=0x11c0 product=0x5500 src=1 target=kbd button="b"
    
    # Triangle to bring up conextual menu
    button vendor=0x11c0 product=0x5500 src=0 target=kbd button="c"
    
    # Play Media
    # R1 to play/pause and L1 to stop
    #utton vendor=0x11c0 product=0x5500 src=11 target=kbd button="d"
    #utton vendor=0x11c0 product=0x5500 src=10 target=kbd button="e"
    
    # Exit Kodi by pressing Select and Start
    button vendor=0x11c0 product=0x5500 src=9 target=kbd button="f"
    button vendor=0x11c0 product=0x5500 src=8 target=kbd button="g"
    shades42
    Participant
    Post count: 16

    @dudleydues

    Hey man appreciate you taking the time to respond, half the fun for me is fighting with stuff to get it to work when I can’t but this is a little different because all of it is so new.

    I putty’d in with just the pi/raspberry credentials.

    
    
    pi@retropie /dev/input $ sudo /home/pi/MyJoy/loadmap /home/pi/MyJoy/kodi.map
    0 joysticks.
    Found device Tronsmart (vendor=0x11c0, product=0x5500)
    Found device JOYMAP Code Device (vendor=0x00ff, product=0x0000)
    10 button assignments.
    Failed to grab device: Device or resource busy
    Failed to lock device with vendor=0x11c0, product=0x5500. Continuing anyway...
    Failed to grab device: Device or resource busy
    Failed to lock device with vendor=0x11c0, product=0x5500. Continuing anyway...
    Failed to grab device: Device or resource busy
    Failed to lock device with vendor=0x11c0, product=0x5500. Continuing anyway...
    Failed to grab device: Device or resource busy
    Failed to lock device with vendor=0x11c0, product=0x5500. Continuing anyway...
    Failed to grab device: Device or resource busy
    Failed to lock device with vendor=0x11c0, product=0x5500. Continuing anyway...
    Failed to grab device: Device or resource busy
    Failed to lock device with vendor=0x11c0, product=0x5500. Continuing anyway...
    Failed to grab device: Device or resource busy
    Failed to lock device with vendor=0x11c0, product=0x5500. Continuing anyway...
    Failed to grab device: Device or resource busy
    Failed to lock device with vendor=0x11c0, product=0x5500. Continuing anyway...
    Failed to grab device: Device or resource busy
    Failed to lock device with vendor=0x11c0, product=0x5500. Continuing anyway...
    0 axes assignments.
    

    I do not know if it states “0 joysticks” is normal or not but that is what I see when trying to just run the map ( assuming I did that right lol ) and nothing on the screen when I press the buttons in a putty window.

    I’ll report back when I try it as an xbox controller via the link you provided, thanks again!

    shades42
    Participant
    Post count: 16

    The Tronsmart has the option of switching which type of “joystick” it is, I tried it as an xbox 360 controller and the vendor and product #’s changed when I re ran the cat /proc/bus/input/devices

    so I tried that as well and I get nothing in Kodi, I’ve re read a few times and hunted around on the googles and can’t figure out what is wrong.

    Any help muchly appreciated

    shades42
    Participant
    Post count: 16

    I have tried this but seem to be stuck somewhere..

    output for joystick

    pi@retropie ~ $ cat /proc/bus/input/devices
    I: Bus=0003 Vendor=11c0 Product=5500 Version=0111
    N: Name="Tronsmart"
    P: Phys=usb-3f980000.usb-1.4/input0
    S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:11C0:5500.0001/input/input0
    U: Uniq=
    H: Handlers=js0 event0
    B: PROP=0
    B: EV=1b
    B: KEY=fff0000 0 0 0 0 0 0 0 0 0
    B: ABS=30027
    B: MSC=10

    I installed the package into :

    /home/pi/MyJoy

    my kodi.sh

    #!/bin/bash
    sudo /home/pi/MyJoy/loadmap /home/pi/MyJoy/kodi.map &
    /opt/retropie/supplementary/runcommand/runcommand.sh 0 "kodi-standalone" "kodi"
    sudo killall loadmap
    sleep 1

    my kodi.map

    # Navigation
    # D-pad to navigate; X to select and circle to go to previous menu
    #axis  vendor=0x11c0 product=0x5500 src=5 target=kbd button="up"
    #axis vendor=0x11c0 product=0x5500 src=4 target=kbd button="right"
    #axis vendor=0x11c0 product=0x5500 src=5 target=kbd button="down"
    #axis vendor=0x11c0 product=0x5500 src=4 target=kbd button="left"
    
    button vendor=0x11c0 product=0x5500 src=2 target=kbd button="enter"
    button vendor=0x11c0 product=0x5500 src=1 target=kbd button="esc"
    
    # Triangle to bring up conextual menu
    button vendor=0x11c0 product=0x5500 src=0 target=kbd button="c"
    
    # Play Media
    # R1 to play/pause and L1 to stop
    button vendor=0x11c0 product=0x5500 src=11 target=kbd button="space"
    button vendor=0x11c0 product=0x5500 src=10 target=kbd button="x"
    
    # Exit Kodi by pressing Select and Start
    button vendor=0x11c0 product=0x5500 src=9 target=kbd button="leftctrl"
    button vendor=0x11c0 product=0x5500 src=8 target=kbd button="end"

    The reason the axis are commented out is because I was just testing to see if any buttons would work. I did get the “failed to grab device/failed to lock device messages.” with or without the axis in the .map file, but nothing would work.

    I did notice that once I was loaded into Kodi, the jstest would no longer register any of my joystick presses/movements. Could it be that I am losing my joystick when Kodi loads and that is why I am not registering anything within Kodi?

    When I do exit Kodi via the keyboard my joystick functionality comes back for ES, so I assume it has something to do with the loadmap

    shades42
    Participant
    Post count: 16

    Regarding your mame issues, the #3 post of Herbfargus will go a long way to getting you to where you need to be for compatibility and his tutorial on clearmamepro does a great job of helping you get the zips/roms you have to where they need to be for the version required.

    I just wanted to point out that its worth looking at the scanner results as he said it does tell you what you are missing and you might find what you have doesn’t have everything required.

    Another option worth looking at is if you tried the default mame4all and it didn’t load the game, try again and when the run command option to press a button first pops up, hit a key on your keyboard ( or joystick ) and you can select a default mame emulator for that particular rom.

    I had some that would not work with mame4all but did work with the other options available.

    shades42
    Participant
    Post count: 16

    PS.

    If someone does figure out how to get it to load in any of the FBA options, please let me know. I don’t care if it isn’t playable, I just want to know what I was doing wrong.

    I go a little nutty not being able to figure something out, once I start trying to do something lol

    shades42
    Participant
    Post count: 16

    FWIW, I was able to Killer Instinct up and running in AdvanceMAME but as stated by epe9686518 is is unplayably slow. you could almost have a power nap ( ok maybe not that bad ). I just wanted to try to figure out how to get it to run.

    Thank to this thread

    I have spent countless hours trying to get it to load in any of the FBA options but I never seem to get it to work.

    I tried using CHDman program to convert my chd into a raw image file as the error as dgtliqd showed it is looking for .img file.

    I also went and checked out Rom Hacks WIP thread over at FBA

    http://neosource.1emulation.com/forums/index.php?topic=2666.0

    and somewhere in the posts it states he was using a raw image file, don’t know if that means it is the same for the FBA.

    Anyhoo thought I would share what info I had.

Viewing 16 posts - 1 through 16 (of 16 total)