READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

3D Model Researcher - extract 3D models with Python

General game file tools that are useful for more than one game
blackninja
veteran
Posts: 82
Joined: Wed Nov 28, 2012 11:55 am
Been thanked: 66 times

Re: 3D Model Researcher - mesh viewer

Post by blackninja » Sat Jul 15, 2017 5:57 pm

Lazov wrote:AceWell,The type of half-float appeared in new versions of Python, which do not support Windows XP.
What are the FF bytes? I heard about it, but I did not see such models. Can you give an example?
https://www.khronos.org/opengl/wiki/Vertex_Rendering
See primitive restart section
Have a question about NinjaRipper? Ask on forum, not PM.

RedBear
ultra-n00b
Posts: 4
Joined: Sun Feb 26, 2017 4:40 am
Has thanked: 9 times

Re: 3D Model Researcher - mesh viewer

Post by RedBear » Mon Jul 17, 2017 3:53 pm

Thanks for sharing! Awesome tool, man! Thanks again and keep up the good work!

Lazov
advanced
Posts: 58
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 16 times
Been thanked: 40 times

Re: 3D Model Researcher - extract 3D models from binary file

Post by Lazov » Wed Jul 19, 2017 9:01 pm

RedBear, Thank you!

The program has been updated!
- Now the textures with different height and width are correctly displayed.
- Added scrollbar for large textures.
- Added Triangle Strip (Tri Strip FF) format. (If you select this format in the "Count" field, you need to specify the number of elements, not the segments.)
--------------------------------------------------
Does anyone have a file with a model that uses "Triangle Strip" without 0xffff?

User avatar
Acewell
VIP member
VIP member
Posts: 1267
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2404 times
Been thanked: 735 times

Re: 3D Model Researcher - extract 3D models from binary file

Post by Acewell » Thu Jul 20, 2017 5:01 am

Lazov wrote:Does anyone have a file with a model that uses "Triangle Strip" without 0xffff?
there is one attached to the post here
viewtopic.php?p=128749#p128749
A004_Ojama_Yellow_b.pc.model

Lazov
advanced
Posts: 58
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 16 times
Been thanked: 40 times

Re: 3D Model Researcher - extract 3D models from binary file

Post by Lazov » Fri Aug 25, 2017 8:47 pm

A small update.
Now the Offset field supports hexadecimal numbers.
Image

Sparagas
ultra-n00b
Posts: 4
Joined: Thu Feb 18, 2016 7:57 pm
Been thanked: 1 time

Re: 3D Model Researcher - extract 3D models from binary file

Post by Sparagas » Sun Oct 01, 2017 3:58 pm

Super nice app! I like it already :)
Tried on binary data, but got some noobish trouble, could you help me? main post is here:
viewtopic.php?f=16&t=10812&p=134144#p134144

Lazov
advanced
Posts: 58
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 16 times
Been thanked: 40 times

Re: 3D Model Researcher - extract 3D models from binary file

Post by Lazov » Sun Oct 01, 2017 6:40 pm

Sparagas wrote:Super nice app! I like it already :)
Tried on binary data, but got some noobish trouble, could you help me? main post is here:
viewtopic.php?f=16&t=10812&p=134144#p134144
Thank you!
I looked at the format. I think, with the help of this program the model is not exported. The format is quite complicated.

Lazov
advanced
Posts: 58
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 16 times
Been thanked: 40 times

Re: 3D Model Researcher - extract 3D models with Python

Post by Lazov » Sun Nov 26, 2017 9:46 am

Update v2.3

- Added support for Triangle Strip without FF.
- Now the program does not crash when drawing a texture map at a nan.

The Pro version of the program was released

- Support of Python scripts
- System of submeshes
- Normals vectors

With the support of scripts, you can extract a 3D model from a file with any structure.

About Pro version:
http://lazov.ru/mr/about_pro.php

Ditta
n00b
Posts: 14
Joined: Sat Jun 13, 2015 4:07 pm

