Cropping black borders?

This looks just like the dynamic overscan question that was brought up once. How is MAME standalone supposed to handle that anyway? It doesn’t look like it does so by default.

“whatever” isn’t an actual command right? Just need to be sure.

I also see that there is a “scale_typeY” setting in the preset file. Should it have the same value as the “scale_typeX” setting?

Could you please show how to do this in the preset I shared above?

I found this:

But couldn’t find this information anywhere in it.

This is the spec doc:

“whatever” isn’t an actual option, no. It’s source, viewport or absolute. The X wasn’t an actual X there, either. It was intended as a variable. If you do scale_type0 = “source”, it’s going to apply source to both X and Y axes. if you do scale_type_x0, it’s just the X axis. scale_type_y0, it’s just the y axis.

2 Likes

I did manage to find this doc too but I couldn’t find any explanation about Shader Scale and Shader Filter in it. Maybe it’s because it’s not in a language that someone like myself could understand easily.

Anyway, this is how I did it: https://pastebin.com/CTC0CUiZ

Please verify if it’s correct. The preset seems to load fine. Shows 1x Scale for the second-last shader, fast-sharpen. The image-adjustment values are both shown as Default.

1 Like

that looks right to me

2 Likes