001b:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
0009:err:module:LdrInitializeThunk "GDI42.dll" failed to initialize, aborting
0009:err:module:LdrInitializeThunk Initializing dlls for L"C:\\Program Files\\Travel around Time\\PlantsVsZombies.exe" failed, status c0000142
I'm no expert on any of this, but I do have a wine prefix I did nothing special to, so I searched fo GDI42.dll and it is not in the prefix. GDI32.dll is though. Makes me wonder if you need to specifially load GDI42.dll. I didn't see it listed in winetrick but perhaps it's part of some package there or something. What were you trying to run? Also note that wine will kick out err: messages and other things as it is running - these normally aren't problems but in your case it seems to be stopping your program from running.
Please post back the console starting with your command to start the program and through the end of wine output.
I still haven't found GDI42.dll, but I have a visual basic program whose graphics weren't working and another user here found the problem. It also deals with a GDI dll. While not GDI42.dll it won't hurt to try it with your program to see if it helps. Just use winetricks and install gdiplus. Let us know if it makes any difference of not.
xingjiapeng@xingjiapeng-pc:~/.wine/drive_c/Program Files/Travel around Time$ wine PlantsVsZombies.exe
001b:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
0009:err:module:LdrInitializeThunk "GDI42.dll" failed to initialize, aborting
0009:err:module:LdrInitializeThunk Initializing dlls for L"C:\\Program Files\\Travel around Time\\PlantsVsZombies.exe" failed, status c0000142
I tried going to the site you linked to thinking I could set up a test prefix to test it on my end. That site comes up in Chinese with a different URL so I couldn't get the program. I'm more than a little leery of downloading some of those things as I don't understand wine except to use it so I don't know if there is a way for a Windows virus to do anything to my linux installation.
If you could give me a link in English I might be able to help. Unfortunately I've just been too darn stupid to learn another language so I'm not bilingual, so I don't understand a thing on that webpage.
If it comes with an installer, try seeing if one of archive managers can tell you what is included. I know sometimes I have luck with that. In the mean time I'll see if I can find that dll anywhere.
Ok, I found a link to the dll. It appears to be a privately created dll so it wouldn't just be included in wine. If you can follow this link to get the dll you can place it in your program's wine prefix.
You can also register a dll to a wine prefix but I would need to look to see how to do that.
Now a couple questions:
1. Did you download a 32-bit or 64-bit version of the program?
2. Did you create a wine prefix that matches that version?
It's hard to do much without the program but I can try. The first thing I would do is follow this link and see if you can see where to download the dll. Once you've downloaded it, if you need help putting it in your wine prefix let me know and I'll see if I can help. I don't know much about this stuff but I can try to help. Here's the link:
Hi!
Sorry, I tried to replace the GDI42.dll, and it worked...
So that's probably because of I use a wrong GDI42.dll, or probably there are something wrong when I download it.