Manic Digger

It is currently Thu Jun 20, 2013 8:37 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: mono error
PostPosted: Fri Apr 06, 2012 1:54 pm 
I wanted to test MD on linux (ubuntu). I installed mono and the libs like the wiki says.
But then I get this error:
Code:
ubuntu@ubuntu:~/Downloads/Debug$ mono GameModeFortress.exe
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v1.1.4322

** (GameModeFortress.exe:12144): WARNING **: Missing method System.String::Contains(string) in assembly /usr/lib/mono/1.0/mscorlib.dll, referenced in assembly /home/ubuntu/Downloads/Debug/ManicDigger.dll

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for ManicDigger.CrashReporter ---> System.MissingMethodException: Method not found: 'System.String.Contains'.
  at ManicDigger.CrashReporter..cctor () [0x00000]
  --- End of inner exception stack trace ---
  at GameModeFortress.ManicDiggerProgram.Main (System.String[] args) [0x00000]


So I need to update/change the runtime of MD while building it?

Grtz Diho


Top
  
 
 Post subject: Re: mono error
PostPosted: Fri Apr 06, 2012 3:39 pm 
Offline

Joined: Fri Jul 08, 2011 10:55 pm
Posts: 159
Location: Karlsruhe, Germany
Hi,

I successfully run Manic Digger on Ubuntu with mono. What's your current mono version. Type mono -V to display it. Mine is
Quote:
Mono JIT compiler version 2.10.5 (Debian 2.10.5-1)

Target framework should be 2.0. Try once
Code:
mono --runtime=2.0.50727 GameModeFortress.exe


Did you compile it yourself? Pay attention when using the latest nightly / git source. There was a kind of incompatibility to MonoDevelop. You have to add some references. It will be fixed soon. Try an older nightly.

Regards.


Last edited by YoDigger on Fri Apr 06, 2012 3:45 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: mono error
PostPosted: Fri Apr 06, 2012 3:44 pm 
Thanks for your quick reply.

I'm currently not at my linux box. Will check it out later this afternoon.
So if setting the target runtime won't help, I could also fix it with adding those missing references?

Will give a update about this when I tried it ;)

Grtz Diho


Top
  
 
 Post subject: Re: mono error
PostPosted: Fri Apr 06, 2012 3:50 pm 
Offline

Joined: Fri Jul 08, 2011 10:55 pm
Posts: 159
Location: Karlsruhe, Germany
No, only if you want to compile MD yourself in MonoDevelop. You'll get some reference errors when trying to build it. AFAIR a reference to Jint.dll is missing.

Good luck..


Top
 Profile  
 
 Post subject: Re: mono error
PostPosted: Fri Apr 06, 2012 4:23 pm 
I already got that I have to use monodevelop.
I downloaded it (together with gtk sharp) on my winbox.
Will check out which references are missing.

Grtz Diho


Top
  
 
 Post subject: Re: mono error
PostPosted: Sat Apr 07, 2012 10:00 am 
Added the references. It now runs nicely at linux with mono. Just a bit lag when you switch between escape-menu and normal guistate.
Thanks for your help. :)

Grtz Diho


Top
  
 
 Post subject: Re: mono error
PostPosted: Sat Apr 07, 2012 10:14 am 
Offline

Joined: Fri Jul 08, 2011 10:55 pm
Posts: 159
Location: Karlsruhe, Germany
When playing, press F7 and switch to "unlimited framerate". VSync sometimes cause problems. Type ".fps" in chat or F6(?) to display your current framerate (".fps off" or again F6 disables fps display).


Top
 Profile  
 
 Post subject: Re: mono error
PostPosted: Sat Apr 07, 2012 10:27 am 
Ye found that function too.
So Unlimited FPS works better? Then why is vsync the default?

Grtz Diho


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group