Its been a while since I have tried ScummVM and recently tried it on my new Android phone after hearing that MT-32 support has been improved in the main binaries.

It appears that this is still missing on Android and I'm I'm just wondering why? I understand that previously the argument that Android devices were not powerful enough to use it properly was valid, however as standard most newer devices are 2+ GHz Multi core processors with up to 3GB ram, which sounds more than capable.

If anyone could shed some light on the subject, I'd be grateful, and if deemed valid, I'll stick it as a feature request. Thanks in advance.

-P

Fri Nov 21, 2014 7:02 pm

rkk

Joined: 30 Jul 2016
Posts: 4

Are DEVs still active? Is the MT-32 emulation a topic no dev is allowed to talk about? The only reply from a dev I've seen so far is from 2005 (not sure about exact date) stating that the devices nowadays are too slow for it.

Come on.. Even the Wii edition has MT-32 emulation support, even when the Wii is too slow to handle it..

Is there even a test build to test it on Android? Or is it simply not possible to port it to Android because some kind of technical limitations?

Would be nice if there would be some input on this topic from the DEVs. Any info highly apretiated.

Wed Aug 03, 2016 8:02 pm

phunimator

Joined: 01 Jun 2009
Posts: 56
Location: London

Hi rkk!

Nice to see that someone else is interested in this. I'm still here also waiting for input.

Considering both the iOS and Raspberry Pi builds work flawlessly with MT32, there is next to no reason why it can't be implemented into an Android build.

You must have mt32 rom files put them into Android/data/org.scummvm.sdl/files

Fri Aug 05, 2016 1:53 pm

MusicallyInspired

Joined: 02 Mar 2007
Posts: 961
Location: Manitoba, Canada

Nice! Thanks!

Sat Aug 06, 2016 12:19 am

rkk

Joined: 30 Jul 2016
Posts: 4

Wow! That was quick!

Thanks Lubomyr for the build.

I tested it on my Motorola Moto G (Second Gen) and it runs pretty decently on a 1.1GHz CPU, but it seems to lag and crack a bit when there are a lot of instruments playing at the same time, but still enjoyable.

On the other hand, I tested it on a Samsung Galaxy A3 with a 1.2GHz CPU and it runs butter smooth even with a lot of instruments playing at the same time.

Seems like 1.2GHz CPUs are the sweet spot.

Will try to overclock my Moto G and see if it makes any difference.

Thanks a lot for the build, seems to me like a promising feature for Android phones too.

Sat Aug 06, 2016 4:58 pm

mac_es

Joined: 31 Oct 2005
Posts: 99

quote:Originally posted by Lubomyrandroid-sdl port rebuilded with mt32 support

6. You have to replace one line in file AndroidAppSettings.cfg ( ~/androidsdl/project/jni/application/scummvm)
AppVersionCode=@ANDROID_VERSIONCODE@
to
AppVersionCode=16

7. Now you can build project (apk)
cd ~/androidsdl
./build.sh scummvm

Thank you!

Thu Aug 11, 2016 7:46 am

Timar

Joined: 03 Oct 2009
Posts: 19

Thanks for this build. I also think, given the ever-increasing performance of mobile devices, MT-32 emulation should by now be included (but not necessarily enabled) by default in all Android builds.

One question: With the above build I experience some minor cracking on my 1,2GHz MetiaTek device when many instruments are playing. Could a 64bit build offer any improvement? (I'm running 64 bit Marshmallow).

Mon Oct 03, 2016 10:33 am

rkk

Joined: 30 Jul 2016
Posts: 4

quote:Originally posted by TimarThanks for this build. I also think, given the ever-increasing performance of mobile devices, MT-32 emulation should by now be included (but not necessarily enabled) by default in all Android builds.

One question: With the above build I experience some minor cracking on my 1,2GHz MetiaTek device when many instruments are playing. Could a 64bit build offer any improvement? (I'm running 64 bit Marshmallow).

I have the same issues on my Moto G 2014 (1,2GHz). I believe you have to Overclock your CPU to have it working cleanly.

Mon Oct 03, 2016 10:54 am

Timar

Joined: 03 Oct 2009
Posts: 19

quote:Originally posted by rkk

I have the same issues on my Moto G 2014 (1,2GHz). I believe you have to Overclock your CPU to have it working cleanly.

What gave some improvement for me was to check the "Seperate thread for video" box in the SDL video settings.

It's a pitty, you have all those cores and can't utilize them to run the emulator.

Mon Oct 03, 2016 11:07 am

phunimator

Joined: 01 Jun 2009
Posts: 56
Location: London

Hi all,

I have missed updates to this thread since my follow up message in August, and I'm really pleased that this has been incorporated finally Smile

I have downloaded the latest build directly from the Google Play store on my Google Pixel phone today, and I'm happy to report that MT-32 is working pretty well! I've noticed there is a tiny bit of crackling, but I haven't messed with the audio buffer yet (which is set to very small by default).

I had to do the changes described by goetz in the 'ScummVM not working on Android N' thread to get the files to show in the ScummVM file browser, but then it works a treat. Can't wait to replay everything again with great audio Smile

Cheers!!

-P

Fri Oct 21, 2016 9:44 am

phunimator

Joined: 01 Jun 2009
Posts: 56
Location: London

Just to update that for me, the cracking was completely eliminated when the audio buffer was set to medium. Obviously YMMV depending on the device you are trying to do this with. Best of luck!

Mon Oct 24, 2016 11:35 am

Display posts from previous:

Forum Jump:

Forum Rules:

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forum