Forum Replies Created

Viewing 35 posts - 1 through 35 (of 125 total)
  • Author
    Posts
  • dudleydes
    Participant
    Post count: 139

    I think ES is started at boot by /etc/profile.d/10-emulationstation.sh. You could try replacing emulationstation in line 2.

    dudleydes
    Participant
    Post count: 139

    I’ve written a tutorial how to configure a game controller in jzintv in the post below.

    http://www.petrockblock.com/forums/topic/intellivision-retropie-3-4-bios/#post-102165

    The links seem to be down in that post so I have included the required files in the attached zip.

    The method makes use of shell scripts to launch games so before you start, you need to edit es_systems.cfg. The best way to do this is to copy the file from /etc/emulationstation to /home/pi/.emulationstation. Now edit the permitted extensions to only include shell scripts, .sh, so that the Intellivision entry reads as below:

    
      <system>
        <name>intellivision</name>
        <fullname>Intellivision</fullname>
        <path>~/RetroPie/roms/intellivision</path>
        <extension>.sh .SH</extension>
        <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ intellivision %ROM%</command>
        <platform>intellivision</platform>
        <theme>intellivision</theme>
      </system>

    To make sure that the shell scripts launch, you will need to edit /opt/retropie/configs/intellivision/emulators.cfg to the following:

    jzintv="%ROM%"
    default="jzintv"

    Now add event_diag.rom and Event Diag.sh to the Intellivions roms folder, restart ES with F4 and you are now ready to begin the tutorial.

    Let me know if you need further guidance.

    dudleydes
    Participant
    Post count: 139

    Do you want to try

    input_player1_a_btn = "1"
    input_player1_b_btn = "0"
    dudleydes
    Participant
    Post count: 139
    in reply to: ZX81 Emulation? #120688

    The simplest way to edit a config file is to use samba shares. It should be enabled by default. The wiki explains it all.

    https://github.com/retropie/retropie-setup/wiki/First-Installation#samba-shares-needs-an-active-internet-connection

    Alternatively you can use a FTP client like WinSCP (check the section above Samba shares in the wiki).

    You can also use SSH to edit config files. (wiki link: https://github.com/retropie/retropie-setup/wiki/ssh

    The command you can use to edit the config file would be

    sudo nano /opt/retropie/configs/zxspectrum/.zesaruxrc
    Place your roms in /home/pi/RetroPie/roms/zxspectrum folder. ZEsarUX supports .P, .81 and .Z81 formats for the ZX81.

    Once you’ve installed ZEsarUX, there will be a +Start ZEsarUX script. You can use this to launch the emulator and have a play with a ZX81 computer. You can also load tapes using Smart load option from the menu (F5).

    Roms should automatically appear in ES. If they do not, then it’s because the format isn’t included in es_systems.cfg and you will need to edit the file. Let me know if you’re not sure how to do this.

    dudleydes
    Participant
    Post count: 139
    in reply to: ZX81 Emulation? #120685

    You can use ZEsarUX emulator which can be installed from the experimental menu.

    To emulate the ZX81, you will need to add the following line to the config file, /opt/retropie/configs/zxspectrum/.zesaruxrc:

    --machine ZX81
    I’m not not familiar with the ZX81 so I’ve not played around with it myself. If you need further guidance in using ZEsarUX, then please let me know.

    dudleydes
    Participant
    Post count: 139

    I’ve done a quick test on the desktop version of ZEsarUX and mapped the game for a PS3 controller. I don’t see why there should be problems on the pi version. I’ll test later this week to confirm.

    By default, ZEsarUX emulates the Kempston joystick. I found that, without any configuration, I could move left and right, jump and duck with the left analogue stick and use the whip with the fire button (cross on my controller – you may wish to remap the fire button in the ZEsarUX config file, /opt/retropie/configs/zxspectrum/.zesaruxrc).

    Here is the custom config file, castlevania_si_en.tap.config, I used to map the PS3 controller to the remaining QAOP controls.

    --machine 128k
    
    ; Game Map - Triangle
    --joystickkeybt 12 '0'
    
    ; Secondary Weapon - Square
    --joystickkeybt 15 'm'
    
    ; Previous Weapon - D-pad right
    --joystickkeybt 7 '1'
    
    ; Next Weapon - D-pad left
    --joystickkeybt 5 '2'
    
    ; Exit to Main Menu - Start
    --joystickkeybt 3 'h'

    Place the config file in the same folder as the rom and you should be good.

    dudleydes
    Participant
    Post count: 139

    The link in your post is the file that needs to be amended, not the patch itself. You can create a patch file using the diff command though it may be more straightforward to apply the patch manually using the RetroPie setup script.

    Before you begin, please back up your image and then run the following commands:

    Get Sources

    cd RetroPie-Setup
    sudo ./retropie_packages.sh pifba sources
    

    Apply patch

    sudo nano /home/pi/RetroPie-Setup/tmp/build/pifba/rpi/gp2xsdk.cpp
    Please check the path of the file as I do not have my pi set up.

    Edit line 286 as you outline in your post. Save your change.

    Build and Install binary

    sudo ./retropie_packages.sh pifba build install
    You shouldn’t need to configure piFBA if you already have it installed but if you do, you can run the command:

    sudo ./retropie_packages.sh pifba configure
    And finally, to remove the source code folder:

    sudo ./retropie_packages.sh pifba clean

    dudleydes
    Participant
    Post count: 139

    I can’t help with your permissions issues but for future reference, you can create a copy of es_systems.cfg in the /home/pi/.emulationstation folder and make your changes here. ES will use this one before the one in etc/emulationstation.

    You don’t have to include any systems that you are not using but you will need to remember to update it from the one in etc/emulationstation if you install new systems.

    dudleydes
    Participant
    Post count: 139

    Have you tried running Robotron in mame4all-pi? I had no issue setting up the right stick for firing. Similar for Smash T.V.

    dudleydes
    Participant
    Post count: 139

    .emulationstation is a hidden folder (a dot before the folder name will tell you that) so you will need to choose the Show Hidden Files to view the folder.

    dudleydes
    Participant
    Post count: 139

    Download the theme to the /home/pi/.emulationstation/themes folder. This takes precedence over the themes in /etc/emulationstation. You should have no issue editing the theme as it’s in your home folder.

    dudleydes
    Participant
    Post count: 139

    [quote=119258]I just got back home and decided to have another crack with Grim and this time when the video began to chop out, it just crashed and went back to emulation station.

    EDIT: I just hit F4 to exit emulation station and now I sit facing a still image of the Grim Fandango intro movie where it had crashed…

    [/quote]

    Same is happening to me on a Pi 2 running Wheezy, both with and without overclocking.

    Here is the log from runcommand at the time of the crash:

    pi@retropie ~ $ cat /tmp/runcommand.log 
    Using joystick: Sony PLAYSTATION(R)3 Controller
    WARNING: Could not find theme 'modern' falling back to builtin!
    Virtual keyboard pack 'vkeybd_default' loaded successfully
    WARNING: No hardware input were defined, using defaults!
    WARNING: Lua_V1::SetGamma, implement opcode, level: 0.000000!
    WARNING: !!!! Trying to call MakeSectorActive without a scene!
    WARNING: !!!! Trying to call MakeSectorActive without a scene!
    WARNING: !!!! Trying to call MakeSectorActive without a scene!
    WARNING: !!!! Trying to call MakeSectorActive without a scene!
    WARNING: !!!! Trying to call MakeSectorActive without a scene!
    ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
    ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
    ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
    residualvm: graphics/surface.cpp:75: void Graphics::Surface::create(uint16, uint16, const Graphics::PixelFormat&): Assertion pixels' failed.
    User picked target 'grim-win' (gameid 'grim')...
      Looking for a plugin supporting this gameid... Grim Engine
      Starting 'Grim Fandango'
    /home/pi/RetroPie/roms/residualvm/+Start ResidualVM.sh: line 5:  2488 Aborted                 /opt/retropie/emulators/residualvm/bin/residualvm --fullscreen --joystick=0 --extrapath="/opt/retropie/emulators/residualvm/extra" $game
    dudleydes
    Participant
    Post count: 139
    dudleydes
    Participant
    Post count: 139
    in reply to: Adding Doom wads #116857

    They have changed but you can the old style for your Doom 2 script. Try a script with the following:

    #!/bin/bash
    /opt/retropie/supplementary/runcommand/runcommand.sh 0 "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-prboom/prboom_libretro.so --config /opt/retropie/configs/doom/retroarch.cfg /home/pi/RetroPie/roms/ports/doom/doom2.wad" "lr-prboom"

    There are plans to be able to add Doom wads within RetroPie but for now, it needs to be done manually.

    dudleydes
    Participant
    Post count: 139
    dudleydes
    Participant
    Post count: 139

    I edited the Intellivision section of es_systems.cfg so that the only permitted extensions are .sh and .SH. es_systems.cfg now reads:

      <system>
        <name>intellivision</name>
        <fullname>Intellivision</fullname>
        <path>~/RetroPie/roms/intellivision</path>
        <extension>.sh .SH</extension>
        <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ intellivision %ROM%</command>
        <platform>intellivision</platform>
        <theme>intellivision</theme>
      </system>

    I also had to edit /opt/retropie/configs/intellivision/emulators.cfg to get the scripts to run. My file now reads

    jzintv="%ROM%"
    default="jzintv"
    dudleydes
    Participant
    Post count: 139

    I have Shadow over Mystara and Tower of Doom working on lr-fba-next on my rpi2. According to the compatability list, they also work in lr-mame2003 (https://docs.google.com/spreadsheets/d/1LP1MELCvcxu7TfiowF_0ZuvRVEMqlfQyTVetnOJvuJc/edit?usp=sharing).

    I suggest you search by rom name, ddsom and ddtod, rather than game title.

    dudleydes
    Participant
    Post count: 139

    Permission denied errors mean your script is not executable. You can fix this by running the following commands:

    cd /home/pi/RetroPie/roms/ports/
    sudo chmod +x "Ultimate Doom.sh"

    or whatever the name of the script is.

    Also check out the wiki.

    https://github.com/RetroPie/RetroPie-Setup/wiki/Doom

    dudleydes
    Participant
    Post count: 139

    I had similar sound problems with Bubble Symphony and Elevator Action Returns using AdvMAME 1.2 and 1.4. Both run fine in AdvMAME 0.94 on my rpi2 with default overclocking.

    dudleydes
    Participant
    Post count: 139

    I have managed to get all of the buttons on PS3 controller recognised by changing device_joystick auto to device_joystick sdl in the .rc config files. The buttons will now be mapped to a more familiar j:button15 format.

    dudleydes
    Participant
    Post count: 139

    @shades42

    Thanks for tidying up the changing uInput device permission issue. It was the quotes in the udev rule that was causing the problem.

    I’m sorry to hear that you’ve had no luck using the loadmap program with your controllers. All I can suggest is that you try the attached binary that works for me.

    dudleydes
    Participant
    Post count: 139

    I use jstest-gtk tool. You can install it from the command line:

    sudo apt-get install jstest-gtk
    Run with the command:

    jstest /dev/input/js0
    It’s not the best UI but press buttons on your controller and make a note of which number changes. CTRL+C to exit.

    dudleydes
    Participant
    Post count: 139

    You need to run the loadmap program from a terminal on the pi itself. I found that I didn’t see any key presses when I tried in a SSH session.

    dudleydes
    Participant
    Post count: 139

    @Omnija

    You could try entering 0000 as your product code in your mapper file. Alternatively, you could use xboxdrv. Instructions below:

    https://www.reddit.com/r/RetroPie/comments/3mcf4y/kodi_with_xbox_360_controller/


    @shades42

    Have you tried running the loadmap program from a terminal on the pi? You should see key presses written to the terminal (you may want to change the key presses to letters rather than esc/ctrl for this).

    Alternatively, you can use your controller as a xbox 360 controller and try the link above.

    dudleydes
    Participant
    Post count: 139
    dudleydes
    Participant
    Post count: 139

    Have you tried copying the installed files on your PC to the pi?

    dudleydes
    Participant
    Post count: 139

    Try adding the following line to /opt/retropie/configs/fba/retroarch.cfg :

    input_player1_analog_dpad_mode = "1"

    dudleydes
    Participant
    Post count: 139
    in reply to: Playing PC games #111664

    DOSBox is your best bet. You can find a tutorial on setting it up at the link below:

    http://dosonthepi.blogspot.co.uk/2015/01/run-dos-games-in-retropie_15.html#add-dosgames

    Regards mounting CDs in DOSBox, you need to create a IMG file of your CD – Google is your friend here. Then you need to mount your CD image. Here is the DOSBox documentation to do this:

    http://www.dosbox.com/wiki/IMGMOUNT

    dudleydes
    Participant
    Post count: 139
    in reply to: Update failed #110953

    The error occurs because you have made a manual edit on your pi to the platforms.cfg file in the RetroPie-Setup folder.

    The simplest way to fix is to delete the platforms.cfg file (back up first), then update the RetroPie script. You can then reinstate any changes to platforms.cfg after the update.

    dudleydes
    Participant
    Post count: 139

    For mame4all, try re-installing the binary from menu 5 in the retropie setup script.

    For lr-mame4all, the default config for your PS3 controller is in the /opt/retropie/configs/all/retroarch-joypads folder.

    By default, the select button inserts coins. To remap to L1, you can add the line

    input_player1_select_btn = "10"

    to the file /opt/retropie/configs/mame-mame4all/retroarch.cfg.

    More info at https://github.com/RetroPie/RetroPie-Setup/wiki/Can’t-Insert-Coins%3F

    You can install mame-2003/2010 from the retropie setup script.

    dudleydes
    Participant
    Post count: 139

    AFAIK Chuckie Egg doesn’t support joysticks. You can map keys to a game controller using the ZEsarUX emulator. More details at the link below.

    http://dosonthepi.blogspot.co.uk/2015/08/mapping-keys-to-game-controllers-in.html

    Incidentally, you can bring up a keyboard overlay in lr-fuse by pressing select on your controller.

    dudleydes
    Participant
    Post count: 139

    Try running sound.exe in DosBox before launching the game.

    dudleydes
    Participant
    Post count: 139

    I’ve noticed you have the vendor and product identifiers for a PS3 controller in your mapper file. You need the identifiers for your SNES pad which you can find by running the command:

    cat /proc/bus/input/devices

    AFAIK, the arrow keys cannot be mapped to the axes. You could try mapping the mouse to the axes, which I have done for a number of mouse-driven DOS games. The lines to add would look like below:

    axis vendor=0xXXXX product=0xYYYY src=0 target=mouse axis=0
    axis vendor=0xXXXX product=0xYYYY src=1 target=mouse axis=1

    where XXXX is the vendor code for your SNES controller and YYYY the product code.

    dudleydes
    Participant
    Post count: 139

    I don’t think Kodi supports controllers (or will in the future as Kodi would need to be compiled from source).

    You can try the Linux Joystick Mapper. See tutorial at link below.

    http://www.petrockblock.com/forums/topic/mapping-a-game-controller-in-kodi/

    dudleydes
    Participant
    Post count: 139

    You need to install the game in DOSBox, either on the Pi or on your PC. I would recommend your PC as it takes some time to extract the game data. You can find details how to do this at the link below.

    http://dosonthepi.blogspot.co.uk/2015/01/run-dos-games-in-retropie_15.html#add-dosgames

    Run insthd.exe in DOSBox to install and synd.bat to play.

Viewing 35 posts - 1 through 35 (of 125 total)