Jump to content
Official BF Editor Forums

Our Entry Point To Dbx Files


Mach10
 Share

Recommended Posts

  • Replies 60
  • Created
  • Last Reply

Top Posters In This Topic

Just a thought, maybe combine all the great work you guys are doing into one project? let me know if you need hosting space or an ftp if you do decide to go down that route

I think we'd better wait until the release, who knows what file types there'll be in the end.

Anyway, I updated my dbxreader, I can't think of anything missing. You can click on it directly now. It took me just a few minutes to create .txts for all dbx files in the Bad Company folder.

http://www.speedyshare.com/files/21062703/...eader_final.rar

Link to comment
Share on other sites

  • 3 weeks later...

Here's a .dbx dictionary, might be helpful. That covers all things that were in the beta files (except for a2, but as you might guess that takes just 4 vars instead of 6 for a3).

00
instance/guid/partition a3:
var1
var2
var3
var4
var5
var6
00


00
complex a0
00


complex a1
name
var
00


array a
name
var
00


array 21
name
var
00


array 71
name
var
number of floats, nof = 00, 01, b012, 80ed01, e0c901, f08802 and more
length of float, lof = 4 


complex 71
name
var
nof = 2/4/10 (in hex)
lof = 4


field 71
name
var
nof = 2,4,8
lof = 2,4,8


field 21
name
var
var


field 61 BOOL
name
var
01
00/01 (false/true)


field 22 PATH
ref
var
name
var
00


item 21
ref
var
00


item 20
var

Link to comment
Share on other sites

I've copied the controls files in my docs and gone xml now.

E.g. the air.dbx in my docs says:

<instance guid="C779461B-6614-465F-B64B-32597EFF9D2E" type="GameSharedResources.KeyboardInputActionData">
<field name="IsAnalog">true</field>
<field name="NegateValue">false</field>
<field name="Key">IDK_W</field>

Whereas the BFBC2AirInputConcepts.xml in \Dist\win32\async\Input says exactly the same (yay!).

http://www.filefront.com/16584259/dbxmlreader.rar

The only thing I'm still unsure about are vectors, I check if the total number of components fits into 4 and then assign "true" to the fourth component of each vector if the value is "cdcdcdcd" and "false" if the value is "00000000". That might be translation vs rotation or absolute vs relative, who knows. :)

Edited by Frankelstner
Link to comment
Share on other sites

Does this make any sense? I mean, if we already know we can't mod it, why continue finding things out?

Oh I think it does. DICE didn't rule out future mod support for BC2, also BF3 will almost certainly use the Frostbite engine too. Getting used to the files will give us a headstart when BF3 is released. Apart from that, once we manage to pack up the files again we can mod the Singleplayer. Everybody loves messing about with values. :)

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

Announcements




×
×
  • Create New...