GeezerVison is showing github.com — Linux support by JasperGeurtz · Pull Request #73 · JavaBWAPI/JBWAPI
Conversation
JasperGeurtz
commented
Dec 4, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Based on: #64
Compiling and running openbw on linux with client support:
# Download build deps
sudo apt install cmake libsdl2-dev libsdl2-mixer-dev #for ubuntu
# Build openbw with client support
git clone https://github.com/basil-ladder/openbw
git clone -b linux-client-support https://github.com/basil-ladder/bwapi
cd bwapi
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DOPENBW_DIR=../../openbw -DOPENBW_ENABLE_UI=1
make -j4
# Download runtime deps
curl http://www.cs.mun.ca/~dchurchill/starcraftaicomp/files/Starcraft_1161.zip -o starcraft.zip
unzip starcraft.zip patch_rt.mpq BROODAT.MPQ STARDAT.MPQ
mv patch_rt.mpq Patch_rt.mpq && mv BROODAT.MPQ BrooDat.mpq && mv STARDAT.MPQ StarDat.mpq
# Run openbw using the map: Destination 1.1.scx
unzip starcraft.zip "maps/BroodWar/ICCup/ICCup Destination 1.1.scx"
BWAPI_CONFIG_AUTO_MENU__RACE=Terran BWAPI_CONFIG_AUTO_MENU__MAP="maps/BroodWar/ICCup/ICCup Destination 1.1.scx" ./bin/BWAPILauncher
Compiling and running openbw on macos with client support (not working):
brew install cmake sdl2 sdl2_mixer gcc
cmake .. -D CMAKE_C_COMPILER=gcc-11 -D CMAKE_CXX_COMPILER=g++-11 -DCMAKE_BUILD_TYPE=Release -DOPENBW_DIR=../../openbw -DOPENBW_ENABLE_UI=1
make -j4
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Bytekeeper and dgant reacted with heart emoji
dgant reacted with rocket emoji
All reactions
-
❤️
2 reactions
-
🚀
1 reaction
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.