![]() |
Street Fighter: Duel images - Printable Version +- The VG Resource (https://www.vg-resource.com) +-- Forum: The Resources (https://www.vg-resource.com/forum-109.html) +--- Forum: The Spriters Resource (https://www.vg-resource.com/forum-110.html) +---- Forum: Ripping Help (https://www.vg-resource.com/forum-114.html) +---- Thread: Street Fighter: Duel images (/thread-39757.html) |
RE: Street Fighter: Duel images - rufaswan - 02-05-2023 (01-22-2023, 06:11 PM)Hollow Wrote: Hello? Are you there? Could you direct me to or recommend a hex editor that allows me to both XOR and re-save the file as an .astc file? I can't go any further at the moment. What do you mean by you couldn't re-save the file by .ASTC extension? If you can File -> Open the file, then you can File -> Save As to re-save it. Also XOR means this : https://en.wikipedia.org/wiki/Bitwise_operation#XOR It is the example of decoded files. .PNG is the original file. .PNG.ASTC is the re-saved file. .PNG.ASTC.PNG is the output file by `astcenc` tool from github. https://cdn.discordapp.com/attachments/1058766026105421886/1058931094050840626/sfduel_example.zip Here is an example hex editor that also have XOR function. You can see it in action in 10:04 mark. He used Hiew. - Rufas P.S. If you are using Windows, make sure you disable that "Hide extensions for known file types" first. Other than that, I have no clue. https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/How-to-enable-hidden-file-extensions-in-Windows.html RE: Street Fighter: Duel images - Hollow - 02-22-2023 (12-10-2022, 09:42 PM)rufaswan Wrote: Actually @bihaiorg already posted the solution, the code from 52pojie.cn looks very complex, but it can be simplified to Ok so, I followed these steps and I ran into an issue. I opened a png file named '1e3b42733ae3dbc38cc643206a9376fd' in the '1e' folder from the assets > release directory in wxHexEditor and deleted the first 16 bytes. I use XOR on the next 16 bytes, then save the file as .astc. When I run the command to convert it to PNG, I get a message saying 'ERROR: Unknown compressed input file type'. What could I be doing wrong? Please bare with me, I am fairly new to this. Perhaps a short video tutorial could be of some use. By the way, would that same key be used to XOR all the other encrypted images? RE: Street Fighter: Duel images - rufaswan - 02-24-2023 In case you missed it, I already given you an example. You can use it to compare what you got, to see if you done it correctly. So here it is again: Quote:It is the example of decoded files. .PNG is the original file. .PNG.ASTC is the re-saved file. .PNG.ASTC.PNG is the output file by `astcenc` tool from github. Also, from your screenshot, you XOR the whole file instead just the 16 bytes header. Good luck! - Rufas RE: Street Fighter: Duel images - Hollow - 02-24-2023 (02-24-2023, 09:21 AM)rufaswan Wrote: In case you missed it, I already given you an example. You can use it to compare what you got, to see if you done it correctly. So here it is again: Sorry, but that wasn't very helpful. I saw the example. I still don't know what went wrong. That hex editor I used seems like it doesn't account for editing a single line of 16 bytes. The other hex editors I have are HxD (doesn't have an XOR function), Hex Editor Neo (doesn't support saving files under different formats properly) and Hiew32 Demo Version (I don't know my way around it.) What hex editor did you personally use? Honestly a video tutorial for this sort of thing helps for those of us who aren't programmers. RE: Street Fighter: Duel images - JacintaB2022 - 03-02-2023 The English version of the game is released, and I've looked into it's apk, but I can't find the game's graphic data files from that version (though I've already extracted it's app icons). Maybe the files on that version are all encrypted or something... RE: Street Fighter: Duel images - Hollow - 03-02-2023 (03-02-2023, 03:12 PM)JacintaB2022 Wrote: The English version of the game is released, and I've looked into it's apk, but I can't find the game's graphic data files from that version (though I've already extracted it's app icons). Maybe the files on that version are all encrypted or something... The files are in the same directory as the Chinese version. The method to decrypt the image files was shared earlier in the thread. RE: Street Fighter: Duel images - bymutou - 03-05-2023 (02-24-2023, 10:36 PM)Hollow Wrote:(02-24-2023, 09:21 AM)rufaswan Wrote: In case you missed it, I already given you an example. You can use it to compare what you got, to see if you done it correctly. So here it is again: RE: Street Fighter: Duel images - Hollow - 03-06-2023 (03-05-2023, 04:44 PM)bymutou Wrote:(02-24-2023, 10:36 PM)Hollow Wrote:(02-24-2023, 09:21 AM)rufaswan Wrote: In case you missed it, I already given you an example. You can use it to compare what you got, to see if you done it correctly. So here it is again: Thanks for sharing, this helped RE: Street Fighter: Duel images - Hollow - 03-07-2023 So I've finally managed to decrypt some images: I've done about 16 images in total, but the process for this is actually quite tedious. Now that we understand how to decrypt them, I have to imagine there is a script or tool that can be made at some point to automate the entire process, from decrypting the image header to converting the astc files to png format. I understand bihaiorg has a tool but there's been no response from him in regards to any updates, even after DM'ing and email. There are 7,646 image files in total, mostly PNG files and some JPG. RE: Street Fighter: Duel images - JacintaB2022 - 03-07-2023 (03-07-2023, 03:29 AM)Hollow Wrote: So I've finally managed to decrypt some images: Judging by the look of these three sample images you've decrypted, two of them are items while the middle one seems to be a Summer variant of Yang. Though i'm unsure if he's an unlockable playable fighter in the game or not, this could mean that there's some planned future (or unused) fighters hiding around inside the game's image files. RE: Street Fighter: Duel images - bymutou - 03-09-2023 (03-07-2023, 03:29 AM)Hollow Wrote: So I've finally managed to decrypt some images:Friend, I modified the BMS, and now I do n’t need to replace the first 16 bytes, and then use the ASTCTOPNG.BAT in the bag to convert the decoded ASTC file. Remember to put the three exe of ASTC in the BAT in the same directory in the same directory. ![]() RE: Street Fighter: Duel images - Hollow - 03-10-2023 (03-09-2023, 03:46 AM)bymutou Wrote:This was very helpful, thank you. Do you or anyone else know of a program that can rip individual sprites from these kinds of sheets?(03-07-2023, 03:29 AM)Hollow Wrote: So I've finally managed to decrypt some images:Friend, I modified the BMS, and now I do n’t need to replace the first 16 bytes, and then use the ASTCTOPNG.BAT in the bag to convert the decoded ASTC file. Remember to put the three exe of ASTC in the BAT in the same directory in the same directory. The image I uploaded is rather simple, since I can't go over the 500kb limit, but it's just an example. Btw, is it possible to make those scripts compatible with .jpg files as well? There are a little over 300 jpg images within the 'release' directory. RE: Street Fighter: Duel images - bymutou - 03-10-2023 (03-10-2023, 05:15 PM)Hollow Wrote:(03-09-2023, 03:46 AM)bymutou Wrote:This was very helpful, thank you. Do you or anyone else know of a program that can rip individual sprites from these kinds of sheets?(03-07-2023, 03:29 AM)Hollow Wrote: So I've finally managed to decrypt some images:Friend, I modified the BMS, and now I do n’t need to replace the first 16 bytes, and then use the ASTCTOPNG.BAT in the bag to convert the decoded ASTC file. Remember to put the three exe of ASTC in the BAT in the same directory in the same directory. https://en.esotericsoftware.com/spine-download You can use this software to split sprites,Although the trial version cannot export things, it can be split,Bms scripts also support jpg RE: Street Fighter: Duel images - Hollow - 03-10-2023 (03-10-2023, 08:40 PM)bymutou Wrote:Sorry, I should have specified. The astc encoder tool doesn't support .jpg, the bat file you shared also doesn't support it.(03-10-2023, 05:15 PM)Hollow Wrote:(03-09-2023, 03:46 AM)bymutou Wrote: Friend, I modified the BMS, and now I do n’t need to replace the first 16 bytes, and then use the ASTCTOPNG.BAT in the bag to convert the decoded ASTC file. Remember to put the three exe of ASTC in the BAT in the same directory in the same directory.This was very helpful, thank you. Do you or anyone else know of a program that can rip individual sprites from these kinds of sheets? RE: Street Fighter: Duel images - bymutou - 03-10-2023 (03-10-2023, 09:04 PM)Hollow Wrote:For jpg files, just modify them according to the picture below(03-10-2023, 08:40 PM)bymutou Wrote:Sorry, I should have specified. The astc encoder tool doesn't support .jpg, the bat file you shared also doesn't support it.(03-10-2023, 05:15 PM)Hollow Wrote: This was very helpful, thank you. Do you or anyone else know of a program that can rip individual sprites from these kinds of sheets? |