FlaME -- The Warzone 2100 Map Editor

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA

Re: FlaME -- The Warzone 2100 Map Editor

Post by macuser »

The Mono version is simply a modified version of the original flame. It is modified to be able to run under Linux or Mac. It will actually run slower due to the fact that mono runs under emulation.

to run it type at the command line: "mono -debug /path/to/flame.exe"

end hit enter.

of course it will only run if you actually have mono installed :P
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
User avatar
effigy
Regular
Regular
Posts: 1217
Joined: 22 Jan 2010, 03:21

Re: FlaME -- The Warzone 2100 Map Editor

Post by effigy »

macuser wrote:T...
It will actually run slower due to the fact that mono runs under emulation.
...
Are you sure about mono being an emulator?
This is why some features aren't implemented: http://forums.wz2100.net/viewtopic.php?f=30&t=7490&view=unread#p87241
User avatar
ODDity
Trained
Trained
Posts: 73
Joined: 23 Oct 2009, 04:56

Re: FlaME -- The Warzone 2100 Map Editor

Post by ODDity »

I wonder if there is, or could be, a beginner friendly, "how to get FlaME working under linux" guide.

like a sticky
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: FlaME -- The Warzone 2100 Map Editor

Post by NoQ »

ODDity: install mono, install visual basic support for mono, download FlaME, start it with "mono FlaME.exe". If nothing works, update your mono version to 2.10. If nothing works, post your backtrace.

upd: typo fixed :oops:
Last edited by NoQ on 30 Aug 2011, 02:13, edited 1 time in total.
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA

Re: FlaME -- The Warzone 2100 Map Editor

Post by macuser »

effigy wrote:
macuser wrote:T...
It will actually run slower due to the fact that mono runs under emulation.
...
Are you sure about mono being an emulator?

MONO runs as a .net framework for unix systems. There are several types of GUI interfaces MONO can handle.

1. GTK ui + vb.net code
2. Windows.forms ui + vb.net code
etc

Running a windows.forms ui IS under emulation.
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: FlaME -- The Warzone 2100 Map Editor

Post by NoQ »

macuser: what do you mean by emulation? even Wine Is Not Emulation, right?
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA

Re: FlaME -- The Warzone 2100 Map Editor

Post by macuser »

I mean: it is slow, uses windows dlls, and sometimes does not function correctly.

In other words it is "emulating" or trying to act in the same manner as a real windows.forms parser should.
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
HarryHighDef
New user
Posts: 1
Joined: 19 Aug 2011, 17:05

Re: FlaME -- The Warzone 2100 Map Editor

Post by HarryHighDef »

I am having some trouble with flame as is starts up. It says it has stopped working and closes the program help!
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: FlaME -- The Warzone 2100 Map Editor

Post by NoQ »

Post the backtrace.
User avatar
ODDity
Trained
Trained
Posts: 73
Joined: 23 Oct 2009, 04:56

Re: FlaME -- The Warzone 2100 Map Editor

Post by ODDity »

NoQ wrote:ODDity: install mono, install visual basic support for mono, download FlaME, start it with "FlaME mono.exe". If nothing works, update your mono version to 2.10. If nothing works, post your backtrace.
I'm assuming you meant start it with "mono FlaME.exe"

I also have installed libmono-microsoft-visualbasic8.0-cil, mono-vbnc, basically anything with visual basic in the descriptor that looked mono related.

It's a no go, which is why I asked for a beginners guide to getting the right packages installed.

Updating to mono 2.10 on current (stable) version of linux mint11 or ubuntu 11.04 does not look trivial and the mono site says it will not be backported because it breaks various things. Which means basically any linux users required to run mono 2.10 at the moment would have to jump through many hoops to get that working as far as I can see, unless they fancy running some pre-alpha release of ubuntu 11.10 or so.


Despite my best efforts to install the required packages I get

Code: Select all

ollie@boxen ~/Desktop/flame/FlaME $ mono FlaME.exe
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v1.1.4322

** (FlaME.exe:21940): WARNING **: The following assembly referenced from /home/ollie/Desktop/flame/FlaME/FlaME.exe could not be loaded:
     Assembly:   Microsoft.VisualBasic    (assemblyref_index=1)
     Version:    10.0.0.0
     Public Key: b03f5f7f11d50a3a
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/ollie/Desktop/flame/FlaME/).


** (FlaME.exe:21940): WARNING **: Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
The entry point method could not be loaded
Perhaps there is something simple I missed.

Thank you kindly.
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA

Re: FlaME -- The Warzone 2100 Map Editor

Post by macuser »

It is not your fault.

Which flaME version did you use?
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
User avatar
ODDity
Trained
Trained
Posts: 73
Joined: 23 Oct 2009, 04:56

Re: FlaME -- The Warzone 2100 Map Editor

Post by ODDity »

I've tried

flaMev1-19mono
FlaMEv1-20mono
FlaMEv1-21mono

I notice that they all do say they're for mono version 2.10 and simply I dont have that mono version, I suspect that is more than likely the problem.

Until mono 2.10 is in the repositories for me then I guess I'll have to leave it, looking at the Mono site installing the whole thing from source looks messy and I'm not experienced at all with such things.
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: FlaME -- The Warzone 2100 Map Editor

Post by Flail13 »

Would it work for you if it was for Mono 2.6.7?
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: FlaME -- The Warzone 2100 Map Editor

Post by NoQ »

I'm assuming you meant start it with "mono FlaME.exe"
Sure typo :oops: :oops: :oops:
libmono-microsoft-visualbasic8.0-cil
I think you need 10.0 instead of 8.0. Try looking for a package with 10.0. Does installing this package manually (via dpkg) work for you?
User avatar
ODDity
Trained
Trained
Posts: 73
Joined: 23 Oct 2009, 04:56

Re: FlaME -- The Warzone 2100 Map Editor

Post by ODDity »

Flail13 wrote:Would it work for you if it was for Mono 2.6.7?
that is the version of Mono I, and I suspect all other Linux users not using unstable or compiling mono themselves have yeah, it would be worth a go and if you can make that happen cool beans :)

Code: Select all

mono --version
Mono JIT compiler version 2.6.7 (Debian 2.6.7-5ubuntu3)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
	TLS:           __thread
	GC:            Included Boehm (with typed GC and Parallel Mark)
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
Edit: whether it work "work" or no.. i can't say.. I've not played with mono at all in the past and I know next to nothing about coding. What I would like is to be able to make maps for warzone on linux! :)