Map editor

What about this part:

	"VIDEO/":
	[
		{"type" : "vid", "path" : "Data/H3ab_ahd.vid"},
		{"type" : "vid", "path" : "Data/Heroes3.vid"},
		{"type" : "vid", "path" : "Data/video.vid"}
	],
	"CONFIG/":
	[
		{"type" : "dir",  "path" : "config"}
	],

In the VIDEO section i do not have video.vid.
And the config directory does not exist in $HOME/.local/share/vcmi, but it does exist in /usr/share/vcmi

Editor could not find file filesystem.json itself, (missing video is OK, config in only one data pach is OK too)

ok.

I just tried to change ordering in the gamepath.txt. Did not help.

Interesting: I just made a soft link in the editor bin dir to /usr/share/vcmi/config. Now the error is different. So it seems now the file was found.

Error at line 39, Pos 2:Unexpected token (]) encountered.

Any mods installed?

Yes. Quite some towns :slight_smile:
Should i disable them? Playing vcmi with these mods is working.

Editor is more picky with JSON syntax, remove mods for now (disabling will not affect editor)

Then perhaps it would be sufficient to uninstall mods which are currently disabled because they do not work in vcmi?

Idea is to temporary remove mods, and then add back one by one until that error appear again

Iā€™ll try this next weekend. First iā€™ll remove all disabled mods, since they do not work. And test editor. Then, if error persits, iā€™ll do what you suggested.

But for today no more time :slight_smile: Thanks for your help and patience so far. Until next weekend.

Grrr, this ā€œupdateā€ totally messed up my system. I canā€™t install or upgrade anything now, and i canā€™t remove this. I have to reinstall the system completely.

No offense, but all you did is installed packages with broken dependencies and itā€™s super easy to fix everything just by removing them forcefully.

dpkg --remove --force-remove-reinstreq fpc fpc-src lazarus-project

And then just running fix install:

apt-get -f install

Regardless just keep in mind in future that when you install packages outside of repositories you should keep in mind they might be not fully compatible with your particular distribution.

Thanks. And no, iā€™m not offended :slight_smile:

This seems to have worked. At least no error messages from apt. So iā€™ll continue this weekend, if i have any time.

Hi, Iā€™m having a problem with running the editor. A pop-up window shows up:
editor_error
Pressing ok doesnā€™t make it run.
I downloaded the release from the repo. What should I do?

try ā€œrelease with alternative OpenGL implementationā€

thereā€™s also an error, but a different one:
editor_error2

gamepath.txt missing of has wrong paths

Is there a log file ā€œā€¦\Documents\My Games\vcmi\VCMI_Editor.logā€ ?

[FORMS.PP] ExceptionOccurred Sender=Exception Exception=LOpenGLCreateContext: wglCreateContextAttribsARB failed Stack trace: $000000010021B651 $00000001001DE87B $0000000100119F8E $0000000100119641 $000000010011ABA8 $000000010011A1F6 $00000001000263FF $000000010002D013 $000000010002E03A $0000000100119641 $000000010011ABA8 $000000010011AB8D $0000000100117F3E $00000001001DE5EA $000000010003E062 $0000000100057C7F $0000000100057B5D TApplication.HandleException LOpenGLCreateContext: wglCreateContextAttribsARB failed Stack trace: $000000010021B651 $00000001001DE87B $0000000100119F8E $0000000100119641 $000000010011ABA8 $000000010011A1F6 $00000001000263FF $000000010002D013 $00[FORMS.PP] ExceptionOccurred Sender=Exception Exception=LOpenGLCreateContext: wglCreateContextAttribsARB failed Stack trace: $000000010021B651 $00000001001DE87B $0000000100119F8E $0000000100119641 $000000010011ABA8 $000000010011A1F6 $00000001000263FF $000000010002D013 $000000010002E03A $0000000100119641 $000000010011ABA8 $000000010011AB8D $0000000100117F3E $00000001001DE5EA $000000010003E062 $0000000100057C7F $0000000100057B5D TApplication.HandleException LOpenGLCreateContext: wglCreateContextAttribsARB failed Stack trace: $000000010021B651 $00000001001DE87B $0000000100119F8E $0000000100119641 $000000010011ABA8 $000000010011A1F6 $00000001000263FF $000000010002D013 $00[FORMS.PP] ExceptionOccurred Sender=Exception Exception=LOpenGLCreateContext: wglCreateContextAttribsARB failed Stack trace: $000000010021B651 $00000001001DE87B $0000000100119F8E $0000000100119641 $000000010011ABA8 $000000010011A1F6 $00000001000263FF $000000010002D013 $000000010002E03A $0000000100119641 $000000010011ABA8 $000000010011AB8D $0000000100117F3E $00000001001DE5EA $000000010003E062 $0000000100057C7F $0000000100057B5D TApplication.HandleException LOpenGLCreateContext: wglCreateContextAttribsARB failed Stack trace: $000000010021B651 $00000001001DE87B $0000000100119F8E $0000000100119641 $000000010011ABA8 $000000010011A1F6 $00000001000263FF $000000010002D013 $00[FORMS.PP] ExceptionOccurred Sender=Exception Exception=LOpenGLCreateContext: wglCreateContextAttribsARB failed Stack trace: $000000010021B651 $00000001001DE87B $0000000100119F8E $0000000100119641 $000000010011ABA8 $000000010011A1F6 $00000001000263FF $000000010002D013 $000000010002E03A $0000000100119641 $000000010011ABA8 $000000010011AB8D $0000000100117F3E $00000001001DE5EA $000000010003E062 $0000000100057C7F $0000000100057B5D TApplication.HandleException LOpenGLCreateContext: wglCreateContextAttribsARB failed Stack trace: $000000010021B651 $00000001001DE87B $0000000100119F8E $0000000100119641 $000000010011ABA8 $000000010011A1F6 $00000001000263FF $000000010002D013 $000000010002E03A $0000000100119641 $000000010011ABA8 $000000010011AB8D $0000000100117F3E $00000001001DE5EA $000000010003E062 $0000000100057C7F $0000000100057B5D Version: 3.3 (Core Profile) Mesa 11.2.2 Vendor: VMware, Inc. Renderer: Gallium 0.4 on llvmpipe (LLVM 3.6, 256 bits) Glsl: 3.30 [FORMS.PP] ExceptionOccurred Sender=Exception Exception=Filesystem configuration not found Stack trace: $00000001001F9423 $00000001001FC117 $00000001001F908E $000000010003E543 $0000000100057C7F $0000000100057B5D $000000010005795F $0000000100035867 $0000000100002E23 $0000000100002E86 $0000000100016283 $0000000100016D66 $00000000779459CD $0000000077B7A561 TApplication.HandleException Filesystem configuration not found Stack trace: $00000001001F9423 $00000001001FC117 $00000001001F908E $000000010003E543 $0000000100057C7F $0000000100057B5D $000000010005795F $0000000100035867 $0000000100002E23 $0000000100002E86 $0000000100016283 $0000000100016D66 $00000000779459CD $0000000077B7A561 Version: 3.3 (Core Profile) Mesa 11.2.2 Vendor: VMware, Inc. Renderer: Gallium 0.4 on llvmpipe (LLVM 3.6, 256 bits) Glsl: 3.30 [FORMS.PP] ExceptionOccurred Sender=Exception Exception=Filesystem configuration not found Stack trace: $00000001001F9423 $00000001001FC117 $00000001001F908E $000000010003E543 $0000000100057C7F $0000000100057B5D $000000010005795F $0000000100035867 $0000000100002E23 $0000000100002E86 $0000000100016283 $0000000100016D66 $00000000779459CD $0000000077B7A561 TApplication.HandleException Filesystem configuration not found Stack trace: $00000001001F9423 $00000001001FC117 $00000001001F908E $000000010003E543 $0000000100057C7F $0000000100057B5D $000000010005795F

upload log file itself please, formatting is too horriible. Also contents of gamepath.txt

eh, new users cannot upload attachments apparentlyā€¦

my gamepath.txt :
C:\Users\Przemek\Documents\My Games\vcmi

editor log:

Version: 3.3 (Core Profile) Mesa 11.2.2
Vendor: VMware, Inc.
Renderer: Gallium 0.4 on llvmpipe (LLVM 3.6, 256 bits)
Glsl: 3.30
[FORMS.PP] ExceptionOccurred 
  Sender=Exception
  Exception=Filesystem configuration not found
  Stack trace:
  $00000001001F9423
  $00000001001FC117
  $00000001001F908E
  $000000010003E543
  $0000000100057C7F
  $0000000100057B5D
  $000000010005795F
  $0000000100035867
  $0000000100002E23
  $0000000100002E86
  $0000000100016283
  $0000000100016D66
  $00000000775459CD
  $000000007777A561
TApplication.HandleException Filesystem configuration not found
  Stack trace:
  $00000001001F9423
  $00000001001FC117
  $00000001001F908E
  $000000010003E543
  $0000000100057C7F
  $0000000100057B5D
  $000000010005795F
  $0000000100035867
  $0000000100002E23
  $0000000100002E86
  $0000000100016283
  $0000000100016D66
  $00000000775459CD
  $000000007777A561