https://www.mediafire.com/file/zugy6spz ... M.bin/file
Hover mount! model with many submeshes
-
moonpaladin
- veteran
- Posts: 142
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 42 times
- Been thanked: 5 times
Hover mount! model with many submeshes
Hi! I would like to know if anyone has had any kind of experience with a 3d model like this, because it contains several mounts and in a certain way you can get some, but there are others that no, as much as I have been trying to get the second face block index I have not had luck, but the model is there, just that I am not using the correct values, because as you can see increasing the value of the vertices you can preview the shape of the mount that I want to get. Please, if anyone has any advice or where to keep checking to get the model, leave your comment. Thanks in advance.
https://www.mediafire.com/file/zugy6spz ... M.bin/file
https://www.mediafire.com/file/zugy6spz ... M.bin/file
You do not have the required permissions to view the files attached to this post.
- Bigchillghost
- double-veteran

- Posts: 797
- Joined: Tue Jul 05, 2016 9:37 am
- Has thanked: 27 times
- Been thanked: 788 times
Re: Hover mount! model with many submeshes
Using AMR:
You do not have the required permissions to view the files attached to this post.
May you find peace in this puzzle-solving game.
when you get helped.
- An Imitable Workflow for Reverse Engineering a Game Model
- Advanced Mesh Reaper
- Reverse Model Wireframe
when you get helped.- Bigchillghost
- double-veteran

- Posts: 797
- Joined: Tue Jul 05, 2016 9:37 am
- Has thanked: 27 times
- Been thanked: 788 times
Re: Hover mount! model with many submeshes
Or these params for H2O:
You do not have the required permissions to view the files attached to this post.
May you find peace in this puzzle-solving game.
when you get helped.
- An Imitable Workflow for Reverse Engineering a Game Model
- Advanced Mesh Reaper
- Reverse Model Wireframe
when you get helped.-
moonpaladin
- veteran
- Posts: 142
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 42 times
- Been thanked: 5 times
Re: Hover mount! model with many submeshes
wow!! thanks alot!Bigchillghost wrote: ↑Sat Apr 03, 2021 2:18 pmOr these params for H2O:
MountHoverboard_2ndMesh_H2O.png
-
moonpaladin
- veteran
- Posts: 142
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 42 times
- Been thanked: 5 times
Re: Hover mount! model with many submeshes
Bigchillghost, would you mind in explain a bit why you use those values in star vertices, face indices, and the count indices?Bigchillghost wrote: ↑Sat Apr 03, 2021 2:18 pmOr these params for H2O:
MountHoverboard_2ndMesh_H2O.png
- Bigchillghost
- double-veteran

