Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dump can not decrypt .sc/_tex.sc to png in Squad Busters #28

Open
Darklighture opened this issue Jun 2, 2024 · 3 comments
Open

dump can not decrypt .sc/_tex.sc to png in Squad Busters #28

Darklighture opened this issue Jun 2, 2024 · 3 comments

Comments

@Darklighture
Copy link

it said ValueError not enough image data
btw it can decrypt csv

@123456abcdef
Copy link
Owner

The *_tex.sc files are referencing the *.sctx files. These are new. At the first glance I could not figure out how to read them. Will look into it another day.
Help is always appreciated.

@123456abcdef
Copy link
Owner

123456abcdef commented Jun 19, 2024

I made some progress. The previous introduced file type KTX was replaced in favor of their own file type SCTX. Image data is now zstd compressed to reduce file sizes.
I wasn't able to figure out the complete file structure yet. What is missing is how to figure out the image format. Before it was encoded as gl_internal_format and could be looked up here.

At the moment the image format is hard coded. Some *_tex.sc files referencing a *.sctx file are already correctly processed. Check out the latest commit.

Will continue another day.

@Darklighture
Copy link
Author

it seems has something wrong with _tex.sc to png in CR version 5.01 since Jan. (it can still work in Oct. 2023 version 4.00)
and I found this may help https://github.com/sc-workshop/SC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants