PaulsCode Forum

Mupen64Plus AE => General Discussion => Topic started by: xcasto on February 03, 2012, 02:22:58 PM

Title: Possible Enhancements?
Post by: xcasto on February 03, 2012, 02:22:58 PM
Though I love what you've done so far and am impressed with your dedication to the project there is one limitation that my EVO has that causes me grief with many applications and it is "Available Memory".

The simple solution is remove all applications that I don't use more than once a day and purge my messages more frequently. But who really wants to do that?

The solution I typically look for in Applications for my EVO is the ability to move the Application to the SD card. I do realize that there are some requirements for enabling App2SD and since Mupen64Plus AE appears to be a port from an environment that doesn't typically do that I'm not really sure if the option is even available.

I think it would be useful for those devices that support the feature, yet it may cause other issues.

Another Enhancement might be the ability to rotate the device into Portrait mode and play with the controls off the Game Screen, an example of what I'm talking about can be found in "yongzh" versions of SNesoid/Nesoid/Gameboid  of course this would mean the Game Screen would shrink and may cause some awkard feelings for some, but again seems like an option that I would enjoy (but maybe not others).


Some things those (other mentioned) emulators do that I like are, when you open them they list the ROMs you have available (first thing) so you can start playing without an additional click and the settings aren't displayed until you press the "menu" button (so it would never fall off the screen).

Then again, you may feel the project is not ready for enhancements and these might not be ones that the majority of users would appreciate, but figured I'd put something out there.


Thanks again for your work.


Summary of Enhancements:
Title: Re: Possible Enhancements?
Post by: Paul on February 03, 2012, 03:05:09 PM
What are the requirements for App2SD (listed somewhere?)  The only thing I can think of that would cause problems are that folders on the SD card do not have execute permission, so as it is written now, it couldn't function (the native .so files require execute permission to run).  I am planning to allow plug-ins to be imported (maybe not this update but the next one).  This function will search for a folder with write and execute permissions (typically /tmp or /etc/tmp) and place the imported plug-ins there temporarily upon starting the emulator, so they can be executed.  I could extend this capability to the default plug-ins as well if they happen to be residing in a folder without execute permissions (such as on the SD card).  I'll have to research how to determine where the app is installed (right now the code assumes /data/data/[packagename]).

For Portrate mode I must first fix the bug where I loose rendering context when the SDL surface is destroyed (this bug is also the reason for the complicated AutoSave/ Resume system rather than just pausing the game when you press Home like the emulators you mentioned).  I'm waiting to tackle this bug until after I remove SDL from the project (since the bug is specific to the SDLSurface)

I probably won't change the GUI to start with the list of games, for a while, at least until I eliminate the need for AutoSave/ Resume, because many users are resuming a game when they start the app, not starting a new game (for example, a call came in, or they went to check their email for a sec.)

Title: Re: Possible Enhancements?
Post by: xperia64 on February 03, 2012, 04:36:22 PM
i force moved my mupen64plus to the sd card with no issues. when it moves to the sdcard, it puts it in a .asec file which references it to where the files should be in /data.  sd card format is fat32 just fyi
Title: Re: Possible Enhancements?
Post by: Paul on February 03, 2012, 05:01:26 PM
Great, at least it's possible.  I wonder why App2SD doesn't work.
Title: Re: Possible Enhancements?
Post by: xcasto on February 03, 2012, 05:04:22 PM
http://developer.android.com/guide/appendix/install-location.html (http://developer.android.com/guide/appendix/install-location.html)

When your application is installed on the external storage:

I believe if the device has been rooted there isn't much restriction, but for those of us who haven't taken the plunge it seems we get other restrictions.

Thanks for looking into this.
Title: Re: Possible Enhancements?
Post by: Paul on February 03, 2012, 05:09:53 PM
Oh, so it just needs an attribute added to the manifest?  That's easy.


--Added
Title: Re: Possible Enhancements?
Post by: Sarkie on December 11, 2012, 05:42:41 AM
I wonder if this should be "preferLocal" instead of "auto". Since Mupen is rather big? and if it can't install it to an sd card, it'll move to internal anyway?
Title: Re: Possible Enhancements?
Post by: Paul on December 11, 2012, 07:18:24 AM
As I recall, the emulator ran more slowly or something negative from the sdcard (I don't recall the specifics at the moment though).  This is the reason for defaulting to internal.  Might be worth testing again to see what the problem was, since its been a while since we looked at this.