Package Details: vcmi-git r6865.feba7e19-1

Git Clone URL: https://aur.archlinux.org/vcmi-git.git (read-only, click to copy)
Package Base: vcmi-git
Description: Open-source engine for Heroes of Might and Magic III
Upstream URL: http://vcmi.eu
Keywords: homm3
Licenses: GPL2
Conflicts: vcmi
Provides: vcmi
Submitter: Raziel23
Maintainer: bwrsandman
Last Packager: bwrsandman
Votes: 42
Popularity: 0.000982
First Submitted: 2014-04-07 07:23
Last Updated: 2017-09-10 17:35

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

Raziel23 commented on 2012-12-11 10:38

Bump to version 3029-1. I have removed the _installation_dir variable and very simplify the PKGBUILD.
If you don't want copy data files to /usr/share/vcmi directory (for example because you have
a limited space there) I think it is better to add -s option to copy data files command (which will
make symbolic links instead of copying files) instead of modifying the PKGBUILD. But you have to
remember that in the copy command a source path must be a full absolute path, not relative one.

@Cravix: I also have this warning. I don't know how to resolve it. I don't think that the problem
is related with disk fragmentation. After searching it seems that it is common issue. I think that
the problem may be how vcmi handle video files, or the problem may be how ffmpeg handle bink video
codec (which is using in Heroes video files). I don't bother this issue too much, it may decrease
the speed of videos, but at least it works :)

Cravix commented on 2012-12-11 03:09

@Raziel:
oh you're right, copy back the original config folder then it works well... you're really nice, thank you very much! :D
and still, i'm a little confused about the meaning of the warning "data is not align", does that mean i should run e4defrag or something like that?

Raziel23 commented on 2012-12-10 17:49

@Cravix: It seems that is something wrong with your configuration files. The package contain
the newest configuration files (from svn), and that is why copy data files command have -u switch.
They should be intact during copy data files. Here is very similar problem to your:
http://forum.vcmi.eu/viewtopic.php?p=7765

You could copy those configuration files again from the source.

I have prepared my data files not using directory where is installed separate version of Heroes
of Might and Magic 3, because it was modified by me, but I have used original Heroes installer with
vcmibuilder script. I also haven't checked the latest svn revisions, they also may introduce new
errors. Configuration files are changed very often (for example in the latest svn revision):
http://sourceforge.net/apps/trac/vcmi/changeset/3028

Raziel23 commented on 2012-12-10 17:38

@Cravix: It seems that is something wrong with your configuration files. The package contain
the newest configuration files (from svn), and that is why copy data files command have -u switch.
They should be intact during copy data files. Here is very similar problem to your:
http://forum.vcmi.eu/viewtopic.php?p=7765

You could copy those configuration files again from the source. Configuration files are changed
very often (for example in the latest svn revision):
http://sourceforge.net/apps/trac/vcmi/changeset/3028

I have prepared my data files not using directory where is installed separate version of Heroes
of Might and Magic 3, because it was modified by me, but I have used original Heroes installer with
vcmibuilder script. I also haven't checked the latest svn revisions, they also may introduce new
errors.

Cravix commented on 2012-12-10 13:29

sad to say there's still something wrong with my vcmi :'( the output is here:

...
[swscaler @ 0x9515c20] Warning: data is not aligned! This can lead to a speedloss
General text handler: 30
Hero handler: 20
vcmiclient: (/path/to/pkgbuild)/src/vcmi/lib/JsonNode.cpp:215: const JsonMap& JsonNode::Struct() const: Assertion `type == DATA_STRUCT' failed.

then crashed.

Cravix commented on 2012-12-10 12:46

@Raziel23:
oh, sorry that i forgot to read manual first= =
thank you for your explanation :) i'll give it a try later~

Raziel23 commented on 2012-12-09 13:50

Bump to version 3026-2. I've made some cleanups in the PKGBUILD.

@Cravix: Thanks for the words :) (for previous comment). As for vcmibuilder and your problem,
the file AdRollvr1366.pcx is from core.zip archive. You can download it manually, link is
included in the beginning of Preparation Section:
http://wiki.vcmi.eu/index.php?title=Installation_on_Linux#Preparing_data
or you can do this automatically by using --download option like this:
vcmibuilder --data /path/to/heroes3/data --download
It will download and extract both missing archive (that is core.zip and wog.zip). The script
will create a new directory named vcmi where will be prepared data files.

Summary (short answer).
1. Create temporary directory temp: mkdir temp && cd temp
2. Execute vcmibuilder script with appropriate options: vcmibuilder --data /path/to/heroes3/data --download
3. Copy data files to /usr/share/vcmi: cp -RTu vcmi /usr/share/vcmi

Cravix commented on 2012-12-09 13:22

after i move all dir generated by "vcmibuilder --data ." into /usr/share/vcmi,
the vcmiclient works, but i got the error:
"Error: Failed to find file AdRollvr1366.pcx"
then seg fault. any ideas? thanks in advance!
(BTW, my screen resolution is 1366x768.

Cravix commented on 2012-12-08 15:35

finally it works again... thank you for your great work :)

Raziel23 commented on 2012-12-08 09:52

Hello,

I'm a new maintainer of the vcmi-svn package. I've prepared a new PKGBUILD. I've made the following changes:
- moved from autotools to cmake (cmake is now the main build system for vcmi)
- the package contain a new official script called vcmibuilder which help preparing data files
- by default the vcmi installation root directory is /usr, but it can be changed by using
the _installation_dir variable in the PKGBUILD
- a short post install message that contain information about preparing data files
(which is also included below)

Vcmi is a game engine and it not contain data files (like graphics or sounds). That why you
have to have a original copy of Heroes of Might and Magic 3. You can prepare the data files
using the earlier mentioning vcmibuilder script or you can do this manually. Please follow
the instructions from this website:
http://wiki.vcmi.eu/index.php?title=Installation_on_Linux#Preparing_data

I've built vcmi successfully in clean chroot from the current revision (3026) and successfully
prepared data files using the vcmibuilder script.

If you have any problems or advices about package, please feel free and leave here a comment.

Below is included a bunch of useful links about vcmi:
- (the official website) http://forum.vcmi.eu/portal.php
- (vcmi forum) http://forum.vcmi.eu/
- (vcmi bug tracker) http://bugs.vcmi.eu/my_view_page.php
- (timeline of svn) http://sourceforge.net/apps/trac/vcmi/timeline

Best regards,
Raziel23