D2Mod problems..

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

Moderators: Nefarius, Yohann, SVR

0
No votes
 
Total votes: 0

taLib
Posts: 26
Joined: Fri Nov 07, 2003 6:14 am

D2Mod problems..

Post by taLib » Wed May 11, 2005 8:16 pm

I've never been able to get D2Mod to work, but I've decided to try one more time.

I placed D2Mod folder in Diablo II\ (So the ini is in Diablo II\MyMod\
I placed D2Mod.dll, and D2ModSetup in Diablo II\

I installed, it said complete then I had a error (Windows 98, From what I read it shouldn't cause any problems?.

Ok, so then I downloaded The Waypoints plugin by RicFaith

Added
Waypoints=Waypoints.dll
NewTxt=NewTxt.dll into D2Mod.ini, and the dlls are in the same folder.
I placed all the files in the needed places. And I placed my data\ folder into MyMod folder.

My d2 shortcut was set to this:

Target: "C:\Program Files\Diablo II\Game.exe" -direct -txt -w

Start In: "C:\Program Files\Diablo II\MyMod"

So then, I THOUGH I had everything fixed/ready

I clicked my shortcut, and I get this error:

Diablo II Exception

UNHANDLED EXCEPTION:
ACESS_VIOLATION (c0000005)


What am I doing wrong?

User avatar
Volf
Retired Admin
Dominion
Posts: 5396
Joined: Thu Jul 31, 2003 8:19 am
Finland

Hand-picked

Post by Volf » Wed May 11, 2005 10:16 pm

All d2mod files should be in the same directory where your modded mpq file or your data folder is
And change
Start In: "C:\Program Files\Diablo II\MyMod"
to
Start In: "C:\Program Files\Diablo II"

If your mod, d2gfx.dll and your mod is in a subfolder, also replace the "MyMod" with the subfolder name
Last edited by Volf on Wed May 11, 2005 10:19 pm, edited 1 time in total.

taLib
Posts: 26
Joined: Fri Nov 07, 2003 6:14 am

Re: D2Mod problems..

Post by taLib » Thu May 12, 2005 12:35 am

EDIT:

YES!

YES!

YES!!!

After half a year, Finally its fixed!

Thanks alot, I took all the files from in MyMod folder and put them into the d2 directory and ran it, It worked perfectly.

THANKS!
Last edited by taLib on Thu May 12, 2005 12:45 am, edited 2 times in total.

User avatar
Drac0
Retired staff
Angel
Posts: 589
Joined: Tue Sep 24, 2002 2:24 am
Location: Nowra NSW, Australia
Australia

Post by Drac0 » Sat May 14, 2005 5:36 pm

Volf";p="224042" wrote:And change
Start In: "C:\Program Files\Diablo II\MyMod"
to
Start In: "C:\Program Files\Diablo II"
Mine wouldn't work this way.

To get it to work I had to have -

Target: "C:\Program Files\Diablo II\Game.exe" -mod MyMod -direct -txt -w
Start In: "C:\Program Files\Diablo II\MyMod"

Couldn't get it to work any other way. Now I'm running it with an edited launcher script to keep the saves seperate.

Sardius
Banned
Arch-Angel
Posts: 1173
Joined: Tue May 28, 2002 10:43 pm

Re: D2Mod problems..

Post by Sardius » Sat May 14, 2005 5:55 pm

D2mod setup doesn't seem to work properly in Windows 98, dozens of players playing my mod who used Win98 all reported the same error when running d2modsetup.

User avatar
Ulmo
Forum Regular
Angel
Posts: 860
Joined: Fri Jun 04, 2004 5:04 pm

Post by Ulmo » Sat May 14, 2005 11:33 pm

SVR knows this problem.
He answered that it does not count, D2Mod get correctly installed/uninstalled despite the error message.

He could probably update the readme with that (and correct the utility kit .ini too BTW).

User avatar
SVR
Retired staff
Arch-Angel
Posts: 1449
Joined: Sat Nov 02, 2002 11:04 pm
Location: Texas
United States of America

Hand-picked

Post by SVR » Sun May 15, 2005 2:31 pm

Here is an exe version of the setup that doesn't use rundll.

http://svr.d2mods.com/D2ModSetup.zip
Target: "C:\Program Files\Diablo II\Game.exe" -mod MyMod -direct -txt -w
Start In: "C:\Program Files\Diablo II\MyMod"

Couldn't get it to work any other way.
Thats how it should be. You only need the -mod MyMod if you have renamed the d2mod.ini to MyMod.ini.

To resolve the Save problem, set the Save Path registry setting to Save\ and D2 will save the files relative to the "Start In: folder"\Save

The Save folder *must* exist before you run D2 or it will reset it to the default D2Folder\Save.
Last edited by SVR on Thu Mar 19, 2009 8:48 pm, edited 2 times in total.

Sardius
Banned
Arch-Angel
Posts: 1173
Joined: Tue May 28, 2002 10:43 pm

Re: D2Mod problems..

Post by Sardius » Mon May 16, 2005 9:07 pm

what if d2modsetup is in the same folder as diablo 2?
Would you just need this?

-mod -direct -txt -w

Also, if your not running your mod from txt and just bins I just leave the -txt out yes? wtf is the -w for?

I also thought running d2modstup modified the d2gfx.dll or something.

User avatar
Squelch
Posts: 75
Joined: Mon May 09, 2005 6:29 pm

Re: D2Mod problems..

Post by Squelch » Tue May 17, 2005 12:52 am

I can answer part of that. -w is window mode.

User avatar
SVR
Retired staff
Arch-Angel
Posts: 1449
Joined: Sat Nov 02, 2002 11:04 pm
Location: Texas
United States of America

Hand-picked

Post by SVR » Tue May 17, 2005 3:49 am

what if d2modsetup is in the same folder as diablo 2?
Would you just need this?
d2modsetup has nothing to do with the command line.
All it does is install the code to load d2mod when D2 runs.
You only run d2modsetup once, and it *has* to be run in the D2 folder.

The command line in the shortcut is for D2. the only added param is -mod and you don't need that unless you rename d2mod.ini.

You can use the normal D2 params as you wish ... -txt to compile from txt files, -direct to use the 'data' folder.

Sardius
Banned
Arch-Angel
Posts: 1173
Joined: Tue May 28, 2002 10:43 pm

Re: D2Mod problems..

Post by Sardius » Tue May 17, 2005 5:00 am

But what about the win98 problem? Cause most players who get the error message for win98 when running d2modsetup state the game crashes at numerous locations "places that use extended levels and portal plugin"

User avatar
SVR
Retired staff
Arch-Angel
Posts: 1449
Joined: Sat Nov 02, 2002 11:04 pm
Location: Texas
United States of America

Hand-picked

Post by SVR » Tue May 17, 2005 2:47 pm

What 98 problem ?

Aparrently you didn't read this thread. (or any of the others relating to the win98 setup issue).
The problem is a rundll issue and has nothing to do with d2mod or plugins whatsoever.

If you have a bug you've noticed with a plugin, give me some detail and I'll track it down.
I haven't heard of any problems with portal Or ExtLvl although I don't recommend using them on levels > 255.

User avatar
kingpin
Retired Admin
Cherub
Posts: 10954
Joined: Sat Jan 11, 2003 12:51 pm
Sweden

Hand-picked

Re: D2Mod problems..

Post by kingpin » Tue May 17, 2005 3:26 pm

f you have a bug you've noticed with a plugin, give me some detail and I'll track it down.
I haven't heard of any problems with portal Or ExtLvl although I don't recommend using them on levels > 255.
ExtLvl works fine on > 255 as long as you don't use any object that require's levelID.

Portal doesn't work at all with levels > 255.

Sardius
Banned
Arch-Angel
Posts: 1173
Joined: Tue May 28, 2002 10:43 pm

Re: D2Mod problems..

Post by Sardius » Tue May 17, 2005 6:13 pm

Portal.dll doesn't work at all on levels less then 255??? uhh thats funny, isn't portal dll the portal fix and allows monsters to spawn portals? Cause I have numerous bosses that all spawn red portals when they die and many of them are in the earlier levels and I've never had any problems with that.

User avatar
SVR
Retired staff
Arch-Angel
Posts: 1449
Joined: Sat Nov 02, 2002 11:04 pm
Location: Texas
United States of America

Hand-picked

Post by SVR » Wed May 18, 2005 1:45 am

> 255 means 'greater than 255' .

Return to “PlugY|NefEx|D2Mod”