GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Linux support by JasperGeurtz · Pull Request #73 · JavaBWAPI/JBWAPI

Conversation

@JasperGeurtz

@JasperGeurtz JasperGeurtz commented Dec 4, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

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
@JasperGeurtz
JasperGeurtz force-pushed the linux-support branch 13 times, most recently from 87e7966 to 4742c99 Compare December 4, 2021 17:18
JasperGeurtz added 11 commits April 13, 2022 07:23
@JasperGeurtz
upgrade dependencies in pom
b127dcf
@JasperGeurtz
try using github actions
f432c56
@JasperGeurtz
start porting CI workflows to Github Actions
8ca0f1e
@JasperGeurtz
try porting the old travis test to github actions
492598c
@JasperGeurtz
try different java versions
e3abe79
@JasperGeurtz
Merge changes from https://github.com/JavaBWAPI/JBWAPI/pull/64/commits
77a6e21
@JasperGeurtz
remove travis.yml
8166fef
@JasperGeurtz
test out e2e-linux
6aebb10
@JasperGeurtz
run java bots
856fe95
@JasperGeurtz
add check that Marinehell actually started
9df4e73
@JasperGeurtz
update readme to mention linux support
bd02119
@JasperGeurtz
JasperGeurtz force-pushed the linux-support branch from 435ce7b to bd02119 Compare April 13, 2022 05:27
JasperGeurtz added 2 commits April 13, 2022 07:47
@JasperGeurtz
more documentation
e0cd2e4
@JasperGeurtz
disable e2e test for now
58cf01e
@JasperGeurtz
JasperGeurtz merged commit 44858ae into develop Apr 13, 2022
@JasperGeurtz JasperGeurtz mentioned this pull request Apr 13, 2022
Linux client #64
Closed
@JasperGeurtz
JasperGeurtz deleted the linux-support branch May 23, 2022 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

1 participant

@JasperGeurtz
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.