XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Thu Sep 20, 2018 3:26 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Tue Mar 20, 2018 7:19 pm 
Offline
ultra-n00b

Joined: Sun Mar 18, 2018 5:39 pm
Posts: 5
Has thanked: 3 times
Have thanks: 0 time
Hi , i am trying to open Gangster Vegas .bdae files but getting this error.
Can anyone help? I searched for OLYA script but i am unable to find.



Code:

offset           filesize   filename
--------------------------------------

- signature of 7 bytes at offset 0x0000000000000000 doesn't match the one
  expected by the script:

  this one: "OLY"
  4f 4c 59 41 18 08 00                              OLYA...

  expected: "Voxarch"
  56 6f 78 61 72 63 68                              Voxarch

- 0 files found in 0 seconds
  coverage file 0     0%   7          22398018   . offset 0000000000000007

Press ENTER or close the window to quit



Sample Files :-

https://mega.nz/#F!9ep10RDa!DJ-MxX41nLxlj_B7Pvcofg


Last edited by ForgedInception on Wed Mar 21, 2018 9:48 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Wed Mar 21, 2018 2:54 am 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 307
Has thanked: 16 times
Have thanks: 162 times
Honestly I am really tired of asking you guys to upload sample files over and over again.

_________________
"No investigation means no right to speak."
An Imitable Workflow for Reverse Engineering a Game Model

Don't forget to thank people by clicking the Image when you get helped.


Top
 Profile  
 
 Post subject: Re: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Wed Mar 21, 2018 9:49 am 
Offline
ultra-n00b

Joined: Sun Mar 18, 2018 5:39 pm
Posts: 5
Has thanked: 3 times
Have thanks: 0 time
Bigchillghost wrote:
Honestly I am really tired of asking you guys to upload sample files over and over again.


Sorri , Link to sample files.

https://mega.nz/#F!9ep10RDa!DJ-MxX41nLxlj_B7Pvcofg


Top
 Profile  
 
 Post subject: Re: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Wed Mar 21, 2018 1:04 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 307
Has thanked: 16 times
Have thanks: 162 times
ForgedInception wrote:

Archives are zstd compressed. Here is a BMS script for proper decompression. You'll need to update your QuickBMS to the lastest version. Still there're some files that cannot be decompressed correctly due to QuickBMS's incomplete support for zstd.


Attachments:


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


_________________
"No investigation means no right to speak."
An Imitable Workflow for Reverse Engineering a Game Model

Don't forget to thank people by clicking the Image when you get helped.


Top
 Profile  
 
 Post subject: Re: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Wed Mar 21, 2018 2:06 pm 
Offline
ultra-n00b

Joined: Sun Mar 18, 2018 5:39 pm
Posts: 5
Has thanked: 3 times
Have thanks: 0 time
Bigchillghost wrote:
ForgedInception wrote:

Archives are zstd compressed. Here is a BMS script for proper decompression. You'll need to update your QuickBMS to the lastest version. Still there're some files that cannot be decompressed correctly due to QuickBMS's incomplete support for zstd.



How to convert .bdae to .fbx , .obj or .dae ??
Any Support for animations export ?


Top
 Profile  
 
 Post subject: Re: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Fri Jun 08, 2018 12:58 pm 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Mon Sep 26, 2011 12:51 pm
Posts: 364
Has thanked: 13 times
Have thanks: 121 times
I've been looking into this aswell, not for this game but for another gameloft game called Dungeon Hunter Champions. Also .bdae file format
To convert it to 3D Models.

Not a lot atm. only the names of the objects in the file.

So it has a 32 byte header, than the next one is the offset where the names start, which is a Int64
Than there is a long list of Int64, I thought they were all offsets, but some are bigger than the filesize.... so not quite sure what that is.

Names:
They start with a int, which is the length of the name, but the names length are always a multiplier of 4, weird, but hey thats how they do it

I just downloaded the Dungeon Hunter game for Windows 10, its free, so you can get the file easy.

Thats how far I got atm
T.

_________________
My Game Dev Blog
My Starcraft II Mod files and scripts


Top
 Profile  
 
 Post subject: Re: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Fri Jun 08, 2018 4:13 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2376
Location: Nexus, searching for Jim Kirk
Has thanked: 557 times
Have thanks: 1240 times
ForgedInception wrote:
How to convert .bdae to .fbx , .obj or .dae ??

obj is easy:

Quote:
Any Support for animations export ?

As always you'll need the skeleton first.


Attachments:


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


_________________
Bigchillghost, Reverse Engineering a Game Model: http://forum.xentax.com/viewtopic.php?f=29&t=17889
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip


Top
 Profile  
 
 Post subject: Re: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Sat Jun 09, 2018 10:08 am 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Mon Sep 26, 2011 12:51 pm
Posts: 364
Has thanked: 13 times
Have thanks: 121 times
Hey, is there any logic to finding the offsets for the vertices and faces, or just gut feeling by try and error with the hex editor?

T.

_________________
My Game Dev Blog
My Starcraft II Mod files and scripts


Top
 Profile  
 
 Post subject: Re: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Sat Jun 09, 2018 10:36 am 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 307
Has thanked: 16 times
Have thanks: 162 times
TaylorMouse wrote:
Hey, is there any logic to finding the offsets for the vertices and faces, or just gut feeling by try and error with the hex editor?

You'll have to reverse the file structure at least to obtain the offsets and counts if you're planning to write a convertor. But if you want only one to two meshes in the file, why bother to waste any time on that?

_________________
"No investigation means no right to speak."
An Imitable Workflow for Reverse Engineering a Game Model

Don't forget to thank people by clicking the Image when you get helped.


Top
 Profile  
 
 Post subject: Re: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Sat Jun 09, 2018 10:55 am 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2376
Location: Nexus, searching for Jim Kirk
Has thanked: 557 times
Have thanks: 1240 times
Bigchillghost wrote:
TaylorMouse wrote:
Hey, is there any logic to finding the offsets for the vertices and faces, or just gut feeling by try and error with the hex editor?

You'll have to reverse the file structure at least to obtain the offsets and counts if you're planning to write a convertor
I think, T. is aware of that. :) But sometimes it's as simple as having some offsets at the beginning of the file, for example.

But I'm sorry, T., all I can see at a quick glance is the filesize at offset 0x000C.

(Maybe there's some pattern nearby the counts? 00 01000000 being a candidate; maybe check this for other bdaes.)


well, here's the assumed patterns to search for:
a) 14 000000 00000000 00000000 00000000 00000000
DWORD FI count before the found address (first finding)

b) 00 01000000 xx xx 0000 05
where xx is the pattern for a wildcard search. (If your hexeditor doesn't support this you'll need to split up the search pattern,
search for 00 01000000, and then look at an offset of 7 to the found address for 00 00 05)

xx xx will contain the low word of the vertex DWORD count.

(For char_cutscene_benny.bdae you'll have to repeat search b) until xx xx are != 0.)

Tested with 3 bdaes only! b) needs another xx for vertex counts >65535 dec.


Attachments:


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


_________________
Bigchillghost, Reverse Engineering a Game Model: http://forum.xentax.com/viewtopic.php?f=29&t=17889
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip


Last edited by shakotay2 on Sat Jun 09, 2018 11:40 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Sat Jun 09, 2018 11:39 am 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 307
Has thanked: 16 times
Have thanks: 162 times
shakotay2 wrote:
Maybe there's some pattern nearby the counts?


The only thing left is to find the offset of the vert count now.


Attachments:


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


_________________
"No investigation means no right to speak."
An Imitable Workflow for Reverse Engineering a Game Model

Don't forget to thank people by clicking the Image when you get helped.


Top
 Profile  
 
 Post subject: Re: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Sat Jun 09, 2018 11:42 am 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2376
Location: Nexus, searching for Jim Kirk
Has thanked: 557 times
Have thanks: 1240 times
yeah, see, you were 1 minute quicker :D

_________________
Bigchillghost, Reverse Engineering a Game Model: http://forum.xentax.com/viewtopic.php?f=29&t=17889
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip


Top
 Profile  
 
 Post subject: Re: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Sat Jun 09, 2018 12:47 pm 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Mon Sep 26, 2011 12:51 pm
Posts: 364
Has thanked: 13 times
Have thanks: 121 times
mm... the format is not quite the same for the looks of it...
maybe I should start another topic for Dungeon Hunter Champions bdae files.

_________________
My Game Dev Blog
My Starcraft II Mod files and scripts


Top
 Profile  
 
 Post subject: Re: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Sat Jun 09, 2018 12:52 pm 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Mon Sep 26, 2011 12:51 pm
Posts: 364
Has thanked: 13 times
Have thanks: 121 times
this is the file opened in my hex viewer, at pos 32 there the offsets start



and the first int64 points to the list of object names


Attachments:


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


_________________
My Game Dev Blog
My Starcraft II Mod files and scripts


Top
 Profile  
 
 Post subject: Re: Gangster Vegas 4 - Gameloft - .bdae files
PostPosted: Sat Jun 09, 2018 4:55 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2376
Location: Nexus, searching for Jim Kirk
Has thanked: 557 times
Have thanks: 1240 times
did you check here:
http://wiki.tockdom.com/wiki/BRRES_(File_Format)

or here:
viewtopic.php?f=21&t=13899&p=115515&hilit=bres#p115515
(posts from lolbas and AceWell)

_________________
Bigchillghost, Reverse Engineering a Game Model: http://forum.xentax.com/viewtopic.php?f=29&t=17889
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip


Last edited by shakotay2 on Mon Jun 18, 2018 4:17 pm, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 8 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