Page 1 of 18

Idolmaster (DereSte) 3d site

Posted: Thu Dec 08, 2016 4:26 pm
by oamio
https://deresute.info/3d



https://deresute.info/3d/100153


You can view the 3d object model on this site
I wonder if I can extract it.
(Chrome is recommended)

Re: Idolmaster (DereSte) 3d site

Posted: Thu Dec 08, 2016 9:18 pm
by herbert3000
Have a look at the page source:

Code: Select all

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
		<title>DERESUTE.INFO 3D VIEWER (仮)</title>
		<style>*{margin:0;padding:0}body{overflow:hidden}</style>
	</head>
	<body>
		<div id="container"></div>
		<script>
			window.headModel = "3d_chara_head_0126_1008_M_Head";
			window.headTexture = "3d_chara_head_0126_1008_tx_chr0126_1008";
			window.headBone = "3d_chara_head_0126_1008_bone";
			window.bodyModel = "3d_md_body1008_M_Body";
			window.bodyTexture = "3d_tx_body1008_tx_body1008";
			window.bodyBone = "3d_md_body1008_bone";
			window.headHasObject = true;
			window.resourceVersion = "10021570";
		</script>
		<script src="https://files.deresute.info/model_10021570/model/3d_chara_head_0126_1008_M_Head.js"></script>
		<script src="https://files.deresute.info/model_10021570/bone/3d_chara_head_0126_1008_bone.js"></script>
		<script src="https://files.deresute.info/model_10021570/model/3d_md_body1008_M_Body.js"></script>
		<script src="https://files.deresute.info/model_10021570/bone/3d_md_body1008_bone.js"></script>
		<script src="/static/viewer/bundle.js"></script>
	</body>
</html>
To get the textures, insert resourceVersion and texture name into this url:

Code: Select all

https://files.deresute.info/model_" + resourceVersion + "/texture/" + t + ".png
In this case:

Code: Select all

https://files.deresute.info/model_10021570/texture/3d_chara_head_0126_1008_tx_chr0126_1008.png
https://files.deresute.info/model_10021570/texture/3d_tx_body1008_tx_body1008.png
To get the OBJ and bone data:
The files are zlib compressed and base64 encoded.
So open the 4 scripts (not /static/viewer/bundle.js).
Base64 decode the text between the quotation marks.
Extract the zlib compressed data, you can drag & drop a compressed file (extension must be ".zlib) onto this application:
http://www.mediafire.com/file/1adckp30kk3btdb/zdrop.zip
I think you'll have to manually create the .mtl files.

Edit: Save this as "materials.mtl":

Code: Select all

newmtl M_Body
Ka 1.000 1.000 1.000
Kd 1.000 1.000 1.000
illum 0
map_Kd 3d_tx_body1008_tx_body1008.png

newmtl M_Head_0
Ka 1.000 1.000 1.000
Kd 1.000 1.000 1.000
illum 0
map_Kd 3d_chara_head_0126_1008_tx_chr0126_1008.png
Add this line at the top of each .obj:

Code: Select all

mtllib materials.mtl
Result:
screenshot.jpg

Re: Idolmaster (DereSte) 3d site

Posted: Fri Dec 09, 2016 9:40 pm
by Shine
how to decode with base64?

Re: Idolmaster (DereSte) 3d site

Posted: Fri Dec 09, 2016 10:22 pm
by herbert3000
Shine wrote:how to decode with base64?
You could use Notepad++ and decode the selected text with this command:
Plugins > MIME Tools > Base64 Decode

Re: Idolmaster (DereSte) 3d site

Posted: Sat Dec 10, 2016 6:06 am
by ophy111
How do I get the decoded text as a .zlib? And are you saying as soon as I extract the .zlib I'll be able to turn it into a .obj or...? Sorry, I'm new to this and your steps kind of confuse me. x:

Re: Idolmaster (DereSte) 3d site

Posted: Sat Dec 10, 2016 9:18 am
by herbert3000
ophy111 wrote:How do I get the decoded text as a .zlib? And are you saying as soon as I extract the .zlib I'll be able to turn it into a .obj or...? Sorry, I'm new to this and your steps kind of confuse me. x:
It actually is kind of confusing :)
Ok, for example save the file 3d_chara_head_0126_1008_M_Head.js on your computer.

1) Open the file with Notepad++ and delete this text from the beginning:
/* DON'T LOOK AT THIS */ window.data_3d_chara_head_0126_1008_M_Head="
and this from the end of the file:
";

2) Press CTRL+A to select everything, click on Plugins > MIME Tools > Base64 Decode
3) Save the file as head.obj.zlib
4) Drag and drop the zlib file onto zdrop.exe (link is in my first post)

Now you should have your head.obj
ins.png

Re: Idolmaster (DereSte) 3d site

Posted: Sat Dec 10, 2016 10:05 am
by ophy111
herbert3000 wrote:
ophy111 wrote:How do I get the decoded text as a .zlib? And are you saying as soon as I extract the .zlib I'll be able to turn it into a .obj or...? Sorry, I'm new to this and your steps kind of confuse me. x:
It actually is kind of confusing :)
Ok, for example save the file 3d_chara_head_0126_1008_M_Head.js on your computer.

1) Open the file with Notepad++ and delete this text from the beginning:
/* DON'T LOOK AT THIS */ window.data_3d_chara_head_0126_1008_M_Head="
and this from the end of the file:
";

2) Press CTRL+A to select everything, click on Plugins > MIME Tools > Base64 Decode
3) Save the file as head.obj.zlib
4) Drag and drop the zlib file onto zdrop.exe (link is in my first post)

Now you should have your head.obj
ins.png

omg!!! thank you so much!! :'D

Re: Idolmaster (DereSte) 3d site

Posted: Sat Dec 10, 2016 11:31 am
by oamio
There is a third material existed
Image is verified in Chrome
How do I get it?
and thanks very much to herbert3000

Re: Idolmaster (DereSte) 3d site

Posted: Sat Dec 10, 2016 3:02 pm
by oamio
Capture and use the third texture

Re: Idolmaster (DereSte) 3d site

Posted: Sun Dec 11, 2016 4:32 am
by oamio
Ok, I'll give you one easy tip.
Initialize Chrome cache then go to
C:\Users\(My Account)\AppData\Local\Google\Chrome\User Data\Default\Cache
and replace all files to png
then you will be able to see the texture
With your image browser

Re: Idolmaster (DereSte) 3d site

Posted: Tue Dec 27, 2016 6:56 pm
by Hoshi
How to get the bones?

Re: Idolmaster (DereSte) 3d site

Posted: Thu Dec 29, 2016 7:41 pm
by Ares722
Fina wrote:How to get the bones?
The models are in static pose so i doubt there are any bones there, they are simple t-pose static meshes.

Re: Idolmaster (DereSte) 3d site

Posted: Fri Dec 30, 2016 8:25 am
by Hoshi
But someone already managed to rip the bones

Re: Idolmaster (DereSte) 3d site

Posted: Wed Jan 04, 2017 1:15 pm
by oamio
Fina wrote:But someone already managed to rip the bones
You can get the model files from the Bandai Namco server
You can use the Unity Studio to decrypt

Re: Idolmaster (DereSte) 3d site

Posted: Sat Jan 07, 2017 3:51 pm
by Hoshi
oamio wrote:
Fina wrote:But someone already managed to rip the bones
You can get the model files from the Bandai Namco server
You can use the Unity Studio to decrypt
The model is not in the "BNEI0242" File?
If so which files it is?