Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Dragonage 2 Demo

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Dragonage 2 Demo

Post by chrrox »

Here is an extractor for the files in dragon age 2 its not perfect yet i need to add more extensions but it gets the job done.

Code: Select all

getdstring version 0x10
get off long
get files long
get unk09 long
set mainoff 0x30
math mainoff + off
goto mainoff
comtype inflate
for i = 0 < files
set name i
get null01 long
get unk01 long
get unk02 long
get ext long
if ext == 1131896374
set ext PHY
endif
if ext == 663550188
set ext MMI
endif
if ext == 746452407
set ext MESH
endif
if ext == 1048449626
set ext XML
endif
if ext == 1067198654
set ext ANBT
endif
if ext == 1114824674
set ext RML
endif
if ext == 1115560169
set ext MMH
endif
if ext == 395652716
set ext DDS
endif
if ext == 579662031
set ext GAD
endif
if ext == 932389276
set ext EVT
endif
if ext == 1067198645
set ext ANI
endif

string name + .
string name + ext
get offset long
get zsize long
get size long
if zsize == size
log name offset size
else
math offset + 1
math zsize - 1
clog name offset zsize size
endif
next i
The Chief
veteran
Posts: 101
Joined: Fri Oct 09, 2009 3:44 am
Has thanked: 90 times
Been thanked: 10 times

Re: Dragonage 2 Demo

Post by The Chief »

Awesome Chrrox , but just curius the demo its from 360 or PS3 version?
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Dragonage 2 Demo

Post by chrrox »

PC
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Dragonage 2 Demo

Post by chrrox »

updated script to add model name support makes it much easier looking at the model names.

Code: Select all

getdstring version 0x10
get off long
get files long
get unk09 long
set mainoff 0x30
math mainoff + off
goto mainoff
comtype inflate
for i = 0 < files
set name i
get null01 long
get unk01 long
get unk02 long
get ext long
if ext == 1131896374
set ext PHY
endif
if ext == 663550188
set ext MMI
endif
if ext == 1048449626
set ext XML
endif
if ext == 1067198654
set ext ANBT
endif
if ext == 1114824674
set ext RML
endif
if ext == 1115560169
set ext MMH
endif
if ext == 395652716
set ext DDS
endif
if ext == 579662031
set ext GAD
endif
if ext == 932389276
set ext EVT
endif
if ext == 1067198645
set ext ANI
endif

string name + .
string name + ext
get offset long
get zsize long
get size long
if ext == 746452407
math offset + 1
math zsize - 1
clog MEMORY_FILE offset zsize size
goto 0x1A0 MEMORY_FILE
get nameoff long MEMORY_FILE
math nameoff + 0x1A0
goto nameoff MEMORY_FILE
get nsize long MEMORY_FILE
math nsize * 2
getdstring UNAME nsize MEMORY_FILE
set NAME unicode UNAME
endif
if zsize == size
log name offset size
else
if ext == 746452407
else
math offset + 1
math zsize - 1
endif
clog name offset zsize size
endif

next i
You do not have the required permissions to view the files attached to this post.
The Chief
veteran
Posts: 101
Joined: Fri Oct 09, 2009 3:44 am
Has thanked: 90 times
Been thanked: 10 times

Re: Dragonage 2 Demo

Post by The Chief »

Nice update Chrrox , but just curius ¿In wich files are the models?
i found some CRF and other files? and this script it for bms or max?

Thanks in advance. :wink:
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Dragonage 2 Demo

Post by chrrox »

the one big archive its like 700mb
Post Reply