Prof-Butts / xwa_ddraw_d3d11

Direct3D 11 implementation of DDraw.dll for XWA with VR support and New Shaders
MIT License
6 stars 4 forks source link

Implement on-the-fly individual file extraction from zip files #89

Open morallo opened 1 year ago

morallo commented 1 year ago

Currently, the whole zip file is extracted to a temporary folder, and then individual files read from there.

Thanks to the format of zip files, which includes a directory at the end, it is possible to extract individual files from a zip file specifying the path inside the archive: https://learn.microsoft.com/en-us/dotnet/api/system.io.compression.ziparchive.getentry?view=net-7.0

https://discord.com/channels/@me/696889554820399194/1113613113460273255