Git Product home page Git Product logo

mame4ios's People

Contributors

daedalia avatar darrenbranford avatar gottfired avatar illando avatar lerosua avatar mrjschulte avatar sevdestruct avatar toddla avatar yoshisuga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mame4ios's Issues

Lock Orientation

Hello, Can you add an option 'Screen Lock Orientation' please?Sometimes I want to keep it Landscape mode. iOS control center Lock Orientation only works for Portrait mode!
One more thing about Netplay. One of my friend who lives overseas and he has this app. begging me to play over internet. We've tried several method, didn't work out! Can you add this option as well please?
Also I was wondering, are you going to update for recent MAME version?
And lastly I realized that I've been using this app for a long time.
So I'm willing to donate with Paypal if you like.
Thanks.

Cross icon in "touch analogue"

Another improvement should be to have the same cross icon of the “touch lightgun” in “touch analogue”.
It should be used to toggle between these options already present in the preferences meanwhile you are playing:

  • Show all the controls
  • Hide D-pad
  • Hide all the controls

Layout Problems on iPhone X and iPhone XS Mas

First of it's amazing that you made this for iOS! Thank you! Thank you! Thank you!
I got it to compile for me (XS Max) and my wife (X), but for both of us the layout is off:
On XS Max most things look fine, but the Joystick is off (it's on the screen not in the marked are)
On X everything is off, Joystick area is squeezed, buttons and joystick are above, menu is on the screen.
Would be amazing when fixed :-€
iPhone XS Max Layout
iPhone X Layout

IPA prebuilds?

Title says it all. Offering an IPA installer permits people that doesnt have a Mac computer with lastest XCode or a paid Apple Developer Account to sideload the new version of MAME4iOS to the system. It will become easier to install it (even for the people on a Mac) and a possibility to spread this software.

A very well-known iOS emulator, like Provenance (https://github.com/jasarien/Provenance) since the lastest release already offers this. Avoids a lot of build problems reports too.

This would require releases, dah, ;=) that ATM are not being published. Would be great that also!

PS: Sorry for my crappy English.

Help needed with mame4ios for ios 12.0.1 on the iphone xs max

Hi guys can some one send me the ipa or deb
files that already compiled to work with iphone xs max on ios 12.0.1 please

I am jailbroken with chimera on ios 12.0.1

I dont have a mac or the knowhow the compile it my self.

I had the mame4ios emulator running since the beginning on ios 6

This is the first time ever that i cant install the emulator on a ios device and it sucks.

So i hope could help me out.

Xcode question

Hello everybody,

I know this is not really an issue, but an help request, but I really hope some gurus like you will help me.

In a campus project trying to help student with disease with need to install mame4ios on an iPad running 10.3.3 (no jailbreak possible, as you know).

I've found two ways: a) Xcode sideloading; b) sideload with cydia impactor.

The latter works very well and easy, but the problem is the 7 days "limit" (renew, renew, etc.)

Xcode sideloading always returns me with lots of error (I'm using Xcode 9).
First question is: installing with Xcode skip the 7 days limit? (if it's the same... I stop here)
Second question is: if using Xcode is possible to have a "permanent" installation, where I can find a very simple step by step guide.

I really need an help.
Thanks a lot in advance.
m.

Error building with Xcode 11.2 for tvOS 13.2

Hello @yoshisuga,

I've got the following error when building MAME4iOS for TVOS using Xcode 11.2 and tvOS 13.2:
ld: warning: ignoring file /Users/xxxxx/repositories/MAME4iOS/libmamearm64-tvos.a, building for tvOS Simulator-x86_64 but attempting to link with file built for tvOS-arm64
Undefined symbols for architecture x86_64:
"_myosd_array_categories", referenced from:
....
-[EmulatorController updateOptions] in EmulatorController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:

I tried to figure it out how to get those undefined symbols for x86_64 but I had no luck so far.
I used the mame library for tvos in the instructions and I also build it with the script provided in the repo and I had the same result.
I would be great if you could help it out.
Many thanks.

Compilation for new IpadOS

Hello, I love that emulator and I used to compile it for my personal use on my Ipad 12.0. Since i went to Xcode 11 and OsPad 13.1, I get plenty of errors when I compile.
Any chance you can update the program for this new environment? Thanks in advance for your reply.

NB : Unfortunately, I am not a developer that may fix all these errors.

Artwork assets

Hello. I'm the guy who created the original artwork for MAME4iOS back before Gridlee appeared on the app store. I'd like to update the artwork and tidy some things up like the icon being more rounded in iOS nowadays and the scaling problems with larger device screens. I can't seems to find some of the assets though like the joystick and buttons. There's a skin_1 folder with config files for the different devices but the PNGs are the wrong colour. I remember Apple altering regular PNG files in the past, they used to not display. Is this skin_1 folder the right place for the assets?

Visualise the hold status when "Button A as Autofire" is active

Button A as Autofire is very useful in some games.
When it's active, the A button became a switch to toggle on/off the Autofire function.

It could be useful if when the Autofire is on the Button A could keep his hold status image, switching back to the default one when you press it again to toggle off the function.

Build Failed

Please please help
ipad iOS 11.2.1
macOs 10.13.3
xcode 9.2

i have followed the instruction and keep getting build failed

133 errors ? lots like this one

/Users/Guy B/Desktop/MAME4iOS/iOS/EmulatorController.h:81:3: 'UIActionSheet' is deprecated: first deprecated in iOS 8.3 - UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead

i also have libmamearm64.a in the root but the project is not seeing it and only displaying libmamearmv7.a in red ?

please can anybody advise me its driving me nuts

many thanks

Guy

Is Bluetooth keyboard support possible?

Since the current jailbreak is stable I’ve finally decided to build an arcade controller with two joysticks (for Robotron), nothing is buyable off the shelf and neither is an MFI wireless encoder so I’m planning on gutting an old working Bluetooth ipad keyboard but Mame4iOS isn’t reading my keystrokes in the config menus.

If this isn’t possible I’m going to have to gut a working MFi wireless controller since I cant depend on NControl (PS4/Xbox One hack) working long term if i need to lose jailbreak. Not a whine just a bit of info on where I’m going.

Any help or suggestions would be gratefully received

Settings screen lockup and status bar visible while playing games

Hello,

Great work getting this into an easily build-able state! I've noticed the status bar (time, battery, bluetooth, etc) is visible over the top of the game selection screen and in-game, if you add "View controller-based status bar appearance" to the MAME4iOS-Info.plist file and set it to Boolean NO the code in Bootstrapper.m to hide the status bar will start working again.

Also, on the iPad I've noticed the app locks up trying to display the Settings screen due to it trying to present the settings view controller while the UIActionSheet is still being presented. If you change

[self presentViewController:navController animated:YES completion:nil];

to

dispatch_async(dispatch_get_main_queue(), ^ {
[self presentViewController:navController animated:YES completion:nil];
});

the settings screen will start working.

Cheers!

Mame4ios 11

Hello,
How difficult is to build a 64bit version of MAME4iOS for the rest of us.....
Thank you in advance,
Nicholas

MFI controller mapping?

I've only used the iCade as a controller but now I have a Hori MFi gamepad that is not on the external controller profile list. How do I re-map for it? The general menu for external controllers does not provide custom mapping, only profiles. And to get to the in-game mapping you need to press a combinations of buttons that are not mapped in my controller. I was able to finally map it by turning off the controller in the middle of a game to access the in-game menu, turning the controller back on, then re-map it.

I think there must be an easer way. What am I missing? Is there a file somewhere I could edit?

Thanks

I made keyboard layout support for Mahjong games. Should I share it ?

Hi, yoshisuga

Thank you very much for all of this. I downloaded, built, installed, and had a lot of fun with it.

I found that there is no keyboard support for the mahjong games, especially for the hot gimmick series made by Psikyo.(Wow, there is quite a lot of mature content, but beautiful and funny.) Mahjong games need a different keyboard layout, with A-N buttons, with a few extra function buttons, and without joystick.

So I downloaded the repo, and modified it. Now I can play the Mahjong games normally now. : >
I hope I can upload my little work for anyone who wants to play mahjong games.
Or, better, I can zip my project and send it to you.

Thank you again.

Chris

Change the active touchscreen buttons in the main menu

The group of the active touchscreen buttons in the main menu should be changed.
A better solution should be to make a set of 3 buttons active:

  • A: Launch rom
  • B: Back in the menu (instead of "exit" like it is now)
  • Y: Add to favorites ( instead of the actual X)
    This will follow the rule used by other emulators... check for example Retropie, and in this way the buttons will fill the corner of the screen leaving space to visualise the menu.

image

Add transparency slider for onscreen controls in fullscreen

Hi Finally I made something. In Mame Config Menu I wanted to change the subitem text color in Cheat, Dipsw like ''On=green Off=red Auto=yellow''. There's no 'Auto' word in Mame 0.139 It might be in some game's Dipsw's I just check the some popular games.
This feature exists since Mame 0.171 to the latest Mame. I found the code in 'menu.cpp' and added to Mame 0.139 'uimenu.c' I check the latest Mame menu.cpp they didn't change anything and I decide add some additional words other than "On/Off/Auto"
Additional Words: Yes, No, Game, Test, Set, None, Enabled, Disabled, Easy, Normal, Medium, Hard, Hardest, Free Play, Full
img_0547

From the beginning I was editing the different uimenu.c file, wondering why Service, Soft Reset and Speed Hacks are missing on MAME Config Menu list! Now everything's back to normal.
uimenu.zip
Replace the uimenu.c file to src/emu/uimenu.c and rebuild the MAME binary.

Game is missing required ROM or CHD images

I've built and run Mame4iOS on my AppleTV. I had to swap around a few controls to get it functioning with my Nimbus, but after that I was able to get it to run galaxians and pacman (galaxian hardware). I haven't been able to load any other games though, asteroids, 1941, galaga, defender and many others just result in the error message "The selected game is missing one or more required ROM or CHD images". I've tried ROMs from multiple sources but always the same message. Are there other files I need to obtain ? I tried to add the samples and artwork from lesbirds distribution, but that didn't help.

iPad 3 IPA 32 bits need

I just install in my iPad Air, and it´s amazing.Thank you. I NEED the IPA for the 32bits version for my iPad 3. It is possible to get? Where can i get? Waiting for your reply.than you so much.

No sound on iPad Pro

No sound on iPad Pro 10.5 running on iOS 12.1.x. Sounds normally on iPhone X with same version of iOS. Please let me know if you need any further information or testing on some code changes.

commit: 5136b88 (current master)

iCade controllers stop working when external screen connected

Hi @yoshisuga,

I've noticed that when an external screen is connected both via AirPlay to an Apple TV or through the lighting HDMI cable, my iCade controller no longer works on my iPhone XS Max.

When the screen is disconnected, the controller works again. This issue doesn't happen with MFI controllers.

I'm currently using a Steel Series Nimbus MFI controller and a ThinkGeek 8 bitty iCade Controller.

Please let me know if you need any more info!

Cheers
ck16

Option to skip the alert on quit from games

It could be useful to add an option in the settings to turn off the iOs alert that is present when you exit from a game that says "Are you sure you want to exit the game".
Now that the new Save/Load command can be activated from the MFI controller without removing hands from the controller, this is the only command that still need to use to touchscreen if you want to change game.

Thanks.

Suggestion: Add an url scheme

Hi,

I would like to able to launch directly into a specific game from another app I just started working on.
3darcade

I think this could work if MAME4iOS implements an url scheme which accepts a romname and then starts that game.

I do have a bit of experience with iOS development. So I was able to add an url scheme. But I have no clue how to hook it up from there. I only have some experience in swift...so I am a bit lost ;)

Peter

Deprications

Building on XCode 10.0 (MacOS 10.13.6), with commit as of Oct 8 (sorry not sure how to best identify), I initially got 150+ warnings, mostly to do with deprications. As I recall, having to do with fonts. Now that I have successfully built, I don't see those warnings anymore. Not familiar with XCode enough to show them again. Just FYI. domo arigatoo gozaimasu.

iOS 10 support ?

It would be really great to have this emulator on iOS 10 since the only version that runs is very old
And thanks

Tapping on option menu button crashes app on iPad mini 4

Built using 6207559 [6207559] on an iPad mini (latest gen)

Every time I tap on OPTIONS the app crashes.

Here's the xcode log:
running... 0
loadView
viewDidLoad
thread Type 1 1
2019-01-21 10:00:25.497507-0800 MAME4iOS 64-bit[4532:3676971] [framework] CUIThemeStore: No theme registered with id=0
main priority 50
Iniciando
myosd_init
myosd_dbl_buffer 1
video priority 50
created lightgun device!created lightgun device!created lightgun device!created lightgun device!myosd_openSound NORMAL rate:48000 stereo:1
2019-01-21 10:00:26.012031-0800 MAME4iOS 64-bit[4532:3676971] button released
2019-01-21 10:00:26.022326-0800 MAME4iOS 64-bit[4532:3676971] button released
2019-01-21 10:00:26.024584-0800 MAME4iOS 64-bit[4532:3676971] button released
2019-01-21 10:00:26.027666-0800 MAME4iOS 64-bit[4532:3676971] button released
Emulated speed 100
Num Buttons 0
Num WAYS 2
myosd_set_video_mode: 400 300
Emulated speed 100
2019-01-21 10:00:29.136654-0800 MAME4iOS 64-bit[4532:3676971] button pressed
2019-01-21 10:00:29.169639-0800 MAME4iOS 64-bit[4532:3676971] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'Your application has presented a UIAlertController (<UIAlertController: 0x108810c00>) of style UIAlertControllerStyleActionSheet from EmulatorController (<EmulatorController: 0x108815400>). The modalPresentationStyle of a UIAlertController with this style is UIModalPresentationPopover. You must provide location information for this popover through the alert controller's popoverPresentationController. You must provide either a sourceView and sourceRect or a barButtonItem. If this information is not known when you present the alert controller, you may provide it in the UIPopoverPresentationControllerDelegate method -prepareForPopoverPresentation.'
*** First throw call stack:
(0x1b92d8ec4 0x1b84a9a40 0x1e5b0c628 0x1e5b15660 0x1e5b12fe4 0x1e61bb13c 0x1e61a9138 0x1e61d8140 0x1b92687cc 0x1b9263460 0x1b9263a00 0x1b92631f0 0x1bb4dc584 0x1e61af4c0 0x10095bf14 0x1b8d22bb4)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

MFI Controller improvements

Hi. I also grabbed the source from Les Bird and made my own optimisations, including a complete reworking of the MFI controller code. I was going to make my own repo when I came across yours so, if you don't mind, I would like to drop my MFI controller implementation in to your project.

Some of the main things that I implemented was real twin thumbstick support and proper connect/disconnect handling.

There is a strange naming convention due to how mame handles the input "devices":

MFI controller 1 will have joy 1 X/Y and joy 2 X/Y while MFI controller 2 will have joy 3 X/Y and joy 4 X/Y and so on.

Also, now that you have load/save states from a menu, you might want to remove the hotkeys for those (coin + a and start + a)

Sensitivity slider in analogue settings is no longer needed

After some tests, I can say that the sensitivity slider that it's actually listed under the touch analogue preference it's just creating some gap between the finger position and the analogue input of the game, or is not well accepted from the MAME core.
The only way to obtain a nice analogue calibration is:

  • Set this slider to 0 (the minimum value of the slider on the left)
  • Enter the rom setting MAME menu (pressing COIN + START)
  • Go to "analogue controls" menu and start to increase "Dial Sensitivity" till you reach a good setting (it depends from the games, the screen size of the device, and the orientation of the display.

At this point, I think this slider should be set to 0 as default value.

image
image

A button doesn't select ROMs in tvOS

Cannot click on ROMS or the other Menu items like Configure General Inputs or Reload ROMs. Trying pressing A button. The A button works in other parts of the app (like selecting cancel after pressing Y)

Using a Nimbus controller and Apple TV 4th gen

ipad crash regression

crashing again when pressing option

I tried to submit a pull request adding back the code to fix but didn't have permissions..

drag and drop roms?

It would be wonderful if dragging a ROM onto the app would import it! (same with CHDs, if those work)

Likewise, an action sheet import option would be nice, too. Perhaps easier than drag and drop.

A super-stretch would be to expose the documents folder to the Files app as a document provider, allowing manual management of files in that app.

Latest build results in Apple Mach-O Linker Error?

I've been building all previous commits properly except for the latest one. Anyone know what changes could be causing this error?

Undefined symbols for architecture x86_64:
"_myosd_array_categories", referenced from:
-[FilterOptionController init] in FilterOptionController.o
"_netplay_read_data", referenced from:
-[NetplayGameKit receiveData:fromPeer:inSession:context:] in NetplayGameKit.o
"_netplay_warn_hangup", referenced from:
-[NetplayGameKit teardownConnectionWithWarn] in NetplayGameKit.o
"_netplay_init_handle", referenced from:
-[NetplayGameKit connect:] in NetplayGameKit.o
"_skt_netplay_init", referenced from:
-[NetplayController startSocket] in NetplayController.o
-[NetplayController joinSocket] in NetplayController.o
"_netplay_get_handle", referenced from:
-[NetplayController tableView:cellForRowAtIndexPath:] in NetplayController.o
-[NetplayController tableView:didSelectRowAtIndexPath:] in NetplayController.o
-[NetplayController setNetplayOptions] in NetplayController.o
-[NetplayController startSocket] in NetplayController.o
-[NetplayController joinSocket] in NetplayController.o
-[NetplayController startGamekit] in NetplayController.o
-[NetplayController joinGamekit] in NetplayController.o
...

Latest commit, controller and buttons off

Hello, this may be an update maybe for latest iphone, I am still on iphone 7 on ios 11, but all the buttons and the red knob of the joystick are about 1/2 inch above where they are normally positioned. Everything else still runs ok!

If you need a screenshot I can take from phone and show you in discord.

(built with xcode)

iPad Pro keyboard support

Allowing keyboard bindings would be fantastic. I hope the pro keyboard allows multiple keypresses?

Also, an option to hide the on screen controls automatically when the keyboard is attached.

Building with Xcode 10 / iOS 12

Apologies as I know this is too general of an error to help diagnose. I've installed MAME4iOS 64 successfully in the past on multiple iOS 11 devices. I have been unable to do so with Xcode 10 and iOS 12. While I lack any profound code skills, for the most part, I've usually been able to diagnose and fix my own issues, but this one has me scratching my head. I checked out the latest 'master' which should have added support for Xcode 10 and iOS 12 with libc++. I tried building in two different machines and iOS devices and I get the same error below. In one of the builds it reads "fix references to old stdlib functions. Is that where my issues? I copied the libmamearm64.a file to root as in previous 64 builds. Any clues? Once again, sorry for not having more vocabulary to accurately describe potential issues.

ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.