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

Model Inspector (binary files to OBJ)

General game file tools that are useful for more than one game
herbert3000
veteran
Posts: 145
Joined: Wed Jun 02, 2010 4:53 am
Has thanked: 20 times
Been thanked: 149 times
Contact:

Model Inspector (binary files to OBJ)

Post by herbert3000 »

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.
screenshot.png
Download Model Inspector v0.9 (x64)
https://www.mediafire.com/?s1ub8hgcx66d074

Model Inspector (x86)
http://www.mediafire.com/file/4mpm8ggn5 ... or_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
You do not have the required permissions to view the files attached to this post.
Last edited by herbert3000 on Mon Apr 10, 2017 2:42 pm, edited 2 times in total.
User avatar
shekofte
mega-veteran
mega-veteran
Posts: 221
Joined: Sun Jan 18, 2009 1:45 pm
Location: Sagittarius
Has thanked: 301 times
Been thanked: 20 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by shekofte »

please keep on ?
extend and update your tool
nice idea
ILLUSORY VIDEO GAMES ARE MORE IMPORTANT THAN PRECIOUS INTERNATIONAL FOOTBALLs
User avatar
PredatorCZ
mega-veteran
mega-veteran
Posts: 291
Joined: Mon Apr 21, 2014 8:32 pm
Has thanked: 11 times
Been thanked: 256 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by PredatorCZ »

Please add padding offsets. Nice work btw.
Gh0stBlade
Moderator
Posts: 719
Joined: Mon Jul 05, 2010 8:55 pm
Has thanked: 20 times
Been thanked: 496 times

Re: Model Inspector (binary files to OBJ)

Post by Gh0stBlade »

Excellent tool, thanks for sharing! :)
Click the thanks button if I helped!
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 682 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by Mr.Mouse »

Great ! I edited the post so it is an attachment here (since mediafire links tend to go dead after a while).
herbert3000
veteran
Posts: 145
Joined: Wed Jun 02, 2010 4:53 am
Has thanked: 20 times
Been thanked: 149 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by herbert3000 »

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 :)
herbert3000
veteran
Posts: 145
Joined: Wed Jun 02, 2010 4:53 am
Has thanked: 20 times
Been thanked: 149 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by herbert3000 »

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

Re: Model Inspector (binary files to OBJ)

Post by Acewell »

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
herbert3000
veteran
Posts: 145
Joined: Wed Jun 02, 2010 4:53 am
Has thanked: 20 times
Been thanked: 149 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by herbert3000 »

Thanks for the reply!
I've also uploaded a runnable JAR:
http://www.mediafire.com/file/j2nzii4pe ... pector.jar
Marvey
n00b
Posts: 18
Joined: Wed Sep 03, 2003 1:12 pm
Has thanked: 6 times
Been thanked: 1 time

Re: Model Inspector (binary files to OBJ)

Post by Marvey »

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
herbert3000
veteran
Posts: 145
Joined: Wed Jun 02, 2010 4:53 am
Has thanked: 20 times
Been thanked: 149 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by herbert3000 »

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: Select all

java -jar "Binary Inspector.jar"
pause
Then rename the txt file to "Run it.bat" and double-click it.
Lazov
veteran
Posts: 84
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 17 times
Been thanked: 55 times

Re: Model Inspector (binary files to OBJ)

Post by Lazov »

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
herbert3000
veteran
Posts: 145
Joined: Wed Jun 02, 2010 4:53 am
Has thanked: 20 times
Been thanked: 149 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by herbert3000 »

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

Re: Model Inspector (binary files to OBJ)

Post by Acewell »

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

Re: Model Inspector (binary files to OBJ)

Post by Lazov »

Everything is working. Please post the version that is in the screenshot in the header.
Disable auto-update. The program hangs for large structures.
Post Reply