https://github.com/fusion809/openra-mods-builder
Scripts to build OpenRA mods that no longer build due to GeoLite2 issues
https://github.com/fusion809/openra-mods-builder
openra
Last synced: 7 months ago
JSON representation
Scripts to build OpenRA mods that no longer build due to GeoLite2 issues
- Host: GitHub
- URL: https://github.com/fusion809/openra-mods-builder
- Owner: fusion809
- License: gpl-3.0
- Created: 2020-02-11T03:06:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-18T12:51:45.000Z (over 5 years ago)
- Last Synced: 2025-01-27T10:11:29.515Z (8 months ago)
- Topics: openra
- Language: Shell
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
- [Krush Kill n' Destroy](https://github.com/IceReaper/KKnD) — build using [`kknd.sh`](https://github.com/fusion809/openra-mods-builder/blob/master/kknd.sh).
- [Medieval Warfare](https://github.com/CombinE88/Medieval-Warfare) — build using [`mw.sh`](https://github.com/fusion809/openra-mods-builder/blob/master/mw.sh). This script builds an older commit of this mod (namely commit number 258, hash: 3b9d21e), because the later commits do not build properly or their AppImages do not run.
- [Red Alert Plus](https://github.com/MlemandPurrs/raplusmod) — build using [`raplus.sh`](https://github.com/fusion809/openra-mods-builder/blob/master/raplus.sh).
- [Red Alert Unplugged](https://github.com/RAunplugged/uRA) — build using [`ura.sh`](https://github.com/fusion809/openra-mods-builder/blob/master/ura.sh).[`build_mod.sh`](https://github.com/fusion809/openra-mods-builder/blob/master/build_mod.sh) is a more generic mod builder. Usage is:
```bash
./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](https://github.com/OpenRA/OpenRA/wiki/Compiling) 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-utilsBased 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](https://github.com/Divadawm/Fanwars) [building script](https://github.com/fusion809/openra-mods-builder/blob/master/.fanwars.sh) to this repository but it failed to build due to factors outside my control and given [bug reports](https://github.com/Divadawm/Fanwars/issues) 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](https://github.com/fusion809/openra-mods-builder/blob/master/fanwars.log).