VOGONS


First post, by superfury

User metadata
Rank l33t++
Rank
l33t++

I've just noticed that SDL2 has upgraded it's current (stable?) version to 2.0.5. My project is still built using SDL 2.0.3(installed in the toolchain), which is also checked in at my repository's git server. What part of a normal SDL2 project (for Android) should be checked in and what part should de ignored? What's the best way to do this (on Windows)? I can symlink stuff where needed, but I would need to know what to symlink (folders/files) to make it compatible with any to-use SDL2 upgrade(which is by the user pulling my repository and adding their respective SDL2 files, if required, leaving my SDL2 Android files present and unmodified to make it work with ndk-build.

Edit: I've just removed the /android-projects/jni/SDL2 and /android-project/src/org/libsdl/app from source control. Now I'll only still need to write a little tutorial on adding/creating those folders from the latest stable SDL2 source code.

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 1 of 3, by vladstamate

User metadata
Rank Oldbie
Rank
Oldbie

Oh interesting, I did not know SDL updated. I am still using 2.0.3 in my project (as as you). I will grab it too. I am only building for Linux, Windows and MacOSX.

YouTube channel: https://www.youtube.com/channel/UC7HbC_nq8t1S9l7qGYL0mTA
Collection: http://www.digiloguemuseum.com/index.html
Emulator: https://sites.google.com/site/capex86/
Raytracer: https://sites.google.com/site/opaqueraytracer/

Reply 2 of 3, by superfury

User metadata
Rank l33t++
Rank
l33t++

Finally a current (stable) release with full recording support:D One new feature I'm planning to add is the new audio device events, because UniPCemu will currently stop giving output when ran through a RDP session, invalidating the current output stream:( Although this might require recalculating/reallocating some variables used for rendering audio(different samplerate conversion).

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 3 of 3, by superfury

User metadata
Rank l33t++
Rank
l33t++

Currently, of the SDL2 folders in the android-project folder, I'm left with the following files in source control(within the android-project folder):

AndroidManifest.xml
Makefile.multiplatform (UniPCemu substitute)
ant.properties
build.properties
build.xml
default.properties
jni/Android.mk
jni/Application.mk
jni/src/Android.mk
jni/src/Android_static.mk
proguard-project.txt
project.properties
res/drawable-hdpi/ic_launcher.png
res/drawable-mdpi/ic_launcher.png
res/drawable-xhdpi/ic_launcher.png
res/drawable-xxhdpi/ic_launcher.png
res/layout/main.xml
res/values/strings.xml
src/superfury/unipcemu/sdl/UniPCemuActivity.java

Is this correct? Should all those files be in the source control(non-SDL build specific files)?

Edit:(btw, just finally made Visual C++ build UniPCemu in glorious 64-bit 😀 It was having problems before, which are now fixed)(mainly missing Windows platform specified, also a little linker error function of the VGA precalcs, which is fixed). )

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io