Author Topic: Possible Enhancements?  (Read 3953 times)

Offline xcasto

  • bit
  • Posts: 5
    • View Profile
Possible Enhancements?
« 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:
  • Enable App2SD
  • Add a "Portrait Mode" for game play
  • List Available ROMs when app is started
  • Have Settings popup when "Menu" is pressed (on initial screen)
Device: HTC EVO 4G Version: 0003
CPU: Qualcomm? Snapdragon S1 QSD8650, 1GHz (single core)
GPU: Adreno 200, 133MHz
RAM: 512 MB
Resolution:  480 x 800
Colors: 65,536 (16-bit)
Rom: Stock Sprint Android 2.3.5/Gingerbread

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3496
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Possible Enhancements?
« Reply #1 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.)

« Last Edit: February 03, 2012, 03:09:10 PM by Paul »
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline xperia64

  • Moderator
  • double
  • *****
  • Posts: 591
    • View Profile
    • My Apps
Re: Possible Enhancements?
« Reply #2 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

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3496
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Possible Enhancements?
« Reply #3 on: February 03, 2012, 05:01:26 PM »
Great, at least it's possible.  I wonder why App2SD doesn't work.
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline xcasto

  • bit
  • Posts: 5
    • View Profile
Re: Possible Enhancements?
« Reply #4 on: February 03, 2012, 05:04:22 PM »
http://developer.android.com/guide/appendix/install-location.html [nofollow]

When your application is installed on the external storage:
  • There is no effect on the application performance so long as the external storage is mounted on the device.
  • The .apk file is saved on the external storage, but all private user data, databases, optimized .dex files, and extracted native code are saved on the internal device memory.
  • The unique container in which your application is stored is encrypted with a randomly generated key that can be decrypted only by the device that originally installed it. Thus, an application installed on an SD card works for only one device.
  • The user can move your application to the internal storage through the system settings.

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.
« Last Edit: February 03, 2012, 05:07:32 PM by xcasto »
Device: HTC EVO 4G Version: 0003
CPU: Qualcomm? Snapdragon S1 QSD8650, 1GHz (single core)
GPU: Adreno 200, 133MHz
RAM: 512 MB
Resolution:  480 x 800
Colors: 65,536 (16-bit)
Rom: Stock Sprint Android 2.3.5/Gingerbread

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3496
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Possible Enhancements?
« Reply #5 on: February 03, 2012, 05:09:53 PM »
Oh, so it just needs an attribute added to the manifest?  That's easy.


--Added
« Last Edit: February 03, 2012, 05:13:54 PM by Paul »
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted

Offline Sarkie

  • byte
  • *
  • Posts: 22
    • View Profile
Re: Possible Enhancements?
« Reply #6 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?

Offline Paul

  • Administrator
  • double
  • *****
  • Posts: 3496
  • Developer
    • View Profile
    • PaulsCode.Com
Re: Possible Enhancements?
« Reply #7 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.
Device: Samsung Galaxy Nexus i515
CPU: TI OMAP4460, 1.2 GHz (dual core, ARM Cortex-A9)
GPU: PowerVR SGX540, 307 MHz
RAM: 1 GB
Resolution: 720 x 1280
Rom: omni-4.4.4-20141014-toro-FML KitKat 4.4.4, rooted

Device: Eee PC 1015PEM
CPU: Intel Atom N550, 1.5 GHz (dual core, x86)
GPU: Intel GMA 3150, 200 MHz (dual core)
RAM: 2GB
Resolution: 1024 x 600
Rom: android-x86-4.3-20130725 Jelly Bean 4.3, rooted