[1.13c] Is it possible to move inventory picture position?

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

Razi198
Posts: 40
Joined: Fri Aug 16, 2019 11:49 am

[1.13c] Is it possible to move inventory picture position?

Post by Razi198 » Fri Jun 09, 2023 9:39 am

I have 2 questions:
1) Is it possible to move inventory picture position to the top of the screen?
I increased the inventory slots to width:13, height:9, but I want to increase the inventory slots to 13x13 like this:
Image
I think this requires moving the inventory picture position to the top of the screen. Already removed borders in the 800x600 resolution.
2) Then this requires to insert a larger inventory picture like on the screenshot, but game doesn't want to work with a larger inventory picture: height 548 pixels. How to fix it?
Is it possible to do this? (D2LOD v.1.13c)
Last edited by Razi198 on Fri Jun 09, 2023 9:44 pm, edited 1 time in total.

palax
Posts: 4
Joined: Thu Apr 21, 2022 4:57 am
United States of America

Re: [1.13c] Is it possible to move inventory position?

Post by palax » Fri Jun 09, 2023 4:36 pm

at that size, you're overlapping into the border, which exceeds the bounds available for the inventory. remember, that border is only really there in 800x600 resolution, so in 640x480, the 548pixel background would exceed the total area of the diablo 2 window. even 10x10 inventory just BARELY doesnt fit/work all the time, as theres just a pixel or 2 short there and causes inconsistent crashing. the giga inventory 10x9 is probably the largest you're going to get.
zY7Z52.jpg
You do not have the required permissions to view the files attached to this post.

Razi198
Posts: 40
Joined: Fri Aug 16, 2019 11:49 am

Re: [1.13c] Is it possible to move inventory picture position?

Post by Razi198 » Sun Jun 11, 2023 10:42 am

palax wrote:
Fri Jun 09, 2023 4:36 pm
even 10x10 inventory just BARELY doesnt fit/work all the time, as theres just a pixel or 2 short there and causes inconsistent crashing. the giga inventory 10x9 is probably the largest you're going to get.
There is also inventory mod with 11x9 cells. And I made a mod with 13x9 cells that goes off screen by 58 pixels at a resolution 640x480 (inventory picture width:378 pixels) and the mod works:
Image

But I can't even make the inventory image smaller than 432px by height. It looks like it requires to edit the code to resize height of the inventory image.

Ormusn2o
Posts: 1
Joined: Mon Feb 26, 2024 8:34 am

Re: [1.13c] Is it possible to move inventory picture position?

Post by Ormusn2o » Mon Feb 26, 2024 10:20 am

Razi198 wrote:
Sun Jun 11, 2023 10:42 am
And I made a mod with 13x9 cells that goes off screen by 58 pixels at a resolution 640x480 (inventory picture width:378 pixels) and the mod works:
Can you provide link for it? I would love to use it. Or if you got bigger inventory you managed to make. Also, is it possible to make it even bigger on higher resolution with mods that increase resolution?

Image

Return to “General Mod Making”