LEGO® Legacy: Heroes Unboxed (bdae / bres)

Skeletons, animations, shaders, texturing, converting, fixing and anything else related to read game models
3DBricks
Posts: 3
Joined: Sun Apr 24, 2022 6:41 pm

LEGO® Legacy: Heroes Unboxed (bdae / bres)

Post by 3DBricks »

Hello,
I learn a lot on this forum and I'm so glad for all the free available tools but I need help converting 3D models from the LEGO® Legacy: Heroes Unboxed android game.
I have the apk and was able to find a bdae file > open it with WinRAR > get the little_endian_quantized.bdae
With QuickBMS and GCBF script, I was able to get a BRES file.
Now I'm using Model Researcher to convert it to a obj file.
It's the first time I'm doing this and I'm happy to be this far but now I'm a bit stuck with Model Researcher.

I think the Vertices are ok as the render (in dots) look like the final result I'm looking for but I think something is wrong with the Faces.
Here is my configuration so far :
Image

What the final 3D model should look like :
Image

Can someone explain to me what I did wrong ?
I have attached the BRES file I'm working on (the extension is .dat but it's actually a BRES file)

Thanks !
KL3W
Posts: 41
Joined: Sun Jan 02, 2022 1:19 pm

Re: LEGO® Legacy: Heroes Unboxed (bdae / bres)

Post by KL3W »

Hey!

I think we are working on something pretty similar, I was recently trying to rip models from Lego Star Wars Castaways (also developed by Gameloft) (check out this topic: viewtopic.php?f=5&t=14621). I did extract some models (I added a sample as attachment with the .tmr file). I tried your file (same problem for me here), I had the same problem with files on the other game, I guess the issue is that they are multiple parts of the model.

I hope my file can help you. Tell me if you have any progress with this!
3DBricks
Posts: 3
Joined: Sun Apr 24, 2022 6:41 pm

Re: LEGO® Legacy: Heroes Unboxed (bdae / bres)

Post by 3DBricks »

Hello,

Thanks for the answer !
I saw a lot of your posts on the forum and it's what help me get to this point, thank you !
I think you are right, it might be related to a multiple parts issue, I'm not sure how to resolve this for now.

I'll let you know if I find anything interesting !
roocker666
Posts: 20
Joined: Sun Jun 23, 2019 5:13 am

Re: LEGO® Legacy: Heroes Unboxed (bdae / bres)

Post by roocker666 »

Here is my research, offset of vertices is 0x49c8. I don't know if UV's are correct but look fine to me. :)

Image
3DBricks
Posts: 3
Joined: Sun Apr 24, 2022 6:41 pm

Re: LEGO® Legacy: Heroes Unboxed (bdae / bres)

Post by 3DBricks »

Hello,
Thank you so much !!
I see that a small change in the values can break everything but I didn't know that you could find the number of vertices and faces directly in the data !
About the UV it also seems fine but I don't have any texture for this specific object.

Anyway thank you so much for the work and the explanation !
KL3W
Posts: 41
Joined: Sun Jan 02, 2022 1:19 pm

Re: LEGO® Legacy: Heroes Unboxed (bdae / bres)

Post by KL3W »

roocker666 wrote:Here is my research, offset of vertices is 0x49c8. I don't know if UV's are correct but look fine to me. :)

Image


How did you know where to do find the informations (the ones you marked with rectangles) in order to get all the correct data?

Thanks for the amazing work btw.
roocker666
Posts: 20
Joined: Sun Jun 23, 2019 5:13 am

Re: LEGO® Legacy: Heroes Unboxed (bdae / bres)

Post by roocker666 »

KL3W wrote:
How did you know where to do find the informations (the ones you marked with rectangles) in order to get all the correct data?

Thanks for the amazing work btw.


All meshes have a header or a specific section where you can find the number of faces and vertices or pointers to vertices/faces blocks, of course this varies in each model. I've learned this after analyzing a lot of 3D model files. Most people forget about this and that is a big mistake.

So this is my advise: Analyze all values around the meshes, that is the key to obtain all the correct data.

There is always a header or a block that tells you all the info. ;)
KL3W
Posts: 41
Joined: Sun Jan 02, 2022 1:19 pm

Re: LEGO® Legacy: Heroes Unboxed (bdae / bres)

Post by KL3W »

roocker666 wrote:
KL3W wrote:
How did you know where to do find the informations (the ones you marked with rectangles) in order to get all the correct data?

Thanks for the amazing work btw.


All meshes have a header or a specific section where you can find the number of faces and vertices or pointers to vertices/faces blocks, of course this varies in each model. I've learned this after analyzing a lot of 3D model files. Most people forget about this and that is a big mistake.

So this is my advise: Analyze all values around the meshes, that is the key to obtain all the correct data.

There is always a header or a block that tells you all the info. ;)


Thanks for the answer, but how do you in this file it is one line and not the other? or the next numbers?
Btw, do you think there could be a QuickBms script to have this done quickly?