Read .wav files from .obb Monogame

i have a .obb i have created from a zip file and i am not sure how to read it’s contents. i am developing the app in Xamarin with Monogame.

there are little to no examples of .zip files being extracted using monogame, and the only ones i could find for XNA use outdated System.IO.Compression that is not included in Monogame or APK expansion and i was wondering if anyone is able to read them.

This has nothing to do with MonoGame, it’s Xamarin (and Android) :slight_smile:

An alternative to extracting files from an expansion file is to read the
assets or resources directly from the expansion file. The expansion file is
nothing more than a zip file that can be used with an appropriate ContentProvider. The Android.Play.ExpansionLibrary contains an assembly, System.IO.Compression.Zip, which includes a ContentProviderthat will allow
for direct file access to some media files. If media files are being packaged
into a zip file, media playback calls may directly use files in the zip without
having to unpack the zip file. The media files should not be compressed when
added to the zip file.