[Release] OpenRCT2 (RollerCoaster Tycoon 2) for Switch

Download: https://github.com/rsn8887/openrct2/releases/latest

Edit: New update v1.04 (see changelog at the bottom). To update from any version to latest, it is enough to just replace the .nro file.

# OpenRCT2 (RollerCoaster Tycoon 2) port for Switch

This is my Switch port of OpenRCT2, a re-implementation of RollerCoaster Tycoon 2. A construction and management simulation video game that simulates amusement park management.

Data files from the original game are required to play this game. _RollerCoaster Tycoon 2_ data files are required to launch the game. Additionally, _RollerCoaster Tycoon 1_ data files are also supported.

Port by @rsn8887.

Visit my Patreon:
https://www.patreon.com/rsn8887

IMG_2411.jpeg


OpenRCT2_cc.jpg OpenRCT2_bb.jpg OpenRCT2_dd.jpg

# Thanks

Thanks to the many many developers who worked on this open source game.

Thanks to Chris Sawyer for writing the amazing original game.

Thanks to devkitPro for making Switch homebrew possible.

Thanks to Milenko for testing and making screenshots.

Thanks to my supporters on Patreon: Andyways, CountDuckula, Jason Crawford, Greg Gibson, Jesse Harlin, Özgür Karter, Matthew Machnee, Milenko, and RadicalR.

# Installation

- Download (see `assets` below), and unzip openrct2_switch.zip and copy the contents over to the `/switch/` folder on your sd card, so that you have a folder `/switch/openrct2` with many folders and files inside.

- Copy all files and folders from a working *Windows RollerCoaster Tycoon 2* installation to `/switch/openrct2/rct2/` so that you have a files and folders `/switch/openrct2/rct2/rct2.exe`, `/switch/openrct2/rct2/Data/`, `/switch/openrct2/rct2/Landscapes/`, `/switch/openrct2/rct2/ObjData/` and many more files and folders there. For my testing, I used the files from the gog.com version.

- Optionally, you can also install the *Windows RollerCoaster Tycoon 1* files. Just copy your complete rct1 files to `/switch/openrct2/rct1/`. Then you can select the RCT1 scenarios, and in options you can select to show the rct1 title sequence. For my testing, I used the files from the gog.com version.

- Note: This game takes quite long to load at first, because it generates a bunch of cache files. Subsequent boots are much faster.

# Controls

