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

ES devs and testers, this tool is for you!

Scheduled Pinned Locked Moved Ideas and Development
scriptgithubemulationstatiotestingdevelopment
88 Posts 15 Posters 39.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.
  • H
    Hex
    last edited by Hex 30 Jun 2017, 08:31

    "Do you want to install"... triggers apt-get. I use fedora which uses dnf so the command to install fails.

    I would like the script to check if apt-get is present else is dnf present and then use that accordantly. If both fail you can get the executable from github (optional)

    jq 1.5 is in the official Debian and Ubuntu repositories. Install using sudo apt-get install jq.

    jq 1.5 is in the official Fedora repository. Install using sudo dnf install jq.

    jq 1.4 is in the official openSUSE repository. Install using sudo zypper install jq.

    jq 1.5 is in the official Arch repository. Install using sudo pacman -Sy jq.

    Sent from 20,000 leagues under the sea.

    Powersaver Emulation station : https://github.com/hex007/EmulationStation
    ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

    M 2 Replies Last reply 30 Jun 2017, 08:39 Reply Quote 0
    • M
      meleu @Hex
      last edited by 30 Jun 2017, 08:39

      @Hex Well, it's intended to be used on a Debian-based distro (just like RetroPie is). But I'll add a warning if apt-get is not found.

      • Useful topics
      • joystick-selection tool
      • rpie-art tool
      • achievements I made
      1 Reply Last reply Reply Quote 0
      • M
        meleu @Hex
        last edited by 30 Jun 2017, 08:51

        @Hex Done. If the script can't find apt-get, the user will see this dialog:
        0_1498812665063_jq_install.png

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        1 Reply Last reply Reply Quote 1
        • Z
          Zigurana
          last edited by 3 Nov 2017, 11:24

          Feature request: Build and install based on a current PR number.
          Rationale: lower the barrier even more: users do not need to hunt for the correct repo + branch, if they only know the GitHub PR number.

          If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

          M 2 Replies Last reply 3 Nov 2017, 12:16 Reply Quote 1
          • M
            meleu @Zigurana
            last edited by 3 Nov 2017, 12:16

            @zigurana got it. I'll try to implement it this weekend. ;)

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            1 Reply Last reply Reply Quote 1
            • D
              darknior
              last edited by 3 Nov 2017, 14:17

              Woaw excellent, i didn't see this ES test project before, i love it, so easy and fast to test branch :)
              Thanks a lot to make it...

              Life is game, just play it !

              1 Reply Last reply Reply Quote 0
              • M
                meleu @Zigurana
                last edited by 3 Nov 2017, 19:32

                @zigurana said in ES devs and testers, this tool is for you!:

                Feature request: Build and install based on a current PR number.
                Rationale: lower the barrier even more: users do not need to hunt for the correct repo + branch, if they only know the GitHub PR number.

                What do you think if we use the PR number rather than a sequential number in the menus? Is it enough?

                Like this:

                0_1509737492130_PR-list.png

                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                1 Reply Last reply Reply Quote 4
                • Z
                  Zigurana
                  last edited by Zigurana 11 Mar 2017, 19:56 3 Nov 2017, 19:44

                  Wow! That was fast! Man, you are ever dependable!
                  I love it!
                  I think the PR number is clear enough to understand, no need to re-number them in the script.

                  Will this exist alongside the current method of manually specifying a repository and branch? That would be usefull for things that are not yet PRs.
                  [EDIT:]
                  Oh wow, I am an ass. I just now see that you already had the function to get the current list of open PRs! Since June! Never mind me, I should have actually updated the tool, I guess. </shameface>

                  In any case, this new improvement is a bit of cosmetics that will not hurt anyone. At least now it's absolutely clear what PR folks are installing.

                  So cool of you to jump on this so quickly! Thanks!

                  If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                  1 Reply Last reply Reply Quote 1
                  • D
                    darknior
                    last edited by 13 Nov 2017, 09:08

                    @meleu said

                    Now look at this menu:
                    0_1495973028492_set_default_es.png

                    Yes thanks i forgot this, i can come back to the master branch.
                    Is there a way to compile MASTER branch with your script, it is faster than in Retropie-Setup because you are not removing sources files. I have think to add the GIT of the master branch to compile it like a beta, but maybe you already code something for it ?

                    Life is game, just play it !

                    M 1 Reply Last reply 13 Nov 2017, 12:45 Reply Quote 0
                    • M
                      meleu @darknior
                      last edited by 13 Nov 2017, 12:45

                      @darknior said in ES devs and testers, this tool is for you!:

                      Is there a way to compile MASTER branch with your script, it is faster than in Retropie-Setup because you are not removing sources files. I have think to add the GIT of the master branch to compile it like a beta, but maybe you already code something for it ?

                      Maybe I can take a look at it later. Quite busy currently.

                      Thanks for the feedback! ;-)

                      • Useful topics
                      • joystick-selection tool
                      • rpie-art tool
                      • achievements I made
                      1 Reply Last reply Reply Quote 1
                      • H
                        Hex
                        last edited by 13 Nov 2017, 20:35

                        @meleu Option to compile "master" and "stable". Master is currently a dev branch.

                        Sent from 20,000 leagues under the sea.

                        Powersaver Emulation station : https://github.com/hex007/EmulationStation
                        ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                        D 1 Reply Last reply 13 Nov 2017, 20:38 Reply Quote 0
                        • D
                          darknior @Hex
                          last edited by 13 Nov 2017, 20:38

                          @hex There are some "master" branch, but i don't see the official.
                          Only eagleOwl n Joemommasfat. But i think i can add it like any branch ?

                          Life is game, just play it !

                          1 Reply Last reply Reply Quote 0
                          • RichardBrR
                            RichardBr
                            last edited by 15 Dec 2017, 11:26

                            Thank you for sharing, I was looking for this :D

                            It is the greatest of all mistakes to do nothing because you can do only a little. Do what you can.

                            Sydney Smith

                            1 Reply Last reply Reply Quote 0
                            • A
                              atfrase
                              last edited by 3 Jan 2022, 19:32

                              This script was last updated 4 years ago now, but since the topic is still pinned, a few notes for anyone coming upon it more recently:

                              It does not appear to work correctly on a Pi 4; the emulationstation binary compiled via this script exits immediately with the message "failed to add service - already in use?" I suspect this is because the Pi 4 uses a different graphics driver and this script is not setting the correct OPENGL compiler directive, but I haven't been able to find where to change that to confirm that it fixes the problem.

                              A lesser issue is that it cannot add custom branches to its list because it attempts to validate them by looking for "Status: 200" in a HEAD request to github, but the modern response is "HTTP/2 200". This is easily fixed by just searching the script for that test and changing the grep pattern to "^(HTTP/2|Status:) 200".

                              Other Pi 4 users can try this less elegant workaround for testing a single specific repo/branch: edit RetroPie-Setup/scriptmodules/supplementary/emulationstation-dev.sh and change the rp_module_repo= to point to your desired branch, and then just install emulationstation-dev from source under the experimental modules in retropie_setup.sh. As a bonus, you can also edit the base emulationstation.sh to remove the make clean call (or skip it depending on an env var such as $__persistent_build), to avoid recompiling all the unchanged objects each time.

                              M 1 Reply Last reply 5 Jan 2022, 20:18 Reply Quote 0
                              • M
                                meleu @atfrase
                                last edited by 5 Jan 2022, 20:18

                                @atfrase wow! 4 years! 😱

                                yeah, indeed... I don't play with this script for years... but if EmulationStation development is still hot and my script can be useful for devs and testers, I'd be happy to restart working on it.

                                @BuZz @mitu @pjft and @eshackers, could you guys confirm that for me?

                                (I'm currently using bash intensively in may dayjob, so it would be fun to revisit my code from 4 years ago 😅)

                                • Useful topics
                                • joystick-selection tool
                                • rpie-art tool
                                • achievements I made
                                mituM 1 Reply Last reply 5 Jan 2022, 20:46 Reply Quote 0
                                • mituM
                                  mitu Global Moderator @meleu
                                  last edited by mitu 1 May 2022, 20:46 5 Jan 2022, 20:46

                                  @meleu said in ES devs and testers, this tool is for you!:

                                  but if EmulationStation development is still hot

                                  Not so much these days.

                                  The script could probably be simplified, since there is branch support in RetroPie-Setup scriptmodules directly and RetroPie-Setup automatically checks for new changes to the branches (letting you know if you should update from source or have the latest source version).

                                  P.S. Happy New Year !

                                  1 Reply Last reply Reply Quote 1
                                  • mituM mitu unpinned this topic on 2 Feb 2025, 10:34
                                  • 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.

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