Page 1 of 1

PlugY, The Survival Kit 10.01 : Windowed mode options

Posted: Wed Jan 11, 2017 4:36 am
by Yohann
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.

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

Posted: Wed Jan 11, 2017 9:15 am
by ChaosMarc
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

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

Posted: Wed Jan 11, 2017 10:46 am
by Ogodei
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!

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

Posted: Wed Jan 11, 2017 1:26 pm
by Necrolis
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!

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

Posted: Wed Jan 11, 2017 7:26 pm
by Yohann
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 !

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

Posted: Wed Jan 11, 2017 8:01 pm
by Necrolis
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.

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

Posted: Wed Jan 11, 2017 11:20 pm
by Yohann
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.

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

Posted: Wed Jan 11, 2017 11:26 pm
by Ogodei
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.

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

Posted: Thu Jan 12, 2017 2:06 am
by Yohann
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.

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

Posted: Thu Jan 12, 2017 8:58 am
by Ogodei
Hello Yohann,

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

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

Posted: Fri Jan 13, 2017 12:46 pm
by Necrolis
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).

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

Posted: Fri Jan 13, 2017 1:40 pm
by kambala
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 :)

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

Posted: Fri Jan 13, 2017 4:13 pm
by Yohann
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...

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

Posted: Fri Jan 13, 2017 8:26 pm
by ChaosMarc
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

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

Posted: Sat Jan 14, 2017 2:59 am
by Yohann
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.

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

Posted: Mon Jan 16, 2017 9:43 am
by ChaosMarc
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:

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

Posted: Mon Jan 16, 2017 11:50 am
by Yohann
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... ;)

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

Posted: Tue Jan 17, 2017 2:46 pm
by AlphA - The Real One
How exactly does the set/reset index work? Also would it be possible to add colors to /pagename ?

Cheers
AlphA

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

Posted: Fri Jan 20, 2017 8:31 pm
by Yohann
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 :)