New release 0.1.10
Improved toolbox, added more options for deleting objects
https://github.com/vcmi/vcmi_editor/releases/tag/v0.1.10-alpha
Improved toolbox, added more options for deleting objects
https://github.com/vcmi/vcmi_editor/releases/tag/v0.1.10-alpha
Few important fixes.
https://github.com/vcmi/vcmi_editor/releases/tag/v0.1.14-alpha
Hi,
at least vcmi seems to work for me (i’m using Linux). Now for the map editor: How to build (or get pre-built) for Linux?
BTW (regarding a comment somewhere here): No, using random town is not a solution. I tried, using the standard map editor. I put a random town near water, pre-built a shipyard, and then ingame selected HotA Cove, and tried to build a ship. Was not possible. The shipyard was there, but did nothing. I also put a ship next to that town in the editor, and tried again. She ship was rendered in town screen, but still it was not possible to build ship. This may be a limitation of H3 (or vcmi) with random town.
Also i’d like to build a campaign. A story-based campaign as sequel to the RoE “contested lands” campaign, introducing many of the additional towns (at least Cove and Asylum). This contested lands story would be a perfect start for introducing a sequel. The basic idea is: These contested lands, which where a combination of Castle, Rampart and other factions, merged together and thus formed new factions. Especially the Asylum would fit perfectly to this plot.
You could build same way as travis-ci build is set up. There are no pre-built packages for Linux yet.
Campaign support is editor not is not implemented yet.
Is there any tutorial/documentation/whatever? I tried using the Makefile, but no success.
I know that currently there is no campaign support. But every campaign starts with some maps.
before using makefile you should install dependencies (same as done in .travis.yml)
sudo apt -y install libgtk2.0-dev
wget -t 10 -O lazarus-project_1.6.2-1_amd64.deb https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.2/lazarus-project_1.6.2-1_amd64.deb/download
wget -t 10 -O fpc_3.0.0-151205_amd64.deb https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.2/fpc_3.0.0-151205_amd64.deb/download
wget -t 10 -O fpc-src_3.0.0-151205_amd64.deb https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.2/fpc-src_3.0.0-151205_amd64.deb/download
sudo dpkg -i fpc-src_3.0.0-151205_amd64.deb fpc_3.0.0-151205_amd64.deb lazarus-project_1.6.2-1_amd64.deb
make
Thanks. I’ll try that next weekend
Also you could try official Debian packages (fpc, fpc-source, lazarus-ide, note that names differ from upstream) from Stretch or Jessie with backports. There are serious issues with packaging of Lazarus (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823706), but I probably worked them around already.
P.S. Makefile is pretty much trivial, all you actually need to do to build is one command
lazbuild 3rd_party/opengl/vcmiopenglcontext.lpk vcmieditor.lpr
That’s exactly the command that failed. Probably because of missing lazbuild
Now:
Hint: (lazarus) Missing state file of LCL 1.6.2: /home/siegfried/.lazarus/lib/units/x86_64-linux/gtk2/LCL.compiled
Error: (lazarus) [TExternalTool.DoExecute.CheckError] Error=fehlende ausführbare Datei ""
Error: (lazarus) Kompiliere Package FCL 1.0.1: fehlende ausführbare Datei ""
Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "fehlende ausführbare Datei “”"
Error: (lazarus) Compile required packages failed: vcmiOpenGLContext 0.0.1
ERROR: vcmiOpenGLContext 0.0.1 compilation failed
Makefile:4: die Regel für Ziel „vcmieditor“ scheiterte
make: *** [vcmieditor] Fehler 2
fehlende ausführbare Datei -> missing executable file
So what file is missing here? It seems there is an empty file name.
Looks like lazbuild could not find compiler executable.
Could you manually execute f.e. /usr/bin/fpc "-iWTOTP"
Hi,
no. Obviously because there is no such executable in /usr/bin. But there seems to be one in /usr/lib. Would it help to add a soft link?
Soft link could help
You’re extremely fast
I tried, but got some strange results. I do not get a file named fpc, but a file named “3.0.0” ???
I check this and report later.
I’m just installing it again. In case something went wrong.
You should have /usr/bin/fpc
simlink to /usr/bin/fpc-3.0.0
(or whatever version you have) executable
I installed new, and now make completes. Although there seem to be some issue:
/usr/bin/ld: warning: /home/siegfried/prj/vcmi/editor/vcmi_editor-master/bin/link.res contains output sections; did you forget -T?
(1008) 46004 lines compiled, 4.8 sec
(1021) 10 warning(s) issued
(1023) 7 note(s) issued
Where i am supposed to find the executable?
It is known bug with some fpc versions and some binutils versions, but it mostly harmless.
Executable should be in ./bin
subdirectory of repo checkout
Yup, found. Tried. Error is: “Filesystem configuration not found”.
I’m not sure about the error message, but according to your other posts, the executable has to be copied into some vcmi directory. Not what directory? Ist it $HOME/.local/vcmi? Or is it /usr/games (where the vcmi executables are), or is it /usr/share/vcmi (where the system-wide configurations reside)?
Short pause (lunch time). I report later.
You need to create gamepath.txt
alongside editor executable with paths to VCMI data files
/usr/share/vcmi
/home/siegfried/.local/vcmi
Not sure that $HOME substitution will work
(On windows all VCMI files are in same place so you can just copy editor there, but I still recommend use gamepath.txt in all release notes, see https://github.com/vcmi/vcmi_editor/releases)
One day I make default paths configuration on Linux work.
Hosting provided by DigitalOcean