Page 1 of 1

MESH format ".bm" Rakion, file addded

Posted: Thu Mar 07, 2019 1:07 pm
by moonpaladin
Hello I was searching for weeks and did not find a way to open the ".bm" file of Rakion, it contains the 3d model, maybe someone knows how to open it or could give me some advice what I could do, it would be very helpful . Thanks in advance.
img]https://imgur.com/CV8cxqW[/img] and there is the file format, hope someone could help me :(

Re: MESH format ".bm" Rakion, file addded

Posted: Thu Mar 07, 2019 2:53 pm
by shakotay2
using hex2obj (view links in my sig):
sword-bm.png

Re: MESH format ".bm" Rakion, file addded

Posted: Thu Mar 07, 2019 9:42 pm
by moonpaladin
Thanks alot for this! I was searching a lot. By the way where u got the values of 12, 103c, 99, 8 and also the 41 XD, I'm trying to find how do you get that values with the tutorial but don't understand how you get these values. Thanks also!

Re: MESH format ".bm" Rakion, file addded

Posted: Thu Mar 07, 2019 10:51 pm
by shakotay2
1st of all: learn how to detect floats. If you can't you're lost. As simple as that.

floats consists of 4 bytes (half floats of two).

You need to gain experience by checking some dozens of simple examples in the forum where hex2obj was used.
And you need to learn some basics.

Understand how to get 15ac, 408 and 41, 170 (the simple part).

Once you succeeded I can explain FVFsize: 12, and 103c and 8 (harder part).

3D_format.png

Re: MESH format ".bm" Rakion, file addded

Posted: Thu Mar 07, 2019 11:03 pm
by moonpaladin
I already know how to get the value 41 and the others values! now need the vertex block values only!. Thanks for answer!

Re: MESH format ".bm" Rakion, file addded

Posted: Thu Mar 07, 2019 11:17 pm
by shakotay2
8 is 2 floats for texture coords tx, ty.

"99" is a flag only, that tells you: uvs are in a separate uvb block.
Start address of that block= 0x41 + size of vertexblock+ size of normals block // 0x41 + vertexcount x (12+12) = 0x1031 // 12 is decimal, 3x4 floats
+ Dword_string_length + string_length // 4 + 7
= 0x103C

Re: MESH format ".bm" Rakion, file addded

Posted: Thu Mar 07, 2019 11:53 pm
by moonpaladin
I apologize, I have doubts, how to know where to find the values of:
size of vertexblock
size of normals block
Dword_string_length
string_length

Really thanks for taking the time to answer me, I'm learning :)

Re: MESH format ".bm" Rakion, file addded

Posted: Fri Mar 08, 2019 12:39 am
by moonpaladin
Thanks aloot!!!
test.jpg

Re: MESH format ".bm" Rakion, file addded

Posted: Fri Mar 08, 2019 6:30 am
by shakotay2
You*re learning very fast! :) Cool!

Dword_(for)_string_length: size of DWORD is 4 (value is 7, the string length)
string_length (of "Texture") is 7

size of vertexblock: vertex_count x 12
size of normals block: vertex_count x 12

since size of vertices is 3 floats (3x 4 bytes)
size of normals is 3 floats (3x 4 bytes)

Re: MESH format ".bm" Rakion, file addded

Posted: Fri Mar 08, 2019 2:25 pm
by moonpaladin
Thank you for clarifying all my doubts :D

Re: MESH format ".bm" Rakion, file addded

Posted: Wed Jun 23, 2021 1:19 am
by prielgaier
Was wondering if you created a converter for bm to obj or should i start learning what you've learnt

Re: MESH format ".bm" Rakion, file addded

Posted: Wed Jun 23, 2021 8:00 pm
by Karpati
Do you have an unpacker for the Rakion.xfs file?

Re: MESH format ".bm" Rakion, file addded

Posted: Wed Jun 23, 2021 8:53 pm
by DKDave
I did a crappy Noesis script - I'll post it when it works properly. It would be good to get a few examples of models with their textures to do some proper testing.

Image