Important information: this site is currently scheduled to go offline indefinitely by end of the year.

3D Model Researcher - extract 3D models with Python

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

Re: 3D Model Researcher - mesh viewer

Post by blackninja »

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
Ninja Ripper 2: https://ninjaripper.com/
RedBear
n00b
Posts: 17
Joined: Sun Feb 26, 2017 4:40 am
Has thanked: 26 times
Been thanked: 1 time

Re: 3D Model Researcher - mesh viewer

Post by RedBear »

Thanks for sharing! Awesome tool, man! Thanks again and keep up the good work!
Lazov
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

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

Post by Lazov »

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?
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

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

Post by Acewell »

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
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

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

Post by Lazov »

A small update.
Now the Offset field supports hexadecimal numbers.
Image
Sparagas
beginner
Posts: 25
Joined: Thu Feb 18, 2016 7:57 pm
Has thanked: 3 times
Been thanked: 7 times

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

Post by Sparagas »

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
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

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

Post by Lazov »

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
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

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

Post by Lazov »

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 »

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
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

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

Post by Lazov »

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
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

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

Post by Lazov »

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 »

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
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

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

Post by Lazov »

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
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

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

Post by Lazov »

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
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

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

Post by Lazov »

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