• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.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.
  • E
    ExarKunIv @quicksilver
    last edited by 16 Apr 2020, 18:22

    @quicksilver yea i was kinda thinking that, maybe for my birthday i get me a gift for my self. :)

    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
    • T
      tpo1990 @quicksilver
      last edited by 17 Apr 2020, 06:35

      @quicksilver To manually create a runcommand launch file there are some setup that you need to do first. You will need to create a config folder and a emulators.cfg file for the port and point it to the binary that you created/built with cmake in the source directory that you used. Then create the runcommand launch file openrtc2.sh and point to the config folder.

      An example would be

      1. Create a config folder for the port named openrtc2 ex: /opt/retropie/configs/ports/openrtc2
      2. Inside the config folder, create a emulators.cfg and edit the file with typing the correct path to the the openrtc2 binary in your source directory.
      3. Create a runcommand launch file inside "/home/pi/RetroPie/roms/ports/"name it openrtc2 and edit the file with typing the correct path to the config folder.

      The emulators.cfg file will look something like this:

      openrtc2 = "/home/pi/Downloads/openrtc2/openrtc2"
      default = "openrtc2"
      

      The runcommand launch file will look something like this:

      #!/bin/bash
      "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "openrtc2"
      

      If this doesn't work, you could also try by just only creating the runcommand launch file and make it look like this.

      #!/bin/bash
      cd /home/pi/Downloads/openrtc2
      ./openrtc2
      

      It is quite possible to get it working on a Raspberry PI 3B/3B+ but it will require one to update the cmake version. I know it can be done since I once did it on my Raspberry Pi 3B. Unfortunately I don't remember precisely how I did it. I think I manually compiled the newer cmake version and then it worked with compiling the source port that i tried at the moment.

      Greetings from Denmark. :-)

      Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

      Q 1 Reply Last reply 17 Apr 2020, 12:38 Reply Quote 1
      • Q
        quicksilver @tpo1990
        last edited by 17 Apr 2020, 12:38

        @tpo1990 said in Rollercoaster tycoon:

        It is quite possible to get it working on a Raspberry PI 3B/3B+ but it will require one to update the cmake version. I know it can be done since I once did it on my Raspberry Pi 3B. Unfortunately I don't remember precisely how I did it.

        Same here, I did have it running on my pi3 at one point but I don't remember the steps I took to get there. Thanks for all the great info, I'll look into this for sure. Learning this stuff is a ton of fun.

        T 1 Reply Last reply 20 Apr 2020, 07:23 Reply Quote 1
        • J
          Jste84
          last edited by 18 Apr 2020, 10:56

          Great work I can't wait to play this. If only I had the slightest clue how to do what you've done.. I'd be on it by now 😂

          If you ever feel the need to make an idiots guide and want an idiot to test it... Let me know 👍😂

          Q 1 Reply Last reply 18 Apr 2020, 14:46 Reply Quote 0
          • Q
            quicksilver @Jste84
            last edited by 18 Apr 2020, 14:46

            @Jste84 I'll see about posting a step by step list of how to manually compile it for a pi 4. I'm not 100% sure that I'm doing everything correctly (even though it seems to be working) so it may be good to post if for some peer review as well.

            J 1 Reply Last reply 18 Apr 2020, 18:52 Reply Quote 1
            • J
              Jste84 @quicksilver
              last edited by 18 Apr 2020, 18:52

              @quicksilver if you do that I'll happily test

              1 Reply Last reply Reply Quote 0
              • T
                tpo1990 @quicksilver
                last edited by tpo1990 20 Apr 2020, 07:23

                @quicksilver That is exactly my experience as well just with a different game/source port that I got running earlier on my Pi 3B. Even though it takes time to learn it all, once you have managed to get a better knowledge of understanding how Linux works with compiling and installing you will get the success of it and just feel great for what you have accomplished. ;-)

                Just keep on the good work and eventually you will get there. :-)

                Your welcome. I will gladly help you out as much as I can. Just let me know.

                Greetings from Denmark. :-)

                Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                1 Reply Last reply Reply Quote 0
                • Q
                  quicksilver
                  last edited by quicksilver 5 Mar 2020, 03:25 21 Apr 2020, 16:00

                  So here are the build instructions for anyone who is interested. This will get OpenRCT2 up and running on your pi 4 (im sure the game can be run on pi 3 as well but you'll need to manually compile a newer version of cmake). The game can be run without a window manager but performance is not as good and there is an issue with the mouse cursor. I will add instructions on how to run through matchbox-window-manager but I will need some peer review with that part because I dont think I have it working 100% correctly.

                  First step is to install needed dependencies:

                  sudo apt-get install --no-install-recommends -y cmake libsdl2-dev libicu-dev \
                      gcc pkg-config libjansson-dev libspeex-dev libspeexdsp-dev libcurl4-openssl-dev \
                      libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libssl-dev libzip-dev \
                      build-essential make
                  

                  Next we need to get the source from the repository (change master to develop if you want bleeding edge version):

                  git clone -b master --depth 1 --recursive https://github.com/OpenRCT2/OpenRCT2.git
                  

                  Next, we need to compile (this may take a while):

                  cd OpenRCT2
                  mkdir build && cd build
                  cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Ofast -DNDEBUG -mcpu=cortex-a72"
                  make -j4
                  

                  Now run make install this will download required resources (json objects, title sequences) and installs openrct2 under /usr/local by default:

                  make install
                  

                  OpenRCT2 requires original game files to run, I installed RCT1 (optional) and RCT2 on my windows computer then copied the install directories to /home/pi/RetroPie/roms/ports/. Im not sure if there is a better way of doing it or if a different location for the files should be used but this method does work. On first boot of OpenRCT2 it will ask for the location of the game files, or you can input the location manually by editing the config.ini located at /home/pi/.config/OpenRCT2/

                  To start the game run ./openrct2 from the build directory.

                  This section I need help on
                  Running the game without the window manager performance will not be as good and the mouse cursor has issues. So what I did was install matchbox window manager, xorg, and x11-xserver-utils:

                  sudo apt-get install xorg matchbox-window-manager x11-xserver-utils
                  
                  

                  Then I run the game using this command:

                  xset -dpms s off s noblank matchbox-window-manager & startx /home/pi/OpenRCT2/build/openrct2
                  

                  However I get an error saying that xset cannot open the display, but the game still boots (im assuming because of the startx command?) I had issues with the game automatically running in 4k mode so I had to force 4k mode off in my /boot/config.txt/ I also noticed that when running the game this way that you cannot scroll the screen by moving your mouse to the edge of the screen, to work around this you can right click-hold and drag to move the screen around. Im hoping this is an issue because of something Im doing incorrectly (which I am sure I am). So if anyone who knows how all of this x server stuff works I would appreciate some pointers on getting this part to work right.

                  Some pointers for performance: Once the game is up and running I lowered the display res via the ingame options to 720p and increased the window scale to 1.5. I also used "software (hardware display)" as the drawing engine because everything looks a bit clearer/sharper. Uncapping the framerate also makes for a smoother gameplay experience because the default FPS is capped at 40. Also make sure that the games config.ini has proper permissions otherwise changing settings in game wont persist between game sessions.

                  E 1 Reply Last reply 25 Feb 2024, 22:46 Reply Quote 2
                  • J
                    Jste84
                    last edited by Jste84 5 Mar 2020, 01:45 2 May 2020, 23:57

                    Trying this now, but unfortunately I'm getting an error at step 2.

                    Fatal: repository '1' does not exist 😔

                    Hoping you can help @quicksilver 👍

                    Q 1 Reply Last reply 3 May 2020, 02:27 Reply Quote 0
                    • Q
                      quicksilver @Jste84
                      last edited by 3 May 2020, 02:27

                      @Jste84 sorry about that, there was a syntax error in the command I posted. I fixed it, can you try again?

                      J 2 Replies Last reply 3 May 2020, 02:43 Reply Quote 1
                      • J
                        Jste84 @quicksilver
                        last edited by 3 May 2020, 02:43

                        @quicksilver yip will try it again now 👍

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jste84 @quicksilver
                          last edited by 3 May 2020, 02:51

                          @quicksilver past step 2... Will let you know how I get on with the build. . Thanks for the guide and help.

                          This will make my day if it works

                          1 Reply Last reply Reply Quote 0
                          • J
                            Jste84
                            last edited by Jste84 5 Mar 2020, 04:38 3 May 2020, 03:14

                            @quicksilver I'm getting another error... In step 4, it says 100 per cent but I'm getting the following message after.

                            CMake Error at cmake_install.cmake:48 (file) :
                            file DOWNLOAD error: cannot create directory
                            '/usr/local/share/openrct2/title' - Specify file by full path name and verify that you have directory creation and write privileges.

                            Could this be because I've set up the pi4 to use my cloud home as storage. I had problems with save states earlier...

                            Not sure what to do to fix this. If I use winscp to manually add the directory would that work?

                            Edit: gone into winscp and can see there is no directory for openrct2 in usr/local/share.

                            Also moved the directories, done a reset but not seeing anything in ports...

                            Last thought... I've used the gog versions of the games which are RCT deluxe and rct2 triple pack... Assuming this won't make a difference?

                            Q 1 Reply Last reply 3 May 2020, 04:53 Reply Quote 0
                            • Q
                              quicksilver @Jste84
                              last edited by quicksilver 5 Mar 2020, 05:53 3 May 2020, 04:53

                              @Jste84 try running this from the build directory within the openrct2 directory:

                              DESTDIR=. make install
                              
                              J 1 Reply Last reply 3 May 2020, 12:12 Reply Quote 0
                              • J
                                Jste84 @quicksilver
                                last edited by Jste84 5 Mar 2020, 13:33 3 May 2020, 12:12

                                @quicksilver seem to have got by this now..

                                But nothing is showing when I go to ports..

                                J 1 Reply Last reply 3 May 2020, 12:42 Reply Quote 0
                                • J
                                  Jste84 @Jste84
                                  last edited by 3 May 2020, 12:42

                                  @Jste84 said in Rollercoaster tycoon:

                                  @quicksilver seem to have got by this now..

                                  But nothing is showing when I go to ports..

                                  Although I'm not sure if that's how I'm meant to open the game?

                                  Q 1 Reply Last reply 3 May 2020, 18:29 Reply Quote 0
                                  • Q
                                    quicksilver @Jste84
                                    last edited by quicksilver 5 Mar 2020, 19:30 3 May 2020, 18:29

                                    @Jste84 yes this isn't a build script for RetroPie so it won't appear in ports. You'll need to run it from the command line using the commands I posted above. You can also take those commands and put them in a shell script that can be run from emulationstation. Once we have a proper build script set up then it will appear nicely in ES and go through runcommand.

                                    J 1 Reply Last reply 3 May 2020, 18:53 Reply Quote 0
                                    • J
                                      Jste84 @quicksilver
                                      last edited by Jste84 5 Mar 2020, 23:05 3 May 2020, 18:53

                                      @quicksilver said in Rollercoaster tycoon:

                                      @Jste84 yes this isn't a build script for RetroPie so it won't appear in ports. You'll need to run it from the command line using the commands I posted above. You can also take those commands and put them in a shell script that can be run from emulationstation. Once we have a proper build script set up then it will appear nicely in ES and go through runcommand.

                                      Ok... So this will be my silliest question yet @quicksilver ...

                                      So the last step says run openrct2 from the build directory... How do I do that?

                                      Q 1 Reply Last reply 3 May 2020, 23:13 Reply Quote 0
                                      • Q
                                        quicksilver @Jste84
                                        last edited by quicksilver 5 Apr 2020, 00:14 3 May 2020, 23:13

                                        @Jste84 try this:

                                        startx /home/pi/OpenRCT2/build/openrct2
                                        

                                        Or you can also run ./openrct2 from the build directory but without the x window the mouse pointer doesn't work right so I don't recommend running it this way.

                                        J 1 Reply Last reply 4 May 2020, 17:20 Reply Quote 0
                                        • J
                                          Jste84 @quicksilver
                                          last edited by 4 May 2020, 17:20

                                          @quicksilver getting this error... 😔

                                          IMG_20200504_181824_compress32.jpg

                                          Q 1 Reply Last reply 4 May 2020, 19:47 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.

                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]