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

    Unknown platform error?

    Scheduled Pinned Locked Moved Help and Support
    unknown platforerror
    16 Posts 10 Posters 27.6k 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.
    • W
      Wizardling
      last edited by

      $ sudo ~/RetroPie-Setup/retropie_setup.sh
      Unknown platform - please manually set the __platform variable to one of the following: armv7-mali generic-x11 imx6 odroid-c1 rpi1 rpi2 rpi3 rpi3-64 x86
      $

      What gives? I've not used my RetroPie Pi 3 in a while, so I updated and upgraded from the command line, rebooted, and now running scripts, games, whatever, it all gives the above error whether I run it from the command line or within EmulationStation :-(

      What can I do? I know I can obviously start afresh - not a huge hassle, I have all my ROMs backed up. But is there a quicker fix?

      TIA :-)

      Frog blast the vent core!

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

        @Wizardling unfortunately you must have updated the system packages before updating retropie-setup - you can cd to Retropie-Setup and run git pull, and then it should launch (then update all packages).

        alternatively launch sudo __platform=rpi3 ~/RetroPie-Setup/retropie_setup.sh and then do an update.

        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

        W 1 Reply Last reply Reply Quote 2
        • W
          Wizardling @BuZz
          last edited by

          @BuZz Hurrah! Thank you so much :-)

          So in the future I should never update raspbian from the command line or it's own scripts? Only the retropie_setup.sh script?

          Frog blast the vent core!

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

            @Wizardling it's not generally a problem but in this case, the new kernel was incompatible with our old platform detection code. This was fixed some time ago, but need to update retropie-setup to get it.

            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 1
            • T
              Thanospie
              last edited by

              Hey guys I'm just starting out with raspberry pi and I'm having that same issue and it seems like what y'all did fix the problem. I just don't know yet how to do the things you decribed is there anyway yall could go into more detail for a beginner. Thank you in advance

              W 1 Reply Last reply Reply Quote 0
              • T
                TheJeak
                last edited by

                I had the same problem. I found this and boom! Problem fixed! Thank you so much

                1 Reply Last reply Reply Quote 0
                • W
                  Wizardling @Thanospie
                  last edited by

                  @thanospie said in Unknown platform error?:

                  Hey guys I'm just starting out with raspberry pi and I'm having that same issue and it seems like what y'all did fix the problem. I just don't know yet how to do the things you decribed is there anyway yall could go into more detail for a beginner. Thank you in advance

                  Sorry to be so late, but I missed your reply the other month. For what it's worth, easiest for most users would be to SSH (via Terminal emulation app) into your Raspberry Pi using
                  ssh pi@[Insert your Pi's IP address here, 192.168.1.253 is my RetroPie Pi's address on my LAN. Yours will vary, of course.]
                  (Or plug in a keyboard and manually type the following into the command prompt accessible after quitting EmulationStation.)
                  Then type copy and paste
                  sudo __platform=rpi3 ~/RetroPie-Setup/retropie_setup.sh
                  into the command line, and hit return/enter. After which you'll be in the usual RetroPie setup app. From there "Update RetroPie-Setup script", and then "Update all installed packages". Finally, "Perform reboot", and everything ought to be fine again to access from your TV and control via gaming controller :-)

                  Frog blast the vent core!

                  S AddisonA 2 Replies Last reply Reply Quote 0
                  • S
                    StingJay
                    last edited by

                    hello,
                    I have read through this forum and when I tried to run the platform change command rpi3 wasnt one of my options, I am using pi3 but could setting it as pi2 make any serious problems for me? this is what I did and am currently setting this up as rpi2 in hopes that I can run the configurations.. the emulators were running and the games were running fine without the platform variable set however I was unable to change anything in the retro pie configurations. It looks like by setting it as raspberry pi 2 it may work... but I am concerned with what implications could arise from me doing this... if anyone knows what problems might arise from this I would love to hear it and since I probabily wont check the forum for a response could you reply in forum but also send me an email so that way other users could be informed in the forum and i can also get this answer in my email? thanks a bunch! email= Sting_Jay@yahoo.com

                    I hope this information and question could help someone in the future! thanks for your response.

                    1 Reply Last reply Reply Quote 0
                    • S
                      StingJay @Wizardling
                      last edited by

                      @wizardling thanks for being so helpful with your post, i did exactly what you said to do however rpi3 wasnt one of my available options so i typed rpi2.. following all other steps as you have provided I believe the system may work despite having/using raspberry pi 3 (set up as raspberry pi 2). I guess I will find out if this will work ultimately when I am finished, however, I would like to extend a big thanks! THANKS!

                      1 Reply Last reply Reply Quote 0
                      • AddisonA
                        Addison @Wizardling
                        last edited by

                        @buzz said in Unknown platform error?:

                        @Wizardling unfortunately you must have updated the system packages before updating retropie-setup - you can cd to Retropie-Setup and run git pull, and then it should launch (then update all packages).

                        alternatively launch sudo __platform=rpi3 ~/RetroPie-Setup/retropie_setup.sh and then do an update.

                        I did the following using Putty.
                        sudo __platform=rpi2 ~/RetroPie-Setup/retropie_setup.sh

                        Then I selected from the menu "Update RetroPie-Setup script".

                        I'm receiving this response:
                        0_1509581326990_Setup.png

                        What should I do next to resolve the Unknown platform error on my Pi 2?

                        1 Reply Last reply Reply Quote 0
                        • AddisonA
                          Addison
                          last edited by

                          I finally found these two files, oricutron.sh and ti99sim.sh, deleting them both.

                          I finished what appears to be a completely, up to date package of Retropie.

                          Everything works great so far, but for some reason, it no longer can find the splash screen when first booting and produces a small error because of that.

                          Not a deal breaker at all, but is there a way to get this back?

                          herb_fargusH MegaTimXM 2 Replies Last reply Reply Quote 0
                          • herb_fargusH
                            herb_fargus administrators @Addison
                            last edited by

                            @addison re-enable the splash screen from the setup script

                            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

                            1 Reply Last reply Reply Quote 1
                            • MegaTimXM
                              MegaTimX @Addison
                              last edited by

                              @addison where were those files located? I need to find them in terminal and delete them.

                              1 Reply Last reply Reply Quote 0
                              • AddisonA
                                Addison
                                last edited by

                                @MegaTimX

                                /home/pi/RetroPie-Extra/scriptmodules/emulators/oricutron.sh

                                /home/pi/RetroPie-Extra/scriptmodules/emulators/ti99sim.sh

                                1 Reply Last reply Reply Quote 1
                                • I
                                  Inky1003
                                  last edited by

                                  I did the command, but It does repeat the same error and without the "rpi3" option
                                  Can anyone help me?

                                  mituM 1 Reply Last reply Reply Quote 0
                                  • mituM
                                    mitu Global Moderator @Inky1003
                                    last edited by

                                    @inky1003 Please open a new topic and provide the details of your setup as detailed in 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.