Page 1 of 1

yingxiong 3d models samples

Posted: Sun Jan 09, 2022 6:40 am
by moonpaladin
Hello! after around two weeks :blue: finally were able to gather all the meshes files decompressed related to this game, also found the skel file, sadly are some textures that are still compressed, but these samples are complete. (mesh+texture+skeleton). Any kind of help is welcome! :mrgreen:

https://www.mediafire.com/file/n1oqhiuj ... l.zip/file

Re: yingxiong 3d models samples

Posted: Sun Jan 09, 2022 7:08 am
by shakotay2
You don't like half floats, do you? :D
.
p1qz_s004-skin.png

Re: yingxiong 3d models samples

Posted: Sun Jan 09, 2022 10:49 am
by Joschka
And here's a noesis script for the skeletons. The skinning info can be found in the buffers given by shakotay above. In the samples he showed you the layout is something like
pos (half float) offset 0
norm coords (half float) offset 6
uv coords (half float) offset 12
joint indices (ubytes) offset 16 (always 4 ?)
joint weights (half float) offset 20 (last weight seems computed with weight4 = 1 - sum(other weights)

At least from a very quick look, there may be layout definitions, bonemaps etc but that should get you going.
fmt_skel.zip
Image

Re: yingxiong 3d models samples

Posted: Sun Jan 09, 2022 11:20 am
by Bigchillghost
Using ASH + AXE (accessory bones ignored):
p1qz_skinned.png

Re: yingxiong 3d models samples

Posted: Sun Jan 09, 2022 4:16 pm
by moonpaladin
WOOOOW! Thank you very much shakotay2, Joschka and Bigchillghost! I will be reviewing the values to learn, again many thanks! :D :D

Re: yingxiong 3d models samples

Posted: Sun Jan 09, 2022 8:39 pm
by moonpaladin
Bigchillghost wrote: Sun Jan 09, 2022 11:20 am
Hello Bigchillghost! after a while of testing, I was able to save the skel info of the pet010 sample using your ASH tool, now I'm trying to merge that skel info with the mesh data with your AXE tool, I have some doubts about these values (Blend Weights, Blend Indices and Mapping Bone Indices > Address), would you mind in clarify these a bit please? Thank you. :D

Image

Re: yingxiong 3d models samples

Posted: Sun Jan 09, 2022 9:50 pm
by moonpaladin
Also these skel files thrown error, or maybe I'm using wrong values :roll: .

https://www.mediafire.com/file/2nfnbeov ... R.zip/file

Re: yingxiong 3d models samples

Posted: Mon Jan 10, 2022 1:07 pm
by Bigchillghost
moonpaladin wrote: Sun Jan 09, 2022 8:39 pmI have some doubts about these values (Blend Weights, Blend Indices and Mapping Bone Indices > Address), would you mind in clarify these a bit please?
You need to be more specific.
moonpaladin wrote: Sun Jan 09, 2022 9:50 pm Also these skel files thrown error, or maybe I'm using wrong values :roll: .
Well, transformation's type is float.
z8a0_76.png
Check the first 4 bytes for which type to use. If it's 1, try float; if it's 0x64 (100 in decimal), then half it is.

Re: yingxiong 3d models samples

Posted: Mon Jan 10, 2022 3:17 pm
by moonpaladin
Bigchillghost wrote: Mon Jan 10, 2022 1:07 pm You need to be more specific.
Hello Bigchillghost!, well to be honest I don't know how to get that values.
Bigchillghost wrote: Mon Jan 10, 2022 1:07 pm transformation's type is float. If it's 1, try float; if it's 0x64 (100 in decimal), then half it is.
Thank you! :D

Re: yingxiong 3d models samples

Posted: Mon Jan 10, 2022 3:42 pm
by Bigchillghost
moonpaladin wrote: Mon Jan 10, 2022 3:17 pmwell to be honest I don't know how to get that values
The intention of that screenshot was for you to look into the binary file at the corresponding addresses, gain a sense of the corresponding vertex attribute data, and try to apply that intuition on other files. If the vertex stride is the same, then most possibly you should just use the same addresses for blend indices & weights. The count of the mapping bone indices was 4 bytes right before its start address, same as the vertices and the indices chunks.

Re: yingxiong 3d models samples

Posted: Mon Jan 10, 2022 4:26 pm
by moonpaladin
Bigchillghost wrote: Mon Jan 10, 2022 3:42 pm
Thank you Bigchillghost! it worked :D :D
Image

Re: yingxiong 3d models samples

Posted: Tue Feb 22, 2022 8:42 pm
by Durik256
I like these formats. :D
Image

Re: yingxiong 3d models samples

Posted: Tue Feb 22, 2022 11:48 pm
by moonpaladin
Durik256 wrote: Tue Feb 22, 2022 8:42 pm I like these formats. :D
Same as me, thats why I'm searching models in chinese Games :D

Re: yingxiong 3d models samples

Posted: Wed Feb 23, 2022 4:47 am
by Durik256
moonpaladin wrote: Tue Feb 22, 2022 11:48 pm Same as me, thats why I'm searching models in chinese Games :D
I meant the file format. (because it's simple) :)

Re: yingxiong 3d models samples

Posted: Fri Feb 25, 2022 12:15 pm
by KingJuls
Durik256 wrote: Wed Feb 23, 2022 4:47 am
moonpaladin wrote: Tue Feb 22, 2022 11:48 pm Same as me, thats why I'm searching models in chinese Games :D
I meant the file format. (because it's simple) :)
Hey Durik,

can u share your Script for the whole Community? [bruce]