Compiling FlaME under mono

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Compiling FlaME under mono

Post by NoQ »

Houston we have a problem: i can't change the terrain brush size.
edit: what do you think about the less common appearance of the red tiles?
You just changed the appearance? And fill the map by default? Or is there something else i'm missing?

Hmm, i double-posted, and you might miss the previous message on the previous page.

Also, flaME starts much slower now. Is it because of turret support? :)

Also, the splash screen doesn't really work, because 1. it never gets painted before it dies and 2. it's below the main window for me most of the time. In any case, the main window shouldn't show up before the loading is finished (should be somehow set as hidden, even if you need it to be created early (?), and "1." is probably just the side effect of "2." (it's painted below, and never repainted)).
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: Compiling FlaME under mono

Post by Flail13 »

Houston we have a problem: i can't change the terrain brush size.
in what circumstances? i havent had that problem.
You just changed the appearance? And fill the map by default? Or is there something else i'm missing?
no, that's it. i want to know whether to make those changes on the windows version also.
Also, flaME starts much slower now. Is it because of turret support? :)
not sure... cant think of anything else that's likely to cause that.
Also, the splash screen doesn't really work
it's working on windows. if its not working on linux then it should probably be removed.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Compiling FlaME under mono

Post by NoQ »

Flail13 wrote:
Houston we have a problem: i can't change the terrain brush size.
in what circumstances? i havent had that problem.
I have a square/diamond brush of radius 2, no matter what number is in the radius spinbox. The square/circle radiobutton works though.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Compiling FlaME under mono

Post by NoQ »

Flail13 wrote:no, that's it. i want to know whether to make those changes on the windows version also.
I liked the original red tile better :oops: And the original map fill ... might i suggest using red/grey/gravel instead, and immediately reinterpreting? Hmm, but won't really work, because the user chooses tileset too late.
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: Compiling FlaME under mono

Post by Flail13 »

NoQ wrote:
Flail13 wrote:no, that's it. i want to know whether to make those changes on the windows version also.
I liked the original red tile better :oops: And the original map fill ... might i suggest using red/grey/gravel instead, and immediately reinterpreting? Hmm, but won't really work, because the user chooses tileset too late.
I'll change it back then. Yes, starting with ground painted would be difficult.
NoQ wrote:I have a square/diamond brush of radius 2, no matter what number is in the radius spinbox. The square/circle radiobutton works though.
Does it work if you type in the number? I didn't notice the buttons not working because I always type. I think I've fixed it if that's what it is.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Compiling FlaME under mono

Post by NoQ »

Typing in the number works, yes.
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: Compiling FlaME under mono

Post by Flail13 »

Release Candidate 1 :)

-- not neccessarily finished

try now - it was the filename causing a problem
Last edited by Flail13 on 08 Apr 2011, 08:53, edited 4 times in total.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Compiling FlaME under mono

Post by NoQ »

Works so far, no problems encountered. :3
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: Compiling FlaME under mono

Post by Flail13 »

Great. Is it good enough to be final or do you need more time to test it?

edit: have you noticed the performance on large maps?
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Compiling FlaME under mono

Post by NoQ »

Flail13 wrote:Great. Is it good enough to be final or do you need more time to test it?
Release early release often ;) We're friendly, there's nothing to worry about if your program has bugs when they're fixed quickly enough. Stable versions are necessary, of course ...
Flail13 wrote:edit: have you noticed the performance on large maps?
Hmm, i'm so much in awe of performance compared to VirtualBox, so i guess i didn't have much time to compare :oops: In any case, performance is not something to worry about right now.
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA

Re: Compiling FlaME under mono

Post by macuser »

Flail13 wrote:Release Candidate 1 :)

-- not neccessarily finished

try now - it was the filename causing a problem
It says file invalid - does not exist on mediafire
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA

Re: Compiling FlaME under mono

Post by macuser »

Code: Select all

wrong maximal instruction length of instruction break (expected 4, got 20)
* Assertion: should not be reached at mini-ppc.c:4655

Stacktrace:

  at (wrapper remoting-invoke-with-check) flaME.ctrlPlayerNum.set_SelectedPlayerNum (int) <0xffffffff>
  at flaME.frmMain.Initialize (object,System.EventArgs) <0x001d4>
  at System.Windows.Forms.Timer.OnTick (System.EventArgs) <0x00040>
  at System.Windows.Forms.Timer.FireTick () <0x0002c>
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Timer.FireTick () <0xffffffff>
  at System.Windows.Forms.XplatUICarbon.CheckTimers (System.DateTime) <0x002bc>
  at System.Windows.Forms.XplatUICarbon.GetMessage (object,System.Windows.Forms.MSG&,intptr,int,int) <0x000a4>
  at System.Windows.Forms.XplatUI.GetMessage (object,System.Windows.Forms.MSG&,intptr,int,int) <0x00050>
  at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x00d98>
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) <0x0008c>
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00050>
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () <0x000a0>
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (string[]) <0x00028>
  at flaME.My.MyApplication.Main (string[]) <0x0004c>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	0   mono                                0x000f8258 _mh_execute_header + 1012312
	1   mono                                0x00146b84 _mh_execute_header + 1334148
	2   libSystem.B.dylib                   0x956789fc _sigtramp + 68
	3   mono                                0x0016d0a4 _mh_execute_header + 1491108

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Abort trap
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: Compiling FlaME under mono

Post by NoQ »

XD :oops:

macuser, are you able to compile it and check if the compiled executable has the same problem? (i guess no, since the source was deleted).
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA

Re: Compiling FlaME under mono

Post by macuser »

Has the one posted in the regular flaME forum (the one for mono) been compiled with mono or with VB.net?
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: Compiling FlaME under mono

Post by NoQ »

macuser wrote:Has the one posted in the regular flaME forum (the one for mono) been compiled with mono or with VB.net?
I have no idea :oops: By the way, Flail13 is there any progress to make an actually-cross-platform flaME source code, or you still maintain two versions? By the way, does the mono binary run well in windows? :roll: