• Stars
    star
    1,712
  • Rank 27,262 (Top 0.6 %)
  • Language
    Lua
  • License
    Other
  • Created over 5 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Main game repository for Beyond All Reason.

Beyond-All-Reason

Discord

Open source RTS game built on top of the Spring 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 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.

More Repositories

1

spring

A powerful free cross-platform RTS game engine
C++
214
star
2

BYAR-Chobby

Currently used legacy lobby for BAR, for the new lobby development see https://github.com/beyond-all-reason/bar-lobby
Lua
59
star
3

teiserver

Middleware server for online gaming
Elixir
55
star
4

bar-lobby

BAR Lobby Client
Vue
35
star
5

tachyon

Client-Server protocol used by BAR
TypeScript
8
star
6

spads_config_bar

The Spring Perl Autohost Dedicated Server Configuration files for BAR
Perl
6
star
7

lore

Lore, backstory, campaign plans and the like
4
star
8

OBJ2S3O

Tools to convert Spring S3O models to OBJ format and back. Also, for baking Ambient Occlusion stuff.
Python
4
star
9

maps-metadata

Repository holding metadata about maps used in the game.
TypeScript
4
star
10

BARScriptCompiler

For compiling animation scripts
Python
3
star
11

bar-db

Database and data processing service for the RTS game Beyond All Reason
TypeScript
3
star
12

map-parser

Parse Spring maps into typed JS objects
TypeScript
3
star
13

rfcs

RFCs for changes to BAR
2
star
14

support

Jupyter Notebook
2
star
15

bar_debug_launcher

A simple debug launcher for testing engines, lobbies and games
Python
2
star
16

demo-parser

Parser for SpringRTS .sdfz demo files
TypeScript
2
star
17

bar-autohost

el_barto making an autohost
Rust
2
star
18

balance_algorithm

Elixir
2
star
19

bar-live-services

Vue
2
star
20

mapfeatures

Contains map features certified to work well on Beyond All Reason maps with the Recoil RTS engine
Lua
1
star
21

recoil-autohost

TypeScript
1
star
22

BARbarIAn

Native AI for BAR
AngelScript
1
star
23

tachyon-client

TypeScript
1
star
24

infrastructure

Documentation and issue tracking for BAR Infrastructure.
1
star
25

data-processing

SQL pipelines for processing BAR data
Shell
1
star
26

ZBStudioAPI

Contains the Lua stubs for autocompletion in ZeroBrane Studio LUA IDE for the Spring Engine and BAR
Lua
1
star