Page 3 of 12

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

Posted: Sat Apr 07, 2018 11:35 am
by Lazov
The program has been updated.

Update v2.4.2

- Finalized Hex-viewer.
- In the "3D View" tab, a button is added to return the camera to its initial position (useful if you centered on the object with incorrect coordinates).
- There was a version for Windows XP

Pro version:
- Added a Hex-Viewer.
- Added data inspector to Hex-viewer
- Fixed minor bugs

Video:
https://youtu.be/Gzh1i8Dp9Q4

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

Posted: Mon Apr 16, 2018 10:57 pm
by zaykho
A very nice tool, actually the best if coupled with TextureFinder !

I bought the Pro version, and started to learn using python with this tool !

( Already reversed a game with it (project gotham racing 2))

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

Posted: Mon Aug 13, 2018 1:14 am
by JohnCS
Hi - your program has been a great help to me in extracting models from 'Inquistor - Martyr'

Could you provide a suggestion on how to read strings from the file using the BufferFile API. Every approach I try converts it to a numeric array or gives an error. My closest attempt is:

def getstring(fp,count):
new=""
strname=""

for x in range(count):
strname="{0}".format(fp.reads("s"))
new+=strname
fp.read(1)
return new

but it gives the following output for short word format strings with EBCDIC encoding:

Black_Legion_Marine_v17b_lamb_hitbox:

b'B',)(b'l',)(b'a',)(b'c',)(b'k',)(b'_',)(b'L',)(b'e',)(b'g',)(b'i',)(b'o',)(b'n',)(b'_',)(b'M',)(b'a',)(b'r',)(b'i',)(b'n',)(b'e',)(b'_',)(b'v',)(b'1',)(b'7',)(b'_',)(b'l',)(b'a',)(b'm',)(b'b',)(b'_',)(b'h',)(b'i',)(b't',)(b'b',)(b'o',)(b'x',)

any tips? I'm a novice at Python

thanks!

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

Posted: Mon Aug 13, 2018 2:53 am
by chrrox
bs.readBytes(4).decode("ASCII").rstrip("\0")

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

Posted: Mon Aug 13, 2018 10:22 pm
by Lazov
import mrp
f = mrp.get_bfile()
b = f.read(count).decode("utf-8")

Something like this)

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

Posted: Tue Aug 14, 2018 4:34 am
by JohnCS
perfect - worked a charm. Thanks!

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

Posted: Wed Aug 15, 2018 6:10 pm
by Fiammanera628
Hi, I'm now working on Planet Hot Wheels files (.mxs) with the Model Researcher, but only half of they are decoded well, and they've got this first string: "*3DSMAX_ENGINE1EXPORTB2 200"

The other half, that I can't understand why, show like this, with the same method:

https://www.dropbox.com/s/3r5iwqftk3f6c ... 6.jpg?dl=0

and they have got, as first string, this: "*3DSMAX_ENGINE1EXPORTFP 200".

Lazov, can you help me, please :?:

P.s. I leave the 63corvette.mxs in attached:
https://www.dropbox.com/s/3gcb6psczawhz ... e.MXS?dl=0

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

Posted: Thu Aug 16, 2018 9:39 am
by Lazov
Fiammanera628, so what is the problem?

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

Posted: Thu Aug 16, 2018 9:46 am
by Fiammanera628
Lazov wrote:Fiammanera628, so what is the problem?
The problem is when with the files .mxs with "*3DSMAX_ENGINE1EXPORTB2 200" show perfect on MR, despite the files .mxs with "*3DSMAX_ENGINE1EXPORTFP 200" (Like the 63corvette.mxs) show like a tangled cube, and the parametres are more or less the same.

Image

All files must be cars, not half of this cubes.

Image

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

Posted: Fri Aug 17, 2018 9:39 pm
by Lazov
When the vertices are in Short, they are divided by 256. But in fact they can be transformed differently.

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

Posted: Fri Aug 17, 2018 9:49 pm
by Fiammanera628
Lazov wrote:When the vertices are in Short, they are divided by 256. But in fact they can be transformed differently.
For example?
(sorry, but I never studied computer programming, so can you explain simply?)

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

Posted: Thu Sep 20, 2018 2:11 pm
by Lazov
Update v2.5

- Added the ability to make a screenshot and a screenshot with information
- Fixed minor bugs

I will try to add the normal vectors in the next update.

Fiammanera628, Short is an integer data type that takes 2 bytes. The program divides vertices in this type by 256.

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

Posted: Fri Sep 21, 2018 4:45 pm
by alex0809
A simple question for you guys - My boss gave me 30 days (not working days) to learn Python to transfer to the Data Science team. What is the best approach to learn as much as possible?

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

Posted: Sun Dec 09, 2018 8:47 am
by Honkasumi
Hi, can i extract models from apps from programs like nox or BlueStacks programs.

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

Posted: Mon Dec 10, 2018 5:51 am
by Lazov
Honkasumi wrote:Hi, can i extract models from apps from programs like nox or BlueStacks programs.
The ability to export depends on the format structure.