Page 2 of 2
Re: Magicka .XNB model files.
Posted: Mon Jun 22, 2020 5:14 pm
by CameronCarson
shakotay2 wrote: ↑Sun Jun 21, 2020 6:28 am
It's not "code" it's just "parameters" (values, addresses, counts). With a model loaded enter parameters then press
File/Save H2O.
But how to find parameters easily
Re: Magicka .XNB model files.
Posted: Sun Jun 28, 2020 7:32 am
by shakotay2
There's no "ease" - it's hard learning in most cases. "Learn it to earn it."
To get the
vertex start address search for "-A0" in the decompressed files, then skip 4 floats (16 bytes), then another 5 bytes.
(First vertex (3 floats) in green rectangle.)
.
xnb_lz4_decompressed.png
.
How to get the counts is here: