Thanks for all the explanation, that was exactly what i have looked for, regarding resolution and refresh. Also nice to hear, that you are interested in some unique features.
Quote:
- if rotate is 90 or 270, parse width as height and height as width (this is to show the correct resolution. Easy...
I don't know why MAME does this in the -listxml output.
What should i say, it is not the way to show correct resolution . Maybe, for a LCD/LED screen yes, but not for a CRT . I guess GroovyMAME makes extensive use of that info.
Quote:
there is no such info in -listxml output. There is no way to know how many colors a game uses, much less scanlines (don't even know what this scanlines info mean).
Yes, this is true, but only b/w games would be of interest and thanks to AntoPisa, there is already a b/w - monochrome .ini file, which you can download here: http://www.progettosnaps.net/renameset/
or other interesting files for filtering: http://www.progettosnaps.net/support/
The b/w file, will not change much over time and even if some new games will appear, the effort to expand the file is minimal .
Ok, but why we need this? Well, as i wrote previously it would be nice to have for a automated HLSL process. HLSL is a physical simulation of a real CRT and games from the past, looked very different, than on a actual LCD without any filters/shaders. With HLSL you can make them look just like they did in the past on a CRT.
So far so good, but there is a problem. Most of the time, people that use HLSL tend to use 2-3 presets to cover all the games that MAME offers. This is not enough, because there are so many games that would need special treatment. As CRTs are considered as a abandoned technology, many people forgot how the games looked in the past or like you, dont know at all how they really looked and how they where presented on a CRT screen (scanlines, shadowmask etc.).
b/w games for example, didnt have a shadowmask at the time they where released. A shadowmask is only present on a color CRT/TV-tube. So for a b/w game, the shadowmask should be turned off. It gets more interesting, if we consider b/w vector games, like Asteroids or the Vectrex console. They dont have a shadowmask and they dont have scanlines too. For such a case, both should be off in HLSL. Also any games with a progressive resolution of 640x480p or above, have no visible scanlines anymore and should also have turned off scanlines.
My intention is to have a somehow automated process for HLSL, that will always use correct settings for that matter. A option that could filter those special treatments, would be a awesome step forward for this particular task.
|