Page 1 of 2

Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Sun Nov 07, 2010 9:55 pm
by lostprophet
So, an improved version of Divinity 2 just came out, and the old unpacker and packer won't work with it.
Sadly, I don't know who made them, so I hope he/she'll read this.

New .dv2 file: http://www32.zippyshare.com/v/48541898/file.html

Old .dv2 unpacker: http://www32.zippyshare.com/v/81263589/file.html
Old .dv2 packer: http://www32.zippyshare.com/v/91106099/file.html
Old xml to txt/ txt to xml converter: http://www32.zippyshare.com/v/32655551/file.html

Re: Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Mon Nov 08, 2010 2:08 pm
by bacter
A quick help for unpacking: Take a look at my comment in the Divinity 2: Flames of Vengeance ( NEW .dv2 files !) topic:
viewtopic.php?f=10&t=4839&hilit=divinity

Re: Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Wed Nov 10, 2010 8:36 pm
by lostprophet
Sadly the link does not work, so I can't download the BMS script.

And I also need progs for the xml to txt and vice versa converter and the repacking.

Thanks anyway, bacter:)

Re: Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Thu Nov 11, 2010 2:40 am
by aluigi
for the bms script try with my secondary host (the primary has some problems lately):
http://aluigi.altervista.org/papers/bms/divinity2.bms

Re: Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Sat Nov 13, 2010 8:59 pm
by Savage
Thanks for the bms aluigi but the bms don't works with Divinity 2 Dragon Knight Saga
Error: incomplete input file number 0, can't read 15826958 bytes.
anyway don't worry, it's possible that the BMS script has been written
to exit in this way if it's reached the end of the archive so check it
or contact its author or verify that all the files have been extracted
I attach a file from this version:
http://www.xup.in/dl,14867188/GFX.dv2/

Re: Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Sun Nov 14, 2010 6:20 am
by bacter
Did you modify the script, as I wrote earlier?
Put this two line to the beginning of the "divinity2.bms" script and it will (hopefully) work:

Code: Select all

GET DUMMY long
GET DUMMY long

Re: Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Sun Nov 14, 2010 8:35 am
by Savage
You right bacter, now the bms works great with the data..
Thanks 8D

Re: Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Sun Nov 14, 2010 12:03 pm
by Savage
I get "strangers" when unpacking the files: Textures.dv2 and Textures2.dv2
02af8000 0 Win32\Textures\CA_bbnn_walls_high_A_DrkM.nif
488b0000 0 Win32\Textures\skillbutton_MagicBlast_pressed.nif
478c8000 0 Win32\Textures\TRA_CA2CTA_snsn_A_floor_DrkM.nif
46858000 0 Win32\Textures\SW_BBBn_ledge_B_arcs_DrkM.nif
465c8000 0 Win32\Textures\SW_BBBB_low_A_floor_DrkM.nif
26838000 0 Win32\Textures\M_Legs_NewOrder_T2B_NM.nif
1e3c8000 0 Win32\Textures\MNA_snsn_up_A_walls_DrkM.nif
1e0a8000 0 Win32\Textures\MNA_snnn_rocks_C_DrkM.nif
ThE extracted files are zero bytes size.

Re: Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Sun Nov 14, 2010 4:22 pm
by bacter
Try this modified script:

Code: Select all

# QuickBMS script for Divinity 2 .DV2 files

# These two fields are not exist in the original Divinity2 .DV2 files:
GET DUMMY long  # (5)
GET DUMMY long # (1)

get VER long    # (4)
get ALIGN byte
get ZIP byte
if VER > 0x0000ffff
    endian big
endif
get BASE_OFF long
get NAME_SIZE long
savepos OFFSET
log MEMORY_FILE OFFSET NAME_SIZE
math OFFSET += NAME_SIZE
goto OFFSET
get FILES long
for i = 0 < FILES
    get OFFSET long
    get SIZE long
    get origSIZE long
    math OFFSET += BASE_OFF
    get NAME string MEMORY_FILE
    if origSIZE == 0
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET SIZE origSIZE
    endif
next i

Re: Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Fri Nov 19, 2010 3:10 pm
by lostprophet
bacter wrote:Try this modified script:

Code: Select all

# QuickBMS script for Divinity 2 .DV2 files

# These two fields are not exist in the original Divinity2 .DV2 files:
GET DUMMY long  # (5)
GET DUMMY long # (1)

get VER long    # (4)
get ALIGN byte
get ZIP byte
if VER > 0x0000ffff
    endian big
endif
get BASE_OFF long
get NAME_SIZE long
savepos OFFSET
log MEMORY_FILE OFFSET NAME_SIZE
math OFFSET += NAME_SIZE
goto OFFSET
get FILES long
for i = 0 < FILES
    get OFFSET long
    get SIZE long
    get origSIZE long
    math OFFSET += BASE_OFF
    get NAME string MEMORY_FILE
    if origSIZE == 0
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET SIZE origSIZE
    endif
next i
Works perfectly, thanks:) Luckily they did not change the contained .xml files structure, so the xml-txt converter works as well.
We only need a program, to repack the .dv2 files. Anyone, any ideas?

Re: Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Fri Nov 19, 2010 11:44 pm
by Savage
Try this tool from Divinity II - Ego Draconis

Re: Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Sat Nov 20, 2010 1:59 pm
by lostprophet
Savage wrote:Try this tool from Divinity II - Ego Draconis
It's the same I linked in my first post.

Re: Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Sat Nov 20, 2010 2:42 pm
by bacter
Here's the first, test version of my DV2 packer.
Updated! Now you can use this prog for .DV2 extraction too.

Re: Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Sat Nov 20, 2010 7:38 pm
by lostprophet
bacter wrote:Here's the first, test version of my DV2 packer.
Thanks, I'll test it ASAP (tomorrow).

Re: Divinity 2: Dragon Knight Saga [.dv2 files]

Posted: Tue Jan 04, 2011 10:14 am
by eddy0851
Hi,

i'm french and i got a problem in divine divinity II, the text are SO small!!!

I saw that you were really endowed, would have you a solution I, please.

Sorry for my english.

THX!!