Page 1 of 2

Engineer Ubuntu?

Posted: Sun Feb 24, 2008 4:11 pm
by Fir3Chi3f
Has anyone found a way to run Engineer in linux? (or any .net programs for that matter)

Has any one tryed:
recompiling engineer?
wine?
or just yelled at me for being lame?
and how far have they gotten?

Here is the farthest I could get with wine:

Code: Select all

:~$ wine Engineer.exe
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT"
err:module:import_dll Library MSVCR80.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\fusion.dll") not found
err:module:import_dll Library fusion.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\mscorwks.dll") not found

Posted: Sun Feb 24, 2008 4:36 pm
by ScottyGEE
The last I checked, .net itself isn't able to be installed in ubuntu, at least using wine. So I'm doubting any .net apps will work either.

Posted: Sun Feb 24, 2008 5:53 pm
by Fir3Chi3f
Forever i seen the same thing but then on the wine web site .net 2.0 has a gold rating http://appdb.winehq.org/objectManager.p ... n&iId=3754

and i didn't see the loading bar move but the .net installer said .net installed successfully :shock:

what is surprising to me is the only errors im getting are of dll not loading

and a message from .net even appears stating that mscorwks.dll could not be found.

and
thanks for the reply

Posted: Sun Feb 24, 2008 6:05 pm
by Fir3Chi3f
Image

Posted: Sun Feb 24, 2008 8:35 pm
by LuxuriousMeat
Wine is for native applications, you need to use mono to run .NET applications.

http://www.mono-project.com

Posted: Sun Feb 24, 2008 10:07 pm
by Fir3Chi3f
LuxuriousMeat wrote:Wine is for native applications, you need to use mono to run .NET applications.

http://www.mono-project.com
mono for ubuntu or windows installed on wine?

Posted: Mon Mar 10, 2008 2:21 pm
by CompKronos
install mono on ubuntu then use it to run engineer in ubuntu

Posted: Tue Mar 11, 2008 1:56 pm
by jlddodger
Mono is a .net runtime designed for linux. It should be available in the Ubuntu repositories. However, it is possible that Engineer will still not work. Microsoft .NET has some components that are platform specific (anything in the Microsoft.Win32 namespace for example). That said, it is probably worth a try.

After a quick search, :?

deb http://www.viraptor.info/repo feisty-custombackports contrib

Long Live King Ubuntu.

Posted: Mon Mar 31, 2008 5:34 pm
by DarkMetal
The main issues about trying to run it through mono are:

1.) All the user interface stuff? Fucked. System.Windows.Forms does not and will not exist in mono. It relies on Glade/Gnome/Gtk/etc for user interface elements.
2.) You need to recompile it with mono's .NET-To-Mono converter. This is screwed over because of issue #1.

Essentially, to get it running on Ubuntu, you'd need to redo all of the user interface in Glade/Gnome/Gtk or some other UI library on Ubuntu, and that's a pain because nothing that I know of other than Java supports MDI interfaces on Ubuntu. And Java blows.

If I can ever get the mouse to accept input in Virtual PC with Ubuntu, I'll give it a shot. I can't guarantee anything though...

Posted: Thu Apr 24, 2008 5:45 pm
by Fir3Chi3f
Thanks for the link jlddodger, I was asking because I had both tho, and I couldn't seem to do much with either.


DarkMetal
1.) All the user interface stuff? ***. System.Windows.Forms does not and will not exist in mono. It relies on Glade/Gnome/Gtk/etc for user interface elements.
2.) You need to recompile it with mono's .NET-To-Mono converter. This is screwed over because of issue #1.
Thanks for all that info! I'm just learning how to program so you may need to be patient with me.

Is it possible to change the directory that mono would get is interface elements from to lets say my windows partition?

Last, what about making my own program that runs natively in ubuntu?
Sort of the same way that dot halo is set up, opening other programs that already work in Ubuntu like http://linux.maruhn.com/sec/beav.html

With a new program that used existing programs in ubuntu it wouldn't be in a parent window, but that is something that isn't really necessary.
It might even look something like gimp... even incorporate gimp!
For easy reskinning!

Posted: Thu Apr 24, 2008 7:14 pm
by OwnZ joO
Engineer is also .net 3.0, I didn't look, but make sure Mono supports that also, or remove any references to 3.0 stuff from the code and recompile so it will work with mono, if you really want to get this to work you might be able to, just fix up the source.

Posted: Thu May 22, 2008 10:21 am
by miinaturvat
Just use XP.

It's easier :D

Posted: Thu May 22, 2008 11:00 am
by Veegie
miinaturvat wrote:Just use XP.

It's easier :D
Post when you can help.

Posted: Fri Jun 20, 2008 1:47 pm
by Fir3Chi3f
Sry I haven't had much time to work on a port of engineer to linux.

But one day, I updated wine to the 1.0 and installed .net 2.0 and guess what?
Image

Works good so far, but keep in mind that I have not tried to open any maps yet. And there are a few errors while opening.

Will try to keep posting.

Posted: Fri Jun 20, 2008 11:08 pm
by shade45
Good job :D

Posted: Mon Jun 30, 2008 12:32 pm
by Fir3Chi3f
Ok, I've updated wine to 1.1.0 and tryed copying .net 3.0 from a widows partition to my wine folder

It got ride of alot of errors but now engineer wont open

Image

I'm looking into reg edits also incase there is something I missed

Thank you shade45

Posted: Mon Jun 30, 2008 1:12 pm
by Fir3Chi3f
As a note- DO NOT copy windows system 32 folder over to wine folder. This will couse the program to not open with error:

Code: Select all

:~$ winecfg
fixme:powrprof:DllMain (0x7e2e0000, 8, (nil)) not fully implemented
fixme:powrprof:DllMain (0x7e2e0000, 1, (nil)) not fully implemented
fixme:ntdll:NtPowerInformation Unimplemented NtPowerInformation action: 16
fixme:heap:HeapSetInformation 0x4b0000 0 0x33f1c4 4
fixme:advapi:OpenEventLogW ((null),L"Microsoft-Windows-SpoolerSpoolss") stub
fixme:advapi:RegisterTraceGuidsW 0x51b09406 0x51b194e0 0x51b0177c 1 0x33ef98 (null) (null) 0x51b194e8
fixme:advapi:RegisterTraceGuidsW 0x51b09406 0x51b19500 0x51b0178c 1 0x33ef98 (null) (null) 0x51b19508
wine: Call from 0x7141f075 to unimplemented function ntdll.dll.TpAllocWait, aborting
err:module:attach_process_dlls "winspool.drv" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winecfg.exe" failed, status 80000100

Posted: Mon Jun 30, 2008 1:19 pm
by jimmygoon
Is it open source? Why don't people use cross platform technologies like C++ with a decent makefile or python w/ wxWidgets. Then anyone can use it anywhere...

Posted: Mon Jun 30, 2008 1:28 pm
by Fir3Chi3f
jimmygoon wrote:Is it open source? Why don't people use cross platform technologies like C++ with a decent makefile or python w/ wxWidgets. Then anyone can use it anywhere...
I'm sorry, what are you asking is open source? I'm not much of a programmer i can only do simple ruby programs lol

Posted: Mon Jun 30, 2008 1:32 pm
by Fir3Chi3f