Main > Software Forum
artwork fill edges hack
SirPoonga:
mame does keepaspect anf hwstetch even if artowrk is turned on. take 1942 for example. turn artwork on (no crop) and change between keepspect from on and off. You will see it keeps aspect with artwork turned on.
With what I was doing, I was determining what artwork to show based off game width and height, which I thought was already calculated based on keepaspect. But I was wrong. Hence why the game aspect wasn;t kept BUT the artwrok filled the screen beautifully.
I will have to do more thinking on this.
Tiger-Heli:
--- Quote from: SirPoonga on August 02, 2004, 02:33:28 pm ---mame does keepaspect anf hwstetch even if artowrk is turned on. take 1942 for example. turn artwork on (no crop) and change between keepspect from on and off. You will see it keeps aspect with artwork turned on.
--- End quote ---
Nope, I have to disagree. Run any vertical game with -keepaspect and -hwstretch on. MAME displays at 450x600 like it should (447, 449, but that's just noise in the measurement.)
Look at my numbers above for 1942 with -keepaspect on and artwork on but no crop or filled edges. The game artwork is 425x600, which is 17:24 aspect ratio, not 4:3. The game image itself is 241x305 which is .79 instead of .75, so neither the artwork nor the game screen is preserving the aspect ratio.
--- Quote ---I will have to do more thinking on this.
--- End quote ---
Let me know if I can help any. (Doubtful).
SirPoonga:
--- Quote from: Tiger-Heli on August 02, 2004, 03:03:53 pm ---
--- Quote from: SirPoonga on August 02, 2004, 02:33:28 pm ---mame does keepaspect anf hwstetch even if artowrk is turned on. take 1942 for example. turn artwork on (no crop) and change between keepspect from on and off. You will see it keeps aspect with artwork turned on.
--- End quote ---
Nope, I have to disagree. Run any vertical game with -keepaspect and -hwstretch on. MAME displays at 450x600 like it should (447, 449, but that's just noise in the measurement.)
Look at my numbers above for 1942 with -keepaspect on and artwork on but no crop or filled edges. The game artwork is 425x600, which is 17:24 aspect ratio, not 4:3. The game image itself is 241x305 which is .79 instead of .75, so neither the artwork nor the game screen is preserving the aspect ratio.
--- End quote ---
How are you getting these numbers again?
Are you doing a screencapture using mame's F12 or using windows printscreen?
Then you are using something like photoshop to get coordinates, right?
if you are doing it with F12 you aren't going to get right numbers, mame is dumping the raw unstretched image. If you are using prntscrn button then you will get better results.
Anyway, I tested with stickies notes ont he screen on the edge of the game field, with artwork on the screen edge was exactly the same with the artowrk off when keepaspect was turned on. SO it is keeping aspect.
Tiger-Heli:
--- Quote from: SirPoonga on August 02, 2004, 03:14:26 pm ---
--- Quote from: Tiger-Heli on August 02, 2004, 03:03:53 pm ---
--- Quote from: SirPoonga on August 02, 2004, 02:33:28 pm ---mame does keepaspect anf hwstetch even if artowrk is turned on. take 1942 for example. turn artwork on (no crop) and change between keepspect from on and off. You will see it keeps aspect with artwork turned on.
--- End quote ---
Nope, I have to disagree. Run any vertical game with -keepaspect and -hwstretch on. MAME displays at 450x600 like it should (447, 449, but that's just noise in the measurement.)
Look at my numbers above for 1942 with -keepaspect on and artwork on but no crop or filled edges. The game artwork is 425x600, which is 17:24 aspect ratio, not 4:3. The game image itself is 241x305 which is .79 instead of .75, so neither the artwork nor the game screen is preserving the aspect ratio.
--- End quote ---
How are you getting these numbers again?
Are you doing a screencapture using mame's F12 or using windows printscreen?
--- End quote ---
Windows Printscreen
--- Quote ---Then you are using something like photoshop to get coordinates, right?
--- End quote ---
Right. Actually, just pasting into IrfanView and selecting the screen area. Irfanview displays the size of the selection area at the top of the screen.
--- Quote ---if you are doing it with F12 you aren't going to get right numbers, mame is dumping the raw unstretched image. If you are using prntscrn button then you will get better results.
--- End quote ---
Agreed. F12 is pretty useless for this.
--- Quote ---Anyway, I tested with stickies notes ont he screen on the edge of the game field, with artwork on the screen edge was exactly the same with the artowrk off when keepaspect was turned on. SO it is keeping aspect.
--- End quote ---
You are talking same game displayed vertically, -keepaspect on and -artwork on or off without -crop or filled edges, correct? I'll test some more:
Previously, I was using the gameinfo screen for the artwork off measurements, but I'll try to use the game screen from now on.
1942:
Artwork off: 447x597 pixels
Artwork on:
Artwork: 425x597
Game: 244x305
Neither is 4:3
Centipede:
Artwork off: 451x595 pixels (difficult to tell b/c of the black background)
Artwork on:
Artwork: 476x596
Game: 333x461
Neither is 4:3
Galaxian:
Artwork off: 448x598 pixels (difficult to tell b/c of the black background, used sizing screen at startup)
Artwork on:
Artwork: 575x590 pixels
Game: 338x465
Neither is 4:3
Gyruss:
Artwork off: 448x598 pixels (difficult to tell b/c of the black background, used sizing screen at startup)
Artwork on:
Artwork: 758x599 pixels
Game: 422x484
Neither is 4:3
Pac-Man:
Artwork off: 450x599 pixels
Artwork on:
Artwork: 567x597 pixels (might be off due to the black border)
Game: 311x433
Neither is 4:3
None of them work the way you said.
SirPoonga:
hmmm, well, that sounds like something that needs to be reported to the mamedev if the game isn't keeping aspect. because you can definately tell it is trying when you turn on and off keepaspect while the artwork is on. (no crop with hwstretch).