I replicated what you did fine.
But when messing with other chunk files I was trying to figure our how you got:
"5CCE0: start of face indices (FI) list"
It's not clear in the tutorial to me. How did you get that number?
As I go through this I plan on helping out on your tutorial for noobs. written by a noob for noobs!
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
[Help] Hex2obj
Re: [Help] Hex2obj
Just looking for OBJs and FBX files of 3D models from games. No Skeletons or textures needed
- shakotay2
- 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: [Help] Hex2obj
Assumed first face to consist of 0, 1, 2 (-> 1, 2, 3 in one based wavefront format)ekmek wrote:But when messing with other chunk files I was trying to figure our how you got:
"5CCE0: start of face indices (FI) list"
so search for 000001000200 (little endian of 0000 0001 0002).
Doesn't work always because the first face might consist of other vertices, may 3,4,5 or something else.
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?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Re: [Help] Hex2obj
shakotay2 wrote:Assumed first face to consist of 0, 1, 2 (-> 1, 2, 3 in one based wavefront format)ekmek wrote:But when messing with other chunk files I was trying to figure our how you got:
"5CCE0: start of face indices (FI) list"
so search for 000001000200 (little endian of 0000 0001 0002).
Doesn't work always because the first face might consist of other vertices, may 3,4,5 or something else.
ah, ok. I guess this where the hex editor comes in.
Do you recommend one?
Just looking for OBJs and FBX files of 3D models from games. No Skeletons or textures needed
- shakotay2
- 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: [Help] Hex2obj
My most preferred one is WinHex. But any other should do which has a decent search feature.
For me a byte grouping of 8 plus 8 is totally important (which HxD v 1.7.70 for example lacks of).
For me a byte grouping of 8 plus 8 is totally important (which HxD v 1.7.70 for example lacks of).
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?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
-
- ultra-n00b
- Posts: 3
- Joined: Fri Dec 09, 2016 1:09 am
Re: [Help] Hex2obj
I can not get any mesh to display on the attached file
some screenshots: http://imgur.com/a/kdUBC
some screenshots: http://imgur.com/a/kdUBC
You do not have the required permissions to view the files attached to this post.
- shakotay2
- 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: [Help] Hex2obj
face indices start address is correct; but it's 5 submeshes, search for 000001000200 to find the different startaddresses
next find: 0xFF04 (delta 0x2FF4 related to 0xCF10-> delta/2= 6138 face indices; vertex count= 1180)
Why set start of vertices to 0x1387? That's not senseful.
calculation CF10 + 35934x2= 0x1E7CC shows where to search for vertices.
next find: 0xFF04 (delta 0x2FF4 related to 0xCF10-> delta/2= 6138 face indices; vertex count= 1180)
Why set start of vertices to 0x1387? That's not senseful.
calculation CF10 + 35934x2= 0x1E7CC shows where to search for vertices.
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?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"