Skip to content

Scripts to build OpenRA mods that no longer build due to GeoLite2 issues

License

Notifications You must be signed in to change notification settings

fusion809/openra-mods-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenRA mods builder

This repository has scripts to make building unofficial mods of OpenRA that are no longer under active development or maintenance by their developers easier on Linux. They build an AppImage and place it in this repository.

Recently, MaxMind—which provided the GeoLite2-Country.mmdb.gz file for download—decided to only allow manual downloads of this file, not automatic, the later of which the build scripts of OpenRA's engine previously relied upon. The engine's build scripts have since been updated so that this file is no longer required, but many mods that have not received regular maintenance or development in a while are now impossible to build without some patching of the build scripts. This repository provides those patches and incorporates it into an automated build system of AppImages for these mods. You will need to manually download the GeoLite2-Country.mmdb.gz file from MaxMind, however, see https://dev.maxmind.com/geoip/geoip2/geolite2/ for further information.

Beware that some of these mods had their SDK last updated before the AppImages started to incorporate their own Mono runtime, and hence they may not run without a Mono runtime installed on your host machine.

Mods currently supported by this repository include:

build_mod.sh is a more generic mod builder. Usage is:

./build_mod.sh owner name commit

owner: is the owner of the GitHub repository of the mod.

name: is the name of the GitHub repository of the mod.

commit: is the hash of the latest commit of the mod that builds and runs successfully on Linux.

For examples on its usage see the mod-specific scripts in this repository, as they use build_mod.sh.

Dependencies of these scripts

Per the compiling page at OpenRA's official repository the following programs are required in order to build the game engine itself:

  • Mono
  • SDL 2
  • Lua 5.1
  • FreeType
  • Make
  • OpenAL
  • cURL or wget
  • unzip
  • xdg-utils

Based on the Travis CI file of the OpenRA repository I would imagine genisoimage and fakeroot are also required to build the AppImage itself. Additionally the scripts themselves require bash's binary to be either present at /bin/bash or symlinked to it, and for patch and git to be within the system PATH.

Failed attempts

I did add a Fanwars building script to this repository but it failed to build due to factors outside my control and given bug reports have been ignored by its maintainer in the past, I didn't see much point requesting a fix to this issue. To see the build error I received see fanwars.log.

About

Scripts to build OpenRA mods that no longer build due to GeoLite2 issues

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages