ZenHAX
https://zenhax.com/

Help swap face index data using a hexeditor please
https://zenhax.com/viewtopic.php?f=5&t=9242
Page 1 of 1

Author:  MITA996 [ Fri Jan 11, 2019 11:36 am ]
Post subject:  Help swap face index data using a hexeditor please

Can someone please help me and swap 3d model from fifa 11 to fifa14. This is what shakotay2 told to me, but I'm not good with hex editor:
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.

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.

credits:shakotay2

Attachments:
Make_obj-swap (1).zip [43.96 KiB]
Downloaded 18 times

Author:  MITA996 [ Fri Jan 11, 2019 11:37 am ]
Post subject:  Re: Help swap face index data using a hexeditor please

fifa 3d files:

Attachments:
Head 2019 (1).rar [174.17 KiB]
Downloaded 22 times

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/