XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sat Jan 19, 2019 9:03 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Help with vertices blocks and faces data!!!
PostPosted: Wed Nov 21, 2018 12:59 pm 
Offline
beginner

Joined: Wed Oct 10, 2018 10:45 pm
Posts: 22
Has thanked: 6 times
Have thanks: 0 time
shakotay2 wrote:
mita996 wrote:
Actually the fifa 14 head is fifa12, but I converted to fifa14. What can I do precise, sorry I"m noob
yeah, I was just "expanding" my post. Do you have any coding skills?

Master, can you please help me with the faces and scoreboard. I know you are very busy.. I was tryin til this time, but not success


Top
 Profile  
 
 Post subject: Re: Help with vertices blocks and faces data!!!
PostPosted: Wed Nov 21, 2018 5:34 pm 
Offline
MEGAVETERAN
MEGAVETERAN
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2565
Location: Nexus, searching for Jim Kirk
Has thanked: 618 times
Have thanks: 1311 times
head with uvs 16 bit (word) swap:


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Bigchillghost, Reverse Engineering a Game Model: http://forum.xentax.com/viewtopic.php?f=29&t=17889
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip


Top
 Profile  
 
 Post subject: Re: Help with vertices blocks and faces data!!!
PostPosted: Wed Nov 21, 2018 5:57 pm 
Offline
beginner

Joined: Wed Oct 10, 2018 10:45 pm
Posts: 22
Has thanked: 6 times
Have thanks: 0 time
shakotay2 wrote:
head with uvs 16 bit (word) swap:

Awesome, i will fix eyes with blender. Very thankful for this, if you can help with other files, when you have time :)) Thank you


Top
 Profile  
 
 Post subject: Re: Help with vertices blocks and faces data!!!
PostPosted: Wed Nov 21, 2018 9:54 pm 
Offline
MEGAVETERAN
MEGAVETERAN
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2565
Location: Nexus, searching for Jim Kirk
Has thanked: 618 times
Have thanks: 1311 times
mita996 wrote:
Very thankful for this, if you can help with other files, when you have time :)) Thank you
well, guess it's better when you try it for yourself:

This is my endianness swapper for binary 3D model files.
The idea is to swap vertex and face index (FI) data from big endian to little endian or vice versa.

Generally you can swap face index data using a hexeditor supporting byte swapping for WORD (16 bit uint).
For combined data as is for head_192190_0_0_0.rx3 (vertex float and uvs half float) it's not so simple.

Here is where Make_obj-swap.exe will come in handy.
Follow the instructions carefully.

A param.txt file is required (one for the vertex block, another for the FIs, see params-FIs folder)

I won't explain in detail how to create params.txt for different model files
but using hex2obj (another tool of mine) with head_192190_0_0_0.rx3 and the belonging H2O file
should give some understanding.

You can find the rx3 file in the HEADS.rar from the opening post here:
viewtopic.php?f=16&t=19026

instructions
------------
Start Make_obj-swap and load head_192190_0_0_0.rx3; params.txt must be present in the same folder!
A swapped.bin will be created.

RENAME it to swappedv.bin and copy it to the folder params-FI.
Start Make_obj-swap and load swappedv.bin,
another swapped.bin will be created with FIs swapped, too.

Finally you can copy (paste/overwrite) the FIs block (size: FIcount x 2) and the vertex block (size vertexCount x FVFsize)
from that swapped.bin to (FIFA12) head_115533_0.rx3.



Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Bigchillghost, Reverse Engineering a Game Model: http://forum.xentax.com/viewtopic.php?f=29&t=17889
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip


Top
 Profile  
 
 Post subject: Re: Help with vertices blocks and faces data!!!
PostPosted: Wed Nov 21, 2018 11:37 pm 
Offline
beginner

Joined: Wed Oct 10, 2018 10:45 pm
Posts: 22
Has thanked: 6 times
Have thanks: 0 time
shakotay2 wrote:
mita996 wrote:
Very thankful for this, if you can help with other files, when you have time :)) Thank you
well, guess it's better when you try it for yourself:

