PlugY, The Survival Kit 10.01 : Windowed mode options

Discuss applications of D2Mod (v1.10), NefEx (v1.11+), and PlugY, and post suggestions for future plugins.

Moderators: Nefarius, Yohann, SVR

Post Reply
User avatar
Yohann
Hosted Forum Moderator
Hosted Forum Moderator
Arch-Angel
Posts: 1283
Joined: Tue Sep 23, 2003 10:10 pm
Contact:

Hand-picked

PlugY, The Survival Kit 10.01 : Windowed mode options

Post by Yohann » Wed Jan 11, 2017 4:36 am

Sorry this PlugY version isn't compatible with LOD 1.14...
But I added some useful options to play in windowed mode (useful for Windows 10).
I added some commands to swap stash page contents with another page too.

Well you will find more informations about it on the official site.
PlugY v10.00 : Download - Forum
Fix TXT Opened Files With MS Excel : v1.11 - v1.10
DualPlayer
: v1.11 - v1.10 - v1.09

User avatar
themastercaster
Paladin
Posts: 207
Joined: Fri May 28, 2004 2:00 pm

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by themastercaster » Wed Jan 11, 2017 9:15 am

Hey Yohann,

great to hear from you again! :)

I love the new features!
Swapping/Naming pages in the stash was on my most wanted list since the first version I ever tried.
Reloading the gamble page: You are my hero BUT it does not work for me :( on 1.12a the page goes empty and the tab on top vanishes...
rename character crashes the game for me (1.12a) but the renaming is successful
a command to unlock the mouse would be useful to, wouldn't you say?
if you minimize the game after locking the cursor, the cursor is "free" once you re-open the game

Do /listcube and /page 4 read the currently loaded cubemain.bin or .txt? If it is the bin file this would be potential "dangerous" for some mods which have hidden recipies. I guess you could deactivate it via plugy_fixed.ini but for now it is pretty easy to update plugy 10.00 to 10.01 for any given mod and extract the recipies.

once again. great to have you back :)
Are you planning on working again on plugy? this would be tremendous news.

Did you see the GitHub Project where your 10.00 source code is hosted? L'Autour created a v11.00 which is 1.13d compatible
https://github.com/ChaosMarc/PlugY
I created a branch 10.01 and mirrored your latest release if you don't mind

regards
tmc/chaosmarc

User avatar
Ogodei
Hosted Forum Moderator
Hosted Forum Moderator
Champion of the Light
Posts: 310
Joined: Thu Mar 10, 2016 8:31 am
Italy

Hand-picked

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by Ogodei » Wed Jan 11, 2017 10:46 am

Hello :) Trying 10.01 right now with V1.10f. It's very nice that you thought about page renaming and mouse-lock features! finally I don't close the game's window by misclicking on my desktop!
I noticed, though, that I have an issue with /reload and /rename commands: it crashes when I attempt to refresh gamble page, and when I try to rename my character it crashes but then says "Unable to enter game. Bad character version" (it happens even with imple name such as /rename Abc), resulting in the loss of that character. Any idea about what could be the cause of this bugs?
Apart from that, I want to thank you for the effort put in this plugin, featuring tons of useful features!

User avatar
Necrolis
Site Admin
Site Admin
Throne
Posts: 8831
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by Necrolis » Wed Jan 11, 2017 1:26 pm

The Window 10 issues from versions prior to 1.14 are really annoying, but can be easily rectified by making Win10 run D2 with WinXP SP3 compatibility (Helpful if you want to play full screen) =)

Great to see at that you have added the source code on the update!
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

User avatar
Yohann
Hosted Forum Moderator
Hosted Forum Moderator
Arch-Angel
Posts: 1283
Joined: Tue Sep 23, 2003 10:10 pm
Contact:

Hand-picked

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by Yohann » Wed Jan 11, 2017 7:26 pm

Naming pages : They will be saved in next version.
Reloading the gamble page : Oops, I never finish this feature. I will remove the command in next version.
Losing lock when LOD regain focus (after losing it via Alt+tab or minimizing) : No plan to fix it, you must use the "/lock" command.
Unlock mouse : I will add a command for this in next version. For now, you can do Alt+Tab.
Commands /listcube and /page 4 : They exists since long time and use real data game (i.e. bin file).
Command /rename : it's still in beta test but I have no crash in my computer. I don't think the character is lost, can you check your save folder ?

Sorry, I don't plan to invest a lot of time in PlugY.

Yes I saw there are some repositories for PlugY but I don't know which one to choose.
And I don't want to use time to merging it myself.

Necrolis, you are lucky because even with WinXP compatility, it don't works for me !
PlugY v10.00 : Download - Forum
Fix TXT Opened Files With MS Excel : v1.11 - v1.10
DualPlayer
: v1.11 - v1.10 - v1.09

User avatar
Necrolis
Site Admin
Site Admin
Throne
Posts: 8831
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by Necrolis » Wed Jan 11, 2017 8:01 pm

Yohann wrote:Reloading the gamble page : Oops, I never finish this feature. I will remove the command in next version.
I can help you finish this in 1.10 if you like, not too complicated.
Yohann wrote:Necrolis, you are lucky because even with WinXP compatility, it don't works for me !
I've notice Win10 has much better compat modes, but you have to pick the right one.
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

User avatar
Yohann
Hosted Forum Moderator
Hosted Forum Moderator
Arch-Angel
Posts: 1283
Joined: Tue Sep 23, 2003 10:10 pm
Contact:

Hand-picked

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by Yohann » Wed Jan 11, 2017 11:20 pm

Necropolis, if it's not too complicated I accept your help. :)
You can contact me via PM or email.

I think I have try all possibles compatibility modes but perhaps I miss the right one...
About compatility, I have a question for you, with these parameters :
Windows 10
XP SP3 compatibility mode
Fullscreen
LoD 1.13 max
Widescreen (not 4/3)
Did the game keep the ratio 800/600 with black zone on left and right ? Or the game stretch to fill the screen ?

Features ready for next version :
Command /unlockmouse : Unlock the mouse
Command /unlock : same as /unlockmouse
Command /pagename name : stash page name are succefully saved.
Command /setindex : Set the current stash page as index (prev/next index button go to an index if exists)
Command /resetindex : Remove index flag on the current stash page (prev/next index button go to this index if exists).
Command /reload : Command removed. (Well perhaps I will do it with Necropolis)
Add an option in PlugY.ini to select shared stash (instead of personal one) on character loading.
PlugY v10.00 : Download - Forum
Fix TXT Opened Files With MS Excel : v1.11 - v1.10
DualPlayer
: v1.11 - v1.10 - v1.09

User avatar
Ogodei
Hosted Forum Moderator
Hosted Forum Moderator
Champion of the Light
Posts: 310
Joined: Thu Mar 10, 2016 8:31 am
Italy

Hand-picked

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by Ogodei » Wed Jan 11, 2017 11:26 pm

Yohann wrote:
Command /rename : it's still in beta test but I have no crash in my computer. I don't think the character is lost, can you check your save folder ?

Hello! :) I checked, the character save file is still there, but I cannot access to the game due to the "bad file version" i told you.

User avatar
Yohann
Hosted Forum Moderator
Hosted Forum Moderator
Arch-Angel
Posts: 1283
Joined: Tue Sep 23, 2003 10:10 pm
Contact:

Hand-picked

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by Yohann » Thu Jan 12, 2017 2:06 am

If you want, you can send me your save files, I will check them.

Features ready for next version (+2 commands) :
Command /unlockmouse : Unlock the mouse
Command /unlock : same as /unlockmouse
Command /pagename name : stash page name are succefully saved.
Command /setindex : Set the current stash page as index (prev/next index button go to an index if exists)
Command /resetindex : Remove index flag on the current stash page (prev/next index button go to this index if exists).
Command /reload : Command removed. (Well perhaps I will do it with Necropolis)
Command /insertpage : Insert a new page after the current page.
Command /deletepage: Delete current page if empty.

Add an option in PlugY.ini to select shared stash (instead of personal one) on character loading.
PlugY v10.00 : Download - Forum
Fix TXT Opened Files With MS Excel : v1.11 - v1.10
DualPlayer
: v1.11 - v1.10 - v1.09

User avatar
Ogodei
Hosted Forum Moderator
Hosted Forum Moderator
Champion of the Light
Posts: 310
Joined: Thu Mar 10, 2016 8:31 am
Italy

Hand-picked

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by Ogodei » Thu Jan 12, 2017 8:58 am

Hello Yohann,

I've sent you a PM containing a link to download my corrupted char file :) let me know!

User avatar
Necrolis
Site Admin
Site Admin
Throne
Posts: 8831
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by Necrolis » Fri Jan 13, 2017 12:46 pm

Yohann wrote:Necropolis, if it's not too complicated I accept your help. :)
You can contact me via PM or email.
I'll send you a PM.
Yohann wrote:I think I have try all possibles compatibility modes but perhaps I miss the right one...
About compatility, I have a question for you, with these parameters :
Windows 10
XP SP3 compatibility mode
Fullscreen
LoD 1.13 max
Widescreen (not 4/3)
Did the game keep the ratio 800/600 with black zone on left and right ? Or the game stretch to fill the screen ?
Checking again, I was using WinXP SP2, using LoD 1.12. I get the well known letters in top right, but they rendering thought quickly, and D2 starts up (but letter boxed, as I am running widescreen).
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

kambala
Crusader
Posts: 61
Joined: Wed Nov 25, 2009 4:32 pm
Location: Ukraine, Kyiv
Contact:

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by kambala » Fri Jan 13, 2017 1:40 pm

Yohann wrote:Yes I saw there are some repositories for PlugY but I don't know which one to choose.
And I don't want to use time to merging it myself.
please create your own repo: it's up to others to merge, not to you :)
cross-platform tools: K.A.M.B.A.L.A.: Kinetic Artificial Machine Built for Assassination and Logical Analysis

User avatar
Yohann
Hosted Forum Moderator
Hosted Forum Moderator
Arch-Angel
Posts: 1283
Joined: Tue Sep 23, 2003 10:10 pm
Contact:

