MV Kadokawa Slot Machine Plugin Resolution

I'm using the basic Slot Machine plugin from Kadokawa (albeit using my own custom bg.png obviously). I'm moving my game over to 16:9, but I'm having trouble finding a fix to make the slot machine here be at least centered on the screen and not shoved over to the left.

I know that it's probably something simple, but I'm not well-versed enough in JS to figure out like what change I should be making in the script. Does anyone know of a fix for this?
Bumping this to see if any new eyes can find it. I'm still not able to figure this one out.
Starting on line 604, you have four functions in a row called create____

The second line of each has a new Window_thing function call.

In each of those, the first two numbers are the x, y coordinates of that window.

So this one is creating the instructions window at 0, 0 the top left corner.

1724100423583.png
Starting on line 604, you have four functions in a row called create____

The second line of each has a new Window_thing function call.

In each of those, the first two numbers are the x, y coordinates of that window.

So this one is creating the instructions window at 0, 0 the top left corner.

View attachment 315169
Okay, so updating the x coordinates on those four calls does move the Payout Amounts, Total Money, Player Bet, and Command windows over to what would be centered (except the Command window because that's already as wide as the screen so I have to put that back). That's in the new screenshot.

But I'm still not seeing where to move over where the actual graphical assets are drawn in. I took a couple guesses in the next few bunches of code based on what we just did, but I either ended up doing nothing or crashing the game. lol
Well, I rather expected those would be drawn inside those windows.

Looks like the reels are on line 578 (0 is left side of the screen, adjust as desired).

Other sprites are on lines 367-372, I think the x and y values are pretty clearly labeled for you to adjust as desired.

I didn't immediately notice another thing, so if you change those and something else is still misaligned, provide another screenshot.
Well, I rather expected those would be drawn inside those windows.

Looks like the reels are on line 578 (0 is left side of the screen, adjust as desired).

Other sprites are on lines 367-372, I think the x and y values are pretty clearly labeled for you to adjust as desired.

I didn't immediately notice another thing, so if you change those and something else is still misaligned, provide another screenshot.
So, to make things easier, because the actual BG doesn't need to do anything, I adjusted the canvas size of it to center it that way (first screenshot). So that part is taken care of now.

Lines 367-372 seem to be the images that highlight which reels you're betting on (second screenshot). Adjusting those values works totally fine.

Changing Line 578 has a weird consequence. I tell it to go where it needs to go (143 pixels over to center it), the reels totally disappear. If I only do a fraction of the move, it seems something is cutting them off (third screenshot). But I don't see any images anywhere that are set up to mask anything. And adjusting Line 573 to match doesn't seem to do anything.

Also not sure where in the JS that little bet multiplier icon is sitting...
Changing Line 578 has a weird consequence. I tell it to go where it needs to go (143 pixels over to center it), the reels totally disappear. If I only do a fraction of the move, it seems something is cutting them off (third screenshot).
Alright. That's happening because it's drawing the reels inside of a rectangle and you're moving outside the bounds of that rectangle.

So don't edit that line, edit line 642. Change that 110 to where the left-most reel should start.

Also not sure where in the JS that little bet multiplier icon is sitting...
Lines 671-672.
Alright. That's happening because it's drawing the reels inside of a rectangle and you're moving outside the bounds of that rectangle.

So don't edit that line, edit line 642. Change that 110 to where the left-most reel should start.


Lines 671-672.
That did it! After fixing those spots (and adding a couple minor nudges in the other places you pointed out to line things up a bit cleaner), it is right where it needs to be now! Thanks so much for the help!
Gentlemen, do you have the original folder with the files?
I just saw this post ngl as I ran into this issues ages ago in terms of adapting it to the correct 16:9 resolution of 1200+

Original thread: https://forums.rpgmakerweb.com/threads/kadokawa-slot-machine-plugin-resolution.170422/