Help needed with Android port of OpenMSX!

Página 1/4
| 2 | 3 | 4

Por Retrofan

Paragon (1262)

Imagen del Retrofan

29-03-2020, 18:15

Hi guys,

In the Android build of OpenMSX there's an annoying issue which the developers want to fix.
However, they need SDL2 library as probably the problem is SDL1.2.
The problem is that audio output is around 0.5 seconds later than video output.
Is someone willing to help the OpenMSX team?
Look here to read about the issue.

Thanks!

Login sesión o register para postear comentarios

Por Retrofan

Paragon (1262)

Imagen del Retrofan

03-04-2020, 12:45

Nobody who's willing to help the OpenMSX team? That's a pity for such great emulator. I also succesfully tested it on Android TV which works fine except for the audio lag of 0.5 sec. Please contact Manuel Bilderbeek if you can help them. Thanks!

Por Parn

Hero (610)

Imagen del Parn

03-04-2020, 14:50

I would totally be willing if I had the required expertise. I love OpenMSX and it would be great if it ran well on Android.

Por Retrofan

Paragon (1262)

Imagen del Retrofan

03-04-2020, 20:24

Yes, we must keep this port active Wink

Por Retrofan

Paragon (1262)

Imagen del Retrofan

30-05-2020, 19:00

I will give a sealed Android TV box for free to the person with programming skills who is willing to help the OpenMSX team to get the Android version alive again with support for SDL2 instead of SDL 1.2 currently used. I'm only shipping within Europe.
The Android TV box is called Xiaomi Mibox Sand has Android TV as operating system with Google Chromecast build-in and official license for Netflix. Isn't that great? :)

Por wbahnassi

Expert (124)

Imagen del wbahnassi

30-05-2020, 22:01

Let me see what I can do. @Manuel what is the starting point for building on Android? I see a whole bunch of python scripts and make files and .sh files... also which IDE do you use? Android Studio?

Por FiXato

Scribe (1641)

Imagen del FiXato

30-05-2020, 22:09

https://openmsx.org/manual/compile.html#androidbuild describes how the process went before SDL2.

Por Manuel

Ascended (17079)

Imagen del Manuel

30-05-2020, 23:27

@wbahnassi and @FiXato:
The process before SDL2 is not usable on the new situation. And indeed, it was very complex.
Whether you use an IDE is your own choice. Most openMSX developer's don't use any, just a good code editor and the command line to build, using our own Makefile and Python based build system.

The status of the Android port at this point is:
- all C++ code builds fine with the NDK and all. This is how to build it on a Linux box which has the NDK installed:
(use the paths that are applicable for your system of course)

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export ANDROID_SDK=/home/manuel/bin/Android_SDK/android-sdk-linux/
export ANDROID_NDK_HOME=/home/manuel/bin/Android_SDK/android-sdk-linux/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/
PATH="$PATH:${ANDROID_SDK}/tools:${ANDROID_SDK}/platform-tools:${ANDROID_SDK}/build-tools/28.0.2:${ANDROID_NDK_HOME}"
make staticbindist OPENMSX_TARGET_OS=android OPENMSX_TARGET_CPU=arm OPENMSX_FLAVOUR=opt

- the real work is to turn this into an APK file. So, load the built openmsx.so file into a Java application in the SDL2 framework, probably with steps described here: https://hg.libsdl.org/SDL/file/tip/docs/README-android.md
- and then integrate this into the openMSX build system, preferably.

Por wbahnassi

Expert (124)

Imagen del wbahnassi

30-05-2020, 23:49

Since we're gonna move away from commandergenius to official SDL 2 Android support, I guess you won't mind if I use Windows for development? (sorry I'm not a Linux guy, I'll end up spending more time fighting the OS than being productive).

Por Manuel

Ascended (17079)

Imagen del Manuel

31-05-2020, 00:32

wbahnassi: as long as Windows is not required, I'm fine with that. So, I should still be able to build it on Linux.
By the way, it may be easier to join us on IRC to directly discuss things. Much more productive. #openMSX on the FreeNode network.

Por Retrofan

Paragon (1262)

Imagen del Retrofan

31-05-2020, 08:39

@wbahnassi: good luck and thanks for trying, much appreciated!

Página 1/4
| 2 | 3 | 4