ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Jun 21, 2018 9:32 pm

All times are UTC




Post new topic  Reply to topic  [ 16 posts ] 
Author Message
PostPosted: Thu May 24, 2018 1:17 pm 
User avatar

Joined: Fri Oct 24, 2014 2:55 pm
Posts: 111
Who will help with unpacking and packing archive Dark Souls Remastered (PC version)
Archives in format .dcx


Attachments:
MENU.rar [4.14 MiB]
Downloaded 22 times
MSG.rar [1.25 MiB]
Downloaded 20 times

_________________
Ekzordium - Ukrainian Localize Team.
Top
   
PostPosted: Fri May 25, 2018 10:18 pm 

Joined: Mon Jul 31, 2017 2:28 am
Posts: 19
Can someone help? I want to unpack/pack files as well.


Top
   
PostPosted: Fri May 25, 2018 11:16 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 502
my first script here will decompress the dcx files, the third script will extract the images from the tpf files :)
viewtopic.php?p=30038#p30038

and this script will extract files from the bnd files :)
Code:
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

idstring "BND3"
get UNK long
get UNK long
get UNK long
get FILES long
get TABLE_SZ long //??
get ZERO longlong
for i = 0 < FILES
   get FORTY long
   get SIZE long
   get OFFSET long
   get NUM long //?? duplicate files and names otherwise
   get NAME_OFF long
   get ZSIZE long //?
   savepos TMP
   goto NAME_OFF
   get NAME string
   string NAME | N:\
   string EXT = NAME
   string NAME > 4
   string EXT | .
   string NAME p "%s%04d.%s" NAME NUM EXT
   log NAME OFFSET SIZE
   goto TMP
next i


i combined all 3 scripts into one so is easier to keep track of them :)
Attachment:
File comment: Script for Quickbms -supports Dark Souls remastered dcx, bnd, tpf
DarkSouls_Remastered.zip [732 Bytes]
Downloaded 40 times




i seem to recall there being tools that might work with all these formats too, ahh yes the Binder tool here
https://github.com/Atvaark/BinderTool

_________________
Quickbms.com link thread
Search bms scripts


Last edited by Acewell on Sun May 27, 2018 3:02 am, edited 1 time in total.

Top
   
PostPosted: Sat May 26, 2018 9:41 am 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 219
InKviZ wrote:
Archives in format .dcx
I need more samples, BND3 files from your samples don't have compressed data, so I can't determine which field is the size and which is de compressed size.
Anyway, test tool (extraction only) works with your samples, but without more samples I can go on.
Attachment:
See new version below.

_________________
Tribo Gamer Brasil


Last edited by Delutto on Sun May 27, 2018 7:33 pm, edited 1 time in total.

Top
   
PostPosted: Sat May 26, 2018 12:18 pm 

Joined: Mon Jul 31, 2017 2:28 am
Posts: 19
Delutto wrote:
InKviZ wrote:
Archives in format .dcx
I need more samples, BND3 files from your samples don't have compressed data, so I can't determine which field is the size and which is de compressed size.
Anyway, test tool (extraction only) works with your samples, but without more samples I can go on.Dark_Souls_Remastered_DCX_Tool(Extraction_test).7z

I hope that these files will help you.
https://ufile.io/e5hi8
https://ufile.io/f41y5


Top
   
PostPosted: Sat May 26, 2018 5:32 pm 
User avatar

Joined: Fri Oct 24, 2014 2:55 pm
Posts: 111
Dark Souls Remastered DCX Tool - Works fine. Unpacks all text, textures, and fonts. Thanks!!! Delutto for the program:)
I look forward to adding imports.

_________________
Ekzordium - Ukrainian Localize Team.


Top
   
PostPosted: Sat May 26, 2018 5:38 pm 
User avatar

Joined: Fri Oct 24, 2014 2:55 pm
Posts: 111
FILE:


Attachments:
font.rar [4.64 MiB]
Downloaded 29 times

_________________
Ekzordium - Ukrainian Localize Team.
Top
   
PostPosted: Sun May 27, 2018 3:04 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 502
i know my previous post was invisible for whatever reason, but i
decided to combine all three scripts into one for convenience :lol:
the script is attached it to my previous post :)

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Sun May 27, 2018 8:01 am 
User avatar

Joined: Fri Oct 24, 2014 2:55 pm
Posts: 111
Acewell wrote:
i know my previous post was invisible for whatever reason, but i
decided to combine all three scripts into one for convenience :lol:
the script is attached it to my previous post :)


Thank you for your help!
Your script works great! Thank you again ;)

_________________
Ekzordium - Ukrainian Localize Team.


Top
   
PostPosted: Sun May 27, 2018 6:24 pm 
User avatar

Joined: Fri Oct 24, 2014 2:55 pm
Posts: 111
How to Delutto success with import????

_________________
Ekzordium - Ukrainian Localize Team.


Top
   
PostPosted: Sun May 27, 2018 7:32 pm 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 219
Acewell wrote:
i combined all 3 scripts into one so is easier to keep track of them :)
DarkSouls_Remastered.zip
Very nice! Only a few considerations:
In BND3 format, the field before FILES can be 0x70 instead 0x74, in this case file structure doesn't have the last field "ZSIZE", by the way I check all game files and found none BND3 file with compressed data.
In TPF files, the field after Magic is the DataBlock size, sum of the all data.

Updated version: full extraction and convertion of the all data know.
Attachment:
Dark_Souls_Remastered_DCX_Tool.7z [712.91 KiB]
Downloaded 46 times

InKviZ wrote:
How to Delutto success with import????
Not implemented yet. I got bored, maybe I'll just make a FMG tool for texts, so you can use the Acewell script to reimport.

_________________
Tribo Gamer Brasil


Top
   
PostPosted: Wed May 30, 2018 7:01 pm 

Joined: Wed May 30, 2018 6:49 pm
Posts: 1
There are only names and description in "msg",so where are the item ids of Dark Souls Remastered.


Top
   
PostPosted: Mon Jun 04, 2018 2:01 pm 

Joined: Mon Jun 04, 2018 12:50 pm
Posts: 1
Acewell wrote:
i know my previous post was invisible for whatever reason, but i
decided to combine all three scripts into one for convenience :lol:
the script is attached it to my previous post :)



Hi, thanks for the script, but it don´t seem to work with most of the DCX and TPF files from the game,could you take a look at them? i uploaded some samples, hopefully these files aren´t very different from the others with the same extension.

Samples: http://www.mediafire.com/file/2u6wv6psi6vapkz/DSR_file_smaples.rar/file


Top
   
PostPosted: Fri Jun 08, 2018 7:55 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 502
your dcx samples are very different from the ones posted before, they are missing the header
but they do look compressed and each likely contains data for only a single texture judging by
the file size and file name.
my script never had support for the chrtpfbdt and chrtpfbhd pairs included in your samples,
i could probably make a script for that too though. :)

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Sat Jun 09, 2018 10:25 pm 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 219
Martins wrote:
Hi, thanks for the script, but it don´t seem to work with most of the DCX and TPF files from the game,could you take a look at them? i uploaded some samples, hopefully these files aren´t very different from the others with the same extension.

Samples: http://www.mediafire.com/file/2u6wv6psi6vapkz/DSR_file_smaples.rar/file
There's no such files on game. Your samples are not from Remastered, probably are from Prepare to Die Edition, which is not the subject of this thread.

_________________
Tribo Gamer Brasil


Top
   
PostPosted: Sun Jun 10, 2018 9:56 pm 
User avatar

Joined: Sun Jun 10, 2018 9:03 pm
Posts: 1
Acewell wrote:
your dcx samples are very different from the ones posted before, they are missing the header
but they do look compressed and each likely contains data for only a single texture judging by
the file size and file name.
my script never had support for the chrtpfbdt and chrtpfbhd pairs included in your samples,
i could probably make a script for that too though. :)


Thanks, a script for those chrtpfbdt files would be much apreciated, also,if you don´t mind, i would like to ask you about the textures from this game,
I extracted some textures that are in DDS format, i can open and edit it using photoshop with Intel DDS plugin, but i can´t find a way to save it back and reuse ingame.
these textures seems to be in DXT5 or DXT1 format in BC3 compression with 32Bpp,and have a DX10 header.
I tried to save it with NVIDIA Photoshop plugin , and Intel plugin too but there´s no option for such specifications.
Intel plugin has an option for save as DX10 textures but only with 8bpp,but by saving like that don´t work in the game, it causes graphical glitches or even crash the game.
So i would like to ask,do you know of any plugin or tool that alows to save DDS textures with DX10 header, in BC3 compression with 32bpp? I also tested gimp DDS plugin, Noesis and Nvidia texture tool, but so far i had no luck.

I uploaded 2 textures samples, a normal map and a cubemap, if you interested in take a look.

http://www.mediafire.com/file/6qa965hb3 ... s.rar/file





Delutto wrote:
There's no such files on game. Your samples are not from Remastered, probably are from Prepare to Die Edition, which is not the subject of this thread.


And why i would bring samples from an older version of the game,LOL? Just because you couldn´t find them ,doesn´t mean those files aren´t there, mate.
Besides one can easily extract any file from Prepare to die using Binder tool and Gibbed´s toolset. Or, even better,could use DSModt to directly mod that game.
Anyways , "chrtpfbdt" files are inside the "chr" folder in main directory of the game ,their pairs "chrtpfbhd" files are inside "chrbnd.dcx" files, you need to extract them to reach it, headerless DCX files containing compressed texture data, are scattered there too. ;)


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

All times are UTC


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:
Powered by phpBB® Forum Software © phpBB Limited