Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore running SCBW & Chaoslauncher via Wine on ARM Mac's #6

Open
JasperGeurtz opened this issue Sep 12, 2023 · 1 comment
Open

Explore running SCBW & Chaoslauncher via Wine on ARM Mac's #6

JasperGeurtz opened this issue Sep 12, 2023 · 1 comment

Comments

@JasperGeurtz
Copy link
Collaborator

Running wine64 StarCraft.exe with wine v8.10 / wine-devel seems to at least start the process.

Try to get it to work with chaoslauncher and update:
https://github.com/JavaBWAPI/Java-BWAPI-Tutorial/wiki/Developing-JVM-bots-on-Linux-and-MacOS

I confidently claimed "There is no way to solve this" there, let's try to anyways :)

@JasperGeurtz
Copy link
Collaborator Author

This is possible since wine 8.x: https://www.winehq.org/announce/8.0#:~:text=enabling%20a%0A%20%2032%2Dbit%20PE%20module%20to%20call%20a%2064%2Dbit%20Unix%20library

With brew:

$ rm -rf ~/.wine/ 
$ brew tap homebrew/cask-versions
$ brew install --cask xquartz
$ brew install --cask --no-quarantine wine-devel
$ WINE=/opt/homebrew/bin/wine64 winecfg # => select for example "Windows 7"
$ wine64 --version
wine-9.2 # should be > 8.0
# then modify the bwapi-data/bwapi.ini to point to your dll.
# if using Dave's setup cd to to you `scbw_bwapi440/` dir.
$ wine64 RunStarcraftWithBWAPI.bat
# or for example using injectory.
$ wine64 injectory_x86.exe --launch StarCraft.exe --inject bwapi-data/BWAPI.dll wmode.dll

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant