Page 7 of 7

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

Posted: Sat Aug 10, 2019 10:44 pm
by EDXZ23
GHFear wrote:
Fri Aug 09, 2019 1:13 pm
EDXZ23 wrote:
Fri Aug 09, 2019 10:37 am
GHFear wrote:
Fri Aug 09, 2019 8:17 am


Hello
You would have to upload the file so I can look at it.

/GHFear

heres the file dude!
6118.zip

the file was extracted to .dat but i know now that its a .rax file
I can not for the life of me figure this format out.
sorry.
that's cool dude i appreciate the response :D

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

Posted: Sat Aug 17, 2019 1:59 pm
by Jamal al dambali
Hi Lazov! Please tell me how to find uv.
screenshots.jpg
file link: https://yadi.sk/d/UTleab58Y6cF6w

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

Posted: Mon Aug 19, 2019 12:20 pm
by EDXZ23
Jamal al dambali wrote:
Sat Aug 17, 2019 1:59 pm
Hi Lazov! Please tell me how to find uv.
screenshots.jpg
file link: https://yadi.sk/d/UTleab58Y6cF6w
You need to find the correct start address for the UV’s which vary for different files :D what file type are you working with?

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

Posted: Tue Aug 20, 2019 2:55 pm
by Jamal al dambali
EDXZ23 wrote:
Mon Aug 19, 2019 12:20 pm
You need to find the correct start address for the UV’s which vary for different files :D what file type are you working with?
If I knew, I would have done it myself. But I dont know :(
And I left a link to the file.

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

Posted: Thu Aug 22, 2019 6:15 am
by EDXZ23
Jamal al dambali wrote:
Tue Aug 20, 2019 2:55 pm
EDXZ23 wrote:
Mon Aug 19, 2019 12:20 pm
You need to find the correct start address for the UV’s which vary for different files :D what file type are you working with?
If I knew, I would have done it myself. But I dont know :(
And I left a link to the file.
I'm super busy at the moment with my own project, but if I have time I'll take a look at the file and see if can help you :D !

In the mean time try doing some research about the game and its file types.

You can also use trial and error to find the UV's by pasting the starting offset in DEC and increasing it by 1, then clicking the "View UV's" button until the UV's look correct. However, it may or may not work depending on the file type as you may need to find the padding. Hence why I suggest extensive research into game and the file type :)

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

Posted: Mon Oct 07, 2019 1:28 pm
by Lazov
The program has been updated.

Update v2.6

- Added support for normal vectors!
- Template format is now compatible with the Pro version.
- The algorithm for calculating normal vectors has been changed. Now the model looks better.
- Added TStrip, TStripFF formats for texture coordinate indices and normal indices. Perhaps this is never used in models. :)

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

Posted: Mon Oct 28, 2019 11:28 am
by Aterbust
rudi246 wrote:
Tue Jun 11, 2019 3:05 pm
I'm trying to extract the levels from a PS1 skateboarding game called Grind Session. I found the models inside the level files but they always have missing triangles. I have attatched a rar file that contains the level files for one of the levels as well as some of my templates for different models within the TRACK.DAT file.

https://zenhax.com/download/file.php?id ... 84443f7d43

Image
Hello.
I think that version 2.6 of 3D Model Researcher does not work well.
I loaded the file 'TRACK.DAT' and I got an error message. "Mismatch of faces and vertices!"
In the text section, when I check info, all the table for the faces disappeared.

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

Posted: Mon Oct 28, 2019 4:30 pm
by Lazov
Thanks, Aterbust!
I updated the program.

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

Posted: Fri Nov 01, 2019 5:56 pm
by Lazov
Big Update v2.7

- Added support Quads!
- The output of data in text form has been changed: texture coordinate indices and normal indices are now displayed in separate blocks with the literals "fvt" and "fvn", 1 is not added to the indices. The old output can be enabled in the menu "View" -> "Print as OBJ";
- Added highlighting of texture coordinate indices and normal indices in the hex-viewer;

- New template format!
Templates have become more compact. Now they have the following format:

Code: Select all

mesh [name] // mesh name (only for Pro)
v [offset] [count] [padding] [padding inter] [type] [format] // vertices
f [offset] [count] [padding] [padding inter] [type] [format] // faces
vt [offset] [count] [padding] [padding inter] [type] [format] // uvs
fvt [offset] [count] [padding] [padding inter] [type] [format] // uvs indices
vn [offset] [count] [padding] [padding inter] [type] [format] // normals
fvn [offset] [count] [padding] [padding inter] [type] [format] // normals indices
inv [x] [y] [z] // invert (0 or 1)
bo [byte order] // byte order (< - Little Endian, > - Big Endian)
It is not necessary that the template contains data of all forms or all parameters of one form. Omitted parameters and forms will be replaced with default values. The sample templates below are correct:
  • v 0x997 3214 0 0 Float XZY
    f 100 826 64 0 Integer Triangles
  • v 15 3015
    f 0x48a 826 64 0 Integer
    bo >
  • v 0x5487 720 0 0 Float XZY
    inv 0 0 1
However, support for old templates will remain.

- Added function to copy template to clipboard ("Tools" -> "Copy Template") and
function for loading a template using the form ("Tools" -> "Paste Template");
- Polygons on the texture in the Texture tab are now drawn without filling;
- Added "Copy-Paste" menu when clicking on a text field in the "Text" tab;
- Returned support for templates of previous versions of the program;
- Small bugs fixed.

Pro version will be updated later.

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

Posted: Sat Nov 02, 2019 2:51 pm
by GHFear
Thank you for the work you're doing, Lazov :)
I really appreciate it. I have had much good use of this tool.