Repository navigation
OpenRA on RaspberryPi
Micr0Bit edited this page May 31, 2016
·
30 revisions
According to a Irc-conversation with Paul Chote in 2015 (RaspberryPi2)
- Add Xamarin's Mono repository
- Install SDL dependency plus all the Mono crap
- Clone and compile Openra
- Cry when you see it only runs at 1.5 FPS
(he was using whatever GL support shipped with jessie with the vram turned to max)
- Make sure you have Raspbian Jessie installed on your Pi
- You need a established connection via network-cable to get the server working at the end
The following list provides package dependencies required for running OpenRA as dedicated server. This is a community initiative, be prepared to get your hands dirty.
sudo apt-get install mono-runtime libmono2.0-cil libsdl2-2.0 \
libmono-system-core4.0-cil libmono-system-drawing4.0-cil libmono-system-data4.0-cil \
libmono-system-numerics4.0-cil libmono-system-runtime-serialization4.0-cil \
libmono-system-xml-linq4.0-cil libgl1-mesa-dri liblua5.1-0
wget https://github.com/OpenRA/OpenRA/releases/download/release-20151224/openra_release.20151224_all.deb
sudo dpkg -i openra_release.20151224_all.deb
sudo cp /usr/lib/openra/launch-dedicated.sh /usr/lib/openra/my-dedicated.shNow edit /usr/lib/openra/my-dedicated.sh server settings as explained at installation steps.
Make sure you have forwarded the necessary ports for your OpenRA server in your router.
You can look up the address of your Raspberry PI with this command (substitute eth0 as necessary):
ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'sudo su
useradd -d /home/openra -m -s /sbin/nologin openra
cat << EOF > /lib/systemd/system/openra.service
[Unit]
Description=OpenRA dedicated server
After=ssh.service
[Service]
ExecStart=/usr/lib/openra/my-dedicated.sh
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
WorkingDirectory=/usr/lib/openra
User=openra
[Install]
Alias=openra.service
EOF
systemctl daemon-reload
service openra start
service openra statusPlayers ๐ฒ
- FAQ โ
- Installation ๐ฆ
- Hotkeys and Stances ๐ฎ
- Strategies ๐
- RaspberryPi ๐
- Changelog ๐
Modders โ๏ธ
- Audio guide ๐
- Traits ๐
- Palettes and Remaps ๐จ
- World Coordinate System ๐
- Map scripting
- Lua-API ๐
- Actor-Upgrades ๐
- Mapping ๐ง
- Modding Guide
- Pixelart ๐
Developers ๐ง
- Contributing โค๏ธ
- Compiling
- Hacking
- Coding Standard ๐
- Branches and Releases ๐
- Release Checklist โ
- Sequences
- Glossary
- Reverse engineering ๐
- License ยฉ๏ธ
