Skip to content

beyond-all-reason/Beyond-All-Reason

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6b6f123 · Apr 1, 2025
Mar 27, 2025
Feb 8, 2022
Feb 5, 2025
Mar 31, 2025
Feb 12, 2025
Oct 23, 2024
Jan 14, 2025
Mar 27, 2025
Mar 27, 2025
Mar 31, 2025
Mar 31, 2025
Mar 31, 2025
Mar 31, 2025
Mar 5, 2025
Mar 5, 2025
Mar 5, 2025
Mar 20, 2025
Mar 31, 2025
Mar 31, 2025
Apr 1, 2025
Mar 31, 2025
Jan 2, 2025
May 4, 2021
May 27, 2024
Feb 27, 2025
Dec 12, 2024
Mar 31, 2025
Mar 23, 2025
Mar 27, 2025
Mar 31, 2025
Mar 20, 2025
Mar 23, 2025
Mar 17, 2025
Oct 11, 2016
Apr 30, 2024
Mar 23, 2025
Mar 20, 2023
Mar 31, 2025
Nov 16, 2020
Jan 26, 2020
May 12, 2023
Mar 23, 2025
Mar 23, 2025
Jan 16, 2023
Jan 2, 2025
May 24, 2024
Nov 3, 2022
Oct 7, 2020
Mar 31, 2025
May 24, 2024
Oct 7, 2020
Mar 19, 2024
Aug 31, 2021
Oct 13, 2019
Mar 31, 2025
Mar 23, 2025

Repository files navigation

Beyond-All-Reason

Discord

Open source RTS game built on top of the Recoil RTS Engine

Where to download

https://www.beyondallreason.info/download

How to play

https://www.beyondallreason.info/guides

Development Quick Start

Beyond All Reason (BAR), consists of 2 primary components, the lobby (Chobby - https://github.com/beyond-all-reason/BYAR-Chobby) and the game code itself (this repository).

The game runs on top of the Recoil engine https://github.com/beyond-all-reason/spring.

In order to develop the game (this repository) you first need a working install of the lobby/launcher. There are 2 ways to do this:

  1. Download the full BAR application from the website and run it. This is probably what you will have done if you have previously installed and played the game.

  2. OR if you want to develop the lobby client, follow the guide in the Chobby README. First download a release of Chobby and then launch Chobby, this will automatically download and install the engine and other dependencies.

Once you have a working install of BAR you need a local development copy of the game code to work with. This code will live in the BAR install directory.

  1. To find the BAR install directory simply open the launcher (not full game) and click the "Open install directory" button. This is one of the 3 buttons (Toggle log and Upload log are the other 2). For Windows installs this might be your user's AppData/Local/Programs/Beyond-All-Reason/data directory.

  2. In the BAR install directory create the empty file devmode.txt. E.g: AppData/Local/Programs/Beyond-All-Reason/data/devmode.txt

  3. In the BAR install directory in the data folder in the games sub-directory (create games if it doesn't exist) clone the code for this repository into a directory with a name ending in .sdd. For example:

git clone --recurse-submodules https://github.com/beyond-all-reason/Beyond-All-Reason.git BAR.sdd

Ensure that you have the correct path by looking for the file Beyond-All-Reason/data/games/BAR.sdd/modinfo.lua

  1. Now you have the game code launch the full game from the launcher as normal. Then go to Settings > Developer > Singleplayer and select Beyond All Reason Dev.

  2. Now you can launch a match normally through the game UI. This match will use the dev copy of the LUA code which is in BAR-install-directory/data/games/BAR.sdd.

  3. If developing Chobby also clone the code into the games directory. Follow the guide in the Chobby README.

More on the .sdd directory to run raw LUA and the structure expected by Spring Engine is documented here.