Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Masterwork DF on Linux  (Read 1919 times)

TheSponge

  • Bay Watcher
    • View Profile
Masterwork DF on Linux
« on: January 24, 2014, 04:52:17 am »

I found out about the Masterwork mod a few days ago and it looks really good, but I don't really know what to do to play it. I downloaded v3a3 for Linux, unpacked the archive, ran Settings.exe in wine, set it up how I wanted it then pressed the big "Play Dwarf Fortress!" button, but it didn't work. A new window appears for a split second then closes. My terminal output from Settings.exe:
Quote
fixme:wincodecs:PngDecoder_Block_GetCount 0x25e33b8,0x32c8c8: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x25ddc20,0x32c8c8: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x26043b0,0x32c8c8: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x26043b0,0x32c8c8: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x260db18,0x32c8c8: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x260db18,0x32c8c8: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2604670,0x32c8c8: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2604670,0x32c8c8: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x257c9f8,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2583708,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2536718,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2536730,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2536730,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2536928,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2536730,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2536730,0x32c158: stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x262eb8c,0x262e3f0): stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x262e3f8,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x262e3f8,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x262e3f8,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2630300,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2630300,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2630300,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2630318,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2630318,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x262e6f8,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x262e6f8,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x262e6f8,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x262e710,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x262e6f8,0x32c158: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2636508,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x264ade8,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x25dd658,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2663da8,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x26655c8,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x265b488,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2667318,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x266e710,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x26538a0,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2536f78,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2539560,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x253c578,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x253d198,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2543790,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2543988,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2546d18,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x26897e0,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x253be60,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2588ca0,0x32c818: stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x258bad4,0x2543168): stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x258b3a8,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x258bdc0,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x26a9c30,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x26ab450,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x26a2028,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x26a4d00,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x26ae430,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x26b0e18,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x26b0fb8,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x25662f8,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2568f20,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x256de28,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x256e020,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x258b4d8,0x32c818: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x2577e58,0x32c818: stub
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:exec:SHELL_execute flags ignored: 0x00004100
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:exec:SHELL_execute flags ignored: 0x00000100
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: Invalid parameter.

fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
Is this meant to happen?

Going on the information I found on the internet, I ran Settings.exe, set it up how I wanted it and then ran the dfhack executable from the /Dwarf Fortress directory. I think it worked, but it crashes all the time. It crashes with the following terminal output:
Quote
DFHack is ready. Have a nice day!
Type in '?' or 'help' for general help, 'ls' to see all commands.
Detected reaction hooks - enabling plugin.
Detected spatter add reactions - enabling plugin.
Detected steam engine workshops - enabling plugin.
Fixing cloth stockpile handling (bug 5739)...
Patched 1086042 bad references in 35687 materials.
Detected reaction hooks - enabling plugin.
Detected spatter add reactions - enabling plugin.
Detected steam engine workshops - enabling plugin.
Fixing cloth stockpile handling (bug 5739)...
Patched 1038413 bad references in 35687 materials.
[DFHack]# Aborted (core dumped)
                               -e
This only seems to happen when I use the really nice TrueType font that comes with Masterwork.

Am I doing it right? Will doing it like this make DF take notice of the settings I put in Settings.exe?
Logged

Trif

  • Bay Watcher
  • the Not-Quite-So-Great-as-Toady One
    • View Profile
Re: Masterwork DF on Linux
« Reply #1 on: January 24, 2014, 06:36:09 am »

You're more likely to get an answer in the Masterwork subforum. There should be an option to move the thread at the bottom left.
Logged
Quote from: Toady One
I wonder if the game has become odd.

TheSponge

  • Bay Watcher
    • View Profile
Re: Masterwork DF on Linux
« Reply #2 on: January 27, 2014, 04:11:13 pm »

Bump.
Logged

somebears

  • Bay Watcher
    • View Profile
Re: Masterwork DF on Linux
« Reply #3 on: January 27, 2014, 04:22:42 pm »

yes, there is a issue with truetype.
If you open the building menu, the game crashes. This is a known bug


The settings will work, you are doing it right
Logged

TheSponge

  • Bay Watcher
    • View Profile
Re: Masterwork DF on Linux
« Reply #4 on: January 28, 2014, 04:54:41 am »

Thank you somebears. Is there a way to fix the truetype issue?
Logged

somebears

  • Bay Watcher
    • View Profile
Re: Masterwork DF on Linux
« Reply #5 on: January 28, 2014, 06:46:31 am »

yes, but only toady can fix this :/


It could be possible to fix it by  (just speculating) downgrading SDL.
But this is just a hunch, I have neither the data, nor the knowledge to back this up
Logged

Trif

  • Bay Watcher
  • the Not-Quite-So-Great-as-Toady One
    • View Profile
Re: Masterwork DF on Linux
« Reply #6 on: January 28, 2014, 07:35:23 am »

For now, you can just turn TrueType off with F12.
Logged
Quote from: Toady One
I wonder if the game has become odd.

fricy

  • Bay Watcher
  • [DFHACK:ZEALOT]
    • View Profile
Re: Masterwork DF on Linux
« Reply #7 on: January 28, 2014, 11:39:08 am »

yes, but only toady can fix this :/

Lol, no. It's not fixed, because Toady can't fix it because it's not his code, but the only 3rd party contribution to DF. Actually there's a linux only graphics code rewrite, but it's unofficial, and might do more harm than good.
Side effects may or may not include eating all your cheese, setting your cat on fire and running away with your wife/girlfriend/whatever. You've been warned! :)

somebears

  • Bay Watcher
    • View Profile
Re: Masterwork DF on Linux
« Reply #8 on: January 28, 2014, 04:00:21 pm »

yes, but only toady can fix this :/

Lol, no. It's not fixed, because Toady can't fix it because it's not his code, but the only 3rd party contribution to DF. Actually there's a linux only graphics code rewrite, but it's unofficial, and might do more harm than good.
Side effects may or may not include eating all your cheese, setting your cat on fire and running away with your wife/girlfriend/whatever. You've been warned! :)
This is amazing, I did not know about this
Logged