The Forum is up for sale: XeNTaX Forum looking for new owner

Extract Unityweb

Post questions about game models here, or help out others!
Post Reply
Rua
ultra-n00b
Posts: 8
Joined: Thu Jul 13, 2017 10:49 am
Has thanked: 4 times

Extract Unityweb

Post by Rua »

Hello,
I find this model from this pre-releasing DMM game.
http://www.dmm.co.jp/netgame/social/-/g ... id=463002/
GO down and click the green button once you log in:
Image
Through inspect element, I was able to find a .unityweb file that somewhat have a reasonable size of 29.15 mb.
How would I obtain the model including the texture and the armature?
Here is the .unityweb file I got:
http://www58.zippyshare.com/v/U6kPZCn5/file.html
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1411 times

Re: Extract Unityweb

Post by chrrox »

its possible to get an obj out of it.
Image
Rua
ultra-n00b
Posts: 8
Joined: Thu Jul 13, 2017 10:49 am
Has thanked: 4 times

Re: Extract Unityweb

Post by Rua »

chrrox wrote:its possible to get an obj out of it.
Image
What is the process you done to extract that?
Did you have to capture something else from the game or is it just the .unityweb file I uploaded here?
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1411 times

Re: Extract Unityweb

Post by chrrox »

Use offzip on the unity web file
offzip.exe -a -z -15 c:\file.unityweb c:\extract 0x0
you might also be able to just rename it to .gz and extract it with 7zip
then you need to extract the unity file from the unityweb file.
then uncompress the unity3d file with unity asset bundle extractor
then use that tool to export the textures and mesh.
I had to manually convert textures and use noesis to open the obj file.
Rua
ultra-n00b
Posts: 8
Joined: Thu Jul 13, 2017 10:49 am
Has thanked: 4 times

Re: Extract Unityweb

Post by Rua »

chrrox wrote:Use offzip on the unity web file
offzip.exe -a -z -15 c:\file.unityweb c:\extract 0x0
you might also be able to just rename it to .gz and extract it with 7zip
then you need to extract the unity file from the unityweb file.
then uncompress the unity3d file with unity asset bundle extractor
then use that tool to export the textures and mesh.
I had to manually convert textures and use noesis to open the obj file.
Thanks for the instruction. Quite a chunky file. Still running the script to extract it.
Rua
ultra-n00b
Posts: 8
Joined: Thu Jul 13, 2017 10:49 am
Has thanked: 4 times

Re: Extract Unityweb

Post by Rua »

chrrox wrote:Use offzip on the unity web file
offzip.exe -a -z -15 c:\file.unityweb c:\extract 0x0
you might also be able to just rename it to .gz and extract it with 7zip
then you need to extract the unity file from the unityweb file.
then uncompress the unity3d file with unity asset bundle extractor
then use that tool to export the textures and mesh.
I had to manually convert textures and use noesis to open the obj file.
After renaming it and extracting it, I got a file of the same name "build_171020_prod_12.data.unityweb".
It is 37.8 MB
I ran offzip with the file I extracted after renaming it and got the following messages at the end.
- 2119 valid compressed streams found
- 0x008f0b01 -> 0x0092fa29 bytes covering the 23% of the file
I was not able to find the unity3d file.
I used the offzip from here: http://aluigi.altervista.org/mytoolz/offzip.zip
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 883 times

Re: Extract Unityweb

Post by Acewell »

the original sample is just gzip compressed and you can just right click on it and Extract to with 7-zip,
it doesn't care about extensions since it identifies from file headers.
the next step you should be on and questioning is this one (:
then you need to extract the unity file from the unityweb file.
Rua
ultra-n00b
Posts: 8
Joined: Thu Jul 13, 2017 10:49 am
Has thanked: 4 times

Re: Extract Unityweb

Post by Rua »

AceWell wrote:the original sample is just gzip compressed and you can just right click on it and Extract to with 7-zip,
it doesn't care about extensions since it identifies from file headers.
the next step you should be on and questioning is this one (:
then you need to extract the unity file from the unityweb file.
Yeah, I figured offset is just decompressing the zip file. It is the same as me renaming it to .gz.
I am not sure how to extract the unity file from this decompressed unityweb file.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 883 times

Re: Extract Unityweb

Post by Acewell »

okay to extract the unity3d file use this bms script on the extracted sample, only works with the one in this thread

Code: Select all

# script for QuickBMS http://quickbms.aluigi.org

idstring "UnityWeb"
goto 0xb6
get OFFSET long
get SIZE long
get NAME_SZ long
getdstring NAME NAME_SZ
log NAME OFFSET SIZE
after you run the bms script on the extracted sample you will have a data.unity3d file,
open it in UnityAssetsBundleExtractor and let it unpack then select sharedassets1.assets,
that is where that character model is by the name Chr_01_Model
then select the last type package when prompted from the list,
then find and select the model and export it via "Plugins" > "Export to .obj".

trying to export the textures crash, i will get back to that later maybe. :D
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1411 times

Re: Extract Unityweb

Post by chrrox »

Just use https://codeload.github.com/Perfare/Uni ... zip/v0.8.0
The textures were just dds files with a slightly altered header.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 883 times

Re: Extract Unityweb

Post by Acewell »

ooh we're up to 8.0 now! :D
link to releases
https://github.com/Perfare/UnityStudio/releases

yeah you can open the data.unity3d file with Unity Studio and extract the contents
File > Extract Bundle...
then open up the sharedassets1.assets file
File > Load file...
and select the textures and export :D
binlv
advanced
Posts: 65
Joined: Wed Apr 12, 2017 1:36 am
Has thanked: 7 times
Been thanked: 3 times

Re: Extract Unityweb

Post by binlv »

I changed the .gz file and extract the build_171020_prod_12.data.unityweb file. And how to extract .unity3d file?
mircea
beginner
Posts: 20
Joined: Tue Sep 27, 2016 11:36 pm
Has thanked: 2 times

Re: Extract Unityweb

Post by mircea »

binlv wrote:I changed the .gz file and extract the build_171020_prod_12.data.unityweb file. And how to extract .unity3d file?
with unityStudio you open it with
than export
Post Reply