-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Building OpenRCT2 on Windows Subsystem for Linux
Margen67 edited this page Apr 29, 2021
·
5 revisions
See building OpenRCT2 on Linux.
Download and install: https://sourceforge.net/projects/vcxsrv/
Download and extract: https://www.freedesktop.org/wiki/Software/PulseAudio/Ports/Windows/Support/
Add the following to etc/pulse/default.pa
where you extracted PulseAudio:
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1
If you want to prevent the audio server from exiting some time after disconnecting, add the following to etc/pulse/deamon.conf
:
exit-idle-time = -1
Install PulseAudio on WSL by:
$ sudo add-apt-repository ppa:therealkenc/wsl-pulseaudio
$ sudo apt-get update
$ sudo apt-get install pulseaudio libpulse0
Save the following at /usr/local/bin/openrct2-wsl
and make it executable with chmod +x /usr/local/bin/openrct2-wsl
:
#!/bin/bash -e
/mnt/c/Program\ Files/VcXsrv/vcxsrv.exe :99 -swrastwgl &
/mnt/c/Program\ Files\ \(x86\)/Pulseaudio/bin/pulseaudio.exe &
Save the following at /usr/local/bin/openrct2
and make it executable with chmod +x /usr/local/bin/openrct2
:
#!/bin/bash -e
DISPLAY=:99 PULSE_SERVER=tcp:localhost ./openrct2
Launch openrct2 by:
$ openrct2-wsl
$ openrct2
- Home
- FAQ & Common Issues
- Roadmap
- Installation
- Building
- Features
- Development
- Benchmarking & stress testing OpenRCT2
- Coding Style
- Commit Messages
- Overall program structure
- Data Structures
- CSS1.DAT
- Custom Music and Ride Music Objects
- Game Actions
- G1 Elements Layout
- game.cfg structure
- Maps
- Music Cleanup
- Objects
- Official extended scenery set
- Peep AI
- Peep Sprite Type
- RCT1 ride and vehicle types and their RCT2 equivalents
- RCT12_MAX_SOMETHING versus MAX_SOMETHING
- Ride rating calculation
- SV6 Ride Structure
- Settings in config.ini
- Sizes and angles in the game world
- Sprite List csg1.dat
- Sprite List g1.dat
- Strings used in RCT1
- Strings used in the game
- TD6 format
- Terminology
- Track Data
- Track Designs
- Track drawers, RTDs and vehicle types
- Track types
- Vehicle Sprite Layout
- Widget colours
- Debugging OpenRCT2 on macOS
- OpenGL renderer
- Rebase and Sync fork with OpenRCT2
- Release Checklist
- Replay System
- Using minidumps from crash reports
- Using Track Block Get Previous
- History
- Testing