Descrambling Unity Spritesheets/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: Descrambling Unity Spritesheets/Images (/thread-34688.html) |
Descrambling Unity Spritesheets/Images - Resistiv - 11-24-2018 Hi all! Recently, I've encountered some trouble with descrambling some Unity-based images and spritesheets that I've extracted using Asset Studio. As you may know, many of these sheets tend to come out all cut-up and out of order and not really human readable, see below. For an image like this, it can be truly difficult to hand-assemble the picture in a way that is representative of what is shown in-game (see my best attempt below, which left out some small transparent edges that I couldn't faithfully position). Sure, while this looks absolutely fine and the little edges could go easily unnoticed, I just can't brush off the fact that this is technically incorrect. So, is there a way to extract a script or something from the game files that properly assembles these images, or even a standardized algorithm for reassembly? Thanks! RE: Descrambling Unity Spritesheets/Images - Z-one - 12-10-2018 Reminds me of the kind of protection that mangas are known to have in reading sites. Have you seen that before? BTW you did a fine job by putting her together. RE: Descrambling Unity Spritesheets/Images - Resistiv - 12-10-2018 Nope, I've never quite seen that protection method outside of select Unity games, but that's interesting! RE: Descrambling Unity Spritesheets/Images - Raccoon Sam - 12-10-2018 If the pieces are there, the instructions on how to reassemble the pieces are there as well. The game must know how to pack them back up together again, so the data has to exist. I went to some (albeit maybe too little) detail about a similar issue here. But basically, I'd start by manually writing down numbers about the coordinates and widths and heights and doing a hex search for said bytes in the file(s). You're bound to find a table somewhere and that information is enough to piece that stuff back up. RE: Descrambling Unity Spritesheets/Images - Resistiv - 12-10-2018 Thanks Sam! I took some time to look through the files, but only found atlases and tables for the Live2D sprites. However, I did find a rather suspect file just called "scripts". Took a quick look in a hex editor and, to my surprise, it lacked the regular UnityFS header that most files in the app had. I've provided it down below if anyone can help! scripts |