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

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

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

Post by aluigi »

NEVER select "yes" or "force" in reimport mode.
Never, ever.
wlscks7
Posts: 18
Joined: Wed Oct 18, 2017 10:54 am

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

Post by wlscks7 »

aluigi wrote:NEVER select "yes" or "force" in reimport mode.
Never, ever.


so i can't reimport that file never?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

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

Post by aluigi »

Exactly: all the files that have a compressed or uncompressed size bigger than the original.

Imagine to put 2 litres of water in a bottle that can contain only 1 litre, that's the same for reimporting.
kornix3
Posts: 42
Joined: Wed Oct 18, 2017 3:47 am

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

Post by kornix3 »

there is a problem with merlinskv's converter.

try to convert unedited raw lockpackbin and compare the raw lockpackbin on hex editor and go to the end of the files.

converted version looks messed up. its causing problems in the late games... i experienced it..
binlv1
Posts: 54
Joined: Sat Apr 15, 2017 9:00 am

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

Post by binlv1 »

Can you help me unpack and import the .sdfdata file?
wlscks7
Posts: 18
Joined: Wed Oct 18, 2017 10:54 am

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

Post by wlscks7 »

binlv1 wrote:Can you help me unpack and import the .sdfdata file?


There are 2 ways to unpack sdfdata files

1. rouge_sdf: read this http://forum.xentax.com/viewtopic.php?f=10&t=13882&p=133741
2. quickbms: http://aluigi.altervista.org/quickbms.htm
and this is bms file: http://aluigi.altervista.org/bms/ubisoft_sdf.bms

reimport is also with quickbms
wlscks7
Posts: 18
Joined: Wed Oct 18, 2017 10:54 am

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

Post by wlscks7 »

something updated today
they changed
sdf.sdftoc
sdf.sdfver
sdf-A-0005.sdfdata
sdf-A-0525.sdfdata
sdf-B-1269.sdfdata

they didn't change sdf-A-0200 but if you edited 3DM's files and used it, it will not work
just change sdf.sdftoc to old sdf.sdftoc and 3DM's files will work
Atlas
Posts: 1
Joined: Tue Nov 21, 2017 1:52 am

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

Post by Atlas »

What about Mario + Rabbids Kingdom Battle sdfdata files? None of the tools work to export the files from there.

Here is some samples, including also the sdftoc, sdfver and sdf-slice.mapping files:
https://www.mediafire.com/?ny71fjbpagxfir2
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

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

Post by aluigi »

I suspect that the compressed TOC (information about the archived files) in sdftoc is encrypted, indeed it's not zlib or deflate
Spalin
Posts: 4
Joined: Sat Nov 25, 2017 2:25 pm

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

Post by Spalin »

Excuse me, how can I get and change the length of a particular file? Where is the information about the length of the files? I tried to understand this from the work of the script, but apparently it's too difficult for me
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

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

Post by aluigi »

@Spalin
I guess you are talking about reimporting the edited files in the original archive.
If you are using the reimport mode and you get an error message about the file size (compressed or uncompressed) then you CANNOT use the script for reimporting.
Spalin
Posts: 4
Joined: Sat Nov 25, 2017 2:25 pm

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

Post by Spalin »

Sorry, English isn't my native language, so I can understand something wrong. I just want to know how to get "decompressedSize" (and change it) without using this script. I already read everything in search of the answer, and I know that I can't use reimporting with files larger than the original. Thanks for help
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

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

Post by aluigi »

It's not that easy and doesn't work in that way so don't even try. Sorry.
Spalin
Posts: 4
Joined: Sat Nov 25, 2017 2:25 pm

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

Post by Spalin »

Okay :c
But if 3DM did it, I think we can too. I will try to find other solutions. Thank you so much for the script, it helped me a lot!
wlscks7
Posts: 18
Joined: Wed Oct 18, 2017 10:54 am

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

Post by wlscks7 »

Does anyone know how to repack bigger than original file?
I can't make translate file smaller :(
kornix3
Posts: 42
Joined: Wed Oct 18, 2017 3:47 am

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

Post by kornix3 »

edit: lol sorry my fault thanks aluigi
Last edited by kornix3 on Thu Dec 14, 2017 5:36 am, edited 5 times in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

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

Post by aluigi »

Can you provide also the sdftoc file?
kornix3
Posts: 42
Joined: Wed Oct 18, 2017 3:47 am

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

Post by kornix3 »

edit: lol sorry my fault thanks aluigi
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

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

Post by aluigi »

Good :) Indeed the offsets of the other files in your screenshot didn't match any valid data so I bet you did a little mess with the files there :D
quampol
Posts: 2
Joined: Sun Dec 17, 2017 4:56 pm

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

Post by quampol »

Hi! I am a translation student who is looking for the English (male/female/neutral) scripts for South Park: Fractured But Whole (writing a translation to this game is a part of my dissertation).
Does anyone have the download links to the language packs and/or could tell me how to extract these files from a PS4 copy of the game? Or is it impossible and I'd need the PC copy of it?
If anyone knows how to do it/or can share the files with me, it'll be highly appreciated :P Thank you!! ;)

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.