Thanx, but I need this for a script. I need a way to tell the script if the game actually loaded or not.
I've figured out a reasonable way: mame game -log. This creates a error.log file. If this file has just one line (here I get something like "Physical width 1920, height 1080"), that means there was an error loading the game. I've tried with an incomplete romset and with a corrupt .zip file.
Can you confirm that in all other cases that file will have several lines of text? I can use that for a condition in my script.
Oh, and do you know if the -log option has any penalty in performance during the game or does it just work during the rom load?
|