-
Notifications
You must be signed in to change notification settings - Fork 316
Testing New Engine Releases in BAR
Locate your BAR install folder from the launcher by clicking Open install Directory:
Download the latest testing engine release from: https://github.com/beyond-all-reason/spring/releases
Unzip this engine to BAR/data/engine/[engineversion]/ folder, so it looks like this:
Then, make a config-dev.json file in BAR/data/config-dev.json, and replace the "engines" with the value of the engine field with [engineversion]
{
"title" : "Beyond All Reason",
"setups" : [
{
"package": {
"id": "dev-lobby",
"display": "Dev Lobby"
},
"downloads": {
"engines" : [ "spring_bar_.BAR105.105.1.1-931-g91ee57e_windows-64-minimal-portable" ]
},
"no_start_script" : true,
"no_downloads" : true,
"auto_start": true,
"launch": {
"start_args" : ["--menu", "rapid://byar-chobby:test"]
}
}
]
}
Also, create and empty devmode.txt file in BAR/data/
Then, make a shortcut to Beyond-all-reason.exe:
Then, change where the shortcut points to to:
C:\Users*\AppData\Local\Programs\Beyond-All-Reason\Beyond-All-Reason.exe -c C:/Users/*/AppData/Local/Programs/Beyond-All-Reason/data/config-dev.json
You can then launch the shortcut, which should open up the lobby. Test the features of the new engine by going through the engine testing checklist:
- Test starting skirmish
- Test saving skirmish
- Test loading skirmish
- Sync test online in engine testing autohost (usually engine testing 14)
- Test that barbarians actually do things
- Look for any visual bugs or artefacts
- Scour infolog for unusual warnings
Also, you can only play online on the ENGINE TESTING autohost. If you do not see it, its probably because you need to enable "show wrong engines" in the Developer tab of the Lobby settings (should now be visible with devmode.txt in place)
-
Download newest engine release from https://github.com/beyond-all-reason/spring/releases -- you want the linux64-minimal-portable one.
-
Make a new directory under the engine/ subdirectory within your BAR install and unzip. The directory name can be arbitrary but must be replicated in a couple spots. I use the engine version as the directory name.
Beyond All Reason/engine/ENGINE_DIRECTORY_NAME
- Create a custom configuration file to point to the new engine version. This can be named anything and live anywhere, I put it in the main BAR directory for sanity. The content should be as follows:
{
"title" : "Beyond All Reason",
"setups" : [
{
"package": {
"id": "dev-lobby",
"display": "Dev Lobby"
},
"downloads": {
"engines" : [ "ENGINE_DIRECTORY_NAME" ]
},
"no_start_script" : true,
"no_downloads" : true,
"auto_start": true,
"launch": {
"start_args" : ["--menu", "rapid://byar-chobby:test"]
}
}
]
}
replacing ENGINE_DIRECTORY_NAME with the directory you created in step 2. Not the full path, just the final directory name.
-
Create the file "devmode.txt" in your BAR's root folder.
-
You're all done, now just launch BAR with the launch option -c to specify a config file, and then provide the full path to your custom config file. For me this is:
beyondallreason -c /home/user/Documents/Beyond\ All\ Reason/config-dev.json
You should of course alter this to fit your configuration, and you may want to put this in a script if you don't want to type it out every time you want to run your dev build.
- Same as above -- Test the features of the new engine by going through the engine testing checklist:
- Test starting skirmish
- Test saving skirmish
- Test loading skirmish
- Sync test online in engine testing autohost (usually engine testing 14)
- Test that barbarians actually do things
- Look for any visual bugs or artifacts
- Scour infolog for unusual warnings
Also, you can only play online on the ENGINE TESTING autohost. If you do not see it, its probably because you need to enable "show wrong engines" in the Developer tab of the Lobby settings (should now be visible with devmode.txt in place)