Users browsing this thread: 3 Guest(s)
[Tutorial] Ripping from Unity Engine games.
#1
3D Modelling 
I'm not the best at explaining things but here we go, I also like to use images.

Grab AssetStudio Use this version if you have rigging issues try this it's an auto build of the latest commits Of AssetStudio / AssetStudio Github Release Page

1. Exporting Models

Go to the Unity Game's Folder GAMENAME_Data / StreamingAssets / any folder containing the asset bundles.
File > Load File/Folder select the file/folder with the assets you wish to open.
Use the Scene Hierarchy to export models, select the model you want to export. Or just use the "Model > Export All Objects (Split/Merge)" option and look through'em with Noesis
Once Selected go to Model > Export Selected Objects (Split/Merge). They export in FBX version 7.5 by default which you can choose which version you want to export as "Options > Export Options" FBX Version 7.1 seems to work best for me, and if none of those versions work with your preferred program you can use Noesis to convert to dae. You may need to select "FlipUVs" when converting with Noesis.
1.25 Seemingly Pre-Posed Models
If you encounter this issue with converting AssetStudio's FBX's to DAE via Noesis, find an FBX version that works with your preferred program (7.1 works for me in Blender 2.7) and just reset the Scale of the Armature and Mesh, then the location and rotation of the bones, This has worked with the few models I've tested it with.

You could also export the Animator asset in the Asset List this is sometimes the only way to export a model with rigging.


Or you could just export the mesh from the asset list which doesn't export the rigging. Sad


1.5. Ripping Model with Animations
Similar to the above, difference is selecting the AnimationClips related to the model you're exporting then Model > Export Selected Objects (Split/Merged) + Selected AnimationClips, you could also just select the AnimationClips with the Animator and do Export > Animator + Selected AnimationClips and depending on how the game stores them, simply exporting the Animator works too.


2. Exporting Textures, Sprites, and Sounds


Usually exporting the model also exports the textures, but sometimes it doesn't export the correct textures.

Go to the Asset List, find and select the Texture(Texture2D)/Sprite(Texture2D/Sprite)/Sounds(AudioClip) you wish to export, then go to Export > Selected Assets

3. Compressed/Cached Assets

Some games have their assets compressed as .unity3D / .assetbundles / .bundle / .asset /, or in a "StreamingAssets" folder, and sometimes without a file extension open the asset up in a hex editor to see if it has the "UnityFS" or "UnityWEB" Header then you can continue.

Go to the Cache/Unity3D folder other than the cache, this is different for most games. You can find the cache data in User/AppData/LocalLow/Unity/WebPlayer/Cache. Cache assets files are usually named __Data. Extract Folder won't detect anything without a file extension.
File > Extract Bundle/Folder then select the Unity3D/__data file/folder you wish to decompress.
It should spit out a asset_name.unity3D_unpacked folder with a CAB-NameOfAsset file inside, then just repeat the processes above.


For mobile games it's the same, however the directory and files are a little different. Assets > Bin > Data instead of GAMENAME_DATA, or if it uses an OBB just rename the OBB to .zip and unzip it.

Congrats! Now you (Hopefully) know how to rip from Unity Engine games!
[Image: R8qna9Q.gif]
Reply
#2
nice tutorial thanks
i wonder how to modify the assets and repack ( compile) the android game again

thank you
Reply
Thanked by:
#3
Imported the model into Maya. All good now but, does this tool export animations? If it does, where would they be saved?
Reply
Thanked by:
#4
How exactly I can extract .apk executable file for android device on my PC?What software I should use before instalation of Unity?Which model script name is Shahra and which is Merlina?
Reply
Thanked by:
#5
I wanna Play AVP Evolution with Custom Sounds/Textures but how can i do that?
Reply
Thanked by:
#6
What was the name of software that Sonic Runners was programmed?EclipseIDE or Notepad++?
Reply
Thanked by:
#7
Does this work with Slime Rancher? Because I'm not finding where the models are stored in the game's files.
Reply
Thanked by:
#8
I'm trying to do this with Mario Kart Tour but the only extractable files I can find have basic stuff like the logo and other boot-up related things. No models or character icons or anything like that. I thought maybe it was because I hadn't logged in on the Android yet, which is what I used to dump the APK. But even after I did so and even loaded into the game to find all my progress from my iPad gameplay carried over, I still can't seem to extract an APK with any extra data in it and I'm at a loss. I've used 2 different apps and always get an identical file (which I'm pretty sure is what was downloadable weeks before the game released).

I've even tried looking at my Android's local filesystem but still can't find anything. I'm not a seasoned ripper so it seems every time I really get ambitious and want to rip something it just leads to this for me :/


...and I just realized this would be a bump since the last reply was 2018. Well I hope it's a valid one since I give up until I find more input. This is what I'm assuming is the folder my stuff SHOULD be in.
[Image: yk2BUi9.png]
[Image: OOovP5l.gif]
Reply
Thanked by:
#9
Hey, How can I Extract Models from AVP Evolution with Skeletons/armature?
Reply
Thanked by:
#10
Thank you. The mobile app had "__data" on them. AssestStudio was able to assist. However, the animations of the app gave .fbx files. Don't suppose you know of anything to view and extract?
Reply
Thanked by:
#11
(10-19-2019, 01:27 PM)Babycake Wrote: Thank you. The mobile app had "__data" on them. AssestStudio was able to assist. However, the animations of the app gave .fbx files. Don't suppose you know of anything to view and extract?

FBX files are 3D models. You should be able to import them into Blender and other 3D modelling software, though actually using such software has quite the learning curve.
Reply
Thanked by:
#12
So I'm trying to rip some files without extensions, but I don't see anywhere for Unity3D assets to be or for Cache files to be. I'm unsure how to proceed as I cannot just rip the files themselves. Any suggestions?
Reply
Thanked by:
#13
(09-27-2019, 01:54 AM)Fawfulthegreat64 Wrote: I'm trying to do this with Mario Kart Tour but the only extractable files I can find have basic stuff like the logo and other boot-up related things. No models or character icons or anything like that. I thought maybe it was because I hadn't logged in on the Android yet, which is what I used to dump the APK. But even after I did so and even loaded into the game to find all my progress from my iPad gameplay carried over, I still can't seem to extract an APK with any extra data in it and I'm at a loss. I've used 2 different apps and always get an identical file (which I'm pretty sure is what was downloadable weeks before the game released).

I've even tried looking at my Android's local filesystem but still can't find anything. I'm not a seasoned ripper so it seems every time I really get ambitious and want to rip something it just leads to this for me :/


...and I just realized this would be a bump since the last reply was 2018. Well I hope it's a valid one since I give up until I find more input. This is what I'm assuming is the folder my stuff SHOULD be in.
[Image: yk2BUi9.png]
Hey, I'm stuck at your same point, did you get any further in the meanwhile?
Reply
Thanked by:
#14
Hey all, I'm brand new here but signed up because I'm trying to rip a sprite from "The Messenger" and alter its color and then compile it back into the game as a joke for a contest Im entering.

I can rip the sprites easily enough using AssetStudio and can alter the colors using Photoshop, but I have no idea what to do to compile it back into the game. Any suggestions? I wasn't sure where else to ask this other than the "Ripping from Unity Engine games" Tutorial page since it seemed like the most appropriate page.

To summarize, I want to change the player sprite from blue to red. I can do it all except get the sprite back into the game.

Any help would be really great!
Thanks!
Reply
Thanked by:
#15
(11-21-2019, 05:29 PM)twin0mega Wrote: Hey all, I'm brand new here but signed up because I'm trying to rip a sprite from "The Messenger" and alter its color and then compile it back into the game as a joke for a contest Im entering.

I can rip the sprites easily enough using AssetStudio and can alter the colors using Photoshop, but I have no idea what to do to compile it back into the game. Any suggestions? I wasn't sure where else to ask this other than the "Ripping from Unity Engine games" Tutorial page since it seemed like the most appropriate page.

To summarize, I want to change the player sprite from blue to red. I can do it all except get the sprite back into the game.

Any help would be really great!
Thanks!

I think AssetStudio allows you to replace assets, but not certain. Try right clicking the asset and maybe a replace/open button will appear?
Reply
Thanked by: trainhobovegas


Forum Jump: