RobLoach / libretro-dats

Build some of the libretro-database DATs
http://github.com/libretro/libretro-database
25 stars 18 forks source link

TOSEC files are not extracted successfully #63

Open lucasmr opened 1 year ago

lucasmr commented 1 year ago

Noticed that the TOSEC zip file is not being extracted. I think the problem is upstream: https://github.com/maxogden/extract-zip/issues/135

RobLoach commented 1 year ago

Could also be the size of the zip. We could possibly switch to using an actual zip implementation rather than the nodejs port.

lucasmr commented 1 year ago

Tried changing the zip library, but even yauzl have problems decompressing some formats. It seems Python3 zipfile module supports method 14, so I will slap something together.

RobLoach commented 1 year ago

The downloading and extracting has always been spotty. I'm not surprised it's broken. We could even just have a pre-run command line in package.json to extract them.