Page 1 of 2

Help, to create map in linux

Posted: 16 Aug 2020, 04:24
by Counter Back
Help, can anyone tell me where is I can get WZ map editor in linux, I remember Flame is can't use in my linux os :( .

Re: Help, to create map in linux

Posted: 16 Aug 2020, 08:34
by Cyp
Probably not what you're looking for, but with https://github.com/Warzone2100/warzone2100/pull/1019, it's possible to make maps with a regular text editor.

Re: Help, to create map in linux

Posted: 16 Aug 2020, 13:59
by Counter Back
Cyp wrote: 16 Aug 2020, 08:34 Probably not what you're looking for, but with https://github.com/Warzone2100/warzone2100/pull/1019, it's possible to make maps with a regular text editor.
wow. it's possible to make maps with a regular text editor sir? what is the example map? yeah maybe that is not I looking for :( , I'm not good in programming but I am very familiar with Python or the framework for web.

sorry sir, I ask many questions.

Re: Help, to create map in linux

Posted: 16 Aug 2020, 18:14
by Cyp
There's two example maps in that pull request (see the game.js files). To see them you have to compile the branch, though. The two example maps are a bit different each time you play and/or click the map preview.

Re: Help, to create map in linux

Posted: 17 Aug 2020, 01:25
by Counter Back
Cyp wrote: 16 Aug 2020, 18:14 There's two example maps in that pull request (see the game.js files). To see them you have to compile the branch, though. The two example maps are a bit different each time you play and/or click the map preview.
did you mean I'm must be compile warzone from the github, or find the warzone data :hmm: :?:

Re: Help, to create map in linux

Posted: 17 Aug 2020, 07:46
by Cyp
I meant to compile from Github, since only that branch knows how to open game.js maps. There might be automatic builds somewhere though, not sure.

Re: Help, to create map in linux

Posted: 17 Aug 2020, 09:31
by Counter Back
I have successfully compile warzone source from Github without error, but don't know what is the next :?: . maybe restart my computer later.

Re: Help, to create map in linux

Posted: 17 Aug 2020, 12:13
by Counter Back
after looking at the build folder i can find the file which can run the game :lol2: . and after checking this link https://github.com/Warzone2100/warzone2100/pull/1019 I found 2 game.js files :) .

Re: Help, to create map in linux

Posted: 17 Aug 2020, 12:54
by Counter Back
where to load the game.js map? it is loaded into a regular map place?

replace:
I will try it my self.

Re: Help, to create map in linux

Posted: 17 Aug 2020, 13:35
by Cyp
They should show as regular maps. When running from that branch, check Entropy in the 6p map section or WaterLoop in the 10p map section.

Re: Help, to create map in linux

Posted: 17 Aug 2020, 17:01
by Counter Back
the warzone data structure make me dizzy, yeah it's possible, but very dizzy to create map with regular text editor :( .

Re: Help, to create map in linux

Posted: 18 Aug 2020, 08:02
by Counter Back
but yes, I want to try it whenever I can.

Re: Help, to create map in linux

Posted: 18 Aug 2020, 13:15
by andrvaut
https://warzone.atlassian.net/wiki/spac ... E/overview
FLAME works under MONO
It has many bugs, but you can use.

Re: Help, to create map in linux

Posted: 18 Aug 2020, 13:49
by Counter Back
I have installed Mono in linux but when I run The Flame it is not run.

Re: Help, to create map in linux

Posted: 18 Aug 2020, 14:07
by Counter Back
this is output last I try:
Can't find custom attr constructor image: /home/fahmi/Documents/compile/Map-editor-for-warzone2100/FlaME/FlaME.exe mtoken: 0x0a0001b0 due to: Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

Unhandled Exception:
Nested exception detected.
Original Exception: managed backtrace not available

Nested exception:at (wrapper managed-to-native) System.MonoCustomAttrs.IsDefinedInternal (System.Reflection.ICustomAttributeProvider,System.Type) [0x00033] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.MonoCustomAttrs.IsDefined (System.Reflection.ICustomAttributeProvider,System.Type,bool) [0x00027] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.RuntimeType.IsDefined (System.Type,bool) [0x00038] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Attribute.IsDefined (System.Reflection.MemberInfo,System.Type,bool) [0x00088] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Attribute.IsDefined (System.Reflection.MemberInfo,System.Type) [0x00000] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Reflection.CustomAttributeExtensions.IsDefined (System.Reflection.MemberInfo,System.Type) [0x00000] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Diagnostics.StackTrace.GetFullNameForStackTrace (System.Text.StringBuilder,System.Reflection.MethodBase,bool,bool&,bool&) [0x00074] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Diagnostics.StackTrace.AddFrames (System.Text.StringBuilder,bool,bool&) [0x00085] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Diagnostics.StackTrace.ToString () [0x0005d] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Diagnostics.StackTrace.ToString (System.Diagnostics.StackTrace/TraceFormat) [0x00000] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Environment.GetStackTrace (System.Exception,bool) [0x00014] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Exception.GetStackTrace (bool) [0x00038] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Exception.ToString (bool,bool) [0x00081] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Exception.ToString (bool,bool) [0x0003c] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Exception.ToString () [0x00000] in <a17fa1457c5d44f2885ac746c1764ea5>:0


Can't find custom attr constructor image: /home/fahmi/Documents/compile/Map-editor-for-warzone2100/FlaME/FlaME.exe mtoken: 0x0a0001b0 due to: Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
[ERROR] FATAL UNHANDLED EXCEPTION: Nested exception detected.
Original Exception: managed backtrace not available

Nested exception:at (wrapper managed-to-native) System.MonoCustomAttrs.IsDefinedInternal (System.Reflection.ICustomAttributeProvider,System.Type) [0x00033] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.MonoCustomAttrs.IsDefined (System.Reflection.ICustomAttributeProvider,System.Type,bool) [0x00027] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.RuntimeType.IsDefined (System.Type,bool) [0x00038] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Attribute.IsDefined (System.Reflection.MemberInfo,System.Type,bool) [0x00088] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Attribute.IsDefined (System.Reflection.MemberInfo,System.Type) [0x00000] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Reflection.CustomAttributeExtensions.IsDefined (System.Reflection.MemberInfo,System.Type) [0x00000] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Diagnostics.StackTrace.GetFullNameForStackTrace (System.Text.StringBuilder,System.Reflection.MethodBase,bool,bool&,bool&) [0x00074] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Diagnostics.StackTrace.AddFrames (System.Text.StringBuilder,bool,bool&) [0x00085] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Diagnostics.StackTrace.ToString () [0x0005d] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Diagnostics.StackTrace.ToString (System.Diagnostics.StackTrace/TraceFormat) [0x00000] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Environment.GetStackTrace (System.Exception,bool) [0x00014] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Exception.GetStackTrace (bool) [0x00038] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Exception.ToString (bool,bool) [0x00081] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Exception.ToString (bool,bool) [0x0003c] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Exception.ToString () [0x00000] in <a17fa1457c5d44f2885ac746c1764ea5>:0