How to change the size of faces in Battle Status Window?

I've spent 2 days so far trying to find how to change it. I tried changing it in the rmmz windows.js file by replacing the rect.width and rect.height variables with numbers and all it does is move it left and right or up and down whenever I try to make the values more than 144.

I just want to know how I can change this. I'm using Visustella's Battle Core along with SRD's Battle GUI Core, and neither of them have the options to change the face proportions.

I want to make the faces 192x164 but I don't know what plugin or line of code will be able to allow me to do that. Additionally, I'm also using the FOSSIL plugin, so maybe MV plugins could help me I guess. 🙁
Maybe this will work.
Save this as a plugin file.
JavaScript:
Window_BattleStatus.prototype.drawFace = function(
    faceName, faceIndex, x, y, width, height
) {
    const faceWidth = 192;  // CHANGE THIS TO YOUR VALUE
    const faceHeight = 164; // CHANGE THIS TO YOUR VALUE
    const bitmap = ImageManager.loadFace(faceName);
    const pw = faceWidth;
    const ph = faceHeight;
    const sw = Math.min(width, pw);
    const sh = Math.min(height, ph);
    const dx = Math.floor(x + Math.max(width - pw, 0) / 2);
    const dy = Math.floor(y + Math.max(height - ph, 0) / 2);
    const sx = Math.floor((faceIndex % 4) * pw + (pw - sw) / 2);
    const sy = Math.floor(Math.floor(faceIndex / 4) * ph + (ph - sh) / 2);
    this.contents.blt(bitmap, sx, sy, sw, sh, dx, dy);
};
I suspect that this may allow for bigger face graphics, but the image will still be cropped to 144. Saying this because I tried the same with face graphics for message windows and it didn't work...
Maybe this will work.
Save this as a plugin file.
JavaScript:
Window_BattleStatus.prototype.drawFace = function(
    faceName, faceIndex, x, y, width, height
) {
    const faceWidth = 192;  // CHANGE THIS TO YOUR VALUE
    const faceHeight = 164; // CHANGE THIS TO YOUR VALUE
    const bitmap = ImageManager.loadFace(faceName);
    const pw = faceWidth;
    const ph = faceHeight;
    const sw = Math.min(width, pw);
    const sh = Math.min(height, ph);
    const dx = Math.floor(x + Math.max(width - pw, 0) / 2);
    const dy = Math.floor(y + Math.max(height - ph, 0) / 2);
    const sx = Math.floor((faceIndex % 4) * pw + (pw - sw) / 2);
    const sy = Math.floor(Math.floor(faceIndex / 4) * ph + (ph - sh) / 2);
    this.contents.blt(bitmap, sx, sy, sw, sh, dx, dy);
};

Thanks! I'll try it out now! 😀
Maybe this will work.
Save this as a plugin file.
JavaScript:
Window_BattleStatus.prototype.drawFace = function(
    faceName, faceIndex, x, y, width, height
) {
    const faceWidth = 192;  // CHANGE THIS TO YOUR VALUE
    const faceHeight = 164; // CHANGE THIS TO YOUR VALUE
    const bitmap = ImageManager.loadFace(faceName);
    const pw = faceWidth;
    const ph = faceHeight;
    const sw = Math.min(width, pw);
    const sh = Math.min(height, ph);
    const dx = Math.floor(x + Math.max(width - pw, 0) / 2);
    const dy = Math.floor(y + Math.max(height - ph, 0) / 2);
    const sx = Math.floor((faceIndex % 4) * pw + (pw - sw) / 2);
    const sy = Math.floor(Math.floor(faceIndex / 4) * ph + (ph - sh) / 2);
    this.contents.blt(bitmap, sx, sy, sw, sh, dx, dy);
};
Just tried it and it works! 😀 Thank you SO MUCH.
Hey that’s wonderful! I’ll go revisit why it didn’t work for message window faces…

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-the-size-of-faces-in-battle-status-window.167340/