Hand-picked

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by Yohann » Fri Jan 13, 2017 4:13 pm

Necrolis wrote:Checking again, I was using WinXP SP2, using LoD 1.12. I get the well known letters in top right, but they rendering thought quickly, and D2 starts up (but letter boxed, as I am running widescreen).
Don't works for me...
Anyway, I don't like when it's letter boxed, so I prefer windowed...
By the way, the resize option only works in 1.13c and after, I don't know why...
PlugY v10.00 : Download - Forum
Fix TXT Opened Files With MS Excel : v1.11 - v1.10
DualPlayer
: v1.11 - v1.10 - v1.09

User avatar
themastercaster
Paladin
Posts: 207
Joined: Fri May 28, 2004 2:00 pm

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by themastercaster » Fri Jan 13, 2017 8:26 pm

I guess it's because blizzard added a lot of window mode specific code with patch 1.13c
see http://diablo2.diablowiki.net/Diablo_2_Patch_Notes_1.13

User avatar
Yohann
Hosted Forum Moderator
Hosted Forum Moderator
Arch-Angel
Posts: 1283
Joined: Tue Sep 23, 2003 10:10 pm
Contact:

Hand-picked

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by Yohann » Sat Jan 14, 2017 2:59 am

You're right, themastercaster! It's in the Patch.txt of 1.13c (including the typo) !
- Support for blit scaling in windowed mode. The game can now be maximized to the largest 4:3 resolution supported (hooray widescreen users).
Features ready for next version :
Compatibily with 1.13d (thanks to L'Autour)
Command /unlockmouse : Unlock the mouse
Command /unlock : same as /unlockmouse
Command /pagename name : stash page name are succefully saved.
Command /setindex : Set the current stash page as index (prev/next index button go to an index if exists)
Command /resetindex : Remove index flag on the current stash page (prev/next index button go to this index if exists).
Command /reload : Command removed. (Well perhaps I will do it with Necropolis)
Command /insertpage : Insert a new page after the current page.
Command /deletepage: Delete current page if empty.
Add an option in PlugY.ini to select shared stash (instead of personal one) on character loading.

The next version will be the last before long time so if you want some little features ask it soon.
I will release the next version by Monday.
PlugY v10.00 : Download - Forum
Fix TXT Opened Files With MS Excel : v1.11 - v1.10
DualPlayer
: v1.11 - v1.10 - v1.09

User avatar
themastercaster
Paladin
Posts: 207
Joined: Fri May 28, 2004 2:00 pm

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by themastercaster » Mon Jan 16, 2017 9:43 am

Will you add UI buttons / functionality for the new stash features (swap, toggle, insertpage, deletepage, setindex, resetindex)?
I don't know where additional buttons should fit in but it would be great nevertheless :)
For the page renaming feature a double click on the stash name/number field would be good as well

The set/resetindex option does not work for me (1.12a). I open the stash, navigate to a page (that is no index) and enter /setindex in the chat. After that clicking the outer navigation buttons on the bottom should stop at that page, right?

edit: you're right :mrgreen:
Last edited by themastercaster on Mon Jan 16, 2017 1:47 pm, edited 1 time in total.

User avatar
Yohann
Hosted Forum Moderator
Hosted Forum Moderator
Arch-Angel
Posts: 1283
Joined: Tue Sep 23, 2003 10:10 pm
Contact:

Hand-picked

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by Yohann » Mon Jan 16, 2017 11:50 am

It doesn't works because I haven't release it yet ! :roll:
The previous list is for the next release !

I won't add new buttons for now, only commands.
Well perhaps later, I or someone else will do it... ;)
PlugY v10.00 : Download - Forum
Fix TXT Opened Files With MS Excel : v1.11 - v1.10
DualPlayer
: v1.11 - v1.10 - v1.09

User avatar
AlphA - The Real One
Hosted Forum Moderator
Hosted Forum Moderator
Paladin
Posts: 235
Joined: Sat Oct 31, 2009 12:28 pm

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by AlphA - The Real One » Tue Jan 17, 2017 2:46 pm

How exactly does the set/reset index work? Also would it be possible to add colors to /pagename ?

Cheers
AlphA

User avatar
Yohann
Hosted Forum Moderator
Hosted Forum Moderator
Arch-Angel
Posts: 1283
Joined: Tue Sep 23, 2003 10:10 pm
Contact:

Hand-picked

Re: PlugY, The Survival Kit 10.01 : Windowed mode options

Post by Yohann » Fri Jan 20, 2017 8:31 pm

You can test the color with the current /pagename.
I don't know if it will works.
Setindex, set the current page as an indexed page.
After when you click on next index button, you will go to the next page indexed. If there are no next page, the button works like now. Previous page button works the same way.
Index works nicely with insert/delete page :)
PlugY v10.00 : Download - Forum
Fix TXT Opened Files With MS Excel : v1.11 - v1.10
DualPlayer
: v1.11 - v1.10 - v1.09

Post Reply

Return to “PlugY|NefEx|D2Mod”