Re: 3D Model Researcher - extract 3D models with Python

Post by Ditta » Fri Dec 29, 2017 9:27 pm

Please, tell how to run this program on Windows 7 x64? When I tried to run it, it required api-ms-win-crt-runtime-l1-1-0.dll. I downloaded these Dlls for both Win32 and Win64 versions, copied them in system\win32 and system\WoW64 folders, but it doesn't help. Now the program shows the error message 0xc000007b and I cannot run it. What to do to fix that issue?

Lazov
advanced
Posts: 58
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 16 times
Been thanked: 40 times

Re: 3D Model Researcher - extract 3D models with Python

Post by Lazov » Fri Dec 29, 2017 11:49 pm

Ditta wrote:Please, tell how to run this program on Windows 7 x64? When I tried to run it, it required api-ms-win-crt-runtime-l1-1-0.dll. I downloaded these Dlls for both Win32 and Win64 versions, copied them in system\win32 and system\WoW64 folders, but it doesn't help. Now the program shows the error message 0xc000007b and I cannot run it. What to do to fix that issue?
Try installing:
https://yadi.sk/d/RQFGFsrw3R6tb4

Also install the latest updates for Windows 7.

Lazov
advanced
Posts: 58
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 16 times
Been thanked: 40 times

Re: 3D Model Researcher - extract 3D models with Python

Post by Lazov » Wed Jan 03, 2018 6:19 pm

Ditta
Your files with models contain very little information. I did not find there any necessary data for building a model in the program.

Ditta
n00b
Posts: 14
Joined: Sat Jun 13, 2015 4:07 pm

Re: 3D Model Researcher - extract 3D models with Python

Post by Ditta » Wed Jan 03, 2018 7:00 pm

Lazov wrote:Ditta
Your files with models contain very little information. I did not find there any necessary data for building a model in the program.
Oh, sorry, these were the original sources of this model, and so the other sources for other models should be structured similarly. Although in WebGL all them are shown as actual geometry. Couldn't you tell which data exactly are missing to reconstruct the model? Is the file.osgys usable at all as a guide to get the right offsets and counts for mesh chunks or it contains the wrong description of the models' inner structure? I tested several models but have the same problems with generating faces. So I suspect that this varint encoding in the bin. files prevents to get the full info about faces. But your tool should work for more stable formats, purposed for Direct X, especially for game models, so thank you for your work.

Lazov
advanced
Posts: 58
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 16 times
Been thanked: 40 times

Re: 3D Model Researcher - extract 3D models with Python

Post by Lazov » Sun Jan 07, 2018 2:27 pm

Ditta
Indeed, in a text file there is information about the types of data, offsets and the amount of data. I did not manage to build a model, but this does not mean that there is no data. Perhaps you need to get somehow different.
Yes, you can get it from the games of the model. If the structure is complicated, you can use scripts.

Lazov
advanced
Posts: 58
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 16 times
Been thanked: 40 times

Re: 3D Model Researcher - extract 3D models with Python

Post by Lazov » Thu Mar 22, 2018 4:55 pm

Soon a new version of the program will be released. I added a very useful hex-viewer widget. For a full viewer, it is not very good, but there is a pattern coloring on the data from the forms. The widget will appear in two versions. =)

Lazov
advanced
Posts: 58
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 16 times
Been thanked: 40 times

Re: 3D Model Researcher - extract 3D models with Python

Post by Lazov » Sun Mar 25, 2018 8:48 pm

The program is updated! You can download the new version on the website.

Update v2.4

- The program does not freeze when resizing on other tabs
- Added a Hex-Viewer.

The big drawback of the program was the lack of a built-in hex-viewer. Now he has appeared! =) Moreover, it has the highlighting of the model data: vertices (red color), faces (green), texture coordinates (yellow). When changing the parameters of forms, you can immediately see what data will be read. Probably, it will be very useful for beginners.

Image

Post Reply