PDA

View Full Version : Linux WINE new issues



mercury00
April 14th, 2011, 22:06
I read all the wine related forums, and didn't see anything about my issue. I'm trying to test this program to run for my 6 person dnd 4.0 group (that would be ultimate edition if we decide this works for us), and we all use linux. I'm the DM, and we've been using other VTT programs, but this one at least looks promising.

When trying to run the program in wine, I can load the first screen that lets me choose running a game, and as soon as I click start the thing exits. Here's the messages I get in the terminal when running with the -r option:

wine FantasyGroundsDemo.exe -r
fixme:shdocvw:PersistStorage_InitNew (0x1714e0)->(0x5eef60)
fixme:urlmon:URLMoniker_BindToObject use running object table
fixme:system:SetProcessDPIAware stub!
fixme:dwmapi:DwmIsCompositionEnabled 0x32c19c
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800012c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800012c)
fixme:iphlpapi:NotifyAddrChange (Handle 0x2f5e8d8, overlapped 0x2f5e8e0): stub
0[177b58]: IMM32: InitKeyboardLayout, aKeyboardLayout=04090409, sCodePage=1252, sIMEProperty=00090000
fixme:shdocvw:ClOleCommandTarget_QueryStatus (0x171588)->((null) 1 0x32c8d4 (nil))
fixme:shdocvw:ClOleCommandTarget_QueryStatus command_0: 27, 0x0
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented group {000214d1-0000-0000-c000-000000000046}
fixme:shdocvw:ClientSite_GetContainer (0x171588)->(0x32c8a4)
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented group {000214d1-0000-0000-c000-000000000046}
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 29
fixme:shdocvw:DocHostUIHandler_GetDropTarget (0x171588)
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented group {000214d0-0000-0000-c000-000000000046}
fixme:shdocvw:PropertyNotifySink_OnChanged unimplemented dispid 1005
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented group {000214d0-0000-0000-c000-000000000046}
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented group {000214d0-0000-0000-c000-000000000046}
fixme:shdocvw:PropertyNotifySink_OnChanged unimplemented dispid 1005
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented group {000214d0-0000-0000-c000-000000000046}
fixme:resource:GetGuiResources (0xffffffff,0): stub
fixme:shdocvw:ClientSite_GetContainer (0x171588)->(0x32f148)
fixme:shdocvw:InPlaceFrame_SetStatusText (0x171588)->((null))
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 21
fixme:shdocvw:ClOleCommandTarget_Exec Unimplemented cmdid 28
fixme:shdocvw:OleObject_Close (0x1714e0)->(1)
fixme:win:EnumDisplayDevicesW ((null),0,0x32f358,0x00000000), stub!
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:d3d:query_init Unhandled query type 0x4.

That last error is the one that the program quits with. Is this something known? Are there any detailed steps getting this program to run in wine? (outside of the 'just run it in wine' kinds of directions, I mean the kinds that my players can follow step by step) Curious, thanks,

Phystus
April 14th, 2011, 23:44
I know the demo version hasn't been updated in a long while, possibly since before Linux support was a priority. So that may be the problem.

A possible workaround might be to try to find a player spot on a game hosted by someone with an ultimate license. Then you could download the free version and at least check it out from the player's point of view. I'd volunteer but I don't have an ultimate license, so I can't host the free clients. :(

~P

Moon Wizard
April 15th, 2011, 02:24
There's another thread where someone was seeing the same issues, but they ended up just dual-booting. DrZ had some suggestions of items to check under the Wine settings.
https://www.fantasygrounds.com/forums/showthread.php?t=12643

Also, did you already try out PlayOnLinux? There's another thread around where the user was able to get it to work using that program.

I don't have a Linux box to test with, but I would check for DirectX and working directory settings. FG uses a subset of DX9 functions to implement the dice simulation.

Also, you can use the unregistered version for testing whether it will start up in Linux. The demo version is a couple years old at this point. Unfortunately, the demo build process was broken already when I joined the company a year ago.

Thanks,
JPG

mercury00
April 15th, 2011, 03:19
Ah - yeah, I don't have crossover (bottles), I just have wine as I'm on linux. Wine doesn't have checkmarks or settings, just versions and 'tricks'.

I tried playonlinux, which just has you install to a special wine prefix, and for games in the database has predefined settings, but since fantasy grounds isn't in the database, it's just a frontend for wine that way. Still didn't work, so I tried the winetricks dx9 runtimes, .net, mono, extra microsoft fonts and stuff. Nothing did anything, it gives the same error messages.

Dual booting doesn't work when you don't have windows. (Or when you don't want to require any player that joins your game to start using windows or buy into microsoft marketing programs). It looks like it's mostly a 'this is a demo and doesn't like linux' thing, which is fine as I can try the join-a-game thing with the non-demo. Probably best, because I need to actually see what the mapping is like (I need less of a campaign manager and more of a virtual table top game map that is OS agnostic). Thanks all,

Moon Wizard
April 15th, 2011, 07:12
If you want to just play around to see if you can get the latest version to run in Linux, you can install the unregistered version to run with Wine. The unregistered version does not validate until you attempt to connect to a game. The DirectX is still initialized first.

Regards,
JPG

Moon Wizard
April 15th, 2011, 07:15
Did you already install DirectX through Wine? Either way, check out this article.

https://www.wine-reviews.net/wine-reviews/games/how-to-install-directx-in-linux-using-wine.html

JPG