RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    1. Home
    2. Tags
    3. script
    Log in to post
    • All categories
    • roslofR

      lr-mame & lr-mess binaries

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support lr-mame lr-mess binaries script build
      3
      0 Votes
      3 Posts
      673 Views
      roslofR

      @mitu said in lr-mame & lr-mess binaries:

      Latest commit on the upstream repository is from May, 27 - I think the binaries are pretty close to the 'lastest version'. You can check when the binary was built and from which commit, just to compare with the upstream repo (https://github.com/libretro/mame).

      Ah, I see that now. Looks like they're dealing with one heck of a pull request. I'll keep an eye on the upstream repo. Cheers, and thanks!

    • E

      Script: Gamelist Cleaner

      Watching Ignoring Scheduled Pinned Locked Moved Ideas and Development script gamelist.xml cleaning gui
      2
      0 Votes
      2 Posts
      679 Views
      E

      Update: I did clean the code a bit

    • E

      Script: Advanced Settings (GPI Case 2 Edition)

      Watching Ignoring Scheduled Pinned Locked Moved Ideas and Development script advanced retroarch gpi case 2 emulationstatio
      2
      1 Votes
      2 Posts
      1k Views
      S

      I get a lot of errors trying to run this script, syntax errors and unexpected tokens. We're just copying what you posted into a .sh file?

    • E

      [Solved] Good cli text reader?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support script text cli
      7
      0 Votes
      7 Posts
      2k Views
      E

      I tinkered around a bit more and got rid of the extra script by moving the commands completly in the es_systems file. Here is the full entry, if anybody wants to add it themself. Just don't forget to create the docs directory in the roms folder. Also remember, that this is probably not well supported by themes.

      <system> <name>docs</name> <fullname>Documents</fullname> <path>/home/pi/RetroPie/roms/docs</path> <extension>.txt .TXT</extension> <command>/opt/retropie/admin/joy2key/joy2key start; whiptail --clear --scrolltext --msgbox "$(cat "%ROM%")" $(stty size); /opt/retropie/admin/joy2key/joy2key stop</command> <theme>docs</theme> </system>
    • E

      Script: SoftPatchSelector

      Watching Ignoring Scheduled Pinned Locked Moved Ideas and Development script rom hack tool gamelist clean
      4
      1 Votes
      4 Posts
      540 Views
      E

      @NIGHTKILLER05 I would say any game that has a lot of patches would be best. Maybe some of the Mario or Pokémon games. If it is just a single patch you want to use for a game, it's probably not worth it. Especially if it's a translation or a color patch for a GameBoy title or something like that.

    • emma-makesE

      Script keypresses in game

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support keyboard script python automation botdev
      3
      0 Votes
      3 Posts
      571 Views
      emma-makesE

      @mitu Interesting! Thank you very much for your feedback! I'll check how the library emulates the keyboard!

      My fallback is a microcontroller to emulate the keyboard, if the software portion is too complex.

    • S

      Gamelist-Translator : quickly translate games descriptions

      Watching Ignoring Scheduled Pinned Locked Moved Ideas and Development scrape software script gamelist gamelist.xml
      1
      0 Votes
      1 Posts
      628 Views
      No one has replied
    • E

      Joystick connected automatically

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support joystick script rasberry pi
      4
      0 Votes
      4 Posts
      433 Views
      mituM

      There are 2 different things here:

      turning an Arduino powered device into an Linux compatible HID/Input device. This is handled by both your code on the external MCU and the host (Linux) driver. Such a driver can be implemented, as you have tried already,

      with a python script, using Linux uinput support to simulate/emulate a standard Linux input device with Linux kernel module (more complicated, but perhaps better performance if you deal with GPIO).

      configuring said device for emulators/EmulationStation. This part is easy as long as the first part is correctly implemented - for RetroPie it will look just like a controller. You configure the device in ES, the configuration is saved and automatically loaded each time the device in question is connected - you don't have to send any file (but see below).
      Note: the auto-configuration is dependant on the device name, so if you with to have different configurations, you'd have the code developed in previous step to send a different device name for each configuration you wish to implement.

    • S

      Escaping commands in script modules

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support escape command script
      5
      0 Votes
      5 Posts
      518 Views
      mituM

      @sleve_mcdichael said in Escaping commands in script modules:

      Is this right, though?

      It is, because the filename globbing for * doesn't happen inside the quoted string:

      $ ls "~/roms/nes/*" ls: cannot access 'roms/nes/*': No such file or directory # tries to list a file named '*' $ ls "~/roms/nes/"* roms/nes/240pee.nes roms/nes/game1.zip ... # filename expansion happens normally
    • M

      all retroachievemtns in menu retropie/emulation station

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support retropie achievements script
      3
      0 Votes
      3 Posts
      462 Views
      M

      @mitu can I add this manually?

      Not likely, the version used in Batocera is further modified than the RetroPie's fork and it's not a matter of configuration.

      Or recommend to developers of retropie/emulation station to add this function?

      Sure, you can add a request.

    • PhilcommP

      Automatic Controller Pairing

      Watching Ignoring Scheduled Pinned Locked Moved Ideas and Development script bluetooth gamepad
      1
      0 Votes
      1 Posts
      273 Views
      No one has replied
    • M

      script to automatic backup save game to ftp

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support script data savegame automatic ftp
      2
      0 Votes
      2 Posts
      449 Views
      AddisonA

      https://www.reddit.com/r/RetroPie/comments/82s737/howto_sync_savegames_and_savestates_via_dropbox/

      Continue with what you have to #4 in these instructions.

      In this line of code:

      # get parameters direction="$1" system="$2" rom="$3"

      I changed it to:

      # get parameters direction="$1" system="" rom="$3"

      Too many folders are created with the first option.

      Also, be sure to make the necessary location changes in these:

      # path to RCLONE rclonePath="/home/pi/rclone-v1.39-linux-arm/rclone" # local base directory for your saves localPath="/home/pi/RetroPie/saves" # remote directory for your saves, has to be configured via "rclone config" first remotePath="dropbox:RetroArch"

      One thing to mention, if for some reason your Retropie is offline, your system will freeze and you will need to power it off.

    • flagrant99F

      Display image from script launched from Emulation Station

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support script
      4
      0 Votes
      4 Posts
      312 Views
      flagrant99F

      fbi works! Thanks.

      Using python evdev lib to read joystick button input

      pip3 install evdev

      The following python allows my to display any pic and wait for Joystick button press.

      In this case I wanted to be able to display my Emulation Station Control and Attract Mode Button mappings on demand.

      import subprocess import time import evdev devices = [evdev.InputDevice(path) for path in evdev.list_devices()] for device in devices: if device.name.startswith('DragonRise Inc.'): device_path=device.path dragonrise = evdev.InputDevice(device_path) print(dragonrise) subprocess.Popen(["fbi","-a","/home/pi/py/MyCtrls.jpg"]) for event in dragonrise.read_loop(): if event.type == evdev.ecodes.EV_KEY: keyevent = evdev.categorize(event) if keyevent.keystate == evdev.KeyEvent.key_down: print(evdev.categorize(event)) break
    • T

      Starting a game from a script file

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support script programming runcommand
      10
      0 Votes
      10 Posts
      1k Views
      FollyF

      @teethree89

      2 old projects of mine, perhaps something to peek in :

      https://github.com/FollyMaddy/retropieXstation

      and

      I always use this in the desktop environment, running games directly from the explorer :
      https://github.com/FollyMaddy/RetroRun

    • R

      How to add an item retropiemenu (with icon and custom name)?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support script retropiemenu bgm
      8
      0 Votes
      8 Posts
      1k Views
      R

      @weirdh I already put console=tty3 some days ago, but it doesn't really hide the console, it just leaves a black screen instead of text.
      Actually, I don't really see the console when I run my scripts, I see a black screen. But since, I had console=tty3 I deduced that there would normally be console text instead of a black screen.
      It will be difficult to completely hide that console/black screen, maybe it's not even possible.
      Anyway, with the icons and detailed names in my scripts, it looks a lot better and 2 or 3 seconds of black screen isn't that bad I guess xD
      Thanks!

    • M

      auto backup saves to FTP

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support save backup autobackup script ftp
      1
      0 Votes
      1 Posts
      370 Views
      No one has replied
    • O

      need help with installed script

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support script systems.cfg
      5
      0 Votes
      5 Posts
      578 Views
      mituM

      @officialazyria We don't support 3rd party images and your issue is most likely caused by bad permissions on your .emulationstation folder.

      @Thorr69 I partially blind these days, thanks for the heads up.

    • M

      Dump homebrew.gb to cartridge from retroarch or from emulator

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support dump cartridge gbxcart ems64 lsdj script
      1
      0 Votes
      1 Posts
      164 Views
      No one has replied