I made an original game for RetroPie
-
@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. -
@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!)
-
@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
-
@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.
-
@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 :)
-
@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 :)
-
@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
-
@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 maybecmake
doesn't add the proper argument to the compiler. -
@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
-
@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.
-
@Rincewind I finally beat my kids score and hold the house crown of 50. Thanks for this, its a lot of fun!
-
@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!
-
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.
-
@BJRetro for 2, it certainly should.
-
@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
-
- Yes it is.
- 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. -
@herb_fargus I haven't thought about it. That would be cool. Where would I do that?
-
@Rincewind you could propose it on the libretro forums:
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.
-
@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)
-
@BJRetro you can record video of game play from within retroarch using ffmpeg
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.