- Left analog stick = mouse pointer control
- Right analog stick = scroll the map
- R = left mouse click
- L = right mouse click
- ZR = hold to slow down analog joystick mouse, useful to precisely position the pointer
- ZL = hold to speed up analog joystick mouse
- A = right mouse click
- B = left mouse click
- Y = shift key, hold and move mouse up/down to build above the ground
- X = ctrl key, hold and move mouse to build multiple pieces at the same height above ground
- Dpad up = zoom out (page up key)
- Dpad down = zoom in (page down key)
- Dpad left = rotate construction object (z key)
- Dpad right = rotate camera (enter key)
- R3 (press right stick in) = open cheat menu (ctrl-alt-c)
- Hold ZL + dpad left = close topmost window (backspace key)
- Hold ZL + dpad right = exit construction mode (escape key)
- Minus = toggle between three touch control modes:
* Touchpad style drag pointer with finger and tap to click, default:
* Move a single finger to move the mouse pointer. Use short tap for left click. Hold a single finger while tapping a second finger for right click. Drag with two fingers to drag and drop.
* Jump to finger without click
* The pointer jumps to the finger, but the finger doesn't click. Use L/R or A/B to click
* Jump to finger with tap click
* The pointer jumps to the finger, and a short tap also generates a left click
- Plus = bring up on-screen keyboard, useful for entering names, etc.
* When pressing enter, it first erases existing text and replaces it with new text
- Physical USB keyboard and mouse are supported. Not all mice work. There's a [mouse compatibility
chart](https://docs.google.com/spreadsheets/d/1Drbo5-QuSX901MwtOytSMuqRGxeIkq2HELM806I9dj0/edit#gid=0).

# Current Limitations

- No network support

# Building

## Dependencies

- Switch compilation helper scripts
```
sudo -E dkp-pacman -S devkitpro-pkgbuild-helpers
```

- Switch libicu
```
git clone https://github.com/rsn8887/icu
cd icu
git checkout switch
cd ..
mkdir macos
mkdir switch
cd macos
../icu/icu4c/source/runConfigureICU MacOSX
make -j12
cd ../switch
source $DEVKITPRO/switchvars.sh
../icu/icu4c/source/configure --host aarch64-none-elf --prefix $DEVKITPRO/portlibs/switch/ --disable-shared --enable-static --disable-samples --disable-tests --with-cross-build=$PWD/../macos
cp ../icu/icu4c/source/config/mh-linux ../icu/icu4c/source/config/mh-unknown
make -j12
sudo -E make install
```

- Switch libzip
```
git clone https://github.com/rsn8887/libzip
cd libzip
git checkout switch
cd ..
mkdir buildswitch
cd buildswitch
source $DEVKITPRO/switchvars.sh
cmake ../libzip \
-DENABLE_COMMONCRYPTO=OFF \
-DENABLE_GNUTLS=OFF \
-DENABLE_MBEDTLS=OFF \
-DENABLE_OPENSSL=OFF \
-DENABLE_WINDOWS_CRYPTO=OFF \
-DBUILD_TOOLS=OFF \
-DBUILD_REGRESS=OFF \
-DBUILD_EXAMPLES=OFF \
-DBUILD_DOC=OFF \
-DCMAKE_TOOLCHAIN_FILE=$DEVKITPRO/switch.cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$PORTLIBS_PREFIX \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_C_FLAGS="$CFLAGS $CPPFLAGS" \
-DCMAKE_CXX_FLAGS="CFLAGS -fno-exceptions -fno-rtti"
make -j12 install
```

- Switch libspeexdsp
```
git clone https://github.com/rsn8887/speexdsp
#might use libtoolize instead of glibtoolize if not on mac
glibtoolize
aclocal
autoconf
autoheader
automake --add-missing
source $DEVKITPRO/switchvars.sh
./configure --host aarch64-none-elf --prefix $DEVKITPRO/portlibs/switch/ --disable-shared --enable-static
sudo -E make install
```

## Main app

- Switch openRCT2
```
git clone https://github.com/rsn8887/openrct2
cd openRCT2
git checkout switch
cd ..
mkdir buildswitch
cd buildswitch
source $DEVKITPRO/switchvars.sh
cmake ../openrct2 \
-DSWITCH_BUILD=ON \
-DCMAKE_BUILD_TYPE=RELEASE
make -j12 openrct2_switch.zip
```

# Changelog
v1.04

- Fix right mouse click input
- Map object rotation to dpad left and camera rotation to dpad right
- Map backspace to zl+dpad left and escape to zl+dpad right to make room for new rotation mapping

v1.03

- Map shift, ctrl, backspace, and escape keys, useful to build above ground and quickly close windows.
- Map cheat menu hotkey, now works by pressing the right stick in.
- Make joystick pointer speed truly independent of fps. It now moves at constant speed even if the frame rate is low.
- The filtering options now work as expected. In docked mode, `linear` gives a slightly blurry image, and `sharp nearest neighbor` gives perfectly sharp pixels.
- General image quality improvements in both docked and handheld mode. The internal rendering now dynamically switches resolution between 1080p and 720p instead of always rendering at 720p. Also, the mouse pointer looks a bit sharper now in handheld mode.
- The window scaling option now works and can be used to blow up or shrink down the whole game screen, including the user interface.
- Different game resolutions should also work in principle now. This involves editing the window_width and window_height entries in `/switch/home/openrct2/config.ini`. Only 16x9 ratios will work correctly. I think the default choice of 960x540 looks the best.

v1.02

- Fix mouse cursor not turning into a hand when hovering over hotspots in the park
- Reduce joystick pointer speed slightly for easier control in-game.

v1.01

- First release on Switch
 
Last edited by rsn8887,

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,619
Country
United States
I just made a very minor update to v1.02. The mouse pointer did not change into the hand when hovering over hotspots in the park, such as the visitors or signs. I also slightly reduced the joystick pointer speed to make it easier to control with the stick.

Download: https://github.com/rsn8887/openrct2/releases/latest

It is enough to just update the .nro nothing else changed from 1.01 to 1.02

Changelog:
v1.02
  • fix mouse cursor not turning into a hand when hovering over hotspots in the park
  • reduce joystick pointer speed slightly for easier control
 
Last edited by rsn8887,

jacksprat1990

Well-Known Member
Member
Joined
Mar 14, 2009
Messages
215
Trophies
0
XP
1,172
Country
This is brilliant news. This is something Atari should have done instead of realeasing that other god awful version. A big thanks from me to everyone involved. RCT on the go people!
 
D

Deleted User

Guest
no sxos support? intentional or just fluke? i don't care meself just noticed it just blackscreens on their cfw...
 

cactusjack901

Well-Known Member
Member
Joined
Feb 3, 2009
Messages
122
Trophies
1
XP
475
Country
United States
I recorded a quick video to show it off; and in the process, found a visual bug. I haven't played OpenRCT2 in a while, so I don't remember if it's an OpenRCT2 bug or not

 

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,619
Country
United States
I recorded a quick video to show it off; and in the process, found a visual bug. I haven't played OpenRCT2 in a while, so I don't remember if it's an OpenRCT2 bug or not



It looks like an Openrct2 bug but it is hard to tell? Can you maybe check if it happens on Windows also?

Your intro sequence and music is completely different than mine. How did you do that?

I tested and I don’t see this bug when I place buildings but also my building choices are different. I guess you are playing with rct1 assets?
 
Last edited by rsn8887,

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,619
Country
United States
Also I think the big only occurs because you rotated that Coca Cola can building or something. I wonder if it goes away if you rotate the view one or two times...

Btw the rct1 level looks really cool. How can I make it appear and how did you change the title sequence and music? Mine always starts like in my release screenshots.

--------------------- MERGED ---------------------------

no sxos support? intentional or just fluke? i don't care meself just noticed it just blackscreens on their cfw...

I use SX OS for testing. No problem here. It takes a really long time to load at first. It writes some files into /switch/openrct2/home/ . After first long boot, then it loads much faster.

Pm sent.
 
Last edited by rsn8887,
D

Deleted User

Guest
Also I think the big only occurs because you rotated that Coca Cola can building or something. I wonder if it goes away if you rotate the view one or two times...

Btw the rct1 level looks really cool. How can I make it appear and how did you change the title sequence and music? Mine always starts like in my release screenshots.

--------------------- MERGED ---------------------------



I use SX OS for testing. No problem here. It takes a really long time to load at first. It writes some files into /switch/openrct2/home/ . After first long boot, then it loads much faster.

Pm sent.

Oh ok thanks man i actually own this game. I think what happened is i didnt wait long enough if it works for you on sxos i will take your word for it. My second boot did work perfect on atmos thats why i was wondering. I will give sxos another try prob will work fine. Quite impressive! Bravo!
 

Charli

Well-Known Member
Member
GBAtemp Patron
Joined
Feb 16, 2011
Messages
106
Trophies
2
XP
1,425
Country
Germany
I recorded a quick video to show it off; and in the process, found a visual bug. I haven't played OpenRCT2 in a while, so I don't remember if it's an OpenRCT2 bug or not



uh, did you maybe build the drinks stall floating in the air in front of the restrooms? Did you try rotating the view?
 

knightowl

Member
Newcomer
Joined
May 7, 2019
Messages
5
Trophies
0
Age
73
XP
98
Country
United States
Just want to say thank you for this - reliving childhood memories on the go now and it's all thanks to you.

One question, if I may - has anyone figured out how to raise/lower platforms and scenery? On the PC version, you would simply hold "shift" and roll the mouse wheel up and down.

I haven't found a way to do this with the current controls for the joycon, making it impossible to stack walls and be more elaborate with scenery as you could in the original games.

Either way much appreciated, porting this was an amazing feat!
 
  • Like
Reactions: rsn8887

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,619
Country
United States
Just want to say thank you for this - reliving childhood memories on the go now and it's all thanks to you.

One question, if I may - has anyone figured out how to raise/lower platforms and scenery? On the PC version, you would simply hold "shift" and roll the mouse wheel up and down.

I haven't found a way to do this with the current controls for the joycon, making it impossible to stack walls and be more elaborate with scenery as you could in the original games.

Either way much appreciated, porting this was an amazing feat!

Thank you! This will be fixed in next update coming soon. What I will do: I will map zoom to DPAD up/down, and then y/x buttons are free to work as SHIFT and CTRL. I think the mouse wheel is not needed, it works by just holding SHIFT or CTRL or both and moving the mouse up and down, according to the information I found here: https://openrct2.org/forums/topic/215-scenery-guide-tricks/ .
 

Impossible_Igntiz

Well-Known Member
Member
Joined
Nov 16, 2018
Messages
421
Trophies
0
Location
Bonerville
XP
1,179
Country
United States
Awesome port release! isn't this a Windows 2000/XP game right?! crazy!... I serious hope to see more old school early 2000's Windows XP games gets ported over to the Switch very soon! especially the freeware stuff from back in the day!
 

WiiHomebrew+Snes

Member of GBAtemp's shadow district
Member
Joined
May 4, 2016
Messages
640
Trophies
1
Age
39
Location
Floridia
Website
www.lucar.io
XP
2,781
Country
United States
Awesome port release! isn't this a Windows 2000/XP game right?! crazy!... I serious hope to see more old school early 2000's Windows XP games gets ported over to the Switch very soon! especially the freeware stuff from back in the day!

This is based on a complete rewrite of the game (OpenRCT2) but there are similar projects out there for some of the popular games that might be easier to port
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @salazarcosplay, I'm good. Thanks.