lr-mame2003 - Rgui: wrong viewport info ?
-
@UDb23 I wonder if there is anyway to get this info without loading the game at all.
Would save me a ton of time if i could get the info for every mame/fba game..?
-
@Rion Fully agree.
There are some web site providing rom's original res info. I'll try to find out if this data can be downloaded in a structured way.
Additionally will check if there's a formula we can apply to that resolution to "predict" what Retroarch will apply ( according to display max res).
It may not be that easy but let's see. -
@UDb23 High Five!
-
@Rion Found file with original roms' resolution for all roms of latest mame set (.179).
Idea now is to create a comma delimited file with a structure like this:romName, original width, original height, IntegerScaleOn width, IntegerScaleOn height, MaxArea width, MaxArea height
Would that fit your needs ?
-
@UDb23 It definitely would.
My main concern is that i need these parameters for Mame2003 (Mame 0.78) and i don't know if the same applies for them?
Final Burn Alpha is another matter cause it's build on Mame 0.175 and have basically the same rom names if not all the same as mame.
John Merrit created a lot of arcade overlays on libretro forums and many of these don't have those values so i have to manually check 120+ files. At the same time he also created a some generic ones that could be used on all other games that don't have custom Bezels.
For me and @Manguan @pjft @floob and more then this would let us convert these for basically any resolution out there.
Maybe even an archive of Arcade overlays that could easily be converted with a script.
-
@Rion Understood. Dat file with history of rom name changes from version to version exist.
Let me check if I can create a small program to "downgrade" the .179 resolution information file, to .78 (mame2003) and .175 (fba), having the correct set rom names.
Will also work on the actual retroarch resolution "prediction formula" over the weekend. -
@UDb23 Please predict a virtual beer from me to you!
-
@Rion Progress Update: main application created.
Program uses 2 files from the Progetto Snaps website to generate a global rom resolution database file, for specific mame versions.
The 2 source files (resolution.ini and renameset.dat) are constantly updated by site owner (thanks AntoPisa!) as new versions of mame are released. In this way my program can easily consequently generate updated resolution DB files.
This initial release of the application can generate ROM resolution DB for mame .78 (lr-mame2003).
Basically what is does is tracking rom name changes from .78 to .179 (thru renameset.dat) and finds associated original resolution for each ROM (in Resolution.ini , as this file always refers only to latest mame version).
This is the .78 generated DB file.
Currently it includes only: .78 rom name, .179 corresponding name, original width, original height.
Next step is the "retroarch prediction calculation"; if I don't get drunk from you virtual beer :-))As the source files are basically a collection of history logs of all previous mame versions' changes, the program's name changing tracking and resolution association is a little more complex than explained and therefore there could still be some errors in the generated "ROMrezDB" file.
I did some preliminary checkings and it seems resolutions are correct.Still if you also could do some checkings, taking some sample rom names from the file, it would be helpful.
-
Database file completed.
Used different method vs previously explained.
Info & File can be found here. -
@UDb23 Great job Man! This was a massive job! I wonder if the same could be done for Fba? As far as i know the latest version is built on Mame 0.175 so is should be easier to do.
-
@Rion Sure; I made a program that can generate resolution databases automatically based on input romlist. If you can provide a full list (actual filenames of the roms) of FBA mame .175 supported roms, I can create the specific resolution db.
-
@UDb23 Thanks!
Here is the list for FBA 0.2.97.39 (Arcade Only)
-
@Rion Here you go !
Based on your list, FBA .39 resolutions calculated and added to Resolution Database: this is the updated link for download.
Added you in the readme file as source of the list ;-)Some items in your list were not recognized by the program: for some of those I was able to find and add data manually, with some others no luck (e.g. 1942c64... *demo ... *frog ... *drumkit..). FBA resolution db still provides display info for 4132 games !
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.