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

Developing for retropie-setup

Scheduled Pinned Locked Moved Ideas and Development
retropie-setupscraperscript module
9 Posts 4 Posters 614 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.
  • K
    kiro
    last edited by 9 Nov 2022, 15:24

    Hi,

    I'm starting to play around with the idea of adding my scraper to retropie setup. So far I've managed to have it installed and running (basing my .sh in scraper.sh). The program runs, but I cannot see the output of my program immediately, it rather shows buffers of output at a time, giving the impression that the program is frozen (it is running in python). Is there anywhere that I can have a look to understand how the output is handled within the retropie-setup context so I manage to fix this? Also, is there any other documentation available apart from what's available on the shell style guide? Thanks!

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 9 Nov 2022, 18:56

      @kiro said in Developing for retropie-setup:

      Is there anywhere that I can have a look to understand how the output is handled within the retropie-setup context so I manage to fix this?

      It's probably caused by the output being buffered by the terminal. A similar issue with Skyscraper was fixed by using stdbuf to disable the buffering - see this commit.

      Also, is there any other documentation available apart from what's available on the shell style guide? Thanks!

      I wrote a small guide a couple of years ago in this topic that may help you, looking at/cloning and existing module is the easiest way to start writing a new scriptmodule.

      K 1 Reply Last reply 22 Nov 2022, 14:21 Reply Quote 0
      • K
        kiro @mitu
        last edited by 22 Nov 2022, 14:21

        @mitu Hi, thanks, everything seems to be sorted out right now and the script is working, at least on y machine :-)

        I know you've probably been asked this several times, but I've looked around with no success, what's the process to get the script into the official retropie-setup repository?

        Thanks!

        S M 2 Replies Last reply 22 Nov 2022, 16:25 Reply Quote 0
        • S
          sleve_mcdichael @kiro
          last edited by 22 Nov 2022, 16:25

          @kiro said in Developing for retropie-setup:

          what's the process to get the script into the official retropie-setup repository?

          Are you at all familiar with git? You'll need to clone the repo, make the changes to your local fork, commit them, and then submit a pull request to have them considered for inclusion in the main branch.

          K 1 Reply Last reply 22 Nov 2022, 16:29 Reply Quote 0
          • K
            kiro @sleve_mcdichael
            last edited by 22 Nov 2022, 16:29

            @sleve_mcdichael thanks for that, I'm 'more or less familiar', clone, change, commit, that should be straightforward, how do I actually create a pull request though?

            B 1 Reply Last reply 22 Nov 2022, 16:37 Reply Quote 0
            • B
              BuZz administrators @kiro
              last edited by 22 Nov 2022, 16:37

              @kiro there's plenty of documentation and tutorials for this on the web. Here's one I found:

              https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/working-with-your-remote-repository-on-github-or-github-enterprise/creating-an-issue-or-pull-request

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              K 1 Reply Last reply 22 Nov 2022, 16:38 Reply Quote 0
              • K
                kiro @BuZz
                last edited by 22 Nov 2022, 16:38

                @BuZz Thx, was looking into that, no worries... thx everyone for the help!

                1 Reply Last reply Reply Quote 0
                • M
                  mitu Global Moderator @kiro
                  last edited by 22 Nov 2022, 18:43

                  @kiro said

                  ...
                  I know you've probably been asked this several times, but I've looked around with no success, what's the process to get the script into the official retropie-setup repository?

                  The others already mentioned what it takes - just a pull request.

                  I have a couple of objections about including your scraper in RetroPie:

                  • I'm not comfortable with the fact that's not really a scraper, but just a client for your own cached scraped data, which you take from the actual source site(s) (ScreenScraper, TheGamesDB ? - it's not mentioned anywhere).

                  This scraper uses its own backend, which has been compiled from many sources on the net and keeps extending. If this is a problem for you, do not run this software.

                  While some sources allow mirroring of data and re-distribution, they're not mentioned explicitely anywhere in your project.

                  • it has very little testing. Both external scrapers that are integrated with RetroPie-Setup have been used for quite some time before they were added in RetroPie.
                  K 1 Reply Last reply 22 Nov 2022, 20:39 Reply Quote 0
                  • K
                    kiro @mitu
                    last edited by 22 Nov 2022, 20:39

                    @mitu I guess It is your prerogative. No worries at all. It is the learning process which is the most interesting part, and giving back to the community with no interest in profiting at all.

                    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.

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