http://bugs.winehq.org/show_bug.cgi?id=11507
Summary: Resource files in nwn2 dm toolkit do not get loaded 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
This is dotnet fw 2 program.
Starting program gives these errors: fixme:process:IsWow64Process (0xffffffff 0x34f8dc) stub! fixme:virtual:NtAllocateVirtualMemory MEM_WRITE_WATCH type not supported err:ole:CoGetObjectContext apartment not initialised fixme:shell:URL_ParseUrl failed to parse L"msvcm80" fixme:shell:URL_ParseUrl failed to parse L"System.Windows.Forms" fixme:shell:URL_ParseUrl failed to parse L"System" fixme:shell:URL_ParseUrl failed to parse L"NWN2Toolset" fixme:shell:URL_ParseUrl failed to parse L"System.Drawing" fixme:shell:URL_ParseUrl failed to parse L"OEIShared" fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE fixme:shell:URL_ParseUrl failed to parse L"Accessibility" fixme:shell:URL_ParseUrl failed to parse L"DotNetMagic2005" fixme:win:EnumDisplayDevicesW ((null),0,0x7cf07fcc,0x00000000), stub!
http://bugs.winehq.org/show_bug.cgi?id=11507
CN Gnome cngnome@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet
http://bugs.winehq.org/show_bug.cgi?id=11507
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2008-02-07 15:27:51 --- And how do you know that? What exactly the problem with your program? Again closing invalid. DO NOT report just some messages you see in the terminal.
http://bugs.winehq.org/show_bug.cgi?id=11507
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2008-02-07 15:28:06 --- Closing invalid. Report only real application problems
http://bugs.winehq.org/show_bug.cgi?id=11507
CN Gnome cngnome@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #3 from CN Gnome cngnome@gmail.com 2008-02-07 15:37:13 --- I see the resources are missing from the window when I compare how the program looks on windows to the look in wine. So the resource files are not loaded.
http://bugs.winehq.org/show_bug.cgi?id=11507
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial Summary|Resource files in nwn2 dm |nwn2 dm toolkit missing |toolkit do not get loaded |graphical elements
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2008-02-07 15:43:49 --- And where can we see that? Attach screenshot. Also unless you actually debugged the application to know it is not loading resources - don't claim what you do not know. Just simply _state what is wrong with application_! Period.
http://bugs.winehq.org/show_bug.cgi?id=11507
--- Comment #5 from CN Gnome cngnome@gmail.com 2008-02-07 16:46:22 --- Created an attachment (id=10666) --> (http://bugs.winehq.org/attachment.cgi?id=10666) Started program in linux, resources missing
http://bugs.winehq.org/show_bug.cgi?id=11507
--- Comment #6 from CN Gnome cngnome@gmail.com 2008-02-07 16:47:37 --- Created an attachment (id=10667) --> (http://bugs.winehq.org/attachment.cgi?id=10667) Clip of log during resource loading problem
http://bugs.winehq.org/show_bug.cgi?id=11507
--- Comment #7 from CN Gnome cngnome@gmail.com 2008-02-07 17:24:57 --- Created an attachment (id=10670) --> (http://bugs.winehq.org/attachment.cgi?id=10670) The way when resources look in windows
Look at panels on left and right sides. These are resource panels.
http://bugs.winehq.org/show_bug.cgi?id=11507
CN Gnome cngnome@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|trivial |normal
--- Comment #8 from CN Gnome cngnome@gmail.com 2008-02-10 16:06:47 --- I changed the severity back to normal because as resources do not load, they cannot be used. For example: In order to place a NPC (non-player character), monster or a tree to a screen, one has to pick it up from the resource panel and because there is nothing on the panels, these cannot be placed.
This is similar to for example if GNU Paint would have no left-hand panel where you could pick up the boxes, circles, fonts, paintbrush etc.
CNG
http://bugs.winehq.org/show_bug.cgi?id=11507
--- Comment #10 from CN Gnome cngnome@gmail.com 2008-06-19 15:09:09 --- Yes and no. Install of dotnet 2.0 fails (bug 13997) on fresh wine setup. And when I try to run the toolkit nevertheless, I get :
Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Globalization.TextInfo' threw an exception. at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID) at System.Globalization.TextInfo.get_InvariantNativeTextInfo() at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, StringComparison comparisonType) at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String url, Boolean isFileUrl) at System.AppDomainSetup.NormalizePath(String path, Boolean useAppBase) at System.AppDomainSetup.SetupDefaultApplicationBase(String imageLocation) at System.AppDomain.SetupFusionStore(AppDomainSetup info) at System.AppDomain.SetupDomain(Boolean allowRedirects, String path, String configFile) wine: Unhandled exception 0xe0434f4d at address 0x7b844b20 (thread 0009), starting debugger...
http://bugs.winehq.org/show_bug.cgi?id=11507
--- Comment #11 from CN Gnome cngnome@gmail.com 2008-06-27 11:07:36 --- Tested on wine 1.1. Still the same error.
http://bugs.winehq.org/show_bug.cgi?id=11507
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #12 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-06-27 11:13:23 --- Have you tried to run this with mono as well (winetricks mono19) Maybe you have more luck themn
http://bugs.winehq.org/show_bug.cgi?id=11507
--- Comment #13 from CN Gnome cngnome@gmail.com 2008-06-28 12:07:38 --- I have, but it does not start as it requires native crt libraries that mono does not have.
http://bugs.winehq.org/show_bug.cgi?id=11507
--- Comment #14 from Austin English austinenglish@gmail.com 2008-12-29 10:53:11 --- Is this still an issue in current (1.1.11 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=11507
--- Comment #15 from CN Gnome cngnome@gmail.com 2008-12-29 14:39:57 --- I tried on 1.11 and did : ./winetricks dotnet20 wine NWN2ToolsetLauncher.exe >nwn2trace.txt 2>&1
It didnt crash, but it froze so I had to kill it.
Please take a look at the attached log.
http://bugs.winehq.org/show_bug.cgi?id=11507
CN Gnome cngnome@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #10666|0 |1 is obsolete| | Attachment #10667|0 |1 is obsolete| | Attachment #10670|0 |1 is obsolete| |
--- Comment #16 from CN Gnome cngnome@gmail.com 2008-12-29 14:41:27 --- Created an attachment (id=18311) --> (http://bugs.winehq.org/attachment.cgi?id=18311) console log during startup
http://bugs.winehq.org/show_bug.cgi?id=11507
--- Comment #17 from CN Gnome cngnome@gmail.com 2009-01-04 10:25:00 --- In 1.1.12 no longer freezes, crash log attached.
http://bugs.winehq.org/show_bug.cgi?id=11507
CN Gnome cngnome@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #18311|0 |1 is obsolete| |
--- Comment #18 from CN Gnome cngnome@gmail.com 2009-01-04 10:26:25 --- Created an attachment (id=18473) --> (http://bugs.winehq.org/attachment.cgi?id=18473) Unhandled Exception: System.IO.IOException: No access to memory location
http://bugs.winehq.org/show_bug.cgi?id=11507
--- Comment #19 from CN Gnome cngnome@gmail.com 2009-01-18 13:41:57 --- I updated to 1.1.13.
Crash nowopoints to new place. Please take a look at new trace.
Out of curiosity, I ran :
WINEDEBUG=+tid,+seh,+relay,+wininet wine NWN2ToolsetLauncher.exe >trace3.txt 2>&1
Now game no longer crashed, but behaviour is back to original behaviour of not showing the resources (please take a look at the original (obsoleted) screenshots at the beginning of this bug.
http://bugs.winehq.org/show_bug.cgi?id=11507
CN Gnome cngnome@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #18473|0 |1 is obsolete| |
--- Comment #20 from CN Gnome cngnome@gmail.com 2009-01-18 13:42:59 --- Created an attachment (id=18801) --> (http://bugs.winehq.org/attachment.cgi?id=18801) Log of crash from wine 1.1.13
http://bugs.winehq.org/show_bug.cgi?id=11507
--- Comment #21 from CN Gnome cngnome@gmail.com 2009-01-19 14:59:43 --- A bit more browsing for the cause of this. I found out, that the version that I have, is not updated correctly via nwn2 autopatcher! Updates are incremental and individual patches do not apply all the changes and this will crash dm toolkit : http://www.gamefaqs.com/boards/genmessage.php?board=922154&topic=4351217...
You need to come here : http://nwvault.ign.com/View.php?view=NWN2Articles.Detail&id=230#english
1. Fetch all English patches. 2. cp *.zip to your nwn2 install directory. DO NOT UNZIP them! 3. Unplug your nic to prevent net based autopatcher 4. Run nwupdate for all of them. After each patch, restart nwudpate.exe
I actually tried all of them and found out that those that the original message from gamefaqs told that various of them worked on windows, actually very few did on wine.
These worked on wine, others crashed : 1.12.1295 1.13.1407 - First time in this program, resources are loaded - Everything not related to drawing seems to work
Drawing is extermelly slow, propably due this : 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
Map editor works, but background is black. Only items are shown. This may be the cause :
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
But as the original scope of this bug was on the loading of resources, this is now fixed. Provided of course, that you apply patches as instructed before and that only two patches work, neither of them being the latest one.
http://bugs.winehq.org/show_bug.cgi?id=11507
CN Gnome cngnome@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #22 from CN Gnome cngnome@gmail.com 2009-03-20 15:00:28 --- I changed this to fixed with the reasoning I gave. The downside is that you need specific release of nwn2 and manually patch to it. The fact is thought that it works, it is just too slow to use and won't be made faster as indicated in bug 11506 so I see no point of keeping this open.
http://bugs.winehq.org/show_bug.cgi?id=11507
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org 2009-03-27 13:48:59 --- Closing bugs fixed in 1.1.18.