You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, i'm using node v16.20.2 and i get this error when i try to decode COC sc buildings :
Extracting ../clash-of-clans-16-386-9/assets/sc/buildings
/home/maxime/Projects/ML/CoC/Supercell-Viewer/node_modules/sharp/lib/input.js:34
throw Error('Input Buffer is empty');
^
Error: Input Buffer is empty
at Sharp._createInputDescriptor (/home/maxime/Projects/ML/CoC/Supercell-Viewer/node_modules/sharp/lib/input.js:34:13)
at new Sharp (/home/maxime/Projects/ML/CoC/Supercell-Viewer/node_modules/sharp/lib/constructor.js:289:29)
at Sharp (/home/maxime/Projects/ML/CoC/Supercell-Viewer/node_modules/sharp/lib/constructor.js:137:12)
at Object.saveImage (/home/maxime/Projects/ML/CoC/Supercell-Viewer/src/imageUtils.js:5:17)
at Object.readTexture (/home/maxime/Projects/ML/CoC/Supercell-Viewer/src/sc/sections/texture.js:176:14)
at readNormalScFile (/home/maxime/Projects/ML/CoC/Supercell-Viewer/src/sc/scFormat.js:113:36)
at async readScFile (/home/maxime/Projects/ML/CoC/Supercell-Viewer/src/sc/scFormat.js:230:25)
at async main (/home/maxime/Projects/ML/CoC/Supercell-Viewer/extractor.js:53:5)
The text was updated successfully, but these errors were encountered:
Any idea on how to fix this error ?
Hey, i'm using node v16.20.2 and i get this error when i try to decode COC sc buildings :
The text was updated successfully, but these errors were encountered: