A simple debug launcher for testing engines, lobbies and games, and for playing replays.
Copy the bar_demo_debug_launcher.exe
and bar-icon.ico
from this repository next to wherever your Beyond-All-Reason.exe is
Right click any replay in your BAR/data/demos folder, and and set the "Open With" to "bar_demo_debug_launcher.exe". You can now double-click any replay and it should download all that is needed and start the replay!.
Click the "Open and launch a replay" button, select it, and it should be loaded.
Watching replays and loading savegames in a specific engine version without opening new engine windows.
- Select the engine version you wish to use.
- Use Spring-launcher with rapid://byar-chobby:test
- Click start with the above selected settings
- Make sure you have git cloned https://github.com/beyond-all-reason/BYAR-Chobby into BAR/data/games/BYAR-Chobby.sdd
- Select the engine version you want to use
- Select BYAR Chobby $VERSION as the game/menu you want to run
- Click start with the above selected settings
Note that you wont have automatic downloads of game updates and maps in this mode!
- Make sure you have git cloned https://github.com/beyond-all-reason/Beyond-All-Reason into BAR/data/games/BAR.sdd
- Select the engine version you want to use
- Select the game/menu Beyond All Reason $VERSION
- Click start with the above selected settings
- Select the engine version you want to use
- Select the game/menu rapid://byar:test
- Select the map you want from the dropdown, if it doesnt appear, choose your own once ingame.
- Choose your map in the engine splash screen, if you didnt choose above
Same as testing and developing the BAR game, but you can can specify a list of modoptions in the Additinoal modoptions field.
All engines should go into bar/data/engine/
Each into their own subfolder
They will then appear in the engine selector dropdown in the BAR debug launcher
- Select all the options you want
- Copy paste the generated command line into your IDE
Use the BAR_Demo_Debug_Launcher_console.exe to get a console, open a ticket for any bug you may find.
Exe is built without a console: pyinstaller --onefile --icon=bar-icon.ico --noconsole BAR_Debug_Launcher.py