Main > Software Forum
Question on Hardware Stretch and -artworkfilledges (for SirP or others)
Tiger-Heli:
Hopefully the "experts" can explain this, b/c I'm baffled:
I tried running Gyruss with the new bezel artwork in NoNameMAME 0.80 (although this also happens with official 0.82u1) . . .
(Artwork is here, BTW).
With resolution at 800x600, -hws on, keep aspect on, and artwork crop and artwork fill edges on, the game worked, but there was about a 25 pixel (guesstimate) black horizontal border above and below the game. With the same settings except -keep aspect off, the game filled the screen, but the "game screen" was squished horizontally (too narrow).
I figured "No problem, I'll just recrop the artwork to do what artworkfilledges does" The native resolution is 224x256. At 800x600, this scales to a 525x600 game screen. So I redid the artwork and mask to 800x600 with a 524 pixel wide game screen and a 137 pixel wide bezel "border" on each side.
Then I ran the game with the new artwork and -artwork crop and -artwork filled edges turned OFF. The game screen was the correct size, my side art was there, but there was a 60-pixel wide black border on either side edge of the screen.
I did a printscreen and pasted it into Gimp and found the following: The game screen is 600x450 pixels, not 600x525, also my artwork is displaying at 110-pixels wide (on each side) with a 60-pixel black border.
I then ran the game with no artwork and did a print-screen of the game info screen and the screen is definitely 447x600 pixels. I verified with -cleanstretch set to "none" and "auto" and got the same results.
Now, THIS is REALLY weird - I also did an F12 snap of the game, and the image came out as 224x256 pixels, like it should.
What part of -keep aspect ratio am I missing??? (rectangular pixels??? j/k, but I am lost here!)
Tiger-Heli:
Just did a test here and it appears that MAME uses 444x600 for all stretched games with -Keep aspect ratio on, for example:
Gyruss Native: 224x256
Mame should be: 525x600
MAME is: 444x600
Centipede Native: 240x256
MAME should be: 563x600
MAME is 444x600
1941 Native: 224x384
MAME should be: 350x600
MAME is: 444x600
Fire Shark Native: 240x320
MAME should be: 450x600
MAME is: 444x600
Actually, this kinda makes sense, as there was a universal bezel for vertical games, and not one for different resolutions, and not supposed to have black borders on each side, but it seems really inaccurate graphically.
Any ideas what I'm missing, or why MAME does this?
TheGatesofBill:
I believe you are forgetting to take aspect ratios into consideration.
Tiger-Heli:
--- Quote from: TheGatesofBill on June 28, 2004, 11:56:29 am ---I believe you are forgetting to take aspect ratios into consideration.
--- End quote ---
No, that's my point - I have "keepaspectratio" selected, so at 600 pixels high, games with a different resolution should have a different width, but they don't appear to. . .
TheGatesofBill:
Take a look at this with Centipede:
Native Resolution: 240x256
MAME Resolution: 563x600
Correct? No! We forgot one fact:
Aspect Ratio: 4:3
So, adjusting for the correct aspect ratio:
MAME Resolution: 450x600
Still not exactly what you are getting, but its only 6 pixels off.