-
Notifications
You must be signed in to change notification settings - Fork 22
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
Decrypt SHTX and SHTXFS before convert them to PNG. #3
Comments
Added in commit ad79158, based on BlackDragonHunt's script. I've only tested this with about 100 files from Danganronpa Another Episode that I have here, but these all appear to decompress, and of course convert to PNG correctly. I'm still considering this not well tested yet, tho, so if you're able to build Scarlet yourself, it would be great if you could maybe test more files from the other games, and give some feedback as to whether they convert properly or not. |
It would be great if you could ex. pack up and upload any files that have issues, such as these black lines. As for the tool not deleting the decompressed images, the way it currently works might not lend itself to automatically deleting them, but I'll have a look into making that an option. |
Inside this zip you can find some of those files with black and grey lines. Understood, thank you! |
Possibly fixed the black lines with commit 8bd483d. This still needs more testing with GXTs from other games, tho, as there's a chance that I might've broken conversion of some of them. I'll be doing that later today or tomorrow but so far it's looking alright, with previously problematic images from ex. Dengeki Bunko Fighting Climax and Puyo Puyo Tetris still converting fine. Do feel free to try out this latest commit and check if you're still getting lines in any of the Danganronpa GXTs! |
Everything seems to be ok with the DR GXTs. |
Hm, I had to revert 8bd483d because it turned out to be causing problems with GXTs from various other games. So, for the Danganronpa GXTs, you should stay on that commit until I've worked out the correct fix for this issue; I'll also keep this report open. Edit: commit a55415a redid some logic, and has hopefully fixed the Danganronpa GXTs without breaking any others. These, along with various GXTs from other games as listed in that commit's description, have been tested and work fine now. I hope I'll never have to mess around with that logic again, but with my luck, who knows :P |
There are lots of images in Danganronpa 1, 2 and Another Episode for PSVITA that are encrypted, so I was wondering whether you could add to your tool the code done by BlackDragon --> https://github.com/BlackDragonHunt/Danganronpa-Tools/blob/master/dr_dec.py
That way it won't be necessary anymore to use dr_dec.py before using your tool and users won't need to install python either.
The text was updated successfully, but these errors were encountered: