XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Aug 19, 2018 6:05 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 42 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: 3D Model Researcher - extract 3D models with Python
PostPosted: Sun Mar 25, 2018 8:48 pm 
Offline
beginner

Joined: Sat Oct 08, 2016 11:56 am
Posts: 32
Has thanked: 10 times
Have thanks: 30 times

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

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: 3D Model Researcher - extract 3D models with Python
PostPosted: Sat Apr 07, 2018 11:35 am 
Offline
beginner

Joined: Sat Oct 08, 2016 11:56 am
Posts: 32
Has thanked: 10 times
Have thanks: 30 times
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


Top
 Profile  
 
 Post subject: Re: 3D Model Researcher - extract 3D models with Python
PostPosted: Mon Apr 16, 2018 10:57 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Fri Dec 03, 2010 1:20 pm
Posts: 208
Location: France
Has thanked: 131 times
Have thanks: 32 times
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))

_________________
My Mediafire Folder : http://www.mediafire.com/?sbd2c9r8ok3u3


Top
 Profile  
 
 Post subject: Re: 3D Model Researcher - extract 3D models with Python
PostPosted: Mon Aug 13, 2018 1:14 am 
Offline
ultra-n00b

Joined: Thu Jul 19, 2018 1:01 am
Posts: 2
Has thanked: 2 times
Have thanks: 0 time
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!


Top
 Profile  
 
 Post subject: Re: 3D Model Researcher - extract 3D models with Python
PostPosted: Mon Aug 13, 2018 2:53 am 
Online
Moderator
User avatar

Joined: Sun May 18, 2008 3:01 pm
Posts: 2478
Has thanked: 57 times
Have thanks: 1234 times
bs.readBytes(4).decode("ASCII").rstrip("\0")


Top
 Profile  
 
 Post subject: Re: 3D Model Researcher - extract 3D models with Python
PostPosted: Mon Aug 13, 2018 10:22 pm 
Offline
beginner

Joined: Sat Oct 08, 2016 11:56 am
Posts: 32
Has thanked: 10 times
Have thanks: 30 times
import mrp
f = mrp.get_bfile()
b = f.read(count).decode("utf-8")

Something like this)


Top
 Profile  
 
 Post subject: Re: 3D Model Researcher - extract 3D models with Python
PostPosted: Tue Aug 14, 2018 4:34 am 
Offline
ultra-n00b

Joined: Thu Jul 19, 2018 1:01 am
Posts: 2
Has thanked: 2 times
Have thanks: 0 time
perfect - worked a charm. Thanks!


Top
 Profile  
 
 Post subject: Re: 3D Model Researcher - extract 3D models with Python
PostPosted: Wed Aug 15, 2018 6:10 pm 
Offline
beginner

Joined: Sun Jan 07, 2018 6:51 pm
Posts: 30
Has thanked: 1 time
Have thanks: 0 time
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


Top
 Profile  
 
 Post subject: Re: 3D Model Researcher - extract 3D models with Python
PostPosted: Thu Aug 16, 2018 9:39 am 
Offline
beginner

Joined: Sat Oct 08, 2016 11:56 am
Posts: 32
Has thanked: 10 times
Have thanks: 30 times
Fiammanera628, so what is the problem?


Top
 Profile  
 
 Post subject: Re: 3D Model Researcher - extract 3D models with Python
PostPosted: Thu Aug 16, 2018 9:46 am 
Offline
beginner

Joined: Sun Jan 07, 2018 6:51 pm
Posts: 30
Has thanked: 1 time
Have thanks: 0 time
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


Top
 Profile  
 
 Post subject: Re: 3D Model Researcher - extract 3D models with Python
PostPosted: Fri Aug 17, 2018 9:39 pm 
Offline
beginner

Joined: Sat Oct 08, 2016 11:56 am
Posts: 32
Has thanked: 10 times
Have thanks: 30 times
When the vertices are in Short, they are divided by 256. But in fact they can be transformed differently.


Top
 Profile  
 
 Post subject: Re: 3D Model Researcher - extract 3D models with Python
PostPosted: Fri Aug 17, 2018 9:49 pm 
Offline
beginner

Joined: Sun Jan 07, 2018 6:51 pm
Posts: 30
Has thanked: 1 time
Have thanks: 0 time
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?)



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 42 posts ]  Go to page Previous  1, 2, 3

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group