OpenArena: updated project files

This commit is contained in:
Sergii Pylypenko
2021-05-20 23:28:54 +03:00
parent d18f028de7
commit 134b5c6bb6
5 changed files with 19 additions and 17 deletions

View File

@@ -7,10 +7,10 @@ AppName="OpenArena"
AppFullName=ws.openarena.sdl
# Application version code (integer)
AppVersionCode=08838
AppVersionCode=08839
# Application user-visible version name (string)
AppVersionName="0.8.8.38"
AppVersionName="0.8.8.39"
# Specify path to download application data in zip archive in the form 'Description|URL|MirrorURL^Description2|URL2|MirrorURL2^...'
# If you'll start Description with '!' symbol it will be enabled by default, '!!' will also hide the entry from the menu, so it cannot be disabled
@@ -20,13 +20,13 @@ AppVersionName="0.8.8.38"
# You can specify Google Play expansion files in the form 'obb:main.12345' or 'obb:patch.12345' where 12345 is the app version for obb file
# You can use .zip.xz archives for better compression, but you need to add 'lzma' to CompiledLibraries
# Generate .zip.xz files like this: zip -0 -r data.zip your-data/* ; xz -8 data.zip
AppDataDownloadUrl="!Game data|obb:main.8828|https://sourceforge.net/projects/libsdl-android/files/OpenArena/data-0.8.8.28.zip/download^!Game logic|:baseoa/pak7-android.pk3:pak7-android.pk3"
AppDataDownloadUrl="!Game data|mnt:main.8839|obb:main.8828|https://github.com/pelya/openarena-engine/releases/download/0.8.8.39/data-0.8.8.zip|https://sourceforge.net/projects/libsdl-android/files/OpenArena/data-0.8.8.28.zip/download^!Game logic|:baseoa/pak7-android.pk3:pak7-android.pk3"
# Reset SDL config when updating application to the new version (y) / (n)
ResetSdlConfigForThisVersion=n
# Delete application data files when upgrading (specify file/dir paths separated by spaces)
DeleteFilesOnUpgrade="libsdl-DownloadFinished-1.flag"
DeleteFilesOnUpgrade="libsdl-DownloadFinished-1.flag libsdl-DownloadFinished-0.flag baseoa"
# Here you may type readme text, which will be shown during startup. Format is:
# Text in English, use \\\\n to separate lines (that's four backslashes)^de:Text in Deutsch^ru:Text in Russian^button:Button that will open some URL:http://url-to-open/
@@ -180,10 +180,10 @@ AppUsesMultitouch=y
AppRecordsAudio=y
# Application needs read/write access SD card. Always disable it, unless you want to access user photos and downloads. (y) / (n)
AccessSdCard=y
AccessSdCard=
# Application needs to read it's own OBB file. Enable this if you are using Play Store expansion files. (y) / (n)
ReadObbFile=
ReadObbFile=y
# Application needs Internet access. If you disable it, you'll have to bundle all your data files inside .apk (y) / (n)
AccessInternet=y
@@ -270,7 +270,7 @@ APP_PLATFORM=
# Specify architectures to compile, 'all' or 'y' to compile for all architectures.
# Available architectures: armeabi-v7a arm64-v8a x86 x86_64
MultiABI='armeabi-v7a x86 arm64-v8a x86_64'
#MultiABI='arm64-v8a'
MultiABI='arm64-v8a'
# Optional shared libraries to compile - removing some of them will save space
# MP3 patents are expired, but libmad license is GPL, not LGPL

View File

@@ -0,0 +1,10 @@
#!/bin/sh
echo "Create directory data/baseoa and put your .pk3 files there"
jobb -pn ws.openarena.sdl -pv 8839 -d ./data -o main.8839.ws.openarena.sdl.obb
[ -n "$1" ] && {
adb shell mkdir -p /sdcard/Android/obb/ws.openarena.sdl
adb push main.8839.ws.openarena.sdl.obb /sdcard/Android/obb/ws.openarena.sdl/
}

View File

@@ -10,11 +10,3 @@ index 7956ad1..37b9de5 100644
</intent-filter>
</activity>
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" /> <!-- Samsung's multiwindow -->
@@ -47,7 +47,6 @@
</application>
<!-- ==INTERNET== --> <uses-permission android:name="android.permission.INTERNET" />
- <!-- ==EXTERNAL_STORAGE== --> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- ==EXTERNAL_STORAGE== --> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!-- ==RECORD_AUDIO== --> <uses-permission android:name="android.permission.RECORD_AUDIO" />