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

    NodeJS version of RetroPieSetup

    Scheduled Pinned Locked Moved Ideas and Development
    retropie-setupretropiesetup
    4 Posts 2 Posters 703 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.
    • MileSaculM
      MileSacul
      last edited by

      I am working on a NodeJS Implementation of RetroPieSetup.

      I plan on storing the applications in a Database, but one thing I need to figure out is how it finds the ids that correspond to the application name. For example, if you go to Manage packages > core, then you will see these:
      139 retroarch
      810 emulationstation
      826 retropiemenu
      827 runcommand

      Is there a config file that stores these?

      Lucas Showerman
      The true sign of intelligence is not knowledge, but imagination. -Albert Einstein

      BuZzB 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @MileSacul
        last edited by

        @milesacul the IDs are generated automatically (dynamic). but grouped depending on module type

        1xx "emulators"
        2xx "libretrocores"
        3xx "ports"
        8xx "supplementary"
        9xx "admin"
        

        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

        1 Reply Last reply Reply Quote 0
        • MileSaculM
          MileSacul
          last edited by

          So if someone adds a new emulator named nitroarch. Would that increase retroarch's id from 139 to 140?

          Lucas Showerman
          The true sign of intelligence is not knowledge, but imagination. -Albert Einstein

          BuZzB 1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators @MileSacul
            last edited by

            @milesacul yes

            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

            1 Reply Last reply Reply Quote 0
            • 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.