Miscellaneous Leaks

[Guide] Ripping models from Sketchfab

Submitted by HDR, , Thread ID: 152601

Thread Closed

RE: [Guide] Ripping models from Sketchfab

teotz
Lurker
Level:
0
Reputation:
0
Posts:
2
Likes:
0
Credits:
2
25-07-2021, 01:46 PM
This post was last modified: 25-07-2021, 02:57 PM by teotz
#181
24-07-2021, 06:39 PM
Vido Wrote:
Your are welcome, mega url contain key you did not copied url well

Oh the shame, you're right.

Ok, I wanted to see the video because I'm trying the procedure and my breakpoints are not stopping. I have the breakpoint in "this._xhr =" butit just runs complete to load the model.

I wonder if you have other settings for Overrides or I'm missing something to make the debugger catch my breakpoint

Edit: Nevermind.. I had to rewatch the video to see all the ctr-r (fresh) you do so the steps kick as they are supposed to. I was able to rip the 3 files as you did and it works as expected.

Thank you Vido.

RE: [Guide] Ripping models from Sketchfab

Sheyk940
Lurker
Level:
0
Reputation:
0
Posts:
2
Likes:
0
Credits:
2
29-07-2021, 05:31 AM
This post was last modified: 29-07-2021, 05:37 AM by Sheyk940
#182
21-07-2021, 05:28 PM
Vido Wrote:
[font=-apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"]Hi guys,[/font]
[font=-apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"]here I will write briefly what you gone need to do to download unencrypted "binz" model's from Sketchfab[/font]
[font=-apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"]Open Chrome and Dev tools (F12), make tool horizontal and go to "Sources" and close all files in sources, hit "Ctrl + Shift + F" and type "this._xhr=" and hit enter, double click on bottom text line to open it[/font]
[font=-apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"]Click on "{}" to format code and hit "Ctrl +F" and find this line of code[/font]


[font=-apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"]Code:
[/font]

Code:
this._xhr = {
              response: i,
              responseText: i


[font=-apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"]and insert break point at this line "his._xhr =" and reload page with "Ctrl + R", after that you will hit first break point and then go to "Console" and paste this code[/font]


[font=-apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"]Code:
[/font]

Code:
var downloadBlob, downloadURL;

downloadBlob = function(data, fileName, mimeType) {
var blob, url;
blob = new Blob([data], {
  type: mimeType
});
url = window.URL.createObjectURL(blob);
downloadURL(url, fileName);
setTimeout(function() {
  return window.URL.revokeObjectURL(url);
}, 1000);
};

downloadURL = function(data, fileName) {
var a;
a = document.createElement('a');
a.href = data;
a.download = fileName;
document.body.appendChild(a);
a.style = 'display: none';
a.click();
a.remove();
};

downloadBlob(i, 'file.osgjs', 'application/octet-stream');



[font=-apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"]Hit "Enter" and save it in some directory. Reload page skip first break point by clicking on blue arrow (blue triangle) and paste code once more in Console from above "var downloadBlob, downloadURL; ...." just change name at bottom from "file.osgjs" to "model_file.bin" and that you will see blue bar go to up to half on load indicator . Now go in "Sources" and add second break point where "t ()" is line 33771 and reload page, click twice on first break point (blue triangle) and again hit twice "continue button blue triangle" to continue and click twice to continue once more time and after that you will see your model so paste code in Console and name it "model_file_wireframe.bin" and save it.[/font]
[font=-apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"]When you do all that open "file.osgjs" in text editor and open "find and replace" tool and replace all ."binz" with ".bin.gz".[/font]

[font=-apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"]Open Blender and hit Alt+P and open "file.osgjs" and that's it[/font]

[font=-apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"]Or you can follow my video tutrial which is on mega with other necessary files and codes[/font]

[font=-apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"]mega.nz/folder/cYZxDYIA#QcEoO-VY9kDQJqJYyXpsbA[/font]
Hi Vido, first of all thanks, your method worked perfectly, I just have a problem with the phyton script that you use to extract the textures, I use Windows and it does not work for me, I would like to know if you have knowledge of how I should make the script to that works in Windows.

RE: [Guide] Ripping models from Sketchfab

hami10200
Lurker
Level:
0
Reputation:
0
Posts:
1
Likes:
1
Credits:
1
29-07-2021, 08:59 AM
#183
I tested Sketchfab-Ripper 14.7 it works on the new binz format.

RE: [Guide] Ripping models from Sketchfab

Glorfindel
Lurker
Level:
0
Reputation:
0
Posts:
2
Likes:
2
Credits:
2
31-07-2021, 01:11 AM
#184
21-07-2021, 05:28 PM
Vido Wrote:
Hi guys,
here I will write briefly what you gone need to do to download unencrypted "binz" model's from Sketchfab
Open Chrome and Dev tools (F12), make tool horizontal and go to "Sources" and close all files in sources, hit "Ctrl + Shift + F" and type "this._xhr=" and hit enter, double click on bottom text line to open it
Click on "{}" to format code and hit "Ctrl +F" and find this line of code


Code:
this._xhr = {
              response: i,
              responseText: i


and insert break point at this line "his._xhr =" and reload page with "Ctrl + R", after that you will hit first break point and then go to "Console" and paste this code


Code:
var downloadBlob, downloadURL;

downloadBlob = function(data, fileName, mimeType) {
var blob, url;
blob = new Blob([data], {
  type: mimeType
});
url = window.URL.createObjectURL(blob);
downloadURL(url, fileName);
setTimeout(function() {
  return window.URL.revokeObjectURL(url);
}, 1000);
};

downloadURL = function(data, fileName) {
var a;
a = document.createElement('a');
a.href = data;
a.download = fileName;
document.body.appendChild(a);
a.style = 'display: none';
a.click();
a.remove();
};

downloadBlob(i, 'file.osgjs', 'application/octet-stream');



Hit "Enter" and save it in some directory. Reload page skip first break point by clicking on blue arrow (blue triangle) and paste code once more in Console from above "var downloadBlob, downloadURL; ...." just change name at bottom from "file.osgjs" to "model_file.bin" and that you will see blue bar go to up to half on load indicator . Now go in "Sources" and add second break point where "t ()" is line 33771 and reload page, click twice on first break point (blue triangle) and again hit twice "continue button blue triangle" to continue and click twice to continue once more time and after that you will see your model so paste code in Console and name it "model_file_wireframe.bin" and save it.
When you do all that open "file.osgjs" in text editor and open "find and replace" tool and replace all ."binz" with ".bin.gz".

Open Blender and hit Alt+P and open "file.osgjs" and that's it

Or you can follow my video tutrial which is on mega with other necessary files and codes

mega.nz/folder/cYZxDYIA#QcEoO-VY9kDQJqJYyXpsbA
You have done what i couldnt, i was really going to make a video about it, not just for you people but for myself as i am not constantly donwloading models from sketchfab and unfortunately human memory is weak, until it gets replaced by more powerful and advanced nanomachinery components... hehehe. For real, i just remebered this topic today and i thought i could make it next week, but now that you have done it there is no need. From what you told me you nearly had it, its just that setting the second point break to get the model file is not explained in the chinese guide, you have to use your intuition... great

RE: [Guide] Ripping models from Sketchfab

tala3d
Lurker
Level:
0
Reputation:
0
Posts:
2
Likes:
2
Credits:
2
31-07-2021, 10:15 AM
#186
31-07-2021, 05:04 AM
joejoejoebob Wrote:
All credit to Vido. But I made a simple video on this which teaches and explains everything. https://www.youtube.com/watch?v=h-8svPLXvgc&t=305s
You shouldn't have posted all this on YouTube ... Because of such actions, this method will soon be shut down ... A very stupid act!

RE: [Guide] Ripping models from Sketchfab

drmanhattan
Novice
Level:
3
Reputation:
0
Posts:
25
Likes:
0
Credits:
0
31-07-2021, 10:58 AM
#187
Awesome guide, i didnt even know this was possible thanks a lot!!

RE: [Guide] Ripping models from Sketchfab

Tech Crate
Lurker
Level:
0
Reputation:
0
Posts:
2
Likes:
0
Credits:
2
01-08-2021, 05:58 AM
#188
31-07-2021, 10:15 AM
tala3d Wrote:
You shouldn't have posted all this on YouTube ... Because of such actions, this method will soon be shut down ... A very stupid act!
Sorry I don't listen to people with anime pfps

RE: [Guide] Ripping models from Sketchfab

TonyChopper
Lurker
Level:
0
Reputation:
0
Posts:
3
Likes:
0
Credits:
3
09-08-2021, 11:05 PM
This post was last modified: 09-08-2021, 11:10 PM by TonyChopper
#189
21-07-2021, 05:28 PM
Vido Wrote:
Hi guys,
here I will write briefly what you gone need to do to download unencrypted "binz" model's from Sketchfab
Open Chrome and Dev tools (F12), make tool horizontal and go to "Sources" and close all files in sources, hit "Ctrl + Shift + F" and type "this._xhr=" and hit enter, double click on bottom text line to open it
Click on "{}" to format code and hit "Ctrl +F" and find this line of code


Code:
this._xhr = {
              response: i,
              responseText: i


and insert break point at this line "his._xhr =" and reload page with "Ctrl + R", after that you will hit first break point and then go to "Console" and paste this code


Code:
var downloadBlob, downloadURL;

downloadBlob = function(data, fileName, mimeType) {
var blob, url;
blob = new Blob([data], {
  type: mimeType
});
url = window.URL.createObjectURL(blob);
downloadURL(url, fileName);
setTimeout(function() {
  return window.URL.revokeObjectURL(url);
}, 1000);
};

downloadURL = function(data, fileName) {
var a;
a = document.createElement('a');
a.href = data;
a.download = fileName;
document.body.appendChild(a);
a.style = 'display: none';
a.click();
a.remove();
};

downloadBlob(i, 'file.osgjs', 'application/octet-stream');



Hit "Enter" and save it in some directory. Reload page skip first break point by clicking on blue arrow (blue triangle) and paste code once more in Console from above "var downloadBlob, downloadURL; ...." just change name at bottom from "file.osgjs" to "model_file.bin" and that you will see blue bar go to up to half on load indicator . Now go in "Sources" and add second break point where "t ()" is line 33771 and reload page, click twice on first break point (blue triangle) and again hit twice "continue button blue triangle" to continue and click twice to continue once more time and after that you will see your model so paste code in Console and name it "model_file_wireframe.bin" and save it.
When you do all that open "file.osgjs" in text editor and open "find and replace" tool and replace all ."binz" with ".bin.gz".

Open Blender and hit Alt+P and open "file.osgjs" and that's it

Or you can follow my video tutrial which is on mega with other necessary files and codes

mega.nz/folder/cYZxDYIA#QcEoO-VY9kDQJqJYyXpsbA

I followed your video but it's not showing
Code:
this._xhr = {
                            response: i,
                            responseText: i

anywhere. The only line I can find is
Code:
this._xhr = new u(t,n),
. Any ideas?

09-08-2021, 11:05 PM
TonyChopper Wrote:
I followed your video but it's not showing
Code:
this._xhr = {
              response: i,
              responseText: i

anywhere. The only line I can find is
Code:
this._xhr = new u(t,n),
. Any ideas?

Wait no, I deeply apologize. I chose the wrong one heh

RE: [Guide] Ripping models from Sketchfab

Vido
Newbie
Level:
1
Reputation:
0
Posts:
13
Likes:
11
Credits:
13
13-08-2021, 04:10 PM
#190
29-07-2021, 05:31 AM
Sheyk940 Wrote:
Hi Vido, first of all thanks, your method worked perfectly, I just have a problem with the phyton script that you use to extract the textures, I use Windows and it does not work for me, I would like to know if you have knowledge of how I should make the script to that works in Windows.

I added `dump_sketchfab_model.exe` to mega dir try using that

Users browsing this thread: 3 Guest(s)