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

    Rollercoaster tycoon

    Scheduled Pinned Locked Moved General Discussion and Gaming
    rollercoastertycoonretropie
    91 Posts 8 Posters 9.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.
    • hooperreH
      hooperre
      last edited by

      Getting a cmake error: https://pastebin.com/JNMj3EJc

      4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

      ExarKunIvE 1 Reply Last reply Reply Quote 0
      • ExarKunIvE
        ExarKunIv @hooperre
        last edited by

        @hooperre here is my install script
        link to my github to give more detail on what files are needed to run

        wget https://raw.githubusercontent.com/Exarkuniv/-RollerCoaster-Tycoon-2-port/Master/openrct.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
        

        link to my github to give more detail on what files are needed to run

        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
        Maintainer of RetroPie-Extra .

        hooperreH 1 Reply Last reply Reply Quote 2
        • hooperreH
          hooperre @ExarKunIv
          last edited by

          @exarkuniv Seems to have built great! Should I put the RCT and RCT2 files in their respective folders in ports or do all the files need to be in the data folder?

          4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

          ExarKunIvE 1 Reply Last reply Reply Quote 0
          • ExarKunIvE
            ExarKunIv @hooperre
            last edited by ExarKunIv

            @hooperre i cant remember, i think you put them in their each folder

            i have been making so many scripts. i cant keep them straight right now.
            i need to go back and double test them all again lol

            RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
            RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
            Maintainer of RetroPie-Extra .

            hooperreH 1 Reply Last reply Reply Quote 1
            • hooperreH
              hooperre @ExarKunIv
              last edited by

              @exarkuniv Seems like the program is just looking for one directory.

              Runs great! Thanks for your (and @quicksilver 's)work!

              4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

              ExarKunIvE 1 Reply Last reply Reply Quote 1
              • ExarKunIvE
                ExarKunIv @hooperre
                last edited by

                @hooperre im glad that it is working for you. make all the effort i put into it worth it.
                taking a look at the config ini it is set to look for a rct1 folder for files from rct1,
                with that said. i cant say putting everything in one folder will or will not work too

                i will have to test that and change the script if needed.

                thanks for testing it a little for me

                RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                Maintainer of RetroPie-Extra .

                hooperreH 1 Reply Last reply Reply Quote 2
                • hooperreH
                  hooperre @ExarKunIv
                  last edited by

                  @exarkuniv Only slight issue I'm running into is the display settings. If I change to fullscreen, on next boot resolution is larger, but is not centered and menus are off screen.

                  4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                  ExarKunIvE 1 Reply Last reply Reply Quote 0
                  • ExarKunIvE
                    ExarKunIv @hooperre
                    last edited by

                    @hooperre i think you will need to mess with the display settings in the Retropie and in the game to make it work better

                    so when you start the game. press a so you can pick what resolution retropie will use.
                    it will be some trial and error to get it right i think.

                    RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                    RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                    Maintainer of RetroPie-Extra .

                    hooperreH 1 Reply Last reply Reply Quote 1
                    • hooperreH
                      hooperre @ExarKunIv
                      last edited by

                      @exarkuniv Don't know why I didn't think to do that. Thanks!

                      4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                      ExarKunIvE 1 Reply Last reply Reply Quote 0
                      • ExarKunIvE
                        ExarKunIv @hooperre
                        last edited by

                        @hooperre let me know if anything else comes up.
                        and i will switch to mess with that one more

                        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                        Maintainer of RetroPie-Extra .

                        1 Reply Last reply Reply Quote 1
                        • M
                          musicislife6984
                          last edited by

                          When I compile I am getting an error

                          pi@retropie:~/OpenRCT2 $ cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Ofast -DNDEBUG -mcpu=cortex-a72"
                          CMake Error: The source directory "/home/pi" does not appear to contain CMakeLists.txt.
                          Specify --help for usage, or press the help button on the CMake GUI.
                          pi@retropie:~/OpenRCT2 $ make -j4

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

                            @musicislife6984 said in Rollercoaster tycoon:

                            cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Ofast -DNDEBUG -mcpu=cortex-a72"

                            This should be

                            cmake .  -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Ofast -DNDEBUG -mcpu=cortex-a72"
                            
                            ExarKunIvE 1 Reply Last reply Reply Quote 1
                            • ExarKunIvE
                              ExarKunIv @mitu
                              last edited by

                              @mitu what does changing cmake ../ to cmake . do?

                              i have been using cmake ../ without a problem inn my script.

                              im learning which is why im asking

                              RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                              RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                              Maintainer of RetroPie-Extra .

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

                                @exarkuniv When you run cmake, you'll have to point it at the folder containing the CMakeFiles.txt file. If you run it from the projects's source folder and you point to .., then cmake looks for the file in the parent folder (/home/pi) - but in the error above there's no such file there.
                                If you run it from a build subfolder inside the main project folder, then it's ok to point cmake to .., since this is where CMakeFiles.txt is located, i.e.

                                git clone <a_cmake_based_project>
                                cd <a_cmake_based_project>
                                mkdir build 
                                cd build
                                cmake .. <OTHER_CMAKE_ARGS>
                                
                                ExarKunIvE 1 Reply Last reply Reply Quote 1
                                • ExarKunIvE
                                  ExarKunIv @mitu
                                  last edited by

                                  @mitu ok. thank you for clearing that up.
                                  taking a look at my script i was doing it right since i was running cmake inside of my build subfolder.

                                  RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                  RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                  Maintainer of RetroPie-Extra .

                                  1 Reply Last reply Reply Quote 1
                                  • M
                                    musicislife6984
                                    last edited by

                                    Thanks I was able to get past that and now am getting

                                    error "Unsupported version of nlohmann json library, must be >= 3.6"

                                    ExarKunIvE 1 Reply Last reply Reply Quote 1
                                    • ExarKunIvE
                                      ExarKunIv @musicislife6984
                                      last edited by

                                      @musicislife6984 did you install all of the dependencies that quicksilver has.

                                      and it just might be easier to just use the script i have made to do all the work for you. it is a few posts above

                                      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                      Maintainer of RetroPie-Extra .

                                      M 1 Reply Last reply Reply Quote 1
                                      • M
                                        musicislife6984 @ExarKunIv
                                        last edited by

                                        @exarkuniv How do I execute your script?

                                        ExarKunIvE 1 Reply Last reply Reply Quote 1
                                        • ExarKunIvE
                                          ExarKunIv @musicislife6984
                                          last edited by

                                          @musicislife6984

                                          run

                                          wget https://raw.githubusercontent.com/Exarkuniv/-RollerCoaster-Tycoon-2-port/Master/openrct.sh -P $HOME/RetroPie-Setup/scriptmodules/ports/
                                          

                                          in the command line, after that you just need to find openrct in the experimental list within the RetroPie setup menu

                                          like you would to install anything extra

                                          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                          Maintainer of RetroPie-Extra .

                                          1 Reply Last reply Reply Quote 1
                                          • E
                                            evansauve @quicksilver
                                            last edited by evansauve

                                            @quicksilver @hooperre I've got to the 4th part of step 3 (make -j4) but am blocked by the following error. Any guess why?

                                            fatal error: nlohmann/json_fwd.hpp: No such file or directory
                                            12 | #include <nlohmann/json_fwd.hpp>

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