XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Tue May 23, 2017 5:49 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Model Inspector (binary files to OBJ)
PostPosted: Tue Jul 19, 2016 10:47 pm 
Offline
veteran

Joined: Wed Jun 02, 2010 4:53 am
Posts: 127
Has thanked: 12 times
Have thanks: 122 times














You can make the ads go away by registering

Hey guys,

I'm working on a tool to analyze binary files of 3D models. The result can be saved as OBJ file.
Obviously I was inspired by shak-otay's Hex2obj Mesh Extractor :)

I created it primarily for my personal use but it might be interesting for other people too.
You can request new features (and report bugs) simply by replying to this post or via PM.


Download Model Inspector v0.9 (x64)
https://www.mediafire.com/?s1ub8hgcx66d074

Model Inspector (x86)
http://www.mediafire.com/file/4mpm8ggn5xug3fb/ModelInspector_x86.zip


Requires Java Runtime Environment (JRE) 1.8.0 or higher

Changelog v0.9
- Different vertex and UV formats
- Additional UV types
- Count increased from 1000 to 10000
- Open a file by dragging it onto the EXE
- Files bigger than 2GB don't crash the application anymore
- The filename of the currently opened file is shown in the title bar
- Texture coordinate indices are exported if the vertex and UV count are the same


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Last edited by herbert3000 on Mon Apr 10, 2017 2:42 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: Model Inspector (binary files to OBJ)
PostPosted: Wed Jul 20, 2016 11:42 am 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Sun Jan 18, 2009 1:45 pm
Posts: 205
Location: Sagittarius
Has thanked: 198 times
Have thanks: 12 times
please keep on ?
extend and update your tool
nice idea

_________________
ILLUSORY VIDEO GAMES ARE MORE IMPORTANT THAN PRECIOUS INTERNATIONAL FOOTBALLs


Top
 Profile  
 
 Post subject: Re: Model Inspector (binary files to OBJ)
PostPosted: Wed Jul 20, 2016 3:22 pm 
Offline
veteran
User avatar

Joined: Mon Apr 21, 2014 8:32 pm
Posts: 87
Has thanked: 2 times
Have thanks: 32 times
Please add padding offsets. Nice work btw.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Model Inspector (binary files to OBJ)
PostPosted: Wed Jul 20, 2016 4:13 pm 
Offline
Moderator

Joined: Mon Jul 05, 2010 8:55 pm
Posts: 577
Has thanked: 19 times
Have thanks: 206 times
Excellent tool, thanks for sharing! :)

_________________
Click the thanks button if I helped!


Top
 Profile  
 
 Post subject: Re: Model Inspector (binary files to OBJ)
PostPosted: Thu Jul 21, 2016 11:34 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 15, 2003 6:45 pm
Posts: 4005
Location: Dungeons of Doom
Has thanked: 408 times
Have thanks: 544 times
Great ! I edited the post so it is an attachment here (since mediafire links tend to go dead after a while).

_________________
Please like our Facebook page!


Top
 Profile  
 
 Post subject: Re: Model Inspector (binary files to OBJ)
PostPosted: Sat Sep 10, 2016 11:13 pm 
Offline
veteran

Joined: Wed Jun 02, 2010 4:53 am
Posts: 127
Has thanked: 12 times
Have thanks: 122 times
Just a little update, I added the download link and changelog in my initial post.
Padding offsets are still absent in this version - but this feature is on my TODO list :)


Top
 Profile  
 
 Post subject: Re: Model Inspector (binary files to OBJ)
PostPosted: Thu Sep 29, 2016 2:51 am 
Offline
veteran

Joined: Wed Jun 02, 2010 4:53 am
Posts: 127
Has thanked: 12 times
Have thanks: 122 times
Hi again!
I need your opinion on something.

Recently I kind of recreated a shareware program called HexDataEdit. The latest version of this program was released 10 years ago and the website is long gone. It's a neat tool for analyzing and structuring an unknown binary file. But it's not possible to legally obtain the full version of the program any longer and in my opinion it's missing some important features.

Ok, here's the first version of my recreation:
http://www.mediafire.com/file/h5a5p9cisxpgs6y/BinaryInspector0.5b.zip
I also included an example folder (the .xml is the template file) so you can see how the program works.

Screenshot:
Image

So my question is:
Is there any need for this program AND should I continue adding new features?

At the moment the program exports the segment and type information as XML document.
I'm thinking about switching to JSON in the future.

Plus I also want to add the possibility to use variable names instead of static numbers in the input fields, like this:
Image

