New version of display code as of 8-6-04 - I wanted to get this out so people could play with it over the weekend.
New features:
- The image is displayed across the entire width of the MAME window.
- The last remnants of the old controls.art have been swept away, it is not used anymore.
- The controls are displayed in the proper aspect ratio.
- Two flags have been added to mame, -nomakectrl and -noshowctrl. The names of these flags are subject to change, so be aware. The function of the flags should be obvious.
- The orientation of the controls.png image is automatically adjusted. The program now expects a controls.png with the normal orientation.
- You can use a different key than pause to view the controls. By default the show controls button is also set to P.
- No zip program is required anymore. The display code expects controls.png to be in the current directory.
Here is a link to the zip file containing the patches.
There are two patch files included, patch1.txt and patch2.txt. Patch 1 should be put into the src subdirectory and patched with the -R option.
Patch 2 should be put into the src\windows subdirectory and patched with -R.
I included a basic controls.png which I used to test the aspect ratios.
Once the patches are applied, make sure you "make clean"! Or else MAME will crash!
I hope that everyone enjoys this application. If you cannot apply the patches, PM me and I'll email you the complete source files.
Also let me know if there are any additional features you want.
Regards,
Buddabing
EDIT: Looks like the aspect correction only works if
-window is specified on the command line. Also the separate control doesn't appear to work right, so extract the mame.c which will make the controls appear when pausing.