Main > Software Forum
Question on Hardware Stretch and -artworkfilledges (for SirP or others)
Tiger-Heli:
Okay, now I'm confused
--- Quote from: SirPoonga on July 01, 2004, 01:27:16 pm ---
--- Quote ---Run the game without artwork and it displays at 445x600, essentially 450x600.
--- End quote ---
I assume you mean without keepaspect also?
--- End quote ---
Errrmm, no . . . without -keepaspect ratio it would be 800x600 and badly stretched horizontally.
Set artwork off,
-resolution 800x600
-switchres 1
-keepaspect 1
-screen_aspect 4:3
The game Should end up 450 Wide by 600 pixels tall. I measure 445x600, but that could be measurement error.
--- Quote ---So you are trying to display the games at native resolution (which isn't how they were displayed in the arcade) and have the cropped artwork to fill the screen?
--- End quote ---
Errmmmm, no again!! Forget the native resolution! I am trying to get all the vertical games to display at 450x600 (with an 800x600 screen resolution) and have the cropped artwork fill the screen, rather than displaying the entire bezel side plate and squishing the game image.
SirPoonga:
Ok, I understand now. You have a 800x600 (4:3) horizontal monitor and you want a 3:4 vertical game area in the middle. THat's where you get the 450x600 :) 3/4x where x = 600 is 450 :) That leave 175 on each side for the artwork. Hmm, It should work.
BTW, my artwork hack can be found here
http://free.hostdepartment.com/S/SirPoonga/hacks.html
actually, something's not right. There's more to it than what is shown in that diff, did I miss a step when I made the diff. I gotta talk to NoNameMame dude and see what he took.
SirPoonga:
ok, there is a problem. I have to see what GateOfBill used, on my site it links to this diff file:
http://free.hostdepartment.com/S/SirPoonga/cropedges.txt
There's not much there, actually, that diff all it does is void artwork_crop if filledges is turned on.
If that were the case it would have been accepted into mame. But what I did had a global variable and used a windows specific variable in mame.
Now, what it is suppose to be:
http://free.hostdepartment.com/S/SirPoonga/cropedges2.txt
As you see, alot more calculations are going on. I don't know how that version on my website got there.
Tiger-Heli:
--- Quote from: SirPoonga on July 01, 2004, 05:06:24 pm ---Ok, I understand now. You have a 800x600 (4:3) horizontal monitor and you want a 3:4 vertical game area in the middle. THat's where you get the 450x600 :) 3/4x where x = 600 is 450 :) That leave 175 on each side for the artwork. Hmm, It should work.
--- End quote ---
You got it. Well, it does pretty well work. I don't understand why it jumps from 450 to 475 wide, but for narrow and medium side width bezels, it works fine. For wider bezels, it takes the entire bezel width insted of cropping it.
--- Quote ---BTW, my artwork hack can be found here
http://free.hostdepartment.com/S/SirPoonga/hacks.html
actually, something's not right. There's more to it than what is shown in that diff, did I miss a step when I made the diff. I gotta talk to NoNameMame dude and see what he took.
--- End quote ---
That doesn't mean much to me, so I can't help you there.
EDIT: I'm using something like NoNAME 082u1 or so, and it seems to work like I rememered it working
SirPoonga:
Once I get my hands on mame's source and development tools I will look into this again and see if I can clean the real code up. I asked on mameworld's compiling board some questions. I can't believe I linked the wrong file on my site, or even why the wrong file is there, it's named exactly the same as the once in my site backup, but the one in my site backup is the correct one. (which I renamed to cropedge2.txt for the above post)