• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

Getting the rom name and emulator

Scheduled Pinned Locked Moved General Discussion and Gaming
pi model v3pythonscriptretropiesetup
82 Posts 5 Posters 18.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    cyperghost @meleu
    last edited by 20 Jul 2017, 20:06

    @meleu Now I'm surprised :D meleu the p-killer :)

    I think @daveyman123 wants to scroll romname on the hat.

    D 1 Reply Last reply 20 Jul 2017, 20:07 Reply Quote 0
    • D
      daveyman123 @cyperghost
      last edited by 20 Jul 2017, 20:07

      @cyperghost

      yes. and to be honest this is for a customer on freelancer paying me 20 bucks.
      if you guys get it to work I will pay you each 10 dollars on paypal.

      M 1 Reply Last reply 20 Jul 2017, 20:09 Reply Quote 2
      • M
        meleu @daveyman123
        last edited by 20 Jul 2017, 20:09

        @daveyman123 damn! It can be a crazy thing, but when there is money involved part of the willing decreases... :)

        I'll try to help you anyway... hold on a little.

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        D 1 Reply Last reply 20 Jul 2017, 20:10 Reply Quote 0
        • D
          daveyman123 @meleu
          last edited by 20 Jul 2017, 20:10

          @meleu
          @cyperghost
          where are you guys from? :)

          C M 2 Replies Last reply 20 Jul 2017, 20:12 Reply Quote 0
          • C
            cyperghost @daveyman123
            last edited by cyperghost 20 Jul 2017, 20:12

            @daveyman123 I think you better give the 20 bucks to @meleu and he buys me a Caipirinha :).
            img

            @meleu Nice selfie!

            M 1 Reply Last reply 20 Jul 2017, 20:19 Reply Quote 0
            • M
              meleu @daveyman123
              last edited by 20 Jul 2017, 20:13

              @daveyman123 you may know my compatriot here:
              blanka

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              1 Reply Last reply Reply Quote 0
              • D
                daveyman123
                last edited by 20 Jul 2017, 20:15

                https://gyazo.com/fdca868affb3ecd1f7c6f6accf2bd267
                gif showing progress so far

                1 Reply Last reply Reply Quote 0
                • M
                  meleu @cyperghost
                  last edited by 20 Jul 2017, 20:19

                  @cyperghost said in Getting the rom name and emulator:

                  @daveyman123 I think you better give the 20 bucks to @meleu and he buys me a Caipirinha :)

                  Let me know when you come to Rio de Janeiro and we'll drink some Caipirinhas and try to find some arcade to play Street Fighter or something. :)

                  • Useful topics
                  • joystick-selection tool
                  • rpie-art tool
                  • achievements I made
                  C 1 Reply Last reply 20 Jul 2017, 20:23 Reply Quote 0
                  • C
                    cyperghost @meleu
                    last edited by cyperghost 20 Jul 2017, 20:23

                    @meleu Don't make any jokes! My company got's a branch office in south america. For three or four weeks a company pal was in Rio to sell goods and he visited his girlfriend there. So it could happen I'm in :) It's unlikly but never say never :)

                    SFII? I was more addicted to MK! But for the Caipis sake :)

                    M 1 Reply Last reply 20 Jul 2017, 20:28 Reply Quote 1
                    • S
                      Sano
                      last edited by Sano 20 Jul 2017, 20:24

                      You could try something like

                      sleep 5
                      while [$(pidof retroarch)]
                      do
                      *script to scroll once*
                      sleep 5
                      done

                      Lauched in background by runcommand-onstart.

                      C 1 Reply Last reply 20 Jul 2017, 20:32 Reply Quote 1
                      • D
                        daveyman123
                        last edited by 20 Jul 2017, 20:24

                        20 bucks to @meleu it is

                        1 Reply Last reply Reply Quote 0
                        • M
                          meleu @cyperghost
                          last edited by 20 Jul 2017, 20:28

                          @cyperghost it's not a joke! Consider yourself invited. Any game is fun with enough alcohol and friends. :-)

                          • Useful topics
                          • joystick-selection tool
                          • rpie-art tool
                          • achievements I made
                          1 Reply Last reply Reply Quote 1
                          • M
                            meleu
                            last edited by 20 Jul 2017, 20:31

                            Let's get back on topic...

                            @daveyman123 usually your python script scrolls the text only once or keeps looping the text?

                            • Useful topics
                            • joystick-selection tool
                            • rpie-art tool
                            • achievements I made
                            D 1 Reply Last reply 20 Jul 2017, 20:34 Reply Quote 0
                            • C
                              cyperghost @Sano
                              last edited by cyperghost 20 Jul 2017, 20:32

                              @sano I think it isn't a matter of the retroarch-PID more that the script does anyting.
                              But it's a nice catch to end a process by watching the retroarch-PID.

                              @meleu and me descriped also ways to terminate a running script :)

                              And thanks for the invitation. It's very unlikely that I ever enter brazil, but as I said never say never and market development changes quickly. My next stops will be more east .... romania, bulgaria, russia, belarussia...

                              1 Reply Last reply Reply Quote 1
                              • D
                                daveyman123 @meleu
                                last edited by 20 Jul 2017, 20:34

                                @meleu
                                scrolls the text once. I would like it to eventually loop. but right now it stops as soon as the game actually launches

                                M C 2 Replies Last reply 20 Jul 2017, 20:38 Reply Quote 0
                                • M
                                  meleu @daveyman123
                                  last edited by meleu 20 Jul 2017, 20:38

                                  @daveyman123 got it. I'll try something when I get home (it means 4 or 5 hours).

                                  • Useful topics
                                  • joystick-selection tool
                                  • rpie-art tool
                                  • achievements I made
                                  D 1 Reply Last reply 20 Jul 2017, 20:39 Reply Quote 0
                                  • D
                                    daveyman123 @meleu
                                    last edited by 20 Jul 2017, 20:39

                                    @meleu
                                    oh gosh

                                    I may have it figured out by then ;)

                                    M 2 Replies Last reply 20 Jul 2017, 20:40 Reply Quote 0
                                    • C
                                      cyperghost @daveyman123
                                      last edited by cyperghost 20 Jul 2017, 20:40

                                      @meleu @daveyman123 It's late here - going to sleep.
                                      Good night mates

                                      @daveyman123
                                      That's the wrong intention. The script should do the loop not a bash file. The bash file should only tell changes. Because you always load the python interpreter again and again and this will waste resources and even the python language gives you much much controll over strings. So I would rather use python intead of bash.

                                      @meleu will certainly find an easy and working solution ;)

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        meleu @daveyman123
                                        last edited by 20 Jul 2017, 20:40

                                        @daveyman123 said in Getting the rom name and emulator:

                                        I may have it figured out by then ;)

                                        better yet!

                                        • Useful topics
                                        • joystick-selection tool
                                        • rpie-art tool
                                        • achievements I made
                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          cyperghost @daveyman123
                                          last edited by 20 Jul 2017, 21:04

                                          @daveyman123 said in Getting the rom name and emulator:

                                          I will look into cyperghost's loop.sh example again and see if that works to put the python script in there

                                          The loop example is useless. You should look the runcommand-onstart.shand how scripts are called and running in background. If you were able to readout files you can simply write the romname via echo $3 to a file or you can directly call the python script with $3 command.

                                          I think @meleu will do a nice job but meanwhile you can also try to find a solution. I'm 100% sure you find one!
                                          Good night

                                          1 Reply Last reply Reply Quote 0
                                          60 out of 82
                                          • First post
                                            60/82
                                            Last post

                                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                                            This community forum collects and processes your personal information.
                                            consent.not_received