emoose / xbox-winfsp

Brings native support for Xbox filesystems (FATX, STFS & GDFX/XGD/XDVDFS) to Windows.
62 stars 6 forks source link

STFS: WinRAR can't read included archives properly #1

Closed emoose closed 4 years ago

emoose commented 4 years ago

For some reason WinRAR can't read any included archives, eg. ZIP files, instead always reporting "Unexpected end of archive"... copying the ZIP file out of the package to somewhere else will let WinRAR open the copied version fine though, strange.

Seen in Bomberman LIVE package (423BF8A17D9CEB435A291FE5486EABE1A3CD3D58)

I'm guessing this is a bug in StfsFileSystem::Read and not an error in WinRAR, will try looking into it soon.

E: Seems this happens with video files too, MPC-BE won't play them unless they've been copied out first :/

emoose commented 4 years ago

Seems fixed in 880b1ad7557e9d78d9df4620416cab425473b5e9, not sure how resilient the new code really is though, but it seems to work fine for now at least.