Can someone help: Sketchfab Blender Import Script info?

Skeletons, animations, shaders, texturing, converting, fixing and anything else related to read game models
durandal7
Posts: 2
Joined: Thu Jan 23, 2020 9:36 am

Can someone help: Sketchfab Blender Import Script info?

Post by durandal7 »

Hey,

I'm trying to import files extracted from sketchfab cache into Blender and found this post. I've searched the form for a stickey or other posts about this Blender script/importer for Sketchfab but only found that topic.

Here's the relevant bits from the post I found below.
Vido05 wrote:Ok here is [... the] new 2019 version

DJ Normality wrote:[...]

1. Delete your Google Cache folder.
2. Open Sketchfab url.
3. Open ChormeView
4. Click the icon to save folder contents.

5. Open blender script.
6. Execute script.

7. Look for forum.xenhax.com.htm.
8. Sketchfab View - No
9. Load MB - Yes
10. Indices Fix - No
11. Wait....
12. Import animation - Yes.
12. Import mesh - Yes.
13. Wait...
14. Loaded file will appear
15. Export as .DAE. (If fails export as .OBJ)

DJ Normality wrote:Here is a video if you need
https://www.youtube.com/watch?v=fqXrOhArhUA


:shock: I've been trying to reverse-engineer these instructions for a *long* time, but I can't figure out the suggested Blender import script. :cry:
I'm trying to go from the .htm & .bin.gz (and other assorted files Chrome Cacheviewer dumps after loading a Sketchfab model.

:?: Can someone link me to (or describe how) to go from a fresh install of Blender to getting the script installed and enabled?
If it's easier to describe with an actual set of files on Sketchfab, here's one that can be used.

Here's the Blender 2018 ripper Vido05 linked in their post - I'm only guessing this is the one to use. For me, opening the "Blender249.blend" and running the script generates this error:

File "C:\Users\___________\Downloads\Blender249[sketchfab][htm][2019-10-16]\Blender249.blend\starter.py", line 84
print 'WARNING: no log'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('WARNING: no log')?
location: <unknown location>:-1
Python script failed, check the message in the system console


I'm hoping to rip some models to use for some personal art stuff and figuring out this thing would be really great. Thanks :)
DJ Normality
Posts: 647
Joined: Tue Jul 24, 2018 8:52 am

Re: Can someone help: Sketchfab Blender Import Script info?

Post by DJ Normality »

Make sure you have Python26 folder in your C:/ windows folder. Should execute with no problem.
Image
It should look like this. That is the error your having.

Image
And you want to select the .htm file in the folder.
durandal7
Posts: 2
Joined: Thu Jan 23, 2020 9:36 am

Re: Can someone help: Sketchfab Blender Import Script info?

Post by durandal7 »

DJ Normality wrote:Make sure you have Python26 folder in your C:/ windows folder. Should execute with no problem.
[...]
And you want to select the .htm file in the folder.


Thanks, I tracked down the Windows Python26 installer(rather than the other versions which seemed to be source-only) and installed it as you pictured. Problem is, same error reports in Blender:


File "C:\Users\--------\Downloads\Blender249[sketchfab][htm][2019-10-16]\Blender249.blend\starter.py", line 84
print 'WARNING: no log'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('WARNING: no log')?

location: <unknown location>:-1


Is there a particular version of Blender that this script was made to work with? I noticed the location of the ALT-P "Run Script" is in a different UI location than the example images you pictured.
I checked, and I'm running Blender 2.81, but other versions appear to still be available for download.

Thanks again for the assistance - just want to get this importer running enough that I can resave the mesh or model into a common format (no bones/skeleton or animations needed).
DJ Normality
Posts: 647
Joined: Tue Jul 24, 2018 8:52 am

Re: Can someone help: Sketchfab Blender Import Script info?

Post by DJ Normality »

Blender 2.49b only, just click on the .zip folder, extract to desktop, done.
https://download.blender.org/release/Blender2.49b/


Here is the python install
https://www.python.org/download/releases/2.6/
xr79
Posts: 5
Joined: Thu Jan 24, 2019 2:16 pm

Re: Can someone help: Sketchfab Blender Import Script info?

Post by xr79 »

Hey there, uhm the guide didn't work at all, I still get the error. the python folder is in the C drive like it should be. I'm using the right blender, literally everything is done right and perfectly, and it still gives me the "no log" error. it's gotten to the point of frustration because I don't know what I'm doing wrong.
could someone lend me a hand with this?
DJ Normality
Posts: 647
Joined: Tue Jul 24, 2018 8:52 am

Re: Can someone help: Sketchfab Blender Import Script info?

Post by DJ Normality »

Email me or post in other Sketchfab topic. Thx
hxmsuper
Posts: 1
Joined: Sun May 03, 2020 1:57 am

Re: Can someone help: Sketchfab Blender Import Script info?

Post by hxmsuper »

DJ Normality wrote:Email me or post in other Sketchfab topic. Thx

Thanks, i got the model, but how to add .action animation file to model?
DJ Normality
Posts: 647
Joined: Tue Jul 24, 2018 8:52 am

Re: Can someone help: Sketchfab Blender Import Script info?

Post by DJ Normality »

When you load the model. Blender makes a .action folder in your directory where you loaded the model. Look in that folder you will see it.