Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Dark Souls 1 (xbox360) BND

Featured Replies

  • Author
  • Localization

michalss, posted Tue Nov 04, 2014 9:28 am (1464)


Hi all,

Looking for help with this files. They extract OK but some of the filenames are cripled, can you please help ? Strange thing is that in HEX it looks the same :(

Image


Using this script..
Code:
endian big
idstring "BND307D7R6"
goto 0x10
get files long
get start long
goto 0x20
savepos tbl
log MEMORY_FILE 0 0
for i = 0 goto tbl
get unk01 long
get zsize long
get offset long
get unk02 long
get nameoff long
get size long
savepos tbl
math nameoff 3
goto nameoff
get name string
if zsize == size
log name offset zsize
else
clog name offset zsize size
endif
putct name string -1 MEMORY_FILE
put 0x0a0d short MEMORY_FILE
next i
get size asize MEMORY_FILE
log "names.txt" 0 size MEMORY_FILE


Samples :
Code:
https://dl.dropboxusercontent.com/u/38234344/dvdbnd1.bdt_unpacked.rar
  • Author
  • Localization

MerlinSVK, posted Tue Nov 04, 2014 11:29 am (1466)


File names are OK. Just written in japanese :lol:

Image
  • Author
  • Localization

michalss, posted Tue Nov 04, 2014 11:47 am (1467)


to me fakt nenapadlo :D Dik
  • Author
  • Localization

aluigi, posted Tue Nov 04, 2014 1:04 pm (1472)


Do you know if quickbms has dumped the filenames correctly?
I guess that some chars are corrupted due to the cleaning of the filenames (probably I will add an option to disable it).
  • Author
  • Localization

michalss, posted Tue Nov 04, 2014 3:06 pm (1476)


aluigi wrote:
Do you know if quickbms has dumped the filenames correctly?
I guess that some chars are corrupted due to the cleaning of the filenames (probably I will add an option to disable it).



To be hones it is same if i hex it. SO i guess merlin is right, but exprot you can see on screen it is not correct or my Wind cannot display JP chars :(
  • Author
  • Localization

MerlinSVK, posted Tue Nov 04, 2014 3:28 pm (1478)


They are dumped exactly like in files are, but saved in ASCII and not in SHIFT-JIS (or UTF? don't know). But manually I can rename that files to have japanese characters in name, so I don't know if it's matter of QBMS or operating system.
  • Author
  • Localization

aluigi, posted Wed Nov 05, 2014 11:32 am (1502)


*edit*
I thought that ",ccs=UTF-8" in fopen was for the filename, instead it's for the content so it's useless.

I don't know why the filenames are saved as ASCII, probably a limitation of fopen.
  • Author
  • Localization

michalss, posted Thu Nov 06, 2014 5:38 pm (1553)


I was really impresed byt this and i had to write my own repacker : Here is result :) And it works prefectly had to use codepage 932

Image
  • Author
  • Localization

aluigi, posted Thu Nov 06, 2014 6:19 pm (1556)


Did you used WideCharToMultiByte with that codepage to convert the utf8 string to utf16 for CreateFileW?
  • Author
  • Localization

michalss, posted Thu Nov 06, 2014 6:35 pm (1558)


aluigi wrote:
Did you used WideCharToMultiByte with that codepage to convert the utf8 string to utf16 for CreateFileW?


It is written in .NEt so i use this :
Code:
Encoding.GetEncoding(pageCode).GetString(this.ReadBytes(Length, Endian.Little));
  • Author
  • Localization

michalss, posted Thu Nov 06, 2014 6:38 pm (1559)


BTW : i found the very powerfull way to handle binaries in .NET :) really super easy method at least for extraction for now
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.