Package Details: vcmi 0.99-3

Git Clone URL: https://aur.archlinux.org/vcmi.git (read-only)
Package Base: vcmi
Description: Open-source engine for Heroes of Might and Magic III
Upstream URL: http://vcmi.eu
Keywords: homm3
Licenses: GPL2
Conflicts: fuzzylite
Submitter: Raziel23
Maintainer: bwrsandman
Last Packager: bwrsandman
Votes: 30
Popularity: 0.199832
First Submitted: 2013-03-12 14:11
Last Updated: 2017-09-10 19:44

Pinned Comments

jstamant commented on 2017-10-22 22:28

WARNING!
There's a bug where your home directory will be wiped if you uninstall any mods using the vcmi launcher.
It has been fixed in the development branch, but is still present in v0.99.
Yes: I lost all my personal files. Luckily I have daily backups.
https://bugs.vcmi.eu/view.php?id=2673

Latest Comments

jstamant commented on 2017-10-22 22:28

WARNING!
There's a bug where your home directory will be wiped if you uninstall any mods using the vcmi launcher.
It has been fixed in the development branch, but is still present in v0.99.
Yes: I lost all my personal files. Luckily I have daily backups.
https://bugs.vcmi.eu/view.php?id=2673

MarcinWieczorek commented on 2017-10-17 17:08

Hello, please rename the tarball to $pkgname-$pkgver like format, so it is possible to use shared source directory. Thank you.

argarak commented on 2016-10-23 22:51

@gonciarz I've documented the problem on your VCMI issues page (http://bugs.vcmi.eu/view.php?id=2511) so see the most recent note for more details.

And @bwrsandman, please remove the `minizip` dependency (also in vcmi-git), as currently, one has to remove it to get any mods to install.

gonciarz commented on 2016-10-04 22:18

I retested the newest vcmi package. I'm able to compile it but when I try to install WOG from vcmilauncher I got Segmentation fault:

vcmilauncher
Failed to open file /home/ruppertus/.config/vcmi/modSettings.json
File <unknown> is not a valid JSON file!
At line 21, position 2 warning: Comma expected!
At line 36, position 1 warning: Comma expected!

File <unknown> is not a valid JSON file!
At line 21, position 2 warning: Comma expected!
At line 36, position 1 warning: Comma expected!

Segmentation fault (core dumped)

gonciarz commented on 2016-10-03 22:32

I'm sorry for a mess. I've checked vcmi-git package. I'll retest it against vcmi soon.

bwrsandman commented on 2016-10-03 15:23

There seems to be a bug in builder, it doesn't exist in the vcmi-git package.

When I have the time, I will try and find the patch which fixes it.

For the meantime, you can try installing the vcmi-git package, running vcmibuilder, then installing the vcmi package.

gonciarz commented on 2016-10-03 15:19

Thanks, anyway I'm not able to install anything from vcmilauncher. Example scenario:
1. rm -rf ~/.local/share/vcmi ~/.cache/vcmi ~/.config/vcmi ~/.local/share/vcmi/Saves
2. vcmibuilder --data ~/heroes3_complete_installation
3. vcmilauncher
4. From Launcher, install WOG
causes crash.
If you are able to recreate it on your arch, then please add the proper comment in http://bugs.vcmi.eu/view.php?id=2511 otherwise please let me know if I'm doing something wrong.

bwrsandman commented on 2016-09-24 14:39

Fixed the compile issues.

Your issue was an ambiguity with boost and std's make_shared()
There also was an issue with ffmpeg.

gonciarz commented on 2016-09-24 11:03

Does not compile:
[ 30%] Building CXX object lib/CMakeFiles/vcmi.dir/Connection.cpp.o
/home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/Connection.cpp: In member function ‘CTypeList::TypeInfoPtr CTypeList::registerType(const std::type_info*)’:
/home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/Connection.cpp:443:45: error: call of overloaded ‘make_shared()’ is ambiguous
auto newType = make_shared<TypeDescriptor>();
^
In file included from /usr/include/c++/6.2.1/memory:82:0,
from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/../Global.h:114,
from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/StdInc.h:3,
from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/cotire/vcmi_CXX_prefix.cxx:4,
from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/cotire/vcmi_CXX_prefix.hxx:4:
/usr/include/c++/6.2.1/bits/shared_ptr.h:632:5: note: candidate: std::shared_ptr<_Tp1> std::make_shared(_Args&& ...) [with _Tp = CTypeList::TypeDescriptor; _Args = {}]
make_shared(_Args&&... __args)
^~~~~~~~~~~
In file included from /usr/include/boost/smart_ptr/make_shared.hpp:15:0,
from /usr/include/boost/thread/future.hpp:61,
from /usr/include/boost/thread.hpp:24,
from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/../Global.h:157,
from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/StdInc.h:3,
from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/cotire/vcmi_CXX_prefix.cxx:4,
from /home/ruppertus/work/src/archlinux/vcmi/src/vcmi-0.98/lib/cotire/vcmi_CXX_prefix.hxx:4:
/usr/include/boost/smart_ptr/make_shared_object.hpp:246:87: note: candidate: typename boost::detail::sp_if_not_array<T>::type boost::make_shared(Args&& ...) [with T = CTypeList::TypeDescriptor; Args = {}; typename boost::detail::sp_if_not_array<T>::type = boost::shared_ptr<CTypeList::TypeDescriptor>]
template< class T, class... Args > typename boost::detail::sp_if_not_array< T >::type make_shared( Args && ... args )
^~~~~~~~~~~
make[2]: *** [lib/CMakeFiles/vcmi.dir/build.make:2102: lib/CMakeFiles/vcmi.dir/Connection.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:190: lib/CMakeFiles/vcmi.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

KozRoss commented on 2016-01-10 00:36

Does not build for me:

[ 61%] Building CXX object lib/CMakeFiles/vcmi.dir/NetPacksLib.cpp.o
/tmp/yaourt-tmp-koz/aur-vcmi/src/vcmi-0.98/lib/Connection.cpp: In member function ‘CTypeList::TypeInfoPtr CTypeList::registerType(const std::type_info*)’:
/tmp/yaourt-tmp-koz/aur-vcmi/src/vcmi-0.98/lib/Connection.cpp:443:45: error: call of overloaded ‘make_shared()’ is ambiguous
auto newType = make_shared<TypeDescriptor>();
^

All comments