Lame support for multipart archives in assets, added XRick game
This commit is contained in:
@@ -875,7 +875,10 @@ if [ -d "project/jni/application/src/AndroidData" ] ; then
|
||||
echo Copying asset files
|
||||
for F in project/jni/application/src/AndroidData/*; do
|
||||
if [ `cat $F | wc -c` -gt 1048576 ] ; then
|
||||
echo "Error: the file $F is bigger than 1048576 bytes - some Android devices will fail to extract such file\nPlease split your data into several small files, or use HTTP download method"
|
||||
echo "Error: the file $F is bigger than 1048576 bytes - some Android devices will fail to extract such file"
|
||||
echo "Please use HTTP download method, or split your data into several small files with command:"
|
||||
echo "split -b 1000000 -d data.zip data.zip"
|
||||
echo "It will create files data.zip00, data.zip01 etc, and SDL will try to search for such files in assets when unpacking data.zip"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user