Thanks for getting back to me ZeroPoint.
@ lamprey
1. I donīt think snap width/height is important here.
You are right, it just so happened I was off one row and I set one of the values to zero once and it didn't like it, so it was just coincidence that it worked when I set the snap size.
Maybe your GPU canīt handle the hlsl_prescale_x and y values at this resolution. They are set to 3 as default. Try to reduce them to 1 or 0 (auto) in vertical.ini and/or gamename.ini. And what about vertical refresh
I tried all the prescale values from 3 to 0. Because it's a cheapo monitor I can only do 30hz at that resolution. So, I set it to 2160x3840@30. I also tried at @29, @25 & @24 and no dice. I have a NVidia 700 series card (760) I think. So, it's fairly decent.
EDIT: I usually just run my resolution at AUTO and it works fine. But, with this mod, if I do that, then I get a different resolution (1280x768 or something, FYI).
I found this:
- if (sscanf(data, "%dx%dx%d@%d", &config->width, &config->height, &config->depth, &config->refresh) < 2 && report_error)
+ if (sscanf(data, "%dx%dx%d@%lf", &config->width, &config->height, &config->depth, &config->refresh) < 2 && report_error)
mame_printf_error("Illegal resolution value for %s = %s\n", name, data);
That is the error message.
2. With In-game Artwork the aspect ratio is important. You should change this in gamename.ini for that particular game and also edit the lay-file to change the "screen" position and size. What I do: Open the artwork in photoshop and change it to 1920 x 1080 or 3840 x 2160 in your case and just make it look good. Then I make a new lay-file with "bezel" at x=0, y=0, width=1920, height=1080 and "screen"-values as where I would like the screen to be in the artwork, usually with x,y, width and height values read out from photoshop. Then I set aspect ratio to 16:9 or auto. If I want to finetune the size and position of the "screen" I do this in slider controls. This affects only the "screen" part in the artwork.
I don't want to scale/distort my artwork. Maybe your mod is designed to do something different, but my goal is just to run with the aspect to auto. I'm not sure why it would scale things the way it does, but I can stretch the screen (1.4) to make it the correct aspect ratio.