RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    What language to code a backround program in retropie

    Scheduled Pinned Locked Moved Help and Support
    codingdiynew at thisprogrammingarcade retropie
    6 Posts 3 Posters 3.5k 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.
    • LazyLizardL
      LazyLizard
      last edited by

      I want to write a program to work behind Retropie that uses bar-codes to lock and unlock the buttons of the arcade. I have never coded before so I would like to know what language I would need to use. Any help to help us go to the right direction would be much appreciated.

      herb_fargusH 1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators @LazyLizard
        last edited by

        @LazyLizard python probably if you're hooking up to gpio. Bash wouldn't hurt either.

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        LazyLizardL 1 Reply Last reply Reply Quote 0
        • LazyLizardL
          LazyLizard @herb_fargus
          last edited by

          @herb_fargus So I googled "gpio", and it seems to be a controller that connects to a pi to connect game pads. However my hardware consists of a raspberry pi 2, Xin-Mo controller, and a bar code scanner that are connected to the pi through USB. Now can I still use python with my Xin-Mo controller? Also I couldn't find anything explaining what "Bash", is nor does.

          P.S. i will be using "learnpython.org", to learn Python. Thanks again.

          meleuM 1 Reply Last reply Reply Quote 0
          • meleuM
            meleu @LazyLizard
            last edited by

            Welcome to the amazing world of computer programming! :-)

            If you don't even know what GPIO is, maybe it's better to start with bash.

            @LazyLizard said in What language to code a backround program in retropie:

            I couldn't find anything explaining what "Bash", is nor does

            Try this link.

            Also, another guy asked something similar in this topic: https://retropie.org.uk/forum/topic/8683/where-can-i-learn-more-about-retropie-code/, maybe you can find useful links there.

            Cheers.

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            LazyLizardL 1 Reply Last reply Reply Quote 0
            • LazyLizardL
              LazyLizard @meleu
              last edited by

              @meleu Alright this Bash thing seems more my speed. I've read up to the function section and I already have a few ideas of what my functions will look like. I feel like its going to need an if statement or two. Thanks.

              meleuM 1 Reply Last reply Reply Quote 0
              • meleuM
                meleu @LazyLizard
                last edited by

                @LazyLizard This seems to be a great bash guide with cool tips and tricks:
                http://mywiki.wooledge.org/BashGuide

                And if you have a specific question about bash, this is a really good resource to look at (even before searching in google):
                http://mywiki.wooledge.org/BashFAQ

                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                1 Reply Last reply Reply Quote 1
                • First post
                  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.