Users browsing this thread: 4 Guest(s)
Extracting Unity Sprites
#1
Hi everyone! I've been trying, with admittedly dubious success, to teach myself from scratch how to rip sprites. Right now I'm working with Dragalia Lost, trying to get 2D portrait sprites. The stuff I actually want is in the cache, since Dragalia is one of those gacha games that does one big download of all the actual content immediately after you install it, and so I think the files in a folder called UnityShaderCache are going to have what I need. Tools like Unity Studio and Asset Bundle Extractor did a fine job reading the data files in the bin folder that came with the base apk and turning them to unique asset files, but they don't seem to be able to read the similarly-named and organized files from the shader cache at all. I just get an error.

I'm hoping this all makes sense to someone who has a better idea of what they're doing than me, but I can upload files or screenshots if anything is unclear! If anyone is able to help point me in the right direction, I would really appreciate it.

Thanks a million!

ETA: The title of this was Shaders instead of Sprites before because, as it turns out, I don't know what I'm doing; edited to clarify the actual thing I'm trying to do, though!
Reply
Thanked by: shikekaka
#2
(11-17-2018, 02:14 AM)nidorina Wrote: Hi everyone! I've been trying, with admittedly dubious success, to teach myself from scratch how to rip sprites. Right now I'm working with Dragalia Lost, trying to get 2D portrait sprites. The stuff I actually want is in the cache, since Dragalia is one of those gacha games that does one big download of all the actual content immediately after you install it, and so I think the files in a folder called UnityShaderCache are going to have what I need. Tools like Unity Studio and Asset Bundle Extractor did a fine job reading the data files in the bin folder that came with the base apk and turning them to unique asset files, but they don't seem to be able to read the similarly-named and organized files from the shader cache at all. I just get an error.

I'm hoping this all makes sense to someone who has a better idea of what they're doing than me, but I can upload files or screenshots if anything is unclear! If anyone is able to help point me in the right direction, I would really appreciate it.

Thanks a million!

In your place, I would emulate the game on a computer and rip the sprites directly with a 3D ripper. Or uninstall the game, then setup Fiddler to capture the packets with a virtual proxy on your phone, so you get all the data downloaded by the game when installing directly on your computer and find out how it's structured.

And having already ripped much Unity games, UnityShaderCache doesn't look the place where to search for I think.
Reply
Thanked by: nidorina, shikekaka
#3
@CorruptTurret I'm at least glad it kind of makes sense how I ended up in the wrong place, haha. Sorry, I'm still working out what the different terminology is! Thank you for taking the time to prod at the assets!

@iyenal Thank you for the tip! I haven't really played around much with that sort of thing on my phone at all; do you have any recommendations for a virtual proxy or tutorials for the setup? Is a 3D ripper still what I would want if I emulated, even though I'm trying to get 2D sprites and not actual shaders? The game's most recent update is preventing me from emulating it, but hopefully there'll be a workaround soon since that sounds like the easier way to do it...

I hope it isn't a bother to ask! This is all still real new to me. Thanks so much for the advice!
Reply
Thanked by: shikekaka
#4
Oh whoa, thank you so much! Should this still do the trick if I'm using an Android and not an iWhatever? This is a lot of stuff I've never actually done before so I'm going to save actually trying it out for later tonight, maybe tomorrow, and report back with results, but I absolutely wanted to thank you for the step-by-step right away!!!
Reply
Thanked by: shikekaka
#5
Oh, lovely! The game itself got a recent update that has kept me from emulating it successfully on my PC and no one's figured out a workaround yet, but I've got a phone I think I can jailbreak—I guess I've really thrown myself into the deep end here if I don't even already have that much yet (which maybe is why trying to yank everything direct from my phone just got me to the Shader Cache folder instead of anywhere useful?), but I'm determined to figure all of this out!! I'll report back with results!

I really appreciate all of this, I'm so excited to try all this out! Thank you!
Reply
Thanked by: shikekaka


Forum Jump: