Package Details: openra-git 20220709.ga03e794140-1

Git Clone URL: https://aur.archlinux.org/openra-git.git (read-only, click to copy)
Package Base: openra-git
Description: An open-source implementation of the Red Alert engine using .NET/Mono and OpenGL. -GIT VERSION
Upstream URL: http://www.openra.net
Licenses: GPL3
Conflicts: openra
Provides: openra
Submitter: EndlessEden
Maintainer: EndlessEden
Last Packager: EndlessEden
Votes: 5
Popularity: 0.000000
First Submitted: 2015-12-24 06:08 (UTC)
Last Updated: 2022-07-08 17:47 (UTC)

Pinned Comments

EndlessEden commented on 2021-08-21 04:03 (UTC)

Major Update: PKGBUILD mostly rewritten, earlier references to D2/R2 mods removed. Dependencies updated/fixed alongside optional dependancies including all known Openra mods.

NOTE: PKGBUILD now packages a copy of the source code at the time of building into /usr/lib/openra/src/; This is for building mods against and it is /not/ a mistake. Mods are built against a client version and /only/ work with that version. So without it, you would need to rebuild openra-git and all mods built against it every time you want to install a new mod. - However, this means a increase in install/package size by about 40%.

EndlessEden commented on 2017-08-16 00:13 (UTC) (edited on 2020-07-30 06:05 (UTC) by EndlessEden)

Updated: Fixed the removal of "make dependencies" upstream;

will be removing old entries for RA2/D2 soon, as building against upstream is not possible as RA2/D2 are lagging behind too much in updating their engine compatibility.

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

EndlessEden commented on 2020-09-21 09:09 (UTC)

Updated: Fixed Description, updated pkgver, added optional depends.

@fusion809: Upon much consideration, i added your packages openra-ra2-git and openra-d2-git to optional depends. I will cleanup trailing ra2/d2 references from PKGBUILD in the future. Thank you for your contributions.

EndlessEden commented on 2019-07-14 01:22 (UTC) (edited on 2019-07-14 01:58 (UTC) by EndlessEden)

@fusion809: Sorry, ive been exceptionally busy IRL. Havent had time to work on anything. Currently my only working workstation Arch installation is on a experimental WSL. I will attempt to update this, but i cant get Roslyn to compile yet, to test what changes need to be made (Why couldn't they just test the environment and choose mono-roslyn or just mono if roslyn is not present...) - !Ive managed to get msbuild from a debian repo to work, not ideal but given the state of things, it was better than not fixing this...!

I was considering adding TBSun, but i havent had the time to contribute to this yet and test that R2 is still working. Again, i only included them as they will be included in the future anyways. - !NOTE: Ive had to temporarily disable R2, as im currently having difficulty getting it to build alongside upstream code. Due to a incompatibility with the version of .net it chooses (4.5 vs 4.6), i will review further, but any help would drastically speed up the process.

@Arthur2e5: I removed D2, as its already has a package here thats working (openra-d2-git). i didnt want to tread on others feet, more so when im barely maintaining this. Again, i will accept co-maintainers. i just cant dedicate much time to my packages at this time.

I will look into the patch suggestion you made, after i get a working build environment. (Note: there suggestion of using the modsdk, locks the version at the current "Stable" branch. which defeats the purpose of including it in this package. Libraries built against stable do not work with BLEED branch binaries. Ive experimented with this in the past, and its why i included D2/RA2 in the first place.) - !NOTE: as with above, i cant get it to build with current changes to the build system. I really dont have time to debug it, but its related to calling a different version of .net(4.6) than the version used to build the engine (4.5). i dont know how to specify this or restrict it. Any help would be greatly appreciated, as it will take me weeks to dig up how.

fusion809 commented on 2019-05-12 19:58 (UTC)

You may wish to update this PKGBUILD, as their build system has been updated, they now use the Roslyn compiler.

Arthur2e5 commented on 2019-04-23 06:48 (UTC)

@fusion809: ts is always built (i think), you just need to pass Game.Mod=ts to the main program. There is a ./launch-game.sh script in the game that gives you a zenity UI for that.


@EndlessEden: They changed the structure for D2 a bit. Every config and resource to be put in mods/d2 is now in the mods/d2 folder under the D2 tree, so a simple cp -rf will do. It's similar to how they arrange the ra2 tree now. (Oh lcronos mentioned it already)

Also, you may want to pop in 3 lines of patches for d2 and ra2 into the zenity launcher script. I opened https://github.com/OpenRA/OpenRA/issues/16439 to maybe make the shortcuts/mimefiles/etc more friendly for mod addition, but don't count on me to finish the TODO.

fusion809 commented on 2019-03-26 16:54 (UTC)

OK, if you want a mod that's experimental and will become a mainstream mod distributed with the others when ready what about Tiberian Sun? It is provided by the OpenRA repo too so it'll be especially easy to provide in this package.

EndlessEden commented on 2019-03-23 23:29 (UTC)

@fusion809: I wouldnt recommend splitting the packages (1: Build Req's, 2: it will be merged into openra when finished anyways)

I do have a updated and working pkgbuild, but no free-time to push it upstream. ill attempt later today.

fusion809 commented on 2019-03-23 11:11 (UTC) (edited on 2019-03-23 11:29 (UTC) by fusion809)

Might I propose that d2 and ra2 be separated into separate packages? I'd be willing to maintain this package and I've created openra-d2-git and openra-ra2-git packages https://aur.archlinux.org/packages/openra-d2-git, https://aur.archlinux.org/packages/openra-ra2-git. After all, splitting it up gives users more freedom, to decide what they install and what they don't.

lcronos commented on 2018-11-18 17:38 (UTC) (edited on 2018-11-18 17:49 (UTC) by lcronos)

@Enverex That can be fixed by changing the PKGBUILD. At the very bottom, where it copies the D2 mod files over, comment all but the first copy command, then add one that looks like the 2nd one from the ra2 section above.

 ### adding DuneII to OpenRA
  if [ ! -d $pkgdir/usr/lib/openra/mods/d2 ]; then
  mkdir $pkgdir/usr/lib/openra/mods/d2
  fi
  cp -rf $srcdir/D2/OpenRA.Mods*  $pkgdir/usr/lib/openra/mods/d2 
  cp -rf $srcdir/D2/mods/d2 $pkgdir/usr/lib/openra/mods/d2

That said, I have not been able to actually run the mods from the installed launcher. I can get both games to launch from src/D2/launch-game.sh and src/RA2/launch-game.sh.

For Dune2 you will need to download a copy of Dune2 from somewhere (it's freeware, so not hard to find) and copy over the .PAK files mentioned here into ~/.openra/Content/d2

Enverex commented on 2018-05-22 22:54 (UTC)

Looks like something may have changed with the Dune 2 content as it now fails to package:

cp: cannot stat '/var/tmp/makepkg/openra-git/src/D2/*.yaml': No such file or directory

fusion809 commented on 2018-04-16 19:19 (UTC)

I get this error:

Updating GeoIP country database from MaxMind. <br> Detected Lua 5.1 library at /lib/liblua.so.5.1.5 <br> Eluant.dll.config has been created successfully. <br> CSC fixheader.exe

Unhandled Exception: <br> System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationE xception: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542 <br> at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00028] in <0cc37f4786fa491387f4cb0ad6d68b 47>:0 <br> at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> at System.TermInfoDriver..ctor (System.String term) [0x00055] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> at System.ConsoleDriver..cctor () [0x0004d] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> --- End of inner exception stack trace --- <br> at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <0cc37f47 86fa491387f4cb0ad6d68b47>:0 <br> at System.Console..cctor () [0x0008e] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> --- End of inner exception stack trace --- <br> at Mono.CSharp.Driver.Main (System.String[] args) [0x00019] in <d2122ab568134220b5e8e0ee403c7d6d>:0 <br> [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an excepti on. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exce ption: Magic number is wrong: 542 <br> at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00028] in <0cc37f4786fa491387f4cb0ad6d68b 47>:0 <br> at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> at System.TermInfoDriver..ctor (System.String term) [0x00055] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> at System.ConsoleDriver..cctor () [0x0004d] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> --- End of inner exception stack trace --- <br> at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <0cc37f47 86fa491387f4cb0ad6d68b47>:0 <br> at System.Console..cctor () [0x0008e] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 <br> --- End of inner exception stack trace --- <br> at Mono.CSharp.Driver.Main (System.String[] args) [0x00019] in <d2122ab568134220b5e8e0ee403c7d6d>:0 <br> make: *** [Makefile:259: fixheader.exe] Error 1 </d2122ab568134220b5e8e0ee403c7d6d></d2122ab568134220b5e8e0ee403c7d6d>