Where all prebuilt stable releases are? Couldn’t find one for version 0.99, so I created it by myself. This package maybe useful for people with «App Transport Security» error.
After the VCMI installation is complete, perhaps you’d like to change screen resolution. It’s hard without a launcher, but possible to do in a number of ways:
enable «Extra resolutions» mod in launcher on Windows and then copy configuration files from Windows to Mac; or just download and unzip my packed config: dl.dropbox.com/s/ictmw380ubifkf4/MacOsX_Resolutions.zip?dl=1
Then open VCMI home dir using Terminal:
cd "$HOME/Library/Application Support/vcmi"
open .
and overwrite «config», «downloads», «Mods» folders with unzipped ones.
Thank-you so much! Just one thing. Do you think you could use a tool like dylibbundler (I’m pretty sure there is a brew install for this) to bundle in all required dylibs into your app bundle? (bearing in mind keywords such as @executable_path to link the libraries to the executable) I’ve used it many times and I find the process is quite simple after building. I could do it, but you probably still have the setup.
Thing is not all of us mac users have homebrew installed, and it makes it difficult to use your app in any meaningful way. I myself strongly prefer macports as I feel it is generally a bad idea to mix GNU tools with Apple ones, and have been burned by homebrew in the past. But that’s me.
Hello everyone. If there are any MacOS users who wish to help me with new builds testing please join our Slack: slack.vcmi.eu/
I already setup automatic build uploading from Travis CI, but Mac builds are broken here and my ability to test them limited since I only have MacOS in VM and I sadly don’t have any Mac compatible GPU to passthrough here.
– Found PkgConfig: /usr/local/bin/pkg-config (found version “0.29.2”)
– Checking for module ‘libavcodec’
– No package ‘libavcodec’ found
– Checking for module ‘libavformat’
– No package ‘libavformat’ found
– Checking for module ‘libavdevice’
– No package ‘libavdevice’ found
– Checking for module ‘libavutil’
– No package ‘libavutil’ found
– Checking for module ‘libswscale’
– No package ‘libswscale’ found
– Checking for module ‘libpostproc’
– No package ‘libpostproc’ found
CMake Error at /usr/local/Cellar/cmake/3.5.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find FFmpeg (missing: FFMPEG_INCLUDE_DIRS AVCODEC_LIBRARIES
AVCODEC_INCLUDE_DIRS AVFORMAT_LIBRARIES AVFORMAT_INCLUDE_DIRS
AVUTIL_LIBRARIES AVUTIL_INCLUDE_DIRS SWSCALE_LIBRARIES
SWSCALE_INCLUDE_DIRS)
Fixed with (probably - installed a few other libs in the process):
brew install ffmpeg
may want to add this to the install instructions. Also the link to sparkle download is outdated (no longer exists).
I almost fixed DMG build, but there is something seriously wrong with Qt magic that make it possible to avoid system libraries usage instead of one bundled with DMG. Though this shouldn’t be a problem for players who don’t have Qt installed system-wide with brew.
Ok problem with Boost library were caused by fact that none of our executables now use “boost-test”, but it’s dependency was still put into the bundle while CMake failed to find what executable need that library. Fixed it by removing it: github.com/vcmi/vcmi/commit/1b9 … feb27d7757
Starting of game still crashing because of some issues with AI, but builds should have all needed deps for client ans sever bundles: builds.vcmi.download/PR/351/macOS/
Warning: oops! they pretty much broken for anyone except me. Still require some work!
First new automatically created macOS build is available here: builds.vcmi.download/PR/362/mac … d0eb65.dmg
As soon as I finish my work on packaging it’s will be merged into upstream builds!
Keep in mind you need to manually extract “Data”, “mp3” and “Maps” folders into:
~/Library/Application\ Support/vcmi/
Also there are crashes I didn’t have time to look at yet, but it’s possible to play a bit, AI working, etc.
UPD: Tested Mac vs Mac multiplayer, works nicely so far.
Mac (Clang) + Windows (MSVC) + Linux (GCC) able to join lobby, but then freeze on start.