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.

bms script for sdfdata file extension [south park fractured but whole]

Featured Replies

  • Replies 105
  • Views 72
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

kornix3, posted Wed Oct 18, 2017 11:03 pm (27452)


Hi aluigi! Do you have a bms script for extracting these files;

game: south park fractured but whole

all data files with sdfdata extension but there is only one different file i uploaded it too just in case.

https://www.mediafire.com/file/v6c1ppez ... 00.sdfdata

https://www.mediafire.com/file/7y64nmgn ... sdf.sdftoc (This extension sdftoc, i think it doesnt necessary


mirrors:
http://www40.zippyshare.com/v/enMNnVv2/file.html

http://www40.zippyshare.com/v/DmQKLecV/file.html
  • Author
  • Localization

aluigi, posted Thu Oct 19, 2017 12:05 am (27457)


The format is not very simple due to the directory tree of sdf.sdftoc so it will take some time.

The good news is that in the meantime you can extract all the (compressed) files without any problem by using offzip on the sdfdata archives:
offzip.exe -a sdf-A-0000.sdfdata
  • Author
  • Localization

kornix3, posted Thu Oct 19, 2017 12:13 am (27458)


so if language files are in the sdfdata file we dont need to extract sdftoc files right?

and what about reimport of sdfdata?

Thanks!!
  • Author
  • Localization

aluigi, posted Thu Oct 19, 2017 12:22 am (27461)


Well, offzip has a reimport option that works like quickbms, so delete all the files you have not touched leaving only those you edited in the folder.
Then use the same command used before with a -r after offzip.exe:
offzip.exe -r -a sdf-A-0000.sdfdata
  • Author
  • Localization

kornix3, posted Thu Oct 19, 2017 12:32 am (27462)


https://i.imgur.com/p0H5JjM.png

i tried to extract another random sdfdata and it gave me these error.

i tried -a -z 15 or -a -z -15 it's still giving error


edit2: i tried -a -z -15 -Q it didnt give any error but now i have thousands of .dat files

btw what is -Q ?
  • Author
  • Localization

kornix3, posted Thu Oct 19, 2017 12:35 am (27463)


Image
do you have any idea which one contains language files.. they all named like these.. and there is no other data type except from sdfdata and that sdftoc

here; Image


3000 sdfdata files. how we can figure out which one contains string files? any suggestion? thank you for your help!
  • Author
  • Localization

kornix3, posted Thu Oct 19, 2017 3:35 am (27465)


UPDATE

I found a tool for extracting files. When we extract the sdftoc file the all sdfdata files extracting if it's in the same directory.

Here is the extracted files; (not final, extraction taking too much time.)

Image

how can i extrac-repact these LOCPACK files?

Image


And how we can repack this files to sdfdata and sdftoc again?

Thanks!

String files; https://www.mediafire.com/file/rp29qhmx ... trings.zip

And tool i used to extract sdftoc; https://www.mediafire.com/file/cin0257m ... _sdf_2.zip
  • Author
  • Localization

aluigi, posted Thu Oct 19, 2017 12:46 pm (27469)


Well done.
I have found the source code of rouge_sdf and I made a script but I need some other sdfdata files for my tests.
The script "may" allow to reimpot the files, for sure the non-compressed ones while I have some doubts for the compressed files (chunked).
  • Author
  • Localization

kornix3, posted Thu Oct 19, 2017 3:48 pm (27470)


Oh thats really nice! I can upload any file if you want just tell me

by the way the export and reimport process is gonna be so painful and full of errors because when you want to reach subtitle files you need to extract all game files and when you edit your subtitle files and want to reimport back you need to recompress all files and in that process i am sure something gonna be cause problem and game will crash at anytime.

we need the figure it out which sdfdata file contains "localization" folder and we need to focus just export-reimport it..

but all file names named as A-0001.sdfdata so i dont know how can i know which one contains subtitle folder..

Thanks!! waiting for your help
  • Author
  • Localization

aluigi, posted Thu Oct 19, 2017 4:34 pm (27471)


Upload sdf-A-0001.sdfdata and another one of your choice.

Once the script is ready we can check if the reimport mode will work or not with this archive.
  • Author
  • Localization

kornix3, posted Thu Oct 19, 2017 4:56 pm (27472)


Image

here is a screenshot from sdfdata files..

i randomly uploaded some sdfdata files;

https://www.mediafire.com/file/91qtw73u ... 48.sdfdata

