Hello, I have copied the data and maps directories (to ~/Library/Application Support/vcmi) from an old mac os install of Heroes III (installed from originally purchased CD). However VCMI crashes at launch. I am using the latest VCMI version on macOS 11 (Big Sur).
Is there any way this could work? Or is it maybe that VCMI is somehow not compatible with the mac os install data files?
I looked into the data directory for a file that would match the size mentioned in the crash log (22899663) and could not find a match, but there is a file named video.vid which is quite close → 22899949. Could be related.
I found another bigger file also named video.vid directly on the CD. Crashes also. I assume the smaller one installed on disk is a lighter version to save disk space while the bigger one was accessed on-demand from the CD while playing the game. I am not sure how to please vcmi with those two, I try to concat the smaller one + the bigger one into one file but crashes as well.
Thank you, that’s exactly it. I’m not at my computer anymore but will try again later this week-end and report my findings. Everything I have tried so far leads to a crash, it seems vcmi expects a bigger file. I’ll also try to upload the files somewhere so you (and others) can see how they look.
ah too bad, I was looking into replaying the same game I used to play all those years ago. The CD I have doesn’t have any name besides “Heroes of Might and Magic III”, I guess it’s an older version then. Thank you for your feedback.
Hi all! I too have encountered a problem running VCMI on my Mac and would like to share my experience. I was also getting an error when starting the game and found that it was related to the libSDL2-2.0.0.dylib file. To solve this problem, I did the following:
Downloaded the latest version of SDL2 from the official website.
I copied libSDL2-2.0.0.dylib from archive to /usr/local/lib/.
I ran the command sudo chmod 755 /usr/local/lib/libSDL2-2.0.0.dylib.
After that I was able to run VCMI successfully. I hope this helps someone to solve the problem of running the game on a Mac.
which error exactly and why do you think it was related to SDL?
prebuilt binaries are linked to SDL statically, you can also check that otool -L on the client executable doesn’t list libSDL2-2.0.0.dylib. So not sure what you were solving…
Out of curiosity, has anyone an estimate of what would be the amount of work required to make VCMI compatible with “Restoration of Erathia”? Are we talking new game logic across the engine, or adding the ability to turn off features in the engine that weren’t available in that version of the game? I’m a programmer myself (although not super proficient in C++).
Nothing complex, supporting RoE shouldn’t be too hard. Quick and hack-ish solution can probably be made in a few days, or in one-two weeks if you want proper solution (assuming familiarity with vcmi code).
If we had high-priority goal to make RoE work with VCMI it can be done quite quickly. All you need to do is implement option to turn off all features added in later editions & adapt code to slightly different files layout.
However right now this is rather low as far as priorities go. Our team is quite small at the moment and very few players have RoE edition. Most players already own latest edition (Shadow of Death / Complete) and this is also the only edition you can buy on gog.com so support fo RoE is something that rarely gets requested.
ok, so I’ve setup the whole thing to see if I can manage to do anything. But I am getting a different crash, possibly because I’m running off the develop branch.
Resource with name CONFIG/FILESYSTEM and type TEXT wasn't found
VCMI requires ‘config’ and ‘Mods’ directory from source code to be available in one of data paths.
Data paths are different depending on OS, see lib/VCMIDirs.cpp
(or run vcmiclient --help to see these paths)