danila-schelkov / sc-editor

A viewer for Supercell SC graphic files format.
17 stars 1 forks source link

cant open sc files #15

Open V2nus opened 7 months ago

V2nus commented 7 months ago

image

How fix that

danila-schelkov commented 7 months ago

Share your files please, so I can debug it

V2nus commented 7 months ago

Sure and I use this java --add-exports java.base/java.lang=ALL-UNNAMED --add-exports java.desktop/sun.awt=ALL-UNNAMED --add-exports java.desktop/sun.java2d=ALL-UNNAMED -jar {PATH TO JAR} -Xmx12G cuz java -jar sc-editor-win64.jar Not working for me image

ZIP.zip

danila-schelkov commented 7 months ago

It looks like you're using uncompressed files. Currently this program doesn't support such files, but I will add support later with a kind of flag when opening files.

For now, you can compress these files back using my tool: https://github.com/danila-schelkov/sc-compression. It is also available on PyPi, so if you have Python installed, you can install the module with a terminal command like this: For Windows:

pip install sc-compression

For *nix systems:

pip3 install sc-compression
V2nus commented 7 months ago

Can you accept the request of Discord friend?

Function._.

I don't know how to use it.