Diablo 2 - PlugY

Questions about Wine on Linux
Locked
Briceco
Level 1
Level 1
Posts: 8
Joined: Fri Feb 16, 2018 3:46 pm

Diablo 2 - PlugY

Post by Briceco »

Hi everybody,

First, I am french, and I can't write or speak english very properly. Sorry.

I would like to install PlugY (http://plugy.free.fr/en/index.html) to get fonctionnality for the game Diablo 2.

When I launch the .exe file to install PlugY the message "unhandled exception acces_violation c00000005" appears.

Under windows, It seems I just should launch the install with the "-w" option (we can see that solution here : https://us.battle.net/forums/en/bnet/topic/12878498159 http://www.kylecaulfield.com/diablo-2-lod-vista-errors/ https://www.youtube.com/watch?v=obLR-CJrcvE)

But, I am under Debian 8. So, what could I have to do for fix or solve this problem ?

Thank you,

Have nice week-end,

Briceo
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Diablo 2 - PlugY

Post by jkfloris »

When I launch the .exe file to install PlugY the message "unhandled exception acces_violation c00000005" appears.
If the installer does not work, try the zip file to install PlugY
Under windows, It seems I just should launch the install with the "-w" option
This is also possible with Wine:
https://wiki.winehq.org/Wine_User's_Gui ... _arguments
Briceco
Level 1
Level 1
Posts: 8
Joined: Fri Feb 16, 2018 3:46 pm

Re: Diablo 2 - PlugY

Post by Briceco »

Ok.
jkfloris wrote:try the zip file to install PlugY
Did you mean to try the install with the zip archive, with the .zip file available on the site of PlugY ? The archive zip contains the same .exe file (I really believe it, perhaps it's not the same). So, after decompressing the archive and put both of files on the folder .wine/drive_c/Program Files/Diablo II/PlugY I have launched the command # wine PlugY.exe and the result was the same error. In fact, I think I don't understand the first solution you gave me.
This is also possible with Wine:
Ok. Good new. But the only argument I found on the webpage https://wiki.winehq.org/Wine_User's_Gui ... _arguments is -map e1m1 :

Code: Select all

# wine PlugY.exe -map e1m1
don't work. Same result for the other command I found :

Code: Select all

wine start /unix /root/.wine/drive_c/Program\ Files/Diablo\ II/PlugY/PlugY.exe
Could you precise me the complete command ? I'm mistaken.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Diablo 2 - PlugY

Post by jkfloris »

You told us the error came from the installer, but now I understand the error is from the PlugY program. Can you post the full output? Maybe there are more clues.

The second part in your question is about the -w option. This is a command line option for Diablo 2, not PlugY.
You can start Diablo 2 with:

Code: Select all

wine Diablo II.exe -w
Other things you can try are:
- use the latest Wine version from WineHQ
https://wiki.winehq.org/Debian
- create a clean 32bit Wineprefix and reinstall Diablo and PlugY
https://wiki.winehq.org/FAQ#How_do_I_cr ... _system.3F
Briceco
Level 1
Level 1
Posts: 8
Joined: Fri Feb 16, 2018 3:46 pm

Re: Diablo 2 - PlugY

Post by Briceco »

jkfloris wrote:This is a command line option for Diablo 2, not PlugY
Ok. I though "-w" was a general command line option for any .exe file, not specifiqually for the Diablo 2 installer. So I though I could use it for PlugY. I was wrong.
The game Diablo 2 works very well and I am used to launch it without the command line option "-w".
jkfloris wrote:You told us the error came from the installer, but now I understand the error is from the PlugY program. Can you post the full output? Maybe there are more clues.
In fact, the only thing I am really know it's when I launch the PlugY.exe with the command line "wine PlugY.ex" the message "unhandled exception acces_violation c00000005" appears. The attached image shows it.
Error_PlugY.png

Code: Select all

# wine PlugY.exe >log.txt

The file log.txt is empty. Are there some "wine error log" I could check ? Where can I find it ?
jkfloris wrote:- use the latest Wine version from WineHQ
https://wiki.winehq.org/Debian
I am going to do that.
Briceco
Level 1
Level 1
Posts: 8
Joined: Fri Feb 16, 2018 3:46 pm

Re: Diablo 2 - PlugY

Post by Briceco »

Code: Select all

WINEDEBUG=+relay,+seh,+tid wine PlugY.exe >> /tmp/output.txt 2>&1
Here just the end of the log file "output.txt".

Code: Select all

000f:Ret  KERNEL32.WaitForSingleObject() retval=00000000 ret=7edd63b0
001f:Call PE DLL (proc=0x7ed9bc20,module=0x7ed50000 L"rpcrt4.dll",reason=THREAD_DETACH,res=(nil))
0016:Call KERNEL32.FlushFileBuffers(00000028) ret=7ed931ca
000f:Call KERNEL32.CloseHandle(00000094) ret=7edd63c6
001f:Call ntdll.RtlDeleteCriticalSection(00118c28) ret=7ed98149
001f:Ret  ntdll.RtlDeleteCriticalSection() retval=00000000 ret=7ed98149
001f:Call ntdll.RtlFreeHeap(00110000,00000000,00118c20) ret=7ed98174
001f:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7ed98174
001f:Ret  PE DLL (proc=0x7ed9bc20,module=0x7ed50000 L"rpcrt4.dll",reason=THREAD_DETACH,res=(nil)) retval=1
000f:Ret  KERNEL32.CloseHandle() retval=00000001 ret=7edd63c6
0016:Ret  KERNEL32.FlushFileBuffers() retval=00000001 ret=7ed931ca
000f:Call advapi32.RegCloseKey(00000020) ret=7edd60ed
0016:Call KERNEL32.CloseHandle(00000028) ret=7ed931d2
000f:Ret  advapi32.RegCloseKey() retval=00000000 ret=7edd60ed
000f:Call ntdll.RtlDeleteCriticalSection(00117878) ret=7edd6100
000f:Ret  ntdll.RtlDeleteCriticalSection() retval=00000000 ret=7edd6100
0016:Ret  KERNEL32.CloseHandle() retval=00000001 ret=7ed931d2
000f:Call ntdll.RtlFreeHeap(00110000,00000000,00117868) ret=7edd6113
0016:Call KERNEL32.CloseHandle(00000034) ret=7ed931ec
000f:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7edd6113
000f:Call userenv.DestroyEnvironmentBlock(00540000) ret=7edd6129
000f:Call ntdll.RtlDestroyEnvironment(00540000) ret=7effb222
0016:Ret  KERNEL32.CloseHandle() retval=00000001 ret=7ed931ec
000f:Ret  ntdll.RtlDestroyEnvironment() retval=00000000 ret=7effb222
0016:Call ntdll.RtlFreeHeap(00110000,00000000,00118ac8) ret=7ed84159
000f:Ret  userenv.DestroyEnvironmentBlock() retval=00000001 ret=7edd6129
0016:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7ed84159
000f:Call KERNEL32.ExitProcess(00000000) ret=7ede42ec
0016:Call ntdll.RtlFreeHeap(00110000,00000000,00000000) ret=7ed84159
0016:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7ed84159
0016:Call ntdll.RtlFreeHeap(00110000,00000000,00000000) ret=7ed96960
0016:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7ed96960
000f:Call PE DLL (proc=0x7effc160,module=0x7eff0000 L"userenv.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7effc160,module=0x7eff0000 L"userenv.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7ed9bc20,module=0x7ed50000 L"rpcrt4.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7ed9bc20,module=0x7ed50000 L"rpcrt4.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7ed271e0,module=0x7ecf0000 L"advapi32.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7ed271e0,module=0x7ecf0000 L"advapi32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7b87cf30,module=0x7b810000 L"KERNEL32.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7b87cf30,module=0x7b810000 L"KERNEL32.dll",reason=PROCESS_DETACH,res=0x1) retval=1
000f:Call PE DLL (proc=0x7bc89d80,module=0x7bc10000 L"ntdll.dll",reason=PROCESS_DETACH,res=0x1)
000f:Ret  PE DLL (proc=0x7bc89d80,module=0x7bc10000 L"ntdll.dll",reason=PROCESS_DETACH,res=0x1) retval=1
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Diablo 2 - PlugY

Post by Bob Wya »

Briceco wrote:

Code: Select all

WINEDEBUG=+relay,+seh,+tid wine PlugY.exe >> /tmp/output.txt 2>&1
Here just the end of the log file "output.txt".
...
Which is useless... You probably would want to post 1000 lines, from the log file, before any errors:

Code: Select all

grep ':err:' -B 1000 output.txt
But ideally just post the whole thing.
But please put it on a pastebin-type site.

Ta
Bob
Briceco
Level 1
Level 1
Posts: 8
Joined: Fri Feb 16, 2018 3:46 pm

Re: Diablo 2 - PlugY

Post by Briceco »

Bob Wya wrote:Which is useless...
I also though that... but the problem is :

Code: Select all

$ du -sh Wine_log_PlugY_output.txt 
91M     Wine_log_PlugY_output.txt
The command line grep ':err:' -B 1000 Wine_log_PlugY_output.txt shows there is no error. Same thing with gedit and CRTL+F for the search ":err". In any case, sorry, but I didn't succeed to paste the 312182 lines from the log file on the websites Zerobin or github (91 Mo of brut text). If it helps, you could download the complete file here : https://www.catupload.com/download/67e3 ... 81f27.html
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Diablo 2 - PlugY

Post by Bob Wya »

Briceco wrote: I also though that... but the problem is :

Code: Select all

$ du -sh Wine_log_PlugY_output.txt 
91M     Wine_log_PlugY_output.txt
The command line grep ':err:' -B 1000 Wine_log_PlugY_output.txt shows there is no error. Same thing with gedit and CRTL+F for the search ":err". In any case, sorry, but I didn't succeed to paste the 312182 lines from the log file on the websites Zerobin or github (91 Mo of brut text). If it helps, you could download the complete file here : https://www.catupload.com/download/67e3 ... 81f27.html
That download site looks a bit dubious! :lol:

If you compress the log file a bit - you should be able to attach to a WineHQ forum post:

Code: Select all

xz -9 -e Wine_log_PlugY_output.txt
Should get the file size down below the forums 200 Kbyte limit...

Bob
Briceco
Level 1
Level 1
Posts: 8
Joined: Fri Feb 16, 2018 3:46 pm

Re: Diablo 2 - PlugY

Post by Briceco »

The extension xz is not allowed.
The message appears on the top, just below of the title "Post a reply", after I have try to attach the file to my WineHQ post.

Code: Select all

xz -9 -e Wine_log_PlugY_output.txt
Very efficient, it was 91 Mo, now it's 1.3 Mo. Impressive.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Diablo 2 - PlugY

Post by Bob Wya »

Briceco wrote:The extension xz is not allowed.
The message appears on the top, just below of the title "Post a reply", after I have try to attach the file to my WineHQ post.

Code: Select all

xz -9 -e Wine_log_PlugY_output.txt
Very efficient, it was 91 Mo, now it's 1.3 Mo. Impressive.
This is going no where fast...!! :lol:

Just file a bug on the WineHQ Bugzilla and link to it here.
You're able to attach xz compressed files there - with a 5000 Kbyte limit (so no problems for your log file).

Bob
Briceco
Level 1
Level 1
Posts: 8
Joined: Fri Feb 16, 2018 3:46 pm

Re: Diablo 2 - PlugY

Post by Briceco »

Bob Wya wrote:Just file a bug on the WineHQ Bugzilla and link to it here.
I have just file the bug to the WineHq Bugzilla website.

In the meantime, I have installed the latest version of Wine, with the packages from the WineHq website, but I still can't install PlugY : same error.
When I will can attach my log file compressed, I will put here the two files :

1) the first from the wine version installed with the Debian packages,
2) the second from the latest wine version installed with the WineHQ packages.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Diablo 2 - PlugY

Post by dimesio »

Briceco wrote:I have just file the bug to the WineHq Bugzilla website.
You were supposed to file a bug for the problem with your app, not for the forum restrictions on extensions, and attach your log in bugzilla, which already allows xz extensions and allows files up to 5 Mb.

I've added xz to the list of extensions allowed on the forum, but as I noted in https://bugs.winehq.org/show_bug.cgi?id=44554, the forum size limit on uploaded files is 256 Kb, and that is not going to be raised.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Diablo 2 - PlugY

Post by Bob Wya »

Sorry but...
You've Gotta Be Kitten Me!.jpg
Briceco
Level 1
Level 1
Posts: 8
Joined: Fri Feb 16, 2018 3:46 pm

Re: Diablo 2 - PlugY

Post by Briceco »

Ok. Thank you.
dimesio wrote:You were supposed to file a bug for the problem with your app, not for the forum restrictions on extensions, and attach your log in bugzilla, which already allows xz extensions and allows files up to 5 Mb.
This sentence is very understandable for me. Perhaps I am going to do that.

Otherwise, wine is only one way to make Diablo 2 and PlugY work together. I think there are really very few people who want to use PlugY with Wine. So, that's not interesting. If I can't use wine, I can also add an additional Windows OS to my computer. That's not what I wanted, but I don't know anything about Wine. On the contrary, I know a little bit about Grub and how to have a proper multi-boot (I already have several OS on my computer). I'll think about it.
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: Diablo 2 - PlugY

Post by Gcenx »

A clean .wine prefix running Wine 3.0 will install Diablo2/Diablo2LOD & Plugy install just fine, need to run the D2VidTst.exe and then change settings to DirectDraw setting and the game runs just fine.

It will also run fine on Wine 3.1 & 3.1 using both Arch Linux and macOS.

Make sure you are using a clean .wine prefix with geko installed and your good to go.
Locked