Hello all – here is a quick post to tell you all that iMAME is now working on an Arcadie Dual with an iPhone5 – thanks to Martin Momberg for his contribution. The file is available on the downloads page. He has had to modify some of the code to get it working on iOS7. For people interested, his comments are below:
The main changes are in EmulatorController.m. They are about adding 44 pixel units to the second coordinate of in case of iPhone 5, for (void)getControllerCoords:(int)orientation and (void)getConf, so that both the touch recognition and screen is shifted down to the position where it was for the older iPhones. This appeared to me to be least invasive as it would have also been possible to add new geometry configuration files for larger screen devices.
I would expect that the check for iPhone5 in Bootstrapper.m is too restrictive as it would probably not cover the newer iPhone5s, iPhone5c, and iPod Touch with larger screen. I didn’t go into matter deep enough to identify the unique indicator for larger screen devices. Perhaps you have a good idea for that.
Another issue arose with iOS7 that comes from the apparent fact that UIAlertViews are no longer responding to changes of their transform attribute, so shifting it vertically, so that it does not appear in the center of the iPhone screen but in the center of the MAME screen, does not appear to work anymore. Consequently the game exit alert box will require the user to rotate the iPhone out of Arcadie to reach for the yes/ok button. I have circumvented that situation by a hack that skips the game exit alert box when an iPhone5 was recognized. As circumventing the alert box and not checking for the appropriate iOS version but for the device is both not the proper way to implement this functionality, i decided not to include those changes.
I did not check the iMAME implementation for other issues it might have with larger screen devices or iOS7, so there might be some hidden issues.
I haven’t been able to test this myself yet as i’m still waiting for my iPhone5s and need to purchase an Arcadie Dual. Maybe i’ll find one in my stocking for Xmas 😉 I’ll post some screenshots once i’ve got it all setup. I’ll probably create a new project file with some new options to allow the user to manually select their type of phone and type of Arcadie Unit so that the buttons are aligned correctly…..
Steve