Please tell me what you think about it, I'm thankful for every suggestion!


Top
 Profile  
 
 Post subject: Re: Model Inspector (binary files to OBJ)
PostPosted: Thu Sep 29, 2016 5:21 am 
Offline
VIP member
VIP member
User avatar

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 767
Has thanked: 1692 times
Have thanks: 379 times
herbert3000 wrote:
Is there any need for this program AND should I continue adding new features?

never question the need for something you enjoy working on, people
typically don't know what they want until you give it to them. :D

i would give it a try but it won't launch on XP :(
i have Java 1.8.0_101

_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Top
 Profile  
 
 Post subject: Re: Model Inspector (binary files to OBJ)
PostPosted: Thu Sep 29, 2016 7:05 am 
Offline
veteran

Joined: Wed Jun 02, 2010 4:53 am
Posts: 127
Has thanked: 12 times
Have thanks: 122 times
Thanks for the reply!
I've also uploaded a runnable JAR:
http://www.mediafire.com/file/j2nzii4penekfrr/Binary_Inspector.jar


Top
 Profile  
 
 Post subject: Re: Model Inspector (binary files to OBJ)
PostPosted: Fri Apr 07, 2017 7:10 pm 
Offline
beginner

Joined: Wed Sep 03, 2003 1:12 pm
Posts: 20
Has thanked: 7 times
Have thanks: 1 time
i cant run it on Windows 10, i have last java installed, and when i run your file nothing happens, can you help me please? thanks


Top
 Profile  
 
 Post subject: Re: Model Inspector (binary files to OBJ)
PostPosted: Sat Apr 08, 2017 4:46 pm 
Offline
veteran

Joined: Wed Jun 02, 2010 4:53 am
Posts: 127
Has thanked: 12 times
Have thanks: 122 times
Marvey wrote:
i cant run it on Windows 10, i have last java installed, and when i run your file nothing happens, can you help me please? thanks

Hi, are you talking about the .exe or the .jar?
In both cases, make sure that you have the latest version of Java installed on your PC.

To run the .jar, you can also create a new txt file in the same folder. Copy this into the txt:
Code:
java -jar "Binary Inspector.jar"
pause
Then rename the txt file to "Run it.bat" and double-click it.


Top
 Profile  
 
 Post subject: Re: Model Inspector (binary files to OBJ)
PostPosted: Sun Apr 09, 2017 11:06 am 
Offline
ultra-n00b

Joined: Sat Oct 08, 2016 11:56 am
Posts: 5
Has thanked: 1 time
Have thanks: 8 times
The program is not working.
Checked on Win7 (x64), WinXP (x32).
The EXE file does not start, JAR produces an error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM


Top
 Profile  
 
 Post subject: Re: Model Inspector (binary files to OBJ)
PostPosted: Mon Apr 10, 2017 3:39 am 
Offline
veteran

Joined: Wed Jun 02, 2010 4:53 am
Posts: 127
Has thanked: 12 times
Have thanks: 122 times
Lazov wrote:
The program is not working.
Checked on Win7 (x64), WinXP (x32).
The EXE file does not start, JAR produces an error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM
Ok, this one works with a 32-bit JVM:
http://www.mediafire.com/file/1jbkzhkwg9qjag9/BinaryInspector_x86.zip
I wasn't aware of the fact, that the SWT libraries were platform dependent [roll]


Last edited by herbert3000 on Mon Apr 10, 2017 2:44 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Model Inspector (binary files to OBJ)
PostPosted: Mon Apr 10, 2017 5:25 am 
Offline
VIP member
VIP member
User avatar

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 767
Has thanked: 1692 times
Have thanks: 379 times
cool it finally launches on XP :D and i can load the truck.d3d and d3d.xml you had in the 0.5b release example,
now how do you save it out to obj, "File>Save file as..." is greyed out. i can copy the entire contents of the window to
clipboard but it isn't formatted properly when pasted.
what version is that shown in the image in the first post, is that version 0.9?
0.5b is not the latest version is it?
sorry for all the questions, just trying to get caught up. :)

_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Top
 Profile  
 
 Post subject: Re: Model Inspector (binary files to OBJ)
PostPosted: Mon Apr 10, 2017 8:10 am 
Offline
ultra-n00b

Joined: Sat Oct 08, 2016 11:56 am
Posts: 5
Has thanked: 1 time
Have thanks: 8 times
Everything is working. Please post the version that is in the screenshot in the header.
Disable auto-update. The program hangs for large structures.


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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