This is my endianness swapper for binary 3D model files.
The idea is to swap vertex and face index (FI) data from big endian to little endian or vice versa.

Generally you can swap face index data using a hexeditor supporting byte swapping for WORD (16 bit uint).
For combined data as is for head_192190_0_0_0.rx3 (vertex float and uvs half float) it's not so simple.

Here is where Make_obj-swap.exe will come in handy.
Follow the instructions carefully.

A param.txt file is required (one for the vertex block, another for the FIs, see params-FIs folder)

I won't explain in detail how to create params.txt for different model files
but using hex2obj (another tool of mine) with head_192190_0_0_0.rx3 and the belonging H2O file
should give some understanding.

You can find the rx3 file in the HEADS.rar from the opening post here:
viewtopic.php?f=16&t=19026

instructions
------------
Start Make_obj-swap and load head_192190_0_0_0.rx3; params.txt must be present in the same folder!
A swapped.bin will be created.

RENAME it to swappedv.bin and copy it to the folder params-FI.
Start Make_obj-swap and load swappedv.bin,
another swapped.bin will be created with FIs swapped, too.

Finally you can copy (paste/overwrite) the FIs block (size: FIcount x 2) and the vertex block (size vertexCount x FVFsize)
from that swapped.bin to (FIFA12) head_115533_0.rx3.


So thankful for this message. You are the greatest and very kind man. Thanks very much!


Top
 Profile  
 
 Post subject: Re: Help with vertices blocks and faces data!!!
PostPosted: Thu Nov 22, 2018 8:07 pm 
Offline
MEGAVETERAN
MEGAVETERAN
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2565
Location: Nexus, searching for Jim Kirk
Has thanked: 618 times
Have thanks: 1311 times
mita996 wrote:
You are the greatest
Nope, this title is reserved for one man only:
Muhammad Ali: The Greatest :D

_________________
Bigchillghost, Reverse Engineering a Game Model: http://forum.xentax.com/viewtopic.php?f=29&t=17889
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip


Top
 Profile  
 
 Post subject: Re: Help with vertices blocks and faces data!!!
PostPosted: Fri Jan 04, 2019 4:16 pm 
Offline
beginner

Joined: Wed Oct 10, 2018 10:45 pm
Posts: 22
Has thanked: 6 times
Have thanks: 0 time
shakotay2 wrote:
mita996 wrote:
You are the greatest
Nope, this title is reserved for one man only:
Muhammad Ali: The Greatest :D


Mate, I've try and try, but always I got an error. Can you please, please do just this more head. It will be New year present. Happy New Year to you, all the best!!


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Help with vertices blocks and faces data!!!
PostPosted: Fri Jan 04, 2019 8:59 pm 
Offline
MEGAVETERAN
MEGAVETERAN
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2565
Location: Nexus, searching for Jim Kirk
Has thanked: 618 times
Have thanks: 1311 times
Happy New Year to you, too, and all the best, mita996.
Which kind of error?

You need to understand the instructions in my post as of Wed Nov 21, 2018 9:54 pm.

btw: face indices count and vertex count are the same, so I don't see why it should not work with the actual params.txt files?

_________________
Bigchillghost, Reverse Engineering a Game Model: http://forum.xentax.com/viewtopic.php?f=29&t=17889
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip


Top
 Profile  
 
 Post subject: Re: Help with vertices blocks and faces data!!!
PostPosted: Sat Jan 05, 2019 12:33 pm 
Offline
beginner

Joined: Wed Oct 10, 2018 10:45 pm
Posts: 22
Has thanked: 6 times
Have thanks: 0 time
shakotay2 wrote:
Happy New Year to you, too, and all the best, mita996.
Which kind of error?

You need to understand the instructions in my post as of Wed Nov 21, 2018 9:54 pm.

