about ------- loop through all software form a mame system and capture the runtime resolution. games that change resolutios are not covered. This is a test approach, some titles ended up on the saturn systen screen so resolutions may not be accurate. cli ------- for x in \ $(./mame saturneu -listsoftware | \ xmllint --xpath '//feature[@name = "compatibility" and contains(@value, "PAL")]/parent::part/parent::software/@name' - | \ awk -F'"' '{print $2}'); \ do ./mame -w -nomaximize saturneu $x -autoboot_script screeninfo.lua -nothrottle -autoboot_delay 50 -seconds_to_run 60 | \ grep saturneu; done | tee -a results.csv ./mame saturnjp -listsoftware | xmllint --xpath '//feature[@name = "compatibility" and contains(@value, "NTSC-J")]/parent::part/parent::software/@name' - ./mame saturn -listsoftware | xmllint --xpath '//feature[@name = "compatibility" and contains(@value, "NTSC-U")]/parent::part/parent::software/@name' - script [screeninfo.lua] ------- screen = manager.machine.screens[":screen"] width = screen.width height = screen.height refresh = screen.refresh wh = width .. "x" .. height whr = wh .. "@" .. refresh print(emu.romname() .. "," .. emu.softname() .. "," .. width .. "," .. height .. "," .. wh .. "," .. whr)