Help Requested: Item Colors

This is the place to discuss all issues relating to the manipulation of graphics/animations, sounds, music and cinematics within Diablo 2.

Moderators: Necrolis, Nefarius

bardamusakio
Posts: 4
Joined: Wed Nov 03, 2021 8:17 pm
United States of America

Help Requested: Item Colors

Post by bardamusakio » Wed Nov 03, 2021 8:52 pm

I am attempting to change the colors of all unique items.
I understand that I can add colors to the 'item-names' file, but this will only affect identified uniques.
From other posts I am lead to believe my goal is achievable through the pal.pl2 files. (https://d2mods.info/forum/viewtopic.php?t=30754)
Paul Siramy wrote:
Thu Apr 28, 2005 9:17 am
each table is 256 bytes, so they are 1714*256=438784 bytes.
The text color table is at file offset 0x6B600 (439808 in decimal).

Code: Select all

06B600 FF FF FF FF 4D 4D 00 FF   00 69 69 FF C7 B3 77 69
06B610 69 69 00 00 00 D0 C2 7D   FF A8 00 FF FF 64 00 80
06B620 00 AE 00 FF 00 C8 00
My offset appears to be different at 0x6B5FB, but was able to find the unique color ID C7 B3 77
Image

If I just change this to B200FF uniques should be THIS COLOR, right?

If I'm correct so far my only question is how to repackage/implement this mod.
How do I package that change back into a mpq?
Then I can just use a command line argument -mod UniqPurpl -txt to enable it?

bardamusakio
Posts: 4
Joined: Wed Nov 03, 2021 8:17 pm
United States of America

Re: Help Requested: Item Colors

Post by bardamusakio » Wed Nov 03, 2021 11:07 pm

I got this back into an mpq and tried loading it... no change
Any one else have any luck for a change like this?

User avatar
HighTechLowIQ
Posts: 42
Joined: Sat Sep 25, 2021 9:55 am
Ireland

Re: Help Requested: Item Colors

Post by HighTechLowIQ » Fri Nov 05, 2021 12:27 pm

So, I think here you're actually talking about Diablo 2 Resurrected.

In that case, what you want to do is edit the /data/global/ui/layouts/_profilehd.json. In this file, you can find the colours defined near the top using RGBA values. You can define new colours here, adjust existing ones, etc. You can also edit what colours are used - for example, line 302:

Code: Select all

        "UniqueColor": "$FontColorGoldYellow",
Simply change this to "$FontColorLightPurple", and you'll switch the colour of unique items on the ground.

Return to “Multimedia”