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

    I made an original game for RetroPie

    Scheduled Pinned Locked Moved General Discussion and Gaming
    retropielibretrooriginalfun
    101 Posts 25 Posters 22.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.
    • RincewindR
      Rincewind @robertvb83
      last edited by

      @robertvb83 So if you start the game without playing a round and wait for 5 seconds, it doesn't show the high score table?

      If that is the case, then I really have no idea.

      Run the game, wait for 5 seconds on the main menu then copy the contents of this file /dev/shm/runcommand.log and paste it here.

      If you use ssh you can run cat /dev/shm/runcommand.log and copy the content, if you access the commandline from your raspberry pi, you can just take a photo of the screen.

      robertvb83R 1 Reply Last reply Reply Quote 0
      • T
        ts-x @Rincewind
        last edited by

        @Rincewind Thanks for making this change. I was able to get through the cmake step successfully, but encountered several errors during make. It appears to have built the first four objects correctly but then runs into trouble with menu.cpp.o. Received several errors in reference to that object...

        In member function #void Menu::ShowScore(int, std::vector<Texture*>, std::vector<Rect*>)#:
        97:15: error: #runtime_error# is not a member of #std#
        throw std::runtime_error("The textures and frame rects should be the same size. Instead got texture_bird: "
        
        148:15: error: #runtime_error# is not a member of #std#
        throw std::runtime_error("There were too many winners to add to the screen, improve this function.");
        
        CMakeFiles/superflappybirds_libretro.dir/build.make:158: recipe for target 'CMakeFiles/superflappybirds_libretro.dir/menu.cpp.o' failed
        make[2]: *** [CMakeFIles/superflappybirds_libretro.dir/menu.cpp.o] Error 1
        CMakeFiles/Makefile2:67: receipt for target 'CMakeFiles/superflappybirds_libretro.dir/all' failed
        make[1]: *** [CMakeFIles/superflappybirds_libretro.dir/all' Error 2
        Makefile:83: receipe for target 'all' failed
        make: *** [all] Error 2
        

        Is there a way to access an error log file to copy/paste here for full detail? (sorry I'm a command line lightweight!)

        RincewindR 1 Reply Last reply Reply Quote 0
        • RincewindR
          Rincewind @ts-x
          last edited by Rincewind

          @ts-x Run the following on the command line:

          gcc --version

          This is the output for retropie 4.4:

          gcc (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516
          Copyright (C) 2016 Free Software Foundation, Inc.
          This is free software; see the source for copying conditions.  There is NO
          warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
          

          I want to see the gcc version, I suspect RetroPie 4.3 is a bit behind on the times.

          If you were considering upgrading to RetroPie 4.4, that will solve your problem :D

          mituM T 2 Replies Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @Rincewind
            last edited by

            @Rincewind said in I made an original game for RetroPie:

            I want to see the gcc version, I suspect RetroPie 4.3 is a bit behind on the times.

            Raspbian Jessie has gcc 4.9.2 - http://distrowatch.org/table.php?distribution=debian.

            1 Reply Last reply Reply Quote 1
            • T
              ts-x @Rincewind
              last edited by

              @Rincewind Just as @mitu said, 4.9.2.

              After 16 months of tweaking 4.3, I'm pretty much resigned to never upgrade beyond. Would like to finish adding a handful of ports, fix a few lingering issues and then retire. Need to free up time to actually play some games :)

              quicksilverQ RincewindR 2 Replies Last reply Reply Quote 0
              • quicksilverQ
                quicksilver @ts-x
                last edited by

                @ts-x I keep telling myself the same thing. And while I have played quite a few games, I keep finding more things to add/tweak on my setup. For me a large amount of the fun is learning new things while setting stuff up. So I have a feeling I'll never get to a point where I'm done completely :)

                1 Reply Last reply Reply Quote 0
                • RincewindR
                  Rincewind @ts-x
                  last edited by

                  @ts-x You can try manually upgrading your gcc, but that might be quite tough. I will try to find another SD card that I can put 4.3 on, so that I can make the game backwards compatible. I can't promise it will be soon, but I will mention you here in a post when it is working

                  mituM T herb_fargusH 3 Replies Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @Rincewind
                    last edited by

                    @Rincewind GCC 4.9.2 should support std::runtime_exception, but I think it's only available when you compile with -std=c11. I see in your CmakeLists.txt you've asked for C++14, so maybe cmake doesn't add the proper argument to the compiler.

                    1 Reply Last reply Reply Quote 1
                    • robertvb83R
                      robertvb83 @Rincewind
                      last edited by

                      @Rincewind the highscore table shows up after 5 seconds! I dont know why it seemed not working.

                      After 5 seconds it switches back from highscore to main screen... 5s seems a little bit too fast because i cannot really read it in 5s. But it is working very well now

                      My full size arcade cabinet Robotron vs. Octolyzer

                      1 Reply Last reply Reply Quote 1
                      • T
                        ts-x @Rincewind
                        last edited by

                        @Rincewind Thanks again for all of your effort investigating this, no problem on the wait. I'd be happy to jump back in and test on 4.3 whenever you've made additional progress.

                        @quicksilver Haha, same here. First it was going to be just a few more months, then a few more systems, then a few more customizations, etc etc etc. The end result has been 100% worth the effort though.

                        BobHarrisB 1 Reply Last reply Reply Quote 0
                        • cellyC
                          celly @Rincewind
                          last edited by

                          @Rincewind I finally beat my kids score and hold the house crown of 50. Thanks for this, its a lot of fun!
                          CEDEF58E-2E86-4C59-8942-DD8B33337E25.jpeg

                          Currently Playing: Tetris (Gameboy)

                          1 Reply Last reply Reply Quote 1
                          • BobHarrisB
                            BobHarris @ts-x
                            last edited by

                            @ts-x I'm in the same boat. I spent over a year on my image.. only have to do a few more tweaks and then it's finished. I won't be upgrading to 4.4 either because of all the time I put into building it..and I consider this version of Retropie pretty much perfect. The only drawback is when you keep visiting this site you will run into great projects like this one that don't support your outdated image. ;-) I will follow this thread as well..maybe 4.3 support will happen at some point!

                            Pi 3B , 64 GB Sandisk ultra flashdrive, 19 systems, 872 hand picked classic gaming gems :-) Dual shock 4v2

                            B 1 Reply Last reply Reply Quote 1
                            • B
                              BJRetro @BobHarris
                              last edited by

                              Hi two questions - 1) is the high score stuff now added if I update from source in the retropie setup menu and 2) does anyone know if ports show up as a game in the “all games” collection? I run a bartop where all the games come up in the all games list so it is easy to use so I would like to add this game but only if it will appear there.

                              pjftP RincewindR 2 Replies Last reply Reply Quote 0
                              • pjftP
                                pjft @BJRetro
                                last edited by

                                @BJRetro for 2, it certainly should.

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

                                  @Rincewind have you thought about getting this included with retroarch so it can be downloaded through retroarch like mr. boom etc. I was thinking it would be fun to play on my mobile through retroarch

                                  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

                                  RincewindR 1 Reply Last reply Reply Quote 0
                                  • RincewindR
                                    Rincewind @BJRetro
                                    last edited by

                                    @BJRetro

                                    1. Yes it is.
                                    2. It should.

                                    Anyone who is using the feature/highscores branch can remove that from the script module. The high scores table has been merged now.

                                    B 1 Reply Last reply Reply Quote 0
                                    • RincewindR
                                      Rincewind @herb_fargus
                                      last edited by

                                      @herb_fargus I haven't thought about it. That would be cool. Where would I do that?

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

                                        @Rincewind you could propose it on the libretro forums:

                                        https://forums.libretro.com

                                        They also have the #retroarch irc on freenode which a lot of the devs frequent. I think it would be a simple enough matter to get the repo in with the libretro organisation on GitHub and have them pull it into their buildbot but they are more familiar with the integration than I am.

                                        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 0
                                        • B
                                          BJRetro @Rincewind
                                          last edited by

                                          @Rincewind hi Rincewind, could I trouble you to provide a link to a 30 second or so .mp4 gameplay clip so I can use it as my video snap for this game? (Btw I did try scraping from Selph scraper using screenscraper as the source so hopefully that helped your count)

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

                                            @BJRetro you can record video of game play from within retroarch using ffmpeg

                                            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

                                            B 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.