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

Extracting simple models

Read or post any tutorial related to file format analysis for modding purposes.
Post Reply
User avatar
Shur
ultra-n00b
Posts: 3
Joined: Wed Aug 04, 2010 10:17 pm

Re: Extracting simple models

Post by Shur »

Hi. It does not work v 0.24 for w8.1, requires libgcc_s_dw2-1.dll :(
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Extracting simple models

Post by shakotay2 »

Shur wrote:Hi. It does not work v 0.24 for w8.1, requires libgcc_s_dw2-1.dll :(
thanks for reporting!

edit: use hex2obj_0.24a from the updated start post
(You'll need hex2obj_0.22.zip, too.)
Last edited by shakotay2 on Mon May 25, 2015 11:46 am, edited 4 times in total.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
Shur
ultra-n00b
Posts: 3
Joined: Wed Aug 04, 2010 10:17 pm

Re: Extracting simple models

Post by Shur »

Thx!! v0.2x: Hex2obj_v0.2x.zip this version works fine :)
CZW
veteran
Posts: 151
Joined: Thu May 05, 2005 3:15 pm
Has thanked: 117 times
Been thanked: 15 times

Re: Extracting simple models

Post by CZW »

shakotay2 wrote:
Shur wrote:Hi. It does not work v 0.24 for w8.1, requires libgcc_s_dw2-1.dll :(
thanks for reporting!

edit: use hex2obj_0.24a from the updated start post
(You'll need hex2obj_0.22.zip, too.)
tested and work fine with W7 64 bits
o0DemonBoy0o
veteran
Posts: 106
Joined: Tue Apr 03, 2012 6:02 am
Has thanked: 11 times
Been thanked: 12 times

Re: Extracting simple models

Post by o0DemonBoy0o »

I'm trying to get models from this file but I can't seem to get the correct UVs.
https://www.dropbox.com/s/43stgga27cal2 ... 0.dat?dl=0
Can you help me out? I'm not sure what I'm doing wrong

Code: Select all

0x44C0E8 1671
Vb1
48 12
0x444EE8 608
120000
0x0 255
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Extracting simple models

Post by shakotay2 »

I have no idea. I've zipped the logged values that should be normals and uvs but seems they're not.
For normals the second column contains values greater 1.0.
And for the last two columns they don't seem to be uvs even when ignoring that most of the floats are negative
the last column doesn't contain values between 0 and 0.5 (or 0 and -0.5).

Maybe scaling the 2nd column's values, logging columns as half floats or shorts, grouping the columns in a different way, whatever, you might get your uvs.

But it's a tedious task and sadly I don't have the time for such.
shak_log section.zip
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
lovemarin
n00b
Posts: 11
Joined: Sun Sep 14, 2014 3:40 am
Has thanked: 13 times

Re: Extracting simple models

Post by lovemarin »

hello! shakotay2 :keke: thanks for your tutorial! I have tried to extract models from 300 Heroes, and got dat from .x format files with offzip (according to your posts on thread JUMPX V5.01 (.x 300 Heroes)). The problem is the test.obj always turns out to be messed up, I dont know whether it's packed specially or too complex for hex2obj. Since this game contains so many anime characters, any effective methods of extracting are appreciated. If it's convenient for you to give a demonstration, here is the x file, Nero Claudius or red saber :D Thank you
Last edited by lovemarin on Sun Jun 14, 2015 2:41 pm, edited 1 time in total.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Extracting simple models

Post by shakotay2 »

lovemarin wrote:The problem is the test.obj always turns out to be messed up
it's a matter of the correct params I guess:
002144_neo.JPG
any effective methods of extracting are appreciated.
hex2obj is a helper tool only for a first quick analysis. To be effective you'll need experience or knowledge in maxscript or "C" (for Make_H2O project).

Simple formats like this one (at least for the mesh) follow simple schemes.
You just have to understand the format. There are some examples how to track them in the Make_H2O thread:
viewtopic.php?f=29&t=12756
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
lovemarin
n00b
Posts: 11
Joined: Sun Sep 14, 2014 3:40 am
Has thanked: 13 times

Re: Extracting simple models

Post by lovemarin »

shakotay2 wrote:
lovemarin wrote:The problem is the test.obj always turns out to be messed up
it's a matter of the correct params I guess:
002144_neo.JPG
any effective methods of extracting are appreciated.
hex2obj is a helper tool only for a first quick analysis. To be effective you'll need experience or knowledge in maxscript or "C" (for Make_H2O project).

Simple formats like this one (at least for the mesh) follow simple schemes.
You just have to understand the format. There are some examples how to track them in the Make_H2O thread:
viewtopic.php?f=29&t=12756
yeah I see, it's a hard work and tedious to extract model [roll] and thanks for the tips. by the way, could you please share me the offzip you're using now? All the files extracted with My offzip turn out to be .dat file format
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Extracting simple models

Post by shakotay2 »

offzip.zip
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
lovemarin
n00b
Posts: 11
Joined: Sun Sep 14, 2014 3:40 am
Has thanked: 13 times

Re: Extracting simple models

Post by lovemarin »

shakotay2 wrote:
offzip.zip
:keke: finally!! thank shakotay2, and still got stuck with UV information, let me have a rest first
You do not have the required permissions to view the files attached to this post.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Extracting simple models

Post by shakotay2 »

lovemarin wrote: and still got stuck with UV information, let me have a rest first
(uv's preview with v0.24b only):
001244_neo_uvs.JPG
0x19434 = 0x168FC + 2x 12x461 (dec.)
(skipping verts and normals to get uvs starting address)
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
luxox18
mega-veteran
mega-veteran
Posts: 176
Joined: Fri Jul 29, 2011 9:18 pm
Has thanked: 54 times
Been thanked: 46 times

Re: Extracting simple models

Post by luxox18 »

thanks for the uv viewer shakotay,very useful for me.

keep your amazing work as always!
User avatar
lovemarin
n00b
Posts: 11
Joined: Sun Sep 14, 2014 3:40 am
Has thanked: 13 times

Re: Extracting simple models

Post by lovemarin »

:D another question: how to find the start of the face indices list without "00 00 01 00 02", some files are not easy to recognise their start or end address, just like the one below, could you take a look please? Thanks (:

http://www.uploadmb.com/dw.php?id=1434452744
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Extracting simple models

Post by shakotay2 »

lovemarin wrote::D another question: how to find the start of the face indices list without "00 00 01 00 02", some files are not easy to recognise their start or end address, just like the one below, could you take a look please? Thanks (:
nope, sry, I don't have the time to examine every single sample.
For the FIs' start address just do a trial&error approach.

There are dozens of model samples (of different games) in the forum that I loaded using hex2obj.
Look into the simple ones to gain experience.

(In the end you should learn to understand the models' structure, find the counts which are often preceding the data
blocks and so on.)
it's a hard work and tedious to extract model
it's experience that will ease this, as simple as that
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Post Reply