Hello everybody. I need help regarding expansion files. At my wit's end here, because the game just can't detect the existence of the expansion file.
I have made a game .apk for Android phone, and need to use expansion files for the assets (200mb).
My main .apk package name is:
com.bitbit.santai
I exported it, and installed it directly to my phone (not uploaded to Google Play yet).
My expansion file name is:
main.1.com.bitbit.santai.obb
I put all the assets folders and files in a folder named "TEMP", zip it uncompressed with 7z in .zip format, and renamed the resulting TEMP.zip to:
main.1.com.bitbit.santai.obb
Then, I put the .obb file inside Android/obb/com.bitbit.santai/ , which is a directory in my phone internal storage.
In the main game .apk, I tried to test whether expansion file successfully loaded with:
expansiontest = 1
WHILE expansiontest = 1
PRINT( "GetExpansionFileState = " + STR( GetExpansionFileState() ) )
SYNC()
ENDWHILE
But the GetExpansionFileState() only returns 1, which means the game can't detect the expansion file.
Why does this happen?
It does'nt matter if I specify the app version or not while exporting, the game still fail to detect expansion file.
What did I do wrong?
Thanks in advance.