- Posts: 797
- Joined: Tue Jul 05, 2016 9:37 am
- Has thanked: 27 times
- Been thanked: 788 times
Re: Hover mount! model with many submeshes
I assume you have no question about the fact that the whole vertex data chunk begins at offset 8 and the whole index data chunk begins at offset 0x238AA4.moonpaladin wrote: ↑Sat Apr 03, 2021 2:50 pmBigchillghost, would you mind in explain a bit why you use those values in star vertices, face indices, and the count indices?
For face indices, since most usually their values are in an increasing order, it's rather plain and easy to locate the first index of the next mesh by looking for a point where the index value dropped dramatically, which I referenced as a "jump discontinuity". Set the number of columns to 6 in your hex editor, hence there'd be one triangle on each row. Place your cursor at the position before the 1st index of the first mesh, then scroll down and look for the said area at the same column. As a result you'll notice that the indices increased overall and suddenly dropped at address 0x27025C, where the value changed from 0x8D79 to 0xD7B.
Therefore you get the index counts for the two meshes:
(0x27025C - 0x238AA4) / 2 = 113628
(0x2A1258 - 0x27025C) / 2 = 100350 or (0x687B4 / 2) - 113628 = 100350
Interpret these two index chunks individually and you'll get the min & max index values and the required vertex counts of them:
1st: min value: 0 | max value: 36218, required vertex count: 36219
2nd: min value: 3451 | max value: 31932, required vertex count: 31933
Note that in Hex2Obj index values begin from 1 whereas in AMR they interpreted as is.
There're (0x238A94 / 36) = 64701 vertices and the 1st mesh takes 36219, hence there're (64701 - 36219) = 28482 vertices left. But the 2nd mesh requires 31933 vertices to construct the mesh, while its min index value is 3451, meaning that the previous 3451 vertices are not used, no mater where its vertices begin. So the actual required vertex amount would be (31932 - 3451) + 1 = 28482, exactly the amount of the vertices left. Now depends on how you'd like to construct the mesh there'd be two sets of params you could use:
1. Keep the face indices untouched and adjust the base vertex address:
Calculate the subscript of the 1st vertex of the 2nd mesh in the entire vertex array as: (64701 - 31933) = 32768, which obviously is a special value.
Then you can obtain the start address: (32768 * 36) + 8 = 0x120008. This set of params can be used in both AMR and Hex2Obj. The shortcoming of this handling is that there'd be extra unused vertices in the mesh.
2. Reset the base of the face indices by subtracting the min value from all these indices, which is referenced as "Zero Calibration" in AMR. An adjust to the base vertex address is also required though: (36219 * 36) + 8 = 0x13E554.
With the "Zero Calibration" option checked in AMR, you'll be able to construct the mesh without these unused vertices.
As you may have noticed, this file has a rather simple layout:
Code: Select all
long chunkID
long chunkSize
byte chunkData[chunkSize]
You do not have the required permissions to view the files attached to this post.
May you find peace in this puzzle-solving game.
when you get helped.
- An Imitable Workflow for Reverse Engineering a Game Model
- Advanced Mesh Reaper
- Reverse Model Wireframe
when you get helped.-
moonpaladin
- veteran
- Posts: 142
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 42 times
- Been thanked: 5 times
Re: Hover mount! model with many submeshes
Huge thanks Bigchillghost! So detailed response !moonpaladin wrote: ↑Sat Apr 03, 2021 2:50 pmBigchillghost, would you mind in explain a bit why you use those values in star vertices, face indices, and the count indices?
-
moonpaladin
- veteran
- Posts: 142
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 42 times
- Been thanked: 5 times
Re: Hover mount! model with many submeshes
Hell yeah! it works pretty well!2. Reset the base of the face indices by subtracting the min value from all these indices, which is referenced as "Zero Calibration" in AMR. An adjust to the base vertex address is also required though: (36219 * 36) + 8 = 0x13E554.
With the "Zero Calibration" option checked in AMR, you'll be able to construct the mesh without these unused vertices.
Bigchillghost, a question about the AMR tool, is there be a way to export the model but in submeshes like hex2obj does?
You do not have the required permissions to view the files attached to this post.
- Bigchillghost
- double-veteran

- Posts: 797
- Joined: Tue Jul 05, 2016 9:37 am
- Has thanked: 27 times
- Been thanked: 788 times
Re: Hover mount! model with many submeshes
If you mean stripping the mesh per 500 triangles, then no.moonpaladin wrote: ↑Sat Apr 03, 2021 10:35 pma question about the AMR tool, is there be a way to export the model but in submeshes like hex2obj does?
May you find peace in this puzzle-solving game.
when you get helped.
- An Imitable Workflow for Reverse Engineering a Game Model
- Advanced Mesh Reaper
- Reverse Model Wireframe
when you get helped.-
moonpaladin
- veteran
- Posts: 142
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 42 times
- Been thanked: 5 times
Re: Hover mount! model with many submeshes
I see! I was trying to divide it haha, by the way when you have a little time, can you take a look to this weapon model? It looks completely different to the standard format. It is possible to extract with hex2obj or AMR? or need to use another tool for this kind of format. Thanks for your time Bigchillghost.Bigchillghost wrote: ↑Sun Apr 04, 2021 3:37 amIf you mean stripping the mesh per 500 triangles, then no.moonpaladin wrote: ↑Sat Apr 03, 2021 10:35 pma question about the AMR tool, is there be a way to export the model but in submeshes like hex2obj does?
https://www.mediafire.com/file/5yop0ep3 ... S.zip/file
- Bigchillghost
- double-veteran

- Posts: 797
- Joined: Tue Jul 05, 2016 9:37 am
- Has thanked: 27 times
- Been thanked: 788 times
Re: Hover mount! model with many submeshes
I've already said that you need to look for the required info in other files for proper submesh division. If you knew the polygon count of each submesh you can assign a material group to each of them, then you can split them by material groups in your 3D app if you'd like to.
For the mesh it is possible by specifying the Excess Bytes params in AMR:moonpaladin wrote: ↑Sun Apr 04, 2021 4:20 amIt looks completely different to the standard format. It is possible to extract with hex2obj or AMR? or need to use another tool for this kind of format.
(WEP/katana_eSkatana.elu) But the UVs are stored as per-polygon vertex texture coordinates along in the polygon struct like this:
Code: Select all
long polygonCount
for i = 0 < polygonCount
{
long polygonVertexIndices[3]
float polygonVertex1UVW[3]
float polygonVertex2UVW[3]
float polygonVertex3UVW[3]
long unknown[2]
}
You do not have the required permissions to view the files attached to this post.
May you find peace in this puzzle-solving game.
when you get helped.
- An Imitable Workflow for Reverse Engineering a Game Model
- Advanced Mesh Reaper
- Reverse Model Wireframe
when you get helped.-
moonpaladin
- veteran
- Posts: 142
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 42 times
- Been thanked: 5 times
Re: Hover mount! model with many submeshes
Could you tell me how did you decide to put the number 44?For the mesh it is possible by specifying the Excess Bytes params in AMR:
ouch so sad to hear it, those are custom models of gunz the duel, a custom script like the noesis script right? I'm gonna be checking how to or examples, because didn't encounter a file that requiere a script only for UV's. Thanks for your time Bigchillghost.But the UVs are stored as per-polygon vertex texture coordinates along in the polygon struct like this:This situation is beyond AMR's capability and you can't handle it without a customized script or something like that.Code: Select all
long polygonCount for i = 0 < polygonCount { long polygonVertexIndices[3] float polygonVertex1UVW[3] float polygonVertex2UVW[3] float polygonVertex3UVW[3] long unknown[2] }
- Bigchillghost
- double-veteran

- Posts: 797
- Joined: Tue Jul 05, 2016 9:37 am
- Has thanked: 27 times
- Been thanked: 788 times
Re: Hover mount! model with many submeshes
As shown in the layout: 12 * 3 + 8 = 44.moonpaladin wrote: ↑Sun Apr 04, 2021 5:02 pmCould you tell me how did you decide to put the number 44?![]()
Code: Select all
long polygonCount
for i = 0 < polygonCount
{
long polygonVertexIndices[3]
float polygonVertex1UVW[3] // 12 bytes
float polygonVertex2UVW[3] // 12 bytes
float polygonVertex3UVW[3] // 12 bytes
long unknown[2] // 8 bytes
}
A script, or a standalone program depending on the programming language you used.
May you find peace in this puzzle-solving game.
when you get helped.
- An Imitable Workflow for Reverse Engineering a Game Model
- Advanced Mesh Reaper
- Reverse Model Wireframe
when you get helped.-
moonpaladin
- veteran
- Posts: 142
- Joined: Tue Mar 05, 2019 6:24 am
- Has thanked: 42 times
- Been thanked: 5 times
Re: Hover mount! model with many submeshes
It works!now I need to check if it have submeshes, I don't remenber if it is only a body or a complete set, and also need to know how to make that script for UV's XD! .I understanded alot with your image of the valuesAs shown in the layout: 12 * 3 + 8 = 44.
You do not have the required permissions to view the files attached to this post.
