Giter Club home page Giter Club logo

openra's Introduction

OpenRA
OpenRA

This is the snap for OpenRA, "A Libre/Free Real Time Strategy game engine supporting early Westwood classics". It works on Ubuntu, Fedora, Debian, and other major Linux distributions.

Install

sudo snap install openra

Game Data

While the games will work with data automatically and freely downloadable from the Internet, you can also add extra data from the original game discs. This optional step requires the following additional commands to be run before starting the game to allow it to access the CDROM/DVD drive.

sudo snap connect openra:mount-observe
sudo snap connect openra:removable-media

(Don't have snapd installed?)

Published for with ๐Ÿ’ by Snapcrafters

Starting the game

There are three games included with this engine:

  • Command & Conquer Tiberian Dawn
  • Command & Conquer Red Alert
  • Dune 2000

Each of these can be launched from their icon in your desktop environment menu and via the following commands:

Either /snap/bin/<command> or snap run <command>. Where <command> is the name of the command from below.

  • Command & Conquer Tiberian Dawn: openra.cnc
  • Command & Conquer Red Alert: openra.ra
  • Dune 2000: openra.d2k

Screenshots

Remaining tasks

Snapcrafters (join us) are working to land snap install documentation and the snapcraft.yaml upstream so OpenRA can authoritatively publish future releases.

  • Fork the Snapcrafters template repository to your own GitHub account.
    • If you have already forked the Snapcrafter template to your account and want to create another snap, you'll need to use GitHub's Import repository feature because you can only fork a repository once.
  • Rename the forked Snapcrafters template repository
  • Update logos and references to [Project] and [my-snap-name]
  • Create a snap that runs in devmode
  • Register the snap in the store, using the preferred upstream name
  • Add a screenshot to this README.md
  • Publish the devmode snap in the Snap store edge channel
  • Add install instructions to this README.md
  • Update snap store metadata, icons and screenshots
  • Convert the snap to strict confinement, or classic confinement if it qualifies
  • Publish the confined snap in the Snap store beta channel
  • Update the install instructions in this README.md
  • Post a call for testing on the Snapcraft Forum - link
  • Ask a Snapcrafters admin to fork your repo into github.com/snapcrafters, transfer the snap name from you to snapcrafters, and configure the repo for automatic publishing into edge on commit
  • Add the provided Snapcraft build badge to this README.md
  • Publish the snap in the Snap store stable channel
  • Update the install instructions in this README.md
  • Post an announcement in the Snapcraft Forum - link
  • Submit a pull request or patch upstream that adds snap install documentation - link
  • Submit a pull request or patch upstream that adds the snapcraft.yaml and any required assets/launchers - link
  • Add upstream contact information to the README.md
  • If upstream accept the PR:
    • Request upstream create a Snap store account
    • Contact the Snap Advocacy team to request the snap be transferred to upstream
  • Ask the Snap Advocacy team to celebrate the snap - link

If you have any questions, post in the Snapcraft forum.

The Snapcrafters

Daniel Llewellyn
Daniel Llewellyn

openra's People

Contributors

evandandrea avatar flexiondotorg avatar fransik avatar lucyllewy avatar tobhe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

openra's Issues

stable 20190314 2019-03-15 (89) does not start

ubuntu 16.04 with unity7 / intel graphics

$ openra.ra
Platform is Linux
Engine version is release-20190314
Using SDL 2 with OpenGL renderer
Desktop resolution: 1920x1080
No custom resolution provided, using desktop resolution
Using resolution: 1920x1080
Using window scale 1.00
Exception of type `System.InvalidOperationException`: Can not create OpenGL context. (Error: Invalid window)
  at OpenRA.Platforms.Default.Sdl2GraphicsContext.InitializeOpenGL () [0x00066] in <a4debf887ee14158b13d4169d50b2963>:0 
  at OpenRA.Platforms.Default.ThreadedGraphicsContext.RenderThread (System.Object contextObject) [0x0002d] in <a4debf887ee14158b13d4169d50b2963>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x0002c] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Threading.ThreadHelper.ThreadStart (System.Object obj) [0x00012] in <8f2c484307284b51944a1a13a14c0266>:0 

[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Can not create OpenGL context. (Error: Invalid window)
  at OpenRA.Platforms.Default.Sdl2GraphicsContext.InitializeOpenGL () [0x00066] in <a4debf887ee14158b13d4169d50b2963>:0 
  at OpenRA.Platforms.Default.ThreadedGraphicsContext.RenderThread (System.Object contextObject) [0x0002d] in <a4debf887ee14158b13d4169d50b2963>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x0002c] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Threading.ThreadHelper.ThreadStart (System.Object obj) [0x00012] in <8f2c484307284b51944a1a13a14c0266>:0 
Red Alert has encountered a fatal error.
Please refer to the crash logs and FAQ for more information.

Log files are located in ~/.openra/Logs
The FAQ is available at http://wiki.openra.net/FAQ

[Enhancement]: Please update to new release

What changes would you like?

New release 20230225

There has been a new release since 25th of February 2023. Please update the snap to new release.

Any extra information?

No response

openra stable/edge: doesn't start

openra edge: 20180307 (41) doesn't start

openra
Platform is Linux
Engine version is {DEV_VERSION}
Using SDL 2 with OpenGL renderer
Desktop resolution: 1920x1080
No custom resolution provided, using desktop resolution
Using resolution: 1920x1080
Using window scale 1.00
OpenGL version: 3.0 Mesa 17.2.8
Using default sound device
Internal mods:
cnc: Tiberian Dawn ({DEV_VERSION})
d2k: Dune 2000 ({DEV_VERSION})
modcontent: Mod Content Manager ({DEV_VERSION})
ra: Red Alert ({DEV_VERSION})
External mods:
Exception of type System.InvalidOperationException: Game.Mod argument missing.
at OpenRA.Game.InitializeMod (System.String mod, OpenRA.Arguments args) <0x417d1200 + 0x00983> in :0
at OpenRA.Game.Initialize (OpenRA.Arguments args) <0x41752bc0 + 0x00fff> in :0
at OpenRA.Game.InitializeAndRun (System.String[] args) <0x41738d80 + 0x00037> in :0
at OpenRA.Program.Main (System.String[] args) <0x41737e10 + 0x000db> in :0

AL lib: (WW) FreeContext: (0x4105970) Deleting 32 Source(s)

Please add the newest playtest version

When I check the version of the snap I get:

channels:
latest/stable: 20191117 2020-01-24 (183) 69MB -
latest/candidate: โ†‘
latest/beta: โ†‘
latest/edge: 20200202 2020-02-21 (207) 70MB -

Which is kind of wrong becasue 20200202 is the latest stable release of OpenRA. I think that under edge channel should be the latest Playtest version (currently 20200303).

So if it is possible please update the snap packages.

No network

Both the Internet download of the game data as well as connecting to another server do not work.

The game data download reports "no DNS"

When I install the game data manually - which should be documented as well that you need to put it into

~/snap/openra/1327/.config/openra/

The lobby is empty.

Using "Direct IP" reports that it cannot connect to the local server in the same network.

How can I enable networking in the snap?

20180307 is out

Hi,

I suggest bumping to 20180307, the latest releases.

Thanks for your time,
Brenton

[Enhancement]: INI Files

What changes would you like?

Is there a way to customize the game using Rules.ini files like in the original with the Snap release? It seems that, we lose the ability to use these files to tailor the game when using Snap.

Any extra information?

No response

apparmor denies

It looks like the Apparmor rules need a tweek:

