Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Dwarf Fortress 5.08 on linux (WINE)  (Read 2191 times)

aldehyt

  • Bay Watcher
    • View Profile
Dwarf Fortress 5.08 on linux (WINE)
« on: June 23, 2014, 02:37:45 pm »

Code: [Select]
wine ./Pobrane/DWM/Masterwork\ Dwarf\ Fortress.exe
fixme:process:GetProcessWorkingSetSize (0xffffffff,0x73e95c,0x73e960): stub
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e6e8,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x11deb8, filter=0x93e684,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!

Unhandled Exception:
System.TypeLoadException: Could not load type 'MasterworkDwarfFortress.MainForm' from assembly 'Masterwork Dwarf Fortress, Version=2.5.0.3, Culture=neutral, PublicKeyToken=null'.
  at MasterworkDwarfFortress.My.MyProject+MyForms.get_MainForm () [0x00000] in <filename unknown>:0
  at MasterworkDwarfFortress.My.MyApplication.OnCreateMainForm () [0x00000] in <filename unknown>:0
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000] in <filename unknown>:0
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000] in <filename unknown>:0
  at MasterworkDwarfFortress.My.MyApplication.Main (System.String[] Args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'MasterworkDwarfFortress.MainForm' from assembly 'Masterwork Dwarf Fortress, Version=2.5.0.3, Culture=neutral, PublicKeyToken=null'.
  at MasterworkDwarfFortress.My.MyProject+MyForms.get_MainForm () [0x00000] in <filename unknown>:0
  at MasterworkDwarfFortress.My.MyApplication.OnCreateMainForm () [0x00000] in <filename unknown>:0
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000] in <filename unknown>:0
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000] in <filename unknown>:0
  at MasterworkDwarfFortress.My.MyApplication.Main (System.String[] Args) [0x00000] in <filename unknown>:0

Any idea, what is wrong guys ?

Everywhere is <filename unknown>:0 path issues ?
« Last Edit: June 23, 2014, 02:39:46 pm by aldehyt »
Logged

greycat

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 5.08 on linux (WINE)
« Reply #1 on: June 23, 2014, 03:08:49 pm »

Wine is a deep, arcane mystery to me.  All I can suggest is to try a different version of it.

I ran it successfully in wine 1.6.2.  Something has definitely changed since MDF 5.07 though, because that thing where it used to redraw the entire screen, one widget at a time, every time I moused over the wrong widget -- well, it stopped doing that.  The MDF 5.08 GUI actually works way better for me than previous ones.
Logged
Hell, if nobody's suffocated because of it, it hardly counts as a bug! -- StLeibowitz

Snaaty

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 5.08 on linux (WINE)
« Reply #2 on: June 24, 2014, 03:49:11 am »

I also get a strange bug now, can someone help me?

I've installed mono (for Windows), also dotnet40.

Errorlog:
Spoiler (click to show/hide)
Logged

aldehyt

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 5.08 on linux (WINE)
« Reply #3 on: June 24, 2014, 04:54:00 am »

Finally i ran DW by using wine but, game stuck at "running rivers" ;s
« Last Edit: June 24, 2014, 05:25:34 am by aldehyt »
Logged

Snaaty

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 5.08 on linux (WINE)
« Reply #4 on: June 24, 2014, 05:03:57 am »

@aldehyt

Could you explain how you managed to get it working? That would be very helpful.

I guess you can change the worldgen-options a bit and then it shouldn't crash anymore...
Logged

aldehyt

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 5.08 on linux (WINE)
« Reply #5 on: June 24, 2014, 05:09:04 am »

i installed wine using this guide: https://appdb.winehq.org/objectManager.php?sClass=version&iId=25478

And it WORKS - one time..

Now my wine cant find path: OMG
Logged

aldehyt

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 5.08 on linux (WINE)
« Reply #6 on: June 24, 2014, 05:25:03 am »

@greycat
Did you have issue with "running rivers" ?
Logged

Snaaty

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 5.08 on linux (WINE)
« Reply #7 on: June 24, 2014, 05:49:09 am »

It tells me that NET is not compatible with my operating system.
Can you tell me how I tell wine to switch to Win 7 Mode?
Or how do I solve this issue?
Logged

aldehyt

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 5.08 on linux (WINE)
« Reply #8 on: June 24, 2014, 05:53:57 am »

after this: winetricks -q dotnet35 dotnet40
you need type: winetricks win7
And if you will be asked for download other stuff, you need do it.



Logged

Snaaty

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 5.08 on linux (WINE)
« Reply #9 on: June 24, 2014, 06:06:04 am »

When I entered the first line, it aborted at some point.

Then, when installing dotnet45 it worked at first, but then there was a fatal error.
Logged

greycat

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 5.08 on linux (WINE)
« Reply #10 on: June 24, 2014, 07:12:39 am »

@greycat
Did you have issue with "running rivers" ?

I do not launch the game in Wine.  I only launch the GUI that configures the data files (enabling all races for fortress mode, setting tileset to ASCII, etc.).  Then I close the GUI, and run ./dfhack from inside the Dwarf Fortress directory to play.

I compiled wine 1.6.2 on this machine (which is Debian 7 amd64), from source code, using these instructions.  After that, I ran "winetricks -q dotnet40 corefonts".  I believe it installed Mono instead of .NET but I could be mistaken.  Also, the installation of the fonts took literally hours.  I just waited it out.

I get WAY more "fixme:" warnings than you showed.  But it does work.

Code: [Select]
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

I'm pretty sure that last bit means "File or directory not found".  But on the other hand I have no experience with 32-bit libraries for gnome-keyring.  Nor do I understand what gnome-keyring has to do with Wine.  In any case, I would try installing whatever package contains the missing shared library that it is looking for.
Logged
Hell, if nobody's suffocated because of it, it hardly counts as a bug! -- StLeibowitz

aldehyt

  • Bay Watcher
    • View Profile
Re: Dwarf Fortress 5.08 on linux (WINE)
« Reply #11 on: June 24, 2014, 01:24:52 pm »

If you have processor with svn, you can try Virtualbox and run DW, maybe this is alternative
Logged