Help needed with Android port of OpenMSX!

Page 4/4
1 | 2 | 3 |

By Manuel

Ascended (18248)

Manuel's picture

09-09-2020, 18:57

Great, the sooner I can give feedback about the suggestions to the person who gave them, the better Smile

By wbahnassi

Master (147)

wbahnassi's picture

01-10-2020, 04:48

Latest update:

  • Spent quite some time trying to activate a different SDL audio driver on Android to no avail. Looking at the SDL2 code, in fact I'm not sure how even it could work. Anyways, it was taking too long and I wasn't making any progress, so I decided to leave it for a later run.
  • Touch input events implemented and exported to TCL in an easy to use way (fingers mapped to 0,1,2,3 instead of random guids). A limit of 5 concurrent fingers can be tracked (let me know if it's a problem, it's just a constant).

Next step is an OSD joystick implementation, and supporting touch for menus etc. I spent some time reading about TCL since I never knew about this scripting language before. Hopefully I can build the joystick without much trouble.

Cheers!

By Manuel

Ascended (18248)

Manuel's picture

01-10-2020, 07:37

The multi touch stuff could already be ported to the master branch. I'd be interested to do that.

Did you talk to the people on #SDL about the sound driver?

By wbahnassi

Master (147)

wbahnassi's picture

01-10-2020, 19:53

Manuel wrote:

The multi touch stuff could already be ported to the master branch. I'd be interested to do that.

You will want to get those two commits from my sdl2-android branch:
fcb76ae2be00ffb2f0b454c364dabe19f20e512b
8a9435b048b7f9ab040695cfd04103caa6bb8c91

Manuel wrote:

Did you talk to the people on #SDL about the sound driver?

I tried once a while ago and didn't get a response then, so yeah.. gotta follow up on this for sure. I also tried modifying the SDL2 code to force the use of the ES audio driver but I failed miserably with a sea of compiler and linker errors... so I'm gonna revisit this after I'm done with the multitouch controls thing... at least then I can fully interact with the games on openMSX on Android.

By Retrofan

Paragon (1264)

Retrofan's picture

16-11-2020, 19:02

We still need SDL2 version for Android build, but for now this solution for SDL1.2 seems to give a better result and no audio delay at all anymore when increasing the default audio buffer: I did a final test and both 768 and 1024 seems to work fine. I think the preferable default value for Android version is 1024 to get rid of that annoying audio lag and don't have random interruptions. Right now the default value is 2560!

By Retrofan

Paragon (1264)

Retrofan's picture

30-10-2021, 16:10

No updates after a year? So, the Android port is dead? Too bad, as Android is great on portable devices.
Version 0.15 still works fine on my Nvidia Shield Tablet.

By Manuel

Ascended (18248)

Manuel's picture

30-10-2021, 16:44

You can try the latest development build still...

By Retrofan

Paragon (1264)

Retrofan's picture

30-10-2021, 18:29

Okay, thanks. Where can I find it?

By Manuel

Ascended (18248)

Manuel's picture

31-10-2021, 14:20

Good point: nowhere. it is still being built, but not as a full APK anymore. And as such, it isn't uploaded anymore to the website. The packaging scripts are also still broken after the move from 'commandergenius' to SDL2.

Page 4/4
1 | 2 | 3 |