http://www.mediafire.com/file/v6c1ppezo ... 00.sdfdata

https://www.mediafire.com/file/71nr1n7i ... 90.sdfdata

https://www.mediafire.com/file/ndmv4wzm ... 01.sdfdata

waiting for your reply! thankss
  • Author
  • Localization

kornix3, posted Fri Oct 20, 2017 3:39 am (27479)


still waiting for help, thanks:)
  • Author
  • Localization

aluigi, posted Fri Oct 20, 2017 6:38 pm (27489)


ok I have made the script:
http://aluigi.org/bms/ubisoft_sdf.bms

It's not fast as rouge_sdf and will not add the DDS header to the DDS raw files, but hopefully you can try modding some files.
  • Author
  • Localization

kornix3, posted Fri Oct 20, 2017 6:47 pm (27492)


thank you i'm trying it right now!
  • Author
  • Localization

kornix3, posted Fri Oct 20, 2017 7:27 pm (27493)


i edited my last post please check it out (posting this just in case, if you saw unedited version and wont look back again)
  • Author
  • Localization

aluigi, posted Fri Oct 20, 2017 9:15 pm (27495)


I have updated the script to version 0.1.2 for that problem with compression.

I have no idea what is this LOCPACK you are talking about.

The format wants that you extract all the archives.
The new version of the script allows you to extract only the available archives so, for example, if you copy sdf.sdftoc and sdf-B-1048.sdfdata in a new folder you can use the script to extract the files from sdf-B-1048.sdfdata.
  • Author
  • Localization

wlscks7, posted Sat Oct 21, 2017 1:50 pm (27510)


I think I found which sdfdata files have localization files.

Image
Image
Image

sdf-A-0200 has brazilian to german(no subtitles.locpackbin)
sdf-A-0201 has german(only subtitles.locpackbin) to russian(no subtitles.locpackbin)
sdf-A-0202 has russian(only subtitles.locpackbin) to spanish

I'm not sure this is 100% right but I think this is what we need.
  • Author
  • Localization

blabla88, posted Sat Oct 21, 2017 4:05 pm (27513)


wlscks7 wrote:
I think I found which sdfdata files have localization files.

Image
Image
Image

sdf-A-0200 has brazilian to german(no subtitles.locpackbin)
sdf-A-0201 has german(only subtitles.locpackbin) to russian(no subtitles.locpackbin)
sdf-A-0202 has russian(only subtitles.locpackbin) to spanish

I'm not sure this is 100% right but I think this is what we need.


Thank you for pointing me out here from XenTaX (hopefully it's not banable offense, to mention other sites)

Just short introduction. Im member of a team, that worked on localization first South Park game in to Czech language. We were planning to work on this one too (not confirmed yet, because no one actually finished the bloody game yet :D) but this usage of The Division archive style really halted all our plans.

In short, we have text, we can't edit, but we can't put it back.

Btw you can open edit and save those LOCKPACK files in standard notepad.

Image

Color of text is not confirmed, because the string is unusually long for color code. And i can't obviously test it, because like anyone else, i can't import it back.

Thanks for those data files, i will look in them in offzip.

Try offzip -a -c. That worked in Division.
  • Author
  • Localization

wlscks7, posted Sat Oct 21, 2017 4:14 pm (27514)


Image

I already tried change "options" at menu to "??" (this is options in korean) and this is result.
I think this is font problem and I need change fonts in korean fonts.
But I don't know which fonts need to changed.
And now I'm trying to find which sdfdata has fonts files.
  • Author
  • Localization

blabla88, posted Sat Oct 21, 2017 4:30 pm (27515)


Font is probably in that code, before text. I guess its in same style as bbcode (Color, font and adjustment of text-bold italic etc).
  • Author
  • Localization

aluigi, posted Sat Oct 21, 2017 5:23 pm (27517)


Regarding reimporting, have you tried using quickbms with reimport.bat to reinjected the edited files back into the original sdfdata archive?

Just remember to keep only the edited files in the folder and deleting all the other non-modified files... the usual recommendations of the reimport feature (section 3 of http://aluigi.org/papers/quickbms.txt)

P.S.: as said in my last post, the current script works also if you only have sdf.sdftoc and one or two sdfdata, no need to have all of them.
  • Author
  • Localization

blabla88, posted Sat Oct 21, 2017 6:22 pm (27523)


Great script thanks. Can i reimport it back with same script too? If so, how, because i keep getting errors.

Btw the fonts are in sdf-A-0200 (Brazil-German).
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.