Nov 22 03:43:37 ken kernel: [23400.926843] audit: type=1400 audit(1511322217.267:80): apparmor="DENIED" operation="mknod" profile="snap.openra.ra" name="/dev/shm/mono.20414" pid=20414 comm="mono-sgen" requested_mask="c" denied_mask="c" fsuid=1001 ouid=1001
Nov 22 03:43:45 ken kernel: [23408.736306] audit: type=1400 audit(1511322225.079:81): apparmor="DENIED" operation="open" profile="snap.openra.ra" name="/etc/openal/alsoft.conf" pid=20414 comm="mono-sgen" requested_mask="r" denied_mask="r" fsuid=1001 ouid=0
Nov 22 03:43:46 ken kernel: [23409.757646] audit: type=1400 audit(1511322226.099:82): apparmor="DENIED" operation="open" profile="snap.openra.ra" name="/sys/devices/virtual/net/lo/operstate" pid=20414 comm="mono-sgen" requested_mask="r" denied_mask="r" fsuid=1001 ouid=0
Nov 22 03:43:46 ken kernel: [23409.762297] audit: type=1400 audit(1511322226.103:83): apparmor="DENIED" operation="open" profile="snap.openra.ra" name="/sys/devices/virtual/net/lo/operstate" pid=20414 comm="mono-sgen" requested_mask="r" denied_mask="r" fsuid=1001 ouid=0
Nov 22 03:43:46 ken kernel: [23409.879775] audit: type=1400 audit(1511322226.219:84): apparmor="DENIED" operation="open" profile="snap.openra.ra" name="/sys/devices/pci0000:00/0000:00:1e.0/0000:02:02.0/net/eth2/operstate" pid=20414 comm="mono-sgen" requested_mask="r" denied_mask="r" fsuid=1001 ouid=0
Nov 22 03:43:46 ken kernel: [23409.880879] audit: type=1400 audit(1511322226.223:85): apparmor="DENIED" operation="open" profile="snap.openra.ra" name="/sys/devices/pci0000:00/0000:00:1e.0/0000:02:02.0/net/eth2/operstate" pid=20414 comm="mono-sgen" requested_mask="r" denied_mask="r" fsuid=1001 ouid=0
Nov 22 03:43:47 ken kernel: [23411.050861] audit: type=1400 audit(1511322227.392:86): apparmor="DENIED" operation="chmod" profile="snap.openra.ra" name="/var/cache/fontconfig/" pid=20414 comm="mono-sgen" requested_mask="w" denied_mask="w" fsuid=1001 ouid=0
Nov 22 03:43:47 ken kernel: [23411.079969] audit: type=1400 audit(1511322227.420:87): apparmor="DENIED" operation="chmod" profile="snap.openra.ra" name="/var/cache/fontconfig/" pid=20414 comm="mono-sgen" requested_mask="w" denied_mask="w" fsuid=1001 ouid=0
Nov 22 03:43:48 ken kernel: [23411.896608] audit: type=1400 audit(1511322228.240:88): apparmor="DENIED" operation="chmod" profile="snap.openra.ra" name="/var/cache/fontconfig/" pid=20414 comm="mono-sgen" requested_mask="w" denied_mask="w" fsuid=1001 ouid=0

Unable to download OpenRA files

I've been unable to download OpenRA files with Snap revision 1294 (release-20200503) for Raspberry Pi. I keep getting a DNS lookup failure.

Heads up, next release will use the Roslyn compiler

Hi,

In case you're not aware, the next release of OpenRA will use a different compiler, requiring Mono 5.10 or later (preferably 5.12 or later) and MSBuild. I'm surprised this package has no additional channels, like a bleeding-edge channel providing builds from the latest commits, but I suppose they come out quite frequently, so it might not be feasible. Such a channel might be a helpful temporary measure, as a way to test build the later Roslyn-using commits.

Hope this helps

Launch mods using the openra-* wrapper scripts

The current launch commands call OpenRA.Game.exe directly rather than the openra-<mod> launchers. This isn't ideal, as users miss out on the crash info dialog if something goes wrong.

The openra launcher (snapcraft.yaml#L19) also will not work for release-20171014 and later, and will immediately crash with an error like #4.

Great job packaging OpenRA, btw!

missing lib on arm64 (Ubuntu Desktop for RaspPi)

Snap install fails with below error message (I tried stable and edge version):

error: cannot perform the following tasks:

  • Run install hook of "openra" snap if present (run hook "install": /snap/openra/1361/usr/bin/mono: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory)

20181215 is out

Hi,

release-20181215 is out, you may wish to bump this snap accordingly.

Thanks for your time,
Brenton

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.