Poll time! Click here: Are you interested in the chiptune scene? If so, which?. Let's see what our community thinks of the chiptune scene. :) !

Extracting simple models

Read or post any tutorial related to file format analysis for modding purposes.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3474
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 957 times
Been thanked: 1879 times

Re: Extracting simple models

Post by shakotay2 » Sun Mar 07, 2021 3:29 pm

Hex2obj_0.24e3-rel,2.zip
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3474
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 957 times
Been thanked: 1879 times

Re: Extracting simple models

Post by shakotay2 » Sun Mar 07, 2021 3:29 pm

Hex2obj_0.24e3-rel,3.zip
(You need to unpack all three zips (part 1 and two see previous posts) into one directory of your choice to get hex2obj working.)
You do not have the required permissions to view the files attached to this post.
Last edited by shakotay2 on Thu Apr 01, 2021 10:16 pm, edited 1 time in total.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

User avatar
ReVolt
veteran
Posts: 126
Joined: Tue Jun 16, 2020 2:21 am
Location: My hard-drive
Has thanked: 12 times
Been thanked: 1 time
Contact:

Re: Extracting simple models

Post by ReVolt » Tue Mar 16, 2021 12:39 am

Why am I getting "could not open file!"

User avatar
ReVolt
veteran
Posts: 126
Joined: Tue Jun 16, 2020 2:21 am
Location: My hard-drive
Has thanked: 12 times
Been thanked: 1 time
Contact:

Re: Extracting simple models

Post by ReVolt » Tue Mar 16, 2021 12:53 am

Why is it saying "EOF reached" and it reduces my index count to some ridiculous number?

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3474
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 957 times
Been thanked: 1879 times

Re: Extracting simple models

Post by shakotay2 » Tue Mar 16, 2021 8:57 am

ReVolt wrote:
Tue Mar 16, 2021 12:39 am
Why am I getting "could not open file!"
Why are you still double posting? [roll]

The error depends on how the file access rights are handled - your hex editor doesn't open "shared" I guess.
Create a copy of the 3D model file and open that in the hex editor (while the original file is open in hex2obj).
ReVolt wrote:
Tue Mar 16, 2021 12:53 am
Why is it saying "EOF reached" and it reduces my index count to some ridiculous number?
Because the count you chose makes the file buffer pointer cross the end of file.

The number is not "ridiculous" it's just (last address - start address) divided by sizeOfIndices.
(Or divided by FVFsize if vertices are handled.)
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

lilyampykidYTXeNTaX
advanced
Posts: 79
Joined: Wed Apr 28, 2021 6:32 pm
Has thanked: 7 times
Been thanked: 5 times

Re: Extracting simple models

Post by lilyampykidYTXeNTaX » Thu Jun 10, 2021 7:22 pm

shakotay2 wrote:
Sat Jul 21, 2018 6:20 am
Tosyk wrote:in noesis, how to skip junk data like texture path at the beginning of If the length of this path is before it?

path is: player\texture\eye\eye_brown_d.dds and before is 24 00 00 00 - it's a length of the path, how can I use this length to skip this amount of bytes for now?
You need to use relative position, see my answer here:
http://forum.xentax.com/viewtopic.php?f ... 18#p142418



