[PlugY 14] PlugY.ini into mpq

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
borg
Posts: 49
Joined: Mon Jun 10, 2002 3:52 pm
Location: taiwan
Contact:
Taiwan

[PlugY 14] PlugY.ini into mpq

Post by borg » Sun Apr 11, 2021 6:56 pm

If you don't want players to change plugy settings, you can put plugy.ini into mpq. But it seems that way doesn't work for the latest release.
After several testing, PlugY.ini has to be outside of mpq to work properly. I wonder it's a new feature for plugy 14 or there is another way to put plugy.ini into mpq for real effect?

User avatar
Texalic
Junior Member
Paladin
Posts: 143
Joined: Sat Mar 10, 2018 9:09 am
Croatia

Re: [PlugY 14] PlugY.ini into mpq

Post by Texalic » Mon Apr 12, 2021 3:14 pm

"Now, the PlugY folder must be in the same directory as PlugY.ini (so in the mod folder)."

So I would say that in mpq with plugy ini you also need to include plugy folder.
Thank You for all Your hard work. :leftthumb:

User avatar
borg
Posts: 49
Joined: Mon Jun 10, 2002 3:52 pm
Location: taiwan
Contact:
Taiwan

Re: [PlugY 14] PlugY.ini into mpq

Post by borg » Sat Apr 17, 2021 8:53 am

Texalic wrote:
Mon Apr 12, 2021 3:14 pm
"Now, the PlugY folder must be in the same directory as PlugY.ini (so in the mod folder)."
So I would say that in mpq with plugy ini you also need to include plugy folder.
Well, this is how I did:
ext/dmzx/imageupload/files/e8c33efd9537 ... 9f0883.png
plugy folder in patch_d2.mpq and plugy.ini in plugy folder.
Even though in mpq I took ini out of folder, plugy still has no effect. :-|

User avatar
Texalic
Junior Member
Paladin
Posts: 143
Joined: Sat Mar 10, 2018 9:09 am
Croatia

Re: [PlugY 14] PlugY.ini into mpq

Post by Texalic » Sat Apr 17, 2021 11:32 am

I think it should be like this.

Patch_d2.mpq
- data
-plugy folder as it is
Directly inside patch_d2.mpq there should be plugy.ini and plugy.dll

What did you do with plugy dll.

Of course, you won't have plugy files outside patch_d2.mpq.
Thank You for all Your hard work. :leftthumb:

User avatar
kain_abel_666
Posts: 48
Joined: Fri Apr 03, 2020 12:13 pm
Location: Canada
Canada

Re: [PlugY 14] PlugY.ini into mpq

Post by kain_abel_666 » Sat Apr 17, 2021 11:45 am

Texalic wrote:
Sat Apr 17, 2021 11:32 am
I think it should be like this.

Patch_d2.mpq
- data
-plugy folder as it is
Directly inside patch_d2.mpq there should be plugy.ini and plugy.dll

What did you do with plugy dll.

Of course, you won't have plugy files outside patch_d2.mpq.
I am 99.9% sure you cannot run a DLL from inside an mpq.
I've stayed quite a while and heard what you have to say. Now it is time for the real Kain to emerge.

User avatar
borg
Posts: 49
Joined: Mon Jun 10, 2002 3:52 pm
Location: taiwan
Contact:
Taiwan

Re: [PlugY 14] PlugY.ini into mpq

Post by borg » Sat Apr 17, 2021 2:59 pm

Texalic wrote:
Sat Apr 17, 2021 11:32 am
I think it should be like this.
Patch_d2.mpq
- data
-plugy folder as it is
Directly inside patch_d2.mpq there should be plugy.ini and plugy.dll
What did you do with plugy dll.
I just tested the same approach as what you think.....and didn't work.
Take a look....
https://imgur.com/j5i28c1
Thanks for your reply anyway.

User avatar
Texalic
Junior Member
Paladin
Posts: 143
Joined: Sat Mar 10, 2018 9:09 am
Croatia

Re: [PlugY 14] PlugY.ini into mpq

Post by Texalic » Sat Apr 17, 2021 5:44 pm

After a little bit of research :mrgreen:

@kain_abel_666

Well, it can be only loaded if there is a way for those dlls to be loaded, like d2mod.ini e.g. in Genesis mod is like that.

@borg

Yeah, had to test it by myself, it doesn't load, if I try older version it does load then.

Maybe "Now, the PlugY folder must be in the same directory as PlugY.ini (so in the mod folder)." i.e. "so in the mod folder" really means that.

Though maybe @Yohann could answer that, you can ask him.

And besides, everyone knows how to use mpq editor, so I guess they will extract your file and change plugy ini settings anyway. :mrgreen:
Thank You for all Your hard work. :leftthumb:

Post Reply

Return to “PlugY|NefEx|D2Mod”