btw: face indices count and vertex count are the same, so I don't see why it should not work with the actual params.txt files?


Bro, here is what I did:
1) I've copied head_192190_0_0_0_0.rx3 to the make obj swap folder, I have head_192190_0_0_0_0.rx3 and head_192190_0_0_0_0.h2o now.
2) Now I've stared make make obj and load head_192190_0_0_0_0.rx3 and got swapped.bin, renamed it and copied to the params-FI folder.
3) Started make obj swap and load swappedv.bin and got swapped.bin with FIs swapped
4) I don't know how to copy (paste/overwrite) the FIs block (size: FIcount x 2) and the vertex block (size vertexCount x FVFsize)
from that swapped.bin to (FIFA12) head_115533_0.rx3. Are I supposed to do that with hex editor or?


Top
 Profile  
 
 Post subject: Re: Help with vertices blocks and faces data!!!
PostPosted: Sat Jan 05, 2019 4:30 pm 
Offline
MEGAVETERAN
MEGAVETERAN
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2565
Location: Nexus, searching for Jim Kirk
Has thanked: 618 times
Have thanks: 1311 times
mita996 wrote:
4) I don't know how to copy (paste/overwrite) the FIs block (size: FIcount x 2) and the vertex block (size vertexCount x FVFsize)
from that swapped.bin to (FIFA12) head_115533_0.rx3. Are I supposed to do that with hex editor or?
yep.

_________________
Bigchillghost, Reverse Engineering a Game Model: http://forum.xentax.com/viewtopic.php?f=29&t=17889
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip


Top
 Profile  
 
 Post subject: Re: Help with vertices blocks and faces data!!!
PostPosted: Sat Jan 05, 2019 5:09 pm 
Offline
beginner

Joined: Wed Oct 10, 2018 10:45 pm
Posts: 22
Has thanked: 6 times
Have thanks: 0 time
shakotay2 wrote:
mita996 wrote:
4) I don't know how to copy (paste/overwrite) the FIs block (size: FIcount x 2) and the vertex block (size vertexCount x FVFsize)
from that swapped.bin to (FIFA12) head_115533_0.rx3. Are I supposed to do that with hex editor or?
yep.


But how to find FIs block, vertex blocks in hex editior, that is the right question :(


Top
 Profile  
 
 Post subject: Re: Help with vertices blocks and faces data!!!
PostPosted: Sat Jan 05, 2019 5:35 pm 
Offline
MEGAVETERAN
MEGAVETERAN
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2565
Location: Nexus, searching for Jim Kirk
Has thanked: 618 times
Have thanks: 1311 times
I assumed you knew how to use hex2obj :cry: ;
H2O file for head_115533_0.rx3:

0x2B0 16524
Vb1
32 20
0x98A0 2969
020100
0x0 255

the rest is simple math:
face indices block: 0x2B0 - 0x83C7, vertex block: 0x98A0 - 0x20BBF

_________________
Bigchillghost, Reverse Engineering a Game Model: http://forum.xentax.com/viewtopic.php?f=29&t=17889
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip


Top
 Profile  
 
 Post subject: Re: Help with vertices blocks and faces data!!!
PostPosted: Mon Jan 07, 2019 11:47 am 
Offline
beginner

Joined: Wed Oct 10, 2018 10:45 pm
Posts: 22
Has thanked: 6 times
Have thanks: 0 time
shakotay2 wrote:
I assumed you knew how to use hex2obj :cry: ;
H2O file for head_115533_0.rx3:

0x2B0 16524
Vb1
32 20
0x98A0 2969
020100
0x0 255

the rest is simple math:
face indices block: 0x2B0 - 0x83C7, vertex block: 0x98A0 - 0x20BBF


Master I really want to learn, I look into your tutorial, but I need, also I very need these head. It will be easy If you done it for me, I see no light in the street xd Please, I will be start learning, but just help me with these head :(


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: adroduke, Google [Bot], PaulPhoenix31139, q4210 and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group