rafaelvcaetano / melonDS-android

Android port of melonDS
GNU General Public License v3.0
768 stars 47 forks source link

App crashes when you set a directory. #582

Closed kena006 closed 3 years ago

kena006 commented 3 years ago

Device model: XE500C13-K03US Android version: 9 MelonDS version: Beta 1.6.0 PS

Problem: I set a directory to search ROM's and then it crashes 2 seconds later. and when I open the app back up all the games appear and then it crashes! And when I load a game ( In time before it crashes ) it reloads the app and then crashes!

Steps to reproduce:

  1. Open the app on version Beta 1.6.0
  2. Set directory
kena006 commented 3 years ago

I installed version 1.5.0 the game loaded, but it was really slow. PLEASE OPTIMIZE YOUR APP. and add support for games that are meant to be held like a book. like brain age and rhythm heaven.

ghost commented 3 years ago

What's your phone specifications especially GPU & CPU?

rafaelvcaetano commented 3 years ago

You most likely have 7z files inside the directory you chose and there is a problem in the Beta 1.6.0 version that can crash the app when processing large 7z files. I'm working on this issue and I hope to release a fix this week. This doesn't happen in version Beta 1.5.0 because there's no 7z support in that version.

I installed version 1.5.0 the game loaded, but it was really slow

melonDS was simply designed to be more accurate, which requires more resources. Performance will eventually increase as small improvements are added, but, unfortunately, there's nothing that can be done immediately.

and add support for games that are meant to be held like a book. like brain age and rhythm heaven.

You should be able to do that on mobile devices without a problem. But it looks like you are running melonDS on a Chromebook. I've never used one, so I'm not aware of its features. If it offers the option to simulate a device rotation, you can try to simulate a rotation to landscape mode and then create a custom layout. In its properties, set the orientation to Portrait. This should, in theory, display the content as if you were holding a Nintendo DS sideways. If Chromebooks don't have such an option, let me know and I'll see what I can do.

rafaelvcaetano commented 3 years ago

The crash should no longer occur on the Beta 1.6.1 version. Let me know if you still have problems regarding ROM scanning.

RayyanAnsari commented 3 years ago

If your device is supported, it's best to install Flatpak and install melonDS from FlatHub. Some Chromebooks have a feature where you can install a Linux compatibility layer. https://flatpak.org/setup/Chrome%20OS/

kena006 commented 3 years ago

Version 1.6.1 solved my issue. Thank you for fixing it so fast! now just work on optimizing it for 32 bit/older devices.