I have a large game(50mb+), so I need to use APK Extension library provided by Google.
I’ve managed to work out the downloading part, but now I’d need to know the best way to access the .obb file from the native side.
There’s ZipResourceFile, but how does one use that efficiently from C++?
Unlike Assets, files in ExternalStorage can be accessed with ordinary posix functions. All I need is to get the correct path to the Obb-file.
Directory can be figured out this way:
And the file name is figured out out like this: