Here's what I did on a otherwise clean Ubuntu 16.04 desktop install:
1. apt-get install libsdl2-2.0-0 libsdl2-dev git vim cmake gcc make build-essential
2. the install-section from the repo: https://github.com/OpenBW/bwapi#build--install
3. copied the mpq files to the bin/ folder:
Code: Select all
md5sum *.mpq
5c435893f2474a09ee358f43899fac8c BrooDat.mpq
6c132d84cb4758e3dc1135f0f9af74cf Patch_rt.mpq
bcfa0ce1e93245de5cfd398f0b8c5b54 StarDat.mpq
5. created a bwapi-data/bwapi.ini with the following content:
Code: Select all
ai = "/home/bw/bwapi/build/lib/TestAIModule.so"
auto_menu = OFF
character_name = "test"
map = "/home/bw/bwapi/build/bin/maps/Python.scx"
race = "Terran"
Code: Select all
bwapi-data/
bwapi-data/bwapi.ini
maps/
maps/Python.scx
BWAPILauncher
BrooDat.mpq
Patch_rt.mpq
StarDat.mpq
Looks like there's a file missing, but it doesn't tell me which file? Am I missing a dependency? What am I doing wrong?
I don't know if it's worth anything, but here's a strace of ./BWAPILauncher: https://pastebin.com/qb638J2q