How to Test Patch MPQ?

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

Post Reply
jonhbox
Posts: 15
Joined: Mon Jun 05, 2017 9:17 pm

How to Test Patch MPQ?

Post by jonhbox » Tue Jan 16, 2018 2:10 pm

Is there any way to test the entire Diablo 2 game to check for any bug in the MPQ Patch?

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

Hand-picked

Re: How to Test Patch MPQ?

Post by Necrolis » Tue Jan 16, 2018 2:18 pm

The only thing one can do with the Diablo II MPQ's is take an MD5/SHA256 of a working MPQ (or all the files therein) and compare it against the MPQ you suspect to be damaged.
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

jonhbox
Posts: 15
Joined: Mon Jun 05, 2017 9:17 pm

Re: How to Test Patch MPQ?

Post by jonhbox » Tue Jan 16, 2018 3:58 pm

Necrolis wrote:
Tue Jan 16, 2018 2:18 pm
The only thing one can do with the Diablo II MPQ's is take an MD5/SHA256 of a working MPQ (or all the files therein) and compare it against the MPQ you suspect to be damaged.
How to do this? Could you explain better?

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

Hand-picked

Re: How to Test Patch MPQ?

Post by Necrolis » Tue Jan 16, 2018 5:43 pm

Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

jonhbox
Posts: 15
Joined: Mon Jun 05, 2017 9:17 pm

Re: How to Test Patch MPQ?

Post by jonhbox » Tue Jan 16, 2018 6:36 pm

Nice, tks @Necrolis

jonhbox
Posts: 15
Joined: Mon Jun 05, 2017 9:17 pm

Re: How to Test Patch MPQ?

Post by jonhbox » Thu Jan 18, 2018 3:49 am

Necrolis wrote:
Tue Jan 16, 2018 2:18 pm
The only thing one can do with the Diablo II MPQ's is take an MD5/SHA256 of a working MPQ (or all the files therein) and compare it against the MPQ you suspect to be damaged.
Now that I've done the tests, I understand how it works.

But what I wanted to do was test a modified patch that I did alone, you know?

In order to check if I failed at any setting in *.txt

User avatar
misiek1294
Junior Member
Paladin
Posts: 168
Joined: Mon Dec 29, 2014 3:58 pm
Poland

Re: How to Test Patch MPQ?

Post by misiek1294 » Thu Jan 18, 2018 8:55 am

D2txtanalyser should help You with that

jonhbox
Posts: 15
Joined: Mon Jun 05, 2017 9:17 pm

Re: How to Test Patch MPQ?

Post by jonhbox » Thu Jan 18, 2018 1:18 pm

misiek1294 wrote:
Thu Jan 18, 2018 8:55 am
D2txtanalyser should help You with that
D2txtAnalyzer has helped, but for me this does not work well. Because when I made the adjustments through D2txtAnalyzer, Patch_D2 increased many other problems.

jonhbox
Posts: 15
Joined: Mon Jun 05, 2017 9:17 pm

Re: How to Test Patch MPQ?

Post by jonhbox » Thu Jan 18, 2018 1:40 pm

Wait, I think I was doing it wrong..

I had forgotten to add the *.txt in the PatchMPQ, so D2TxtAnalyser did not find the new errors in the PatchMPQ.

I will try again..

User avatar
misiek1294
Junior Member
Paladin
Posts: 168
Joined: Mon Dec 29, 2014 3:58 pm
Poland

Re: How to Test Patch MPQ?

Post by misiek1294 » Thu Jan 18, 2018 1:57 pm

You can check *.txt inside data folder no need .mpq for that , if everything is correct put bin to mpq and everything must be ok.

jonhbox
Posts: 15
Joined: Mon Jun 05, 2017 9:17 pm

Re: How to Test Patch MPQ?

Post by jonhbox » Thu Jan 18, 2018 2:47 pm

misiek1294 wrote:
Thu Jan 18, 2018 1:57 pm
You can check *.txt inside data folder no need .mpq for that , if everything is correct put bin to mpq and everything must be ok.
like this?

In d2txtanalyser.ini

Code: Select all

mod_dir  = C:\Users\Desktop\Diablo II\data\global\excel\

User avatar
devurandom
Forum Regular
Angel
Posts: 897
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: How to Test Patch MPQ?

Post by devurandom » Thu Jan 18, 2018 3:24 pm

You can also test your changes, before putting them back in the mpq.
Append - direct -txt to the diablo II shortcut

"C:\Program Files\Diablo II\Diablo II.exe" -direct -txt
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

jonhbox
Posts: 15
Joined: Mon Jun 05, 2017 9:17 pm

Re: How to Test Patch MPQ?

Post by jonhbox » Thu Jan 18, 2018 3:57 pm

devurandom wrote:
Thu Jan 18, 2018 3:24 pm
You can also test your changes, before putting them back in the mpq.
Append - direct -txt to the diablo II shortcut

"C:\Program Files\Diablo II\Diablo II.exe" -direct -txt
Yes

But I want to test the whole Patch, and it would be impossible to play the entire Diablo alone.

Well, I messed up a file in my patch and I can not find where it was..

Post Reply

Return to “General Mod Making”