READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Model Inspector (binary files to OBJ)

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

Model Inspector (binary files to OBJ)

Post by herbert3000 » Tue Jul 19, 2016 10:47 pm

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: 220
Joined: Sun Jan 18, 2009 1:45 pm
Location: Sagittarius
Has thanked: 240 times
Been thanked: 12 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by shekofte » Wed Jul 20, 2016 11:42 am

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: 251
Joined: Mon Apr 21, 2014 8:32 pm
Has thanked: 7 times
Been thanked: 177 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by PredatorCZ » Wed Jul 20, 2016 3:22 pm

Please add padding offsets. Nice work btw.

Gh0stBlade
Moderator
Posts: 683
Joined: Mon Jul 05, 2010 8:55 pm
Has thanked: 20 times
Been thanked: 325 times

Re: Model Inspector (binary files to OBJ)

Post by Gh0stBlade » Wed Jul 20, 2016 4:13 pm

Excellent tool, thanks for sharing! :)
Click the thanks button if I helped!

User avatar
Mr.Mouse
Site Admin
Posts: 4039
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 412 times
Been thanked: 559 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by Mr.Mouse » Thu Jul 21, 2016 11:34 pm

Great ! I edited the post so it is an attachment here (since mediafire links tend to go dead after a while).

herbert3000
veteran
Posts: 134
Joined: Wed Jun 02, 2010 4:53 am
Has thanked: 16 times
Been thanked: 135 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by herbert3000 » Sat Sep 10, 2016 11:13 pm

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: 134
Joined: Wed Jun 02, 2010 4:53 am
Has thanked: 16 times
Been thanked: 135 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by herbert3000 » Thu Sep 29, 2016 2:51 am

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!

User avatar
Acewell
VIP member
VIP member
Posts: 1263
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2385 times
Been thanked: 729 times

Re: Model Inspector (binary files to OBJ)

Post by Acewell » Thu Sep 29, 2016 5:21 am

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: 134
Joined: Wed Jun 02, 2010 4:53 am
Has thanked: 16 times
Been thanked: 135 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by herbert3000 » Thu Sep 29, 2016 7:05 am

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 » Fri Apr 07, 2017 7:10 pm

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: 134
Joined: Wed Jun 02, 2010 4:53 am
Has thanked: 16 times
Been thanked: 135 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by herbert3000 » Sat Apr 08, 2017 4:46 pm

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
advanced
Posts: 51
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 16 times
Been thanked: 40 times

Re: Model Inspector (binary files to OBJ)

Post by Lazov » Sun Apr 09, 2017 11:06 am

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: 134
Joined: Wed Jun 02, 2010 4:53 am
Has thanked: 16 times
Been thanked: 135 times
Contact:

Re: Model Inspector (binary files to OBJ)

Post by herbert3000 » Mon Apr 10, 2017 3:39 am

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.

User avatar
Acewell
VIP member
VIP member
Posts: 1263
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2385 times
Been thanked: 729 times

Re: Model Inspector (binary files to OBJ)

Post by Acewell » Mon Apr 10, 2017 5:25 am

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
advanced
Posts: 51
Joined: Sat Oct 08, 2016 11:56 am
Has thanked: 16 times
Been thanked: 40 times

Re: Model Inspector (binary files to OBJ)

Post by Lazov » Mon Apr 10, 2017 8:10 am

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