MV [SOLVED] Resize large icons

Hello. I don't know how to make the 64x64 icons to display as 32x32, similar to zooming but in reverse.

In my game using Yanfly Core the icons are displayed very big and I don't like setting the "line height" to 72 (36 is default). Please ignore the 4 different icons in one icon, I not made a iconset with 64x64 icons.

Captura de pantalla 2023-05-09 224233.png


As it should finally look but with 64x64 icons:

Captura de pantalla 2023-05-09 225917.png


Sorry for my English...
I achieved to resize the icon with this code but all icons are placed in a specific part of the screen

Captura de pantalla 2023-05-10 074111.png


Window_Base.prototype.drawIcon = function(iconIndex) {
var bitmap = ImageManager.loadSystem('IconSet');
var pw = Window_Base._iconWidth;
var ph = Window_Base._iconHeight;
var sx = iconIndex % 16 * pw;
var sy = Math.floor(iconIndex / 16) * ph;
var dw = Yanfly.Param.ItemIconSize;
var dh = Yanfly.Param.ItemIconSize;
var dx = (Window_Base._faceWidth - dw) / 2;
var dy = (Window_Base._faceHeight - dh) / 2;
this.contents.blt(bitmap, sx, sy, pw, ph, dx, dy, 32, 32);
};
Solved! goodbye 32x32 limit!
@J0h3l Good to know that it's solved.
I wonder if I could make a suggestion. If anyone else has this problem it would be nice if they could find the solution here. Could you post what it was?
Thanks.
@J0h3l Good to know that it's solved.
I wonder if I could make a suggestion. If anyone else has this problem it would be nice if they could find the solution here. Could you post what it was?
Thanks.
Hello. Recently I made to place 512x512 icons successfully. Possibly when I have time I will make a more advanced plugin and post it.

Icon made by: Viktor Hahn

Captura de pantalla 2023-05-12 103225.png

Original thread: https://forums.rpgmakerweb.com/threads/solved-resize-large-icons.157394/