How do I install OpenRA on Fedora Linux 19?

It returns an error message saying freetype2 is required.

Discussion about the game and its default mods.
Post Reply
deniz1a
Posts: 31
Joined: Thu Jan 16, 2014 2:21 pm

How do I install OpenRA on Fedora Linux 19?

Post by deniz1a »

Hello;

Even though Fedora logo is shown on the download page, OpenRA doesn't install on Fedora 19. The package installer returns an error saying "openra-release.20131223-1.noarch requires freetype2". I already installed freetype package. But it's called freetype and not freetype2 on Fedora. How can I change this dependency requirement? Has anyone managed to install it on Fedora?

I compiled the game from source and it runs fine but this time I don't see any online games listed that I can join. And it says developer version on the top right below the OpenRA logo. When I click incompatible checkbox, online games are shown but I can't join any of them.

Also as a seperate issue, I installed OpenRA on Windows 7 and it crashes while launching the game. It still crashes after I installed the latest version of .Net framework. Is there something special that I need to do to run it on Windows 7?

Thanks for your help,
Deniz

ihptru
Posts: 49
Joined: Mon Apr 04, 2011 6:56 pm

Post by ihptru »

1) It's known that RPM packages are still broken on Fedora Linux. It asks for 'freetype2' when it have to for 'freetype'. Should be fixed soon.

2) If you compiled from source and have a {DEV_VERSION} shown as version tag, you have to manually edit file "mods/<modname>/mod.yaml" file in your OpenRA source tree. You will see something like "Version: {DEV_VERSION}" somewhere close to top of that file. You need to edit it to "Version: release-20131223" if it's release version. Action is required for every mod.

3) As about crash on Windows 7, I do not personally have magical abilities so it's required to see a content of exception.log file first, if it has anything there. The path to this file should look about like that: "My Documents\OpenRA\Logs\exception.log"

User avatar
Sleipnir
Posts: 878
Joined: Wed Apr 10, 2002 11:52 pm
Contact:

Post by Sleipnir »

We recommend running `make version` instead of manually editing the mod files. This ensures that you don't accidentally claim to be running a version that you aren't, which would cause a desync error once the game starts.

Matt
Posts: 1155
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »

The Fedora breakage is my fault when I fixed it for SUSE. If you want to maintain a downstream RPM built in the official Fedora repos have a look at https://build.opensuse.org/package/view ... c?expand=1 which you can use as a template.

Matt
Posts: 1155
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »

See https://github.com/OpenRA/OpenRA/pull/4470 I hope you can still install the RPM. Just ignore the broken dependency. Yast2 has a checkbox "install anyway" when a dependency can't get satisfied. People usually have Freetype2 installed already.

deniz1a
Posts: 31
Joined: Thu Jan 16, 2014 2:21 pm

Post by deniz1a »

Thank you, I changed the version in mod.yaml and now I can join online matches. The only issue I have is that it often freezes while in online game lobby.

Matt
Posts: 1155
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »

http://openra.res0l.net/assets/download ... noarch.rpm

Can you please try this test build and tell me if it installs on Fedora 19? https://github.com/OpenRA/OpenRA/pull/4592

deniz1a
Posts: 31
Joined: Thu Jan 16, 2014 2:21 pm

Post by deniz1a »

I installed openra-rpmsdl2.20140212-1.noarch.rpm on Fedora 19. The game installs and works fine. But after about 10 minutes of singleplayer match it crashed. Here are the contents of exception.log:

Red Alert Mod at Version git-ba5e835
Operating System: Linux (Unix 3.10.10.200)
Runtime Version: Mono 2.10.8 (tarball Sat Feb 16 11:51:56 UTC 2013) CLR 2.0.50727.1433
Exception of type `System.InvalidOperationException`: Actor does not have trait of type `OpenRA.Traits.IMove`
at OpenRA.TraitDictionary+TraitContainer`1[OpenRA.Traits.IMove].Get (UInt32 actor) [0x00000] in <filename unknown>:0
at OpenRA.TraitDictionary.Get[IMove] (OpenRA.Actor actor) [0x00000] in <filename unknown>:0
at OpenRA.Actor.Trait[IMove] () [0x00000] in <filename unknown>:0
at OpenRA.Mods.RA.Move.Drag.Tick (OpenRA.Actor self) [0x00000] in <filename unknown>:0
at OpenRA.Traits.Util.RunActivity (OpenRA.Actor self, OpenRA.Traits.Activity act) [0x00000] in <filename unknown>:0
at OpenRA.Actor.Tick () [0x00000] in <filename unknown>:0
at OpenRA.World.Tick () [0x00000] in <filename unknown>:0
at OpenRA.Game.TickInner (OpenRA.Network.OrderManager orderManager) [0x00000] in <filename unknown>:0
at OpenRA.Game.Tick (OpenRA.Network.OrderManager orderManager) [0x00000] in <filename unknown>:0
at OpenRA.Game.Run () [0x00000] in <filename unknown>:0
at OpenRA.Program.Run (System.String[] args) [0x00000] in <filename unknown>:0
at OpenRA.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

ddd
Posts: 272
Joined: Sat Oct 23, 2010 5:04 pm

Post by ddd »

Report it on http://bugs.open-ra.org . It can be faulty map.

Temeez
Posts: 4
Joined: Sun Feb 09, 2014 9:25 am

Post by Temeez »

deniz1a wrote: Runtime Version: Mono 2.10.8 (tarball Sat Feb 16 11:51:56 UTC 2013) CLR 2.0.50727.1433
Try installing newer mono! 3.2.6 is the newest version.

Matt
Posts: 1155
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »

No, it was a bug in that unstable development version I fixed in https://github.com/OpenRA/OpenRA/pull/4611 6 days ago, but the RPM fix was done 7 days ago and I did not rebase, because I only cared for the packaging dependencies here nothing else.

Post Reply