I have been working on a fix since I woke up please be patient.
Oldyz workflow 64 bit components , windows 10 64 bit, Kratus files
Downloaded 32bit Java JDK 15.02
jdk-15.0.2_windows-x64_bin.exe
https://www.techspot.com/downloads/downloadnow/5552/?evp=a38814ad8b97456f590ac37ff0d22898&file=6304
Downloaded the Android SDK, "command line tools only" package for windows
commandlinetools-win-6858069_latest.zip
https://drive.google.com/file/d/1ZcNnNozNaAqWZlb42PDtoBoZWZvmt6eX/view
extracted the compressd contents of 'cmdline-tools' folder to
C:\android\sdk\cmdline-tools\version
######### NOTE sdk-setup.bat will ask for this path later ##################
you will end up with a path structure like this:
C:\android\sdk\cmdline-tools\version\bin\sdkmanager.bat
Downloaded android-ndk-r21e-windows-x86_64.zip
https://dl.google.com/android/repository/android-ndk-r21e-windows-x86_64.zip
extracted all contents inside the compressed folder android-ndk-r21 folder to:
C:\android\ndk
you will end up with a path structure like this:
C:\android\ndk\ -- 11 folders & 9 files
setup the environment variables, used the search bar to search for "advanced system settings"
that window will have a button at the bottom for "Environment Variables" now select "New" under "user variable":
################# DO NOT USE QUOTES #########
"ANDROID_HOME" = "C:\android\sdk"
ANDROID_NDK_HOME = C:\android\ndk
##### oldyz note, value equals path ######
Now setup System Variables -> Path add these lines:
"C:\Program Files\Java\jdk-15.0.2\bin"
value C:\Program Files\Java\jdk-15.0.2\bin
Downloaded the master branch here
https://github.com/DCurrent/openbor
as zip file
Ran the file "sdk-setup.bat" (found in root of openbor android folder)
it downloaded everything needed...
then run build.bat
success
########### WEIRD #############
you can skip sdk-setup.bat, & still compile well w master ?????
HACK?
- created a 'latest' folder inside
C:\android\sdk\cmdline-tools\version, pasted all the contents of cmdline-tools inside latest, and ran this command to accept
the licences: sdkmanager --licenses usig a command window.
after that ran build.bat (skipped sdk-setup.bat completely and the build went well for master build)
################## End of weird ####################
############## 6391 compile ##############################
Downloaded the master branch here
https://github.com/DCurrent/openbor
as zip file
Download older build (6391 for this exmaple)
https://github.com/DCurrent/openbor/releases/tag/v6391
after you extract them to C:
go to this master build directoty:
C:\openbor-master\engine
copy the android folder
go to the 6391 (or older build) directory:
C:\openbor-6391\engine
delete Android folder
paste the new android folder
########### Video.c patch ###########
https://youtu.be/i_zZrSQmNV4?t=849
go to this master build directory:
C:\openbor-master\engine\sdl
open video.c
copy this line:
#include "android/app/jni/openbor/video.c"
go the older build directoy:
C:\openbor-6391\engine\sdl
edit video.c
replace this line:
#include "android/jni/openbor/video.c"
with
#include "android/app/jni/openbor/video.c"
##### packfile.c for older build ########
go to this master build directory:
C:\openbor-master\engine\source\gamelib
copy packfile.c
go this older build directory:
C:\openbor-6391\engine\source\gamelib
paste packfile.c
then ran build.bat
i have it here as:@oldyz when you say master your referring to my branch right ?
when i tested the hacks i made using Kratu's android games and apk tool, i never noticed a blinking selection screen, and the Nightslashers apk that was hacked from the old punchman neither (but that is a very old android build)i just wanted to swap pak selector image to black image and default android button texture to transparent image, cause i dont need any of these in a game with single pak file, i use my own texture for buttons