edit, not related to the actual discussion, but to hex2obj, here's the actual version, I'm using,
but be warned, seems I've introduced one bug at least that I cannot reproduce.
hex2obj_0.24e.zip
Don't miss to read the tutorial, hex2obj_tut.rtf, or you will be lost. :)
(well, I assume, you'll be lost in any case...)

You might use this version as a fallback:
---------- version 0.24d (.exe only), autogenerated FIs ----------
http://forum.xentax.com/viewtopic.php?f ... ed#p119417

---------- >>> old version 0.24c <<< ----------
hex2obj_0.24c.zip
Hey there! Could I get the download link per Mediafire or Google Drive? Malwarebytes is blocking uploadmb.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3474
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 957 times
Been thanked: 1879 times

Re: Extracting simple models

Post by shakotay2 » Thu Jun 10, 2021 8:51 pm

Hey there, so you read through 80% of this thread to dig out a post with "404 links" that I missed to update? :D
(uploadmb.com has ceased working)

Here's the actual link to the latest files (divided up onto 3 posts), click on up arrow:
shakotay2 wrote:
Sun Mar 07, 2021 3:29 pm
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

lilyampykidYTXeNTaX
advanced
Posts: 79
Joined: Wed Apr 28, 2021 6:32 pm
Has thanked: 7 times
Been thanked: 5 times

Re: Extracting simple models

Post by lilyampykidYTXeNTaX » Fri Jun 11, 2021 7:35 pm

shakotay2 wrote:
Sat Jul 21, 2018 6:20 am
Tosyk wrote:in noesis, how to skip junk data like texture path at the beginning of If the length of this path is before it?

path is: player\texture\eye\eye_brown_d.dds and before is 24 00 00 00 - it's a length of the path, how can I use this length to skip this amount of bytes for now?
You need to use relative position, see my answer here:
http://forum.xentax.com/viewtopic.php?f ... 18#p142418


edit, not related to the actual discussion, but to hex2obj, here's the actual version, I'm using,
shakotay2 wrote:
Sun Mar 07, 2021 3:29 pm
Don't miss to read the tutorial, hex2obj_tut.rtf, or you will be lost. :)
(well, I assume, you'll be lost in any case...)


---------- >>> old version 0.24c <<< ----------
hex2obj_0.24c.zip
link not working/available on some countries
oh and, hey shakotay2, can i get the download for mesh viewer? i need some files to make that program work so i can see meshes, ok?

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3474
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 957 times
Been thanked: 1879 times

Re: Extracting simple models

Post by shakotay2 » Fri Jun 11, 2021 8:05 pm

You should read posts more carefully:
"Just unpack the three zips "
mesh_viewer.exe is in Hex2obj_0.24e3-rel,2.zip

(Also reflect about your quoting. Don't make threads unreadable, please. :cry:)
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

lilyampykidYTXeNTaX
advanced
Posts: 79
Joined: Wed Apr 28, 2021 6:32 pm
Has thanked: 7 times
Been thanked: 5 times

Re: Extracting simple models

Post by lilyampykidYTXeNTaX » Fri Jun 11, 2021 11:10 pm

I won't make any unreadable! Also I got a texture from Ben 10: Alien Force Vilgax Attacks.
Brainstorm_diffuse.png
edit: i am missing MSVCP100.dll and other .dll files for Mesh viewer.
You do not have the required permissions to view the files attached to this post.

lilyampykidYTXeNTaX
advanced
Posts: 79
Joined: Wed Apr 28, 2021 6:32 pm
Has thanked: 7 times
Been thanked: 5 times

Re: Extracting simple models

Post by lilyampykidYTXeNTaX » Sun Jun 13, 2021 7:49 pm

shakotay2 wrote:
Fri Jun 11, 2021 8:05 pm
You should read posts more carefully:
"Just unpack the three zips "
mesh_viewer.exe is in Hex2obj_0.24e3-rel,2.zip
hey there, wanted to remind you, i am missing several .dll files for Mesh Viewer on Hex2OBJ, can you hand me the downloads for the files?

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3474
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 957 times
Been thanked: 1879 times

Re: Extracting simple models

Post by shakotay2 » Mon Jun 14, 2021 12:07 am

lilyampykidYTXeNTaX wrote:
Fri Jun 11, 2021 11:10 pm
edit: i am missing MSVCP100.dll and other .dll files for Mesh viewer.
I don't have it because I don't have Win 10 so far. (Afaik such dll files are downloadable for free.)
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

lilyampykidYTXeNTaX
advanced
Posts: 79
Joined: Wed Apr 28, 2021 6:32 pm
Has thanked: 7 times
Been thanked: 5 times

Re: Extracting simple models

Post by lilyampykidYTXeNTaX » Mon Jun 14, 2021 4:37 pm

Okay, I'll find the files so I can make Mesh Viewer work to see meshes extracted.

lilyampykidYTXeNTaX
advanced
Posts: 79
Joined: Wed Apr 28, 2021 6:32 pm
Has thanked: 7 times
Been thanked: 5 times

Re: Extracting simple models

Post by lilyampykidYTXeNTaX » Thu Jul 29, 2021 6:02 pm

I need help with these entity templates here: https://drive.google.com/drive/folders/ ... sp=sharing
Thanks @shakotay2, I might see if you can help me! :D, but the obj version has no bones so I'll go ahead and see what happens.

Post Reply