http://bugs.winehq.org/show_bug.cgi?id=11440
Summary: NWN2 toolkit crashes on startup Product: Wine Version: 0.9.54. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: cngnome@gmail.com
Created an attachment (id=10570) --> (http://bugs.winehq.org/attachment.cgi?id=10570) log
I have tried to make nwn2 toolset to work on wine. I have ubuntu 7.1 with latest patches and gnome.
I have followed up the instructions of how to setup .NET framework on this link :http://appdb.winehq.org/objectManager.php?sClass=version&iId=3754
I have applied all extra ideas from it :
cp /media/disk/WINDOWS/system32/l_intl.nls .wine/windows/system32 cp /media/disk/WINDOWS/Fonts/* .wine/windows/fonts/
Modified [HKLM\Software\Microsoft.NetFramework\Policy\AppPatch\v[SOMETHING].00000] to [HKLM\Software\Microsoft.NetFramework\Policy\AppPatch\v2.0.50727.00000]
cp /media/disk/WINDOWS/system32/mscoree.dll .wine/drive_c/windows/system32/ cp "/media/disk/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Microsoft .NET Framework 2.0/unicows.dll" .wine/drive_c/windows/system32/
start it up : .wine/drive_c/Program Files/Atari/Neverwinter Nights 2/wine NWN2ToolsetLauncher.exe
<clip> fixme:win:EnumDisplayDevicesW ((null),0,0x7cf07fcc,0x00000000), stub! Segmentation fault (core dumped)
attachement bt shows this in detail.
BUT if I remove fonts, e.g. cd .wine/drive_c/windows mv fonts fontsorig
Toolkit Window rises up nicely, albeit with garbage instead of text on the file. And after a while it starts to complain about pasrseURL : fixme:shell:URL_ParseUrl failed to parse L"NWN2Toolset.resources"
and finally crashes on :
fixme:variant:VarDecFix semi-stub! fixme:variant:VarDecFix semi-stub! fixme:shell:URL_ParseUrl failed to parse L""
[1]+ Segmentation fault (core dumped)
It looks like it cannot find resource files. Could core dump be caused by it ?
Any ideas of how to proceed ?
Any ideas ?
http://bugs.winehq.org/show_bug.cgi?id=11440
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #10570|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=11440
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-02-02 03:41:21 --- So did you also apply this patch: http://bugs.winehq.org/attachment.cgi?id=9240 from the HOWTO? If not, that's probably the cause of the segfault
http://bugs.winehq.org/show_bug.cgi?id=11440
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2008-02-02 07:05:43 --- A native unicows.dll should not be required. Could somebody please ask anyone who suggests it whether adding unicows.dll to [FakeDllsSection] in tools/wine.inf helps, also perhaps in addition unicows.dll in Wine needs a version resource (I have no an account in appdb).
http://bugs.winehq.org/show_bug.cgi?id=11440
CN Gnome cngnome@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #10570|0 |1 is obsolete| |
--- Comment #3 from CN Gnome cngnome@gmail.com 2008-02-02 13:42:43 --- Created an attachment (id=10578) --> (http://bugs.winehq.org/attachment.cgi?id=10578) Reaplied the http://bugs.winehq.org/attachment.cgi?id=9240, now crashes a bit later
whole log.
http://bugs.winehq.org/show_bug.cgi?id=11440
--- Comment #4 from CN Gnome cngnome@gmail.com 2008-02-02 13:51:19 --- Just a little note. Out of curiosity, if I mv fonts file on wine/drive_c/windows as previously, window raises nicely, but it dumps on this after awhile :
fixme:thread:NtQueryInformationThread info class 9 not supported yet
Unhandled Exception: System.ComponentModel.Win32Exception: Unable to enumerate the process modules. at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly) at System.Diagnostics.Process.get_MainModule() at OEIShared.IO.ResourceManager..ctor() at NWN2Toolset.NWN2ToolsetMainForm.Initialize() at NWN2Toolset.NWN2ToolsetMainForm.StartupWindow() at NWN2ToolsetLauncher2.LauncherStub.Main() at main(String[] args) wine: Unhandled exception 0xe0434f4d at address 0x7ee1b060 (thread 000
Naturally, using fonts is required :D
http://bugs.winehq.org/show_bug.cgi?id=11440
--- Comment #5 from CN Gnome cngnome@gmail.com 2008-02-02 14:28:53 --- How stupid of me - registry was missing tahoma althought I did use fonts.reg to register the fonts from the original patch. I added :
"Tahoma (TrueType)"="TAHOMA.TTF"
to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
Now the tool starts fine, but does not load libraries.
It complains it cannot load a number of dll's. All are present on the library (see .png attach). 1st is DefaultVerifier.dll. After it lists the dlls, mail screen is shown.
http://bugs.winehq.org/show_bug.cgi?id=11440
CN Gnome cngnome@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #10578|0 |1 is obsolete| |
--- Comment #6 from CN Gnome cngnome@gmail.com 2008-02-02 14:30:33 --- Created an attachment (id=10580) --> (http://bugs.winehq.org/attachment.cgi?id=10580) dm tool starts, but dlls do not get loaded
http://bugs.winehq.org/show_bug.cgi?id=11440
--- Comment #7 from CN Gnome cngnome@gmail.com 2008-02-02 14:31:56 --- Created an attachment (id=10581) --> (http://bugs.winehq.org/attachment.cgi?id=10581) 1st screenshot with tool up and running
Althought because dlls did not get loaded, it does not work. But 1st time now :)
http://bugs.winehq.org/show_bug.cgi?id=11440
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet
http://bugs.winehq.org/show_bug.cgi?id=11440
--- Comment #8 from CN Gnome cngnome@gmail.com 2008-02-03 00:30:48 --- Experiences of the dm toolkit :
1. Plugins do not get loaded althought those are on the path.
2. When you create an area, all background including menus changes to black - if you place a cursor over an element that you dont see, it clips visible so you can work with it, but it is painful as you need to have a screenshot next to you showing the locations of buttons etc.
3. After creating an area tool becomes extremely slow. By looking at wine log, this may be the cause :
err:d3d:IWineD3DSwapChainImpl_Present Cannot change the destination window of the owner of the primary context fixme:d3d_surface:fb_copy_to_texture_direct Doing a pixel by pixel copy from the framebuffer to a texture, expect major performance issues err:d3d_surface:fb_copy_to_texture_direct Texture filtering not supported in direct blit
http://bugs.winehq.org/show_bug.cgi?id=11440
--- Comment #9 from CN Gnome cngnome@gmail.com 2008-02-03 01:53:53 --- I typed the text from dll load dialog for easier observation : WINEDEBUG=warn+dll,+heap
Could not load pluging C:\Program Files\Atari\Neverwinter Nights 2\NWN2Toolset\Plugins\DefaultVerifier.dll: System.IO.FileNotFoundException: Exception from HRESULT: 0x8007007E at System.ReflectionAssembly.nLoad(Assemblyname fileName, String codeBase, Evidence assmeblySecurity, Assembly locationHInt, StackCrawlMark&, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(AssembyName assemblyREf, Evidence assemblySecurity, STackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.AssemblyInternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlogorithm, Boolean forIntrospection., stackCrawlMark& stackMark) at System.Reflection.Assembly.LoadFrom(String assemblyFile) at NWNToolset.Plugins.NWN2PluginHost.StartupPlugins()
from log: fixme:shell:URL_ParseUrl failed to parse L""
It looks like the upper layer sets the variable, but wine does not pass the variable forward. Of course, this is just speculation.
------------------ Scripting seems to work OK ------------------ Creating conversation : Select Add - works OK, select atttiude dropdown from dialog and you get crash: fixme:ole:Context_QueryInterface interface not implemented {000001da-0000-0000-c000-000000000046} fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x000003ff,(nil),0x0001,0x00000000,0x7d389a58,(nil)): stub err:eventlog:ReportEventW L".NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3) (80131506)" fixme:advapi:DeregisterEventSource (0xcafe4242) stub fixme:advapi:CheckTokenMembership (0x1828 0x92fab00 0x7d3890ac) stub! fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION fixme:imm:ImmDisableIME (-1): stub fixme:thread:NtQueryInformationThread Cannot get kerneltime or usertime of other threads ----------------------- Show module properties crash:
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE fixme:shell:URL_ParseUrl failed to parse L"NWN2Toolset.resources" fixme:ole:Context_QueryInterface interface not implemented {000001da-0000-0000-c000-000000000046} fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x000003ff,(nil),0x0001,0x00000000,0x7d385a58,(nil)): stub err:eventlog:ReportEventW L".NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3) (80131506)" fixme:advapi:DeregisterEventSource (0xcafe4242) stub fixme:advapi:CheckTokenMembership (0x183c 0xbd6d868 0x7d3850ac) stub! fixme:imm:ImmDisableIME (-1): stub fixme:thread:NtQueryInformationThread Cannot get kerneltime or usertime of other threads
----------------------- Performance issue: Performance: d3d:getColorBits Unsupported format: WINED3DFMT_R32F err:d3d:IWineD3DImpl_IsPixelFormatCompatibleWithRenderFmt Unable to check compatibility for Format=WINED3DFMT_R32F ------------------------ Main cause for dialogs could be that resources are not loaded. fixme:shell:URL_ParseUrl failed to parse L"NWN2Toolset.resources" The resources do exist on the subdirectories, althouhgt curiously, not on english one: ~/.wine/drive_c/Program Files/Atari/Neverwinter Nights 2/NWN2Toolset/Plugins$ find . -name '*oolset.resour*' -print ./fr/NWN2Toolset.resources.dll ./es/NWN2Toolset.resources.dll ./ru/NWN2Toolset.resources.dll ./lv/NWN2Toolset.resources.dll ./it/NWN2Toolset.resources.dll ./pl/NWN2Toolset.resources.dll ./zh-cht/NWN2Toolset.resources.dll ./de/NWN2Toolset.resources.dll
http://bugs.winehq.org/show_bug.cgi?id=11440
CN Gnome cngnome@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #10580|0 |1 is obsolete| |
--- Comment #10 from CN Gnome cngnome@gmail.com 2008-02-03 01:54:46 --- (From update of attachment 10580) I typed the text from dialog to bug.
http://bugs.winehq.org/show_bug.cgi?id=11440
--- Comment #11 from Vitaliy Margolen vitaliy@kievinfo.com 2008-02-03 10:43:50 --- Another one who can't read. DO NOT PASTE LOGS HERE!!!
This program is a dotnet. It's in alpha stages of support in Wine. Please unless you are asked to add some more information stop spamming bugzila! If you want any support use Mono!
Also please remember 1 problem per bug. If you start talking about all sorts of problems, this bug will be closed as invalid.
http://bugs.winehq.org/show_bug.cgi?id=11440
--- Comment #12 from CN Gnome cngnome@gmail.com 2008-02-03 10:53:01 --- My aplogies. I was just trying to be helpful, but I promise to behave later on. Should I close this as the program no longer crashes, but there are now other issues ?
Afaik Mono cannot be used unless one can compile programs and this is a commercial game editor.
CNG
http://bugs.winehq.org/show_bug.cgi?id=11440
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #13 from Vitaliy Margolen vitaliy@kievinfo.com 2008-02-03 11:34:45 --- Chaotic Neutral Gnome wrote:
My aplogies. This is my first entry to nwn2 bugzilla, but of course that gives me no excuses. I was just trying to be helpful, but I promise to behave later on. Should I close this as the program no longer crashes, but there are now other issues ?
Closing invalid.
Afaik Mono cannot be used unless one can compile programs and this is a commercial game editor.
Wrong, read more about Mono.
http://bugs.winehq.org/show_bug.cgi?id=11440
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Austin English austinenglish@gmail.com 2008-10-13 14:39:03 --- Closing invalid.