Need help installing OpenRCT2
-
@retropi19 I mostly followed the instructions here:
https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=219430&p=1438684&hilit=Openrct2#p1438684There is also an .ini file that you can set screen resolution, path to data files, windowed vs full screen modes etc.
-
@quicksilver ok thanks what raspberry pi do you have 2 or 3?
-
@retropi19 3b+
I'm going to try to compile a newer version of openrct2. The one linked in that guide is a bit outdated it seems. I'm experiencing a weird bug with the in game pointer.
-
@quicksilver do this before you try the new version install matchbox and launch the game from the build directory with:
xset -dpms s off s no blank matchbox-window-manager & ./openrct2 --openrct-data-path=../dataif it does not work this:
xset -dpms s off s no blank matchbox-window-manager & startx ./openrct2 --openrct-data-path=../data
in general its better to pass the game from the runcommand to have more speed and maybe to fix the pointer bug
its always better to have the latest version
-
3b here do the 800 mhz more in total in the cpu have any speed that is been noticed?
or it feels the same? -
@retropi19 I'll try with matchbox when I have a moment. Interestingly enough the CPU usage only is around 30-50% while running this game. I can't imagine the 200mhz difference between the 3b and the 3b+ will make much difference.
-
we need something faster really quad core ok but at 1.8 or 2.2ghz each core this is speed
-
@retropi19 so I installed matchbox and ran the command you posted but it didn't understand the command xset. I apparently had to install something separate for that. Now it recognizes xset but says unable to open display. The game will still boot however but I don't think it's using matchbox.
-
yeah i thought so its a whole process to make it work to pass-thou the whole runcommand
go herehttps://github.com/zerojay/RetroPie-Extra/blob/master/scriptmodules/ports/firefox-esr.sh
save the script to your computer edit with sudo nano firefox-esr.sh
replace in the script the names and the descriptions eg instead of firefox put gridwars
and in the /usr/bin/executable section put the location of the executable with the executable in the end -
does the game works fine?
-
@retropi19 said in Need help installing OpenRCT2:
does the game works fine?
I havent been able to get it working properly. Unfortunately Im still a bit of a novice with this stuff.
-
where do you stuck?
-
@retropi19 Im having a hard time compiling a newer version of OpenRCT2. I download the newer version from their site but when I try to build it it says it cant find cmake instructions or something like that
-
you need to install this packages: sudo apt-get install make cmake
-
@retropi19 I believe I already did that as it required cmake with the older version of OpenRCT2 as well
-
@quicksilver check it check also if you installed all the dependencies
-
@retropi19 according to the documentation I installed all the correct dependencies
-
Did you delete the folder you compiled before the older version or you compiled on it the latest one? if not delete totally the folder and try the latest version
otherwise maybe the latest version is the problem try the 0.2.1 version and if it does the same try the 0.2.0
to create a shortcut do this
cd /home/pi/RetroPie/roms/ports
sudo nano Openrct2.sh
inside type the game location eg: cd /home/pi/openrct2 press enter to go a line under
and type the command that you start the game
finally press control+x and yes to save -
@retropi19 Alright so I found part of the problem. The newer version of OpenRCT2 requires cmake 3.9 or higher and the cmake included in the repository is only 3.7.2. Any idea on how to install a more updated version of cmake?
EDIT:
So I was able to update to a newer version of cmake but the OpenRCT2 build now fails. Here is a copy of the CMake error logPerforming C++ SOURCE FILE Test CXX_WARN_MISSING_VARIABLE_DECLARATIONS failed with the following output: Change Dir: /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_380c5/fast" /usr/bin/make -f CMakeFiles/cmTC_380c5.dir/build.make CMakeFiles/cmTC_380c5.dir/build make[1]: Entering directory '/home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_380c5.dir/src.cxx.o /usr/bin/c++ -Ofast -DNDEBUG -mcpu=cortex-a53 -DCXX_WARN_MISSING_VARIABLE_DECLARATIONS -Wmissing-variable-declarations -std=gnu++1z -o CMakeFiles/cmTC_380c5.dir/src.cxx.o -c /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option '-Wmissing-variable-declarations'; did you mean '-Wmissing-declarations'? CMakeFiles/cmTC_380c5.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_380c5.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_380c5.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_380c5/fast' failed make: *** [cmTC_380c5/fast] Error 2 Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test CXX_WARN_DUPLICATED_BRANCHES failed with the following output: Change Dir: /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a4d47/fast" /usr/bin/make -f CMakeFiles/cmTC_a4d47.dir/build.make CMakeFiles/cmTC_a4d47.dir/build make[1]: Entering directory '/home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_a4d47.dir/src.cxx.o /usr/bin/c++ -Ofast -DNDEBUG -mcpu=cortex-a53 -DCXX_WARN_DUPLICATED_BRANCHES -Wduplicated-branches -std=gnu++1z -o CMakeFiles/cmTC_a4d47.dir/src.cxx.o -c /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option '-Wduplicated-branches'; did you mean '-Wduplicated-cond'? CMakeFiles/cmTC_a4d47.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_a4d47.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_a4d47.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_a4d47/fast' failed make: *** [cmTC_a4d47/fast] Error 2 Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test CXX_WARN_RESTRICT failed with the following output: Change Dir: /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_9be04/fast" /usr/bin/make -f CMakeFiles/cmTC_9be04.dir/build.make CMakeFiles/cmTC_9be04.dir/build make[1]: Entering directory '/home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_9be04.dir/src.cxx.o /usr/bin/c++ -Ofast -DNDEBUG -mcpu=cortex-a53 -DCXX_WARN_RESTRICT -Wrestrict -std=gnu++1z -o CMakeFiles/cmTC_9be04.dir/src.cxx.o -c /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option '-Wrestrict'; did you mean '-mrestrict-it'? CMakeFiles/cmTC_9be04.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_9be04.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_9be04.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_9be04/fast' failed make: *** [cmTC_9be04/fast] Error 2 Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test CXX_WARN_UNREACHABLE_CODE_BREAK failed with the following output: Change Dir: /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_39e2b/fast" /usr/bin/make -f CMakeFiles/cmTC_39e2b.dir/build.make CMakeFiles/cmTC_39e2b.dir/build make[1]: Entering directory '/home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_39e2b.dir/src.cxx.o /usr/bin/c++ -Ofast -DNDEBUG -mcpu=cortex-a53 -DCXX_WARN_UNREACHABLE_CODE_BREAK -Wunreachable-code-break -std=gnu++1z -o CMakeFiles/cmTC_39e2b.dir/src.cxx.o -c /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option '-Wunreachable-code-break'; did you mean '-Wunreachable-code'? CMakeFiles/cmTC_39e2b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_39e2b.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_39e2b.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_39e2b/fast' failed make: *** [cmTC_39e2b/fast] Error 2 Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test CXX_WARN_RANGE_LOOP_ANALYSIS failed with the following output: Change Dir: /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_1a910/fast" /usr/bin/make -f CMakeFiles/cmTC_1a910.dir/build.make CMakeFiles/cmTC_1a910.dir/build make[1]: Entering directory '/home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_1a910.dir/src.cxx.o /usr/bin/c++ -Ofast -DNDEBUG -mcpu=cortex-a53 -DCXX_WARN_RANGE_LOOP_ANALYSIS -Wrange-loop-analysis -std=gnu++1z -o CMakeFiles/cmTC_1a910.dir/src.cxx.o -c /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option '-Wrange-loop-analysis' CMakeFiles/cmTC_1a910.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_1a910.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_1a910.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_1a910/fast' failed make: *** [cmTC_1a910/fast] Error 2 Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test CXX_WARN_TAUTOLOGICAL_ZERO_COMPARE failed with the following output: Change Dir: /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_b9376/fast" /usr/bin/make -f CMakeFiles/cmTC_b9376.dir/build.make CMakeFiles/cmTC_b9376.dir/build make[1]: Entering directory '/home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_b9376.dir/src.cxx.o /usr/bin/c++ -Ofast -DNDEBUG -mcpu=cortex-a53 -DCXX_WARN_TAUTOLOGICAL_ZERO_COMPARE -Wtautological-unsigned-zero-compare -std=gnu++1z -o CMakeFiles/cmTC_b9376.dir/src.cxx.o -c /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option '-Wtautological-unsigned-zero-compare'; did you mean '-Wtautological-compare'? CMakeFiles/cmTC_b9376.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_b9376.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_b9376.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_b9376/fast' failed make: *** [cmTC_b9376/fast] Error 2 Source file was: int main() { return 0; } Determining if the pthread_create exist failed with the following output: Change Dir: /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_7f22d/fast" /usr/bin/make -f CMakeFiles/cmTC_7f22d.dir/build.make CMakeFiles/cmTC_7f22d.dir/build make[1]: Entering directory '/home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_7f22d.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -Ofast -DNDEBUG -mcpu=cortex-a53 -Wno-clobbered -fstrict-overflow -fstrict-aliasing -Werror -Wundef -Wmissing-declarations -Winit-self -Wall -Wextra -Wshadow -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wnonnull -Wno-unused-parameter -DDEBUG=0 -fPIE -std=gnu++1z -o CMakeFiles/cmTC_7f22d.dir/CheckSymbolExists.cxx.o -c /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx Linking CXX executable cmTC_7f22d /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7f22d.dir/link.txt --verbose=1 /usr/bin/c++ -Ofast -DNDEBUG -mcpu=cortex-a53 -Wno-clobbered -fstrict-overflow -fstrict-aliasing -Werror -Wundef -Wmissing-declarations -Winit-self -Wall -Wextra -Wshadow -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wnonnull -Wno-unused-parameter -DDEBUG=0 CMakeFiles/cmTC_7f22d.dir/CheckSymbolExists.cxx.o -o cmTC_7f22d CMakeFiles/cmTC_7f22d.dir/CheckSymbolExists.cxx.o: In function `main': CheckSymbolExists.cxx:(.text.startup+0x1c): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_7f22d.dir/build.make:97: recipe for target 'cmTC_7f22d' failed make[1]: *** [cmTC_7f22d] Error 1 make[1]: Leaving directory '/home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_7f22d/fast' failed make: *** [cmTC_7f22d/fast] Error 2 File /home/pi/OpenRCT2-0.2.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include <pthread.h> int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif }
-
or you post this on the github page of the port maybe they can help you more or you try to install an older version as i said before eg: 0.2.1 or 0.2.0
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.