Commit Graph

62 Commits

Author SHA1 Message Date
Sergii Pylypenko
094d04a4c2 SDL2 Java implementation 2022-01-03 02:12:10 +02:00
Sergii Pylypenko
919bf9a378 SDL2: custom activity that overrides SDLActivity 2022-01-02 00:12:38 +02:00
Sergii Pylypenko
bfa4bbe20a SDL: auto-switch data path to internal storage if writing to SD card fails 2021-11-28 01:33:53 +02:00
Sergii Pylypenko
077acc6880 SDL: support for install-time asset pack for Android app bundle 2021-06-07 00:20:09 +03:00
Sergii Pylypenko
11c23767fb SDL: fixed .obb file mounting 2021-05-20 23:27:53 +03:00
Sergii Pylypenko
b9dfad3516 SDL: new download method 'mnt:' to mount .obb file created by jobb tool, the mount path is returned in ANDROID_OBB_MOUNT_DIR env variable 2021-05-20 02:32:35 +03:00
Sergii Pylypenko
c08e0e6db3 SDL: do not delete .obb file, do not request storage write permission to read .obb file 2021-05-19 00:06:09 +03:00
Sergii Pylypenko
d863f8f2fe SDL: do not delete .obb file data 2021-05-16 01:55:34 +03:00
Sergii Pylypenko
95ebb73426 SDL: refactoring of input event code 2017-10-31 23:36:22 +02:00
Sergii Pylypenko
5edfb74432 SDL: re-create download outdir if SD card is replaced 2017-02-24 17:01:23 +02:00
Gerhard Stein
a877155344 CRC workaround for older versions 2017-01-29 20:38:36 +01:00
pelya
7e032dd40a SDL: request Marshmallow SD card runtime permission using SDL_ANDROID_RequestExternalStorageRuntimePermission() 2016-06-27 01:11:18 +03:00
Sergii Pylypenko
922feec8b9 SDL: Replaced Apache HTTP with HttpURLConnection, to decrease app size and number of dependencies 2016-04-20 23:04:16 +03:00
Sergii Pylypenko
d0be1c1ce1 SDL: truncate .obb file if Google Play downloads it again, happens all the time during updates 2016-03-16 22:48:13 +02:00
Sergii Pylypenko
ff19381225 SDL: yet another fix for downloads on 64-bit arches 2015-10-23 16:28:10 +03:00
pelya
a44892d72e Unpack .zip.xz archives using liblzma and JNI instead of Java implementation, because Java heap is small and it crashes with out of memory error 2014-11-12 00:59:04 +02:00
pelya
8ecb9c5f28 Fixed bug with downloading expansion files 2014-11-10 12:40:26 +02:00
pelya
a6ca9e6bef Support for Google Play expansion files 2014-11-09 23:24:45 +02:00
Sergii Pylypenko
cdf5d869bb Added support for .tar.xz compression format for data downloader,
xz gives 30% better compression than plain zip, but you need to
create zip archive with no compression: zip -0 -r, then
compress it with xz: xz -8 < archive.zip > archive.zip.xz
Data downloader will try to use xz decompressor on
anything with extension .zip.xz
2014-08-19 21:59:00 +03:00
pelya
ed8e3457d0 Updated license text in all SDL 1.2 sources 2014-06-22 01:58:38 +03:00
Sergii Pylypenko
6a5c58516a Replace <ARCH> with ABI string inside data download URL 2014-03-31 22:32:06 +03:00
Sergii Pylypenko
0428be6690 Show shorter downlaod paths 2013-12-13 07:48:19 +02:00
pelya
8a176ec40a Small fix to in-apk asset data unpacker 2013-09-02 00:13:00 +03:00
pelya
8a1c00f623 Do not update downloader progress too often, it eats CPU 2013-08-24 23:12:51 +03:00
pelya
b21eab7cf2 Split Settings.java into 4 files 2013-06-24 20:39:47 +03:00
Sergii Pylypenko
415b036560 Show readme dialog before download selection dialog 2013-05-30 20:09:17 +03:00
pelya
ed5f401e3f Replaced System.out.println() with proper Log.i() across Java files 2013-05-04 23:32:37 +03:00
pelya
afce1cbde2 Dialog to abort data downloading 2013-03-09 22:11:13 +02:00
Sergii Pylypenko
f46c8f3743 Updated ViceC64, courtesy of Lubomyr 2013-03-04 20:56:15 +02:00
pelya
e4cace0d07 Fixed crash in SDL_mixer on armeabi-v7a arch, caused by improper compiler flags, updated libvorbis 2012-11-01 18:20:32 +02:00
pelya
f37cc6cda0 Fixed few bugs in data downloader 2012-11-01 16:45:04 +02:00
pelya
c46aad8b5c Added warning in case of broken cfg file 2012-11-01 15:21:25 +02:00
pelya
6bc4d3aad1 More sensible error message when data download aborted 2012-10-31 18:24:33 +02:00
pelya
9747663a1a Another small fix to the partial data downloading 2012-10-31 17:11:19 +02:00
pelya
c8e16684d3 Fix to the partial data downloading 2012-10-30 20:02:32 +02:00
pelya
e38cf2f06f Support for resuming download of partially-downloaded files, only for non-unzipped files. 2012-10-30 15:31:13 +02:00
pelya
6d059c046a Tiny fix to data downloader 2012-09-18 10:06:44 +03:00
pelya
96e640f78e AdMob support added, you cannot yet hide or reposition the ad from the C code. Also did some cleanup on include files. 2012-09-05 21:26:35 +03:00
pelya
046e36acd3 Put app data files into correct place instead of /sdcard/app-data/.. 2012-08-13 23:08:28 +03:00
pelya
64cd8c425a Minor fix to data downloader, updated OpenArena project 2012-08-03 16:34:43 +03:00
pelya
504522cf9c Fixed crash in DataDownloader.java 2012-03-03 12:24:13 +02:00
pelya
c6489923f7 Some rudimentary support for hardware mouse 2012-01-31 18:48:16 +02:00
pelya
2fe92bdcf9 Another small fix to data downloader 2011-11-29 20:08:59 +02:00
pelya
9ed305398c Fixed progress message in data downloader 2011-11-29 17:48:03 +02:00
pelya
8407008d6c Lame support for multipart archives in assets, added XRick game 2011-11-29 14:22:29 +02:00
pelya
877654a2d4 Updated VCMI, fixed crash due to SDL_Image not supporting PCX format 2011-07-01 15:32:20 +03:00
pelya
4d3c771791 Changed license type to ZLIB for the Java source files 2011-06-24 11:43:07 +03:00
pelya
62fd0b2dd6 VCMI loads main menu on a device, but crashes right after click on any botton. Megadebug patch attached. 2011-06-16 19:57:53 +03:00
pelya
47b5d6938a If you've added another download with "!" at the beginning to the updated .apk - do not ask user, just download the file 2011-05-31 18:52:12 +03:00
pelya
2bb4e56768 Changed random code in arbitrary places to fix mysterious crash 2011-04-21 21:09:52 -04:00