Map editor


#142

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


#143

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


#144

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.


#145

Any mods installed?


#146

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


#147

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


#148

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


#149

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


#150

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.


#151

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.


#152

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.


#153

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.


#154

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?


#155

try “release with alternative OpenGL implementation”


#156

there’s also an error, but a different one:
editor_error2


#157

gamepath.txt missing of has wrong paths


#158

Is there a log file “…\Documents\My Games\vcmi\VCMI_Editor.log” ?


#159

[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


#160

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


#161

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