XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Nov 19, 2017 12:43 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Just Cause 3 .rbm models
PostPosted: Tue Aug 08, 2017 12:20 am 
Offline
beginner

Joined: Sun Dec 18, 2016 3:32 am
Posts: 29
Has thanked: 14 times
Have thanks: 2 times
Hi,i want to extract models from Just Cause 3. I hope someone can help.

Here is documentation about this format:
http://justcause.wikia.com/wiki/Render_Block_Model

Here is models samples:
https://mega.nz/#!Igc21Cia!kdWzWoJ0k0Ei ... NmBeqtxP2I

I only found tools for Just Cause 2 but not for JC3.

Models in archive is a car with parts from screenshot below:
Image


Top
 Profile  
 
 Post subject: Re: Just Cause 3 .rbm models
PostPosted: Tue Aug 08, 2017 4:01 am 
Offline
VIP member
VIP member

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 912
Has thanked: 1919 times
Have thanks: 481 times
ladbil_body_lod1.rbm :D


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Top
 Profile  
 
 Post subject: Re: Just Cause 3 .rbm models
PostPosted: Tue Aug 08, 2017 5:40 pm 
Offline
beginner

Joined: Sun Dec 18, 2016 3:32 am
Posts: 29
Has thanked: 14 times
Have thanks: 2 times
AceWell wrote:
ladbil_body_lod1.rbm :D


Thank you,but how to find uv maps? Im extract wheel model,but uvs broken.


Top
 Profile  
 
 Post subject: Re: Just Cause 3 .rbm models
PostPosted: Wed Aug 09, 2017 12:18 am 
Offline
VIP member
VIP member

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 912
Has thanked: 1919 times
Have thanks: 481 times
ladbil_wheel_f_l_lod1.rbm :D


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Top
 Profile  
 
 Post subject: Re: Just Cause 3 .rbm models
PostPosted: Sat Aug 12, 2017 2:29 pm 
Offline
VIP member
VIP member

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 912
Has thanked: 1919 times
Have thanks: 481 times
here is a Noesis python script to open your *.rbm model samples :D

supports mesh and UVs


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Top
 Profile  
 
 Post subject: Re: Just Cause 3 .rbm models
PostPosted: Wed Aug 16, 2017 8:50 am 
Offline
beginner

Joined: Sun Dec 18, 2016 3:32 am
Posts: 29
Has thanked: 14 times
Have thanks: 2 times
AceWell wrote:
here is a Noesis python script to open your *.rbm model samples :D

supports mesh and UVs


Thank you very much! But here is a problem with other vehicle models,seems like they have more than 1 mesh in single file so script doesnt work with them all.

There is more samples. Script doesnt work with that:

https://mega.nz/#!w1VkjThY!JCc69z-WctxI ... 1tVV1k3Xts


Top
 Profile  
 
 Post subject: Re: Just Cause 3 .rbm models
PostPosted: Fri Sep 22, 2017 9:01 pm 
Offline
beginner

Joined: Sun Dec 18, 2016 3:32 am
Posts: 29
Has thanked: 14 times
Have thanks: 2 times
Can anyone help me please?

I cant open model in hex2obj what am i doing wrong?


That one for file "propaganda_smallvan_body_lod1.rbm"
Image

Here is examples of models and errors from AceWell script.

https://mega.nz/#!w1VkjThY!JCc69z-WctxI ... 1tVV1k3Xts


Top
 Profile  
 
 Post subject: Re: Just Cause 3 .rbm models
PostPosted: Fri Sep 22, 2017 10:17 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2154
Location: Nexus, searching for Jim Kirk
Has thanked: 425 times
Have thanks: 1099 times
dropoff wrote:
I cant open model in hex2obj what am i doing wrong?
there's a different FVFsize and you're lost? :o

Plus you need vertex block mode (VB) here, not seq(uential).

Have a look at the obj file:
# 0x991: verts= 2585
v -0.870186 1.970598 0.784575
v 32639.496094 893225992192.000000 3065015957662111300000000000.000000
v -0.873055 1.955190 0.784573
v 32639.496094 897520959488.000000 3065015662514206200000000000.000000
v -0.880382 1.970598 0.784575

Plain to see that an FVFsize of 12 bytes is wrong here, as simple as that. 24 obviously seems to fit better
(where the UVB size is 32 bytes, you'll need some experience to see that, or use trial 'n error):


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
"you can't always get things served on a silver tray"
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."


Top
 Profile  
 
 Post subject: Re: Just Cause 3 .rbm models
PostPosted: Sat Sep 23, 2017 10:45 am 
Offline
beginner

Joined: Sun Dec 18, 2016 3:32 am
Posts: 29
Has thanked: 14 times
Have thanks: 2 times
Thanks a lot.
I need more experience in that :D
And last question,how to find that FBED value in FVF size graph?


Top
 Profile  
 
 Post subject: Re: Just Cause 3 .rbm models
PostPosted: Sat Sep 23, 2017 11:33 am 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2154
Location: Nexus, searching for Jim Kirk
Has thanked: 425 times
Have thanks: 1099 times
dropoff wrote:
And last question,how to find that FBED value in FVF size graph?
0xFBED is the start of the uv blocks.

calculating end of vertex data block:
0x991 + 2585x24 (dec.) = 0xFBE9
skipping 4 bytes
0xFBE9 + 4 = 0xFBED

4 bytes (little endian) at 0xFBE9 are DWORD uvs_count
19 0A 00 00 -> 0x00000A19 = 2585 (dec.), uvs count (=vertex count)

_________________
"you can't always get things served on a silver tray"
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."


Top
 Profile  
 
 Post subject: Re: Just Cause 3 .rbm models
PostPosted: Tue Oct 24, 2017 6:53 pm 
Offline
beginner

Joined: Sun Dec 18, 2016 3:32 am
Posts: 29
Has thanked: 14 times
Have thanks: 2 times
Hello again,sorry for maybe too many questions but i dont understand how to find start address of uv when model is sequential.
Model is ok but uv's not:
Image

Here is file: https://mega.nz/#!8gVnzKQD!nDrd_8vrtRQc ... 6YUqueaqi4

Same problem with 2 other meshes from that file.


Top
 Profile  
 
 Post subject: Re: Just Cause 3 .rbm models
PostPosted: Thu Oct 26, 2017 9:26 am 
Offline
VIP member
VIP member

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 912
Has thanked: 1919 times
Have thanks: 481 times
dropoff wrote:
i dont understand how to find start address of uv when model is sequential.

start by searching for an 8 byte pattern, i just use "VB" mode for everything now, i wish it was default :D


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: aowzone, Crageo, Google [Bot], kaibamik1, martyisnothere and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group