[Nintendo Switch] Bioshock, Borderlands and X-Com 2 compressed configs

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

[Nintendo Switch] Bioshock, Borderlands and X-Com 2 compressed configs

Post by masagrator »

Few days ago 2K dumped on eshop their Borderlands, Bioshock and X-com games. We are trying to get to config files, but it looks like each series is using different compressor.

Bioshock 1 and 2 config files are uncompressed, so we can exclude them.
Bioshock Infinite is using UE3 Engine.xxx which according to one tool may be lzo, but none of tools I know can unpack it. I have tried to modify mk11 .xxx decompressor script for quickbms to work with lzo, but it didn't work.

X-com is using different compression method than Bioshock. Can't figure out what is this.
Borderlands compression method also is not known (probably the same as in x-com)

Bioshock and x-com 2 have additional files containing decimal uncompressed size.

I would be thankful if someone could look at them.
khunawv
Posts: 20
Joined: Fri Feb 11, 2022 2:51 pm

Re: [Nintendo Switch] Bioshock, Borderlands and X-Com 2 compressed configs

Post by khunawv »

masagrator wrote:Few days ago 2K dumped on eshop their Borderlands, Bioshock and X-com games. We are trying to get to config files, but it looks like each series is using different compressor.

Bioshock 1 and 2 config files are uncompressed, so we can exclude them.
Bioshock Infinite is using UE3 Engine.xxx which according to one tool may be lzo, but none of tools I know can unpack it. I have tried to modify mk11 .xxx decompressor script for quickbms to work with lzo, but it didn't work.

X-com is using different compression method than Bioshock. Can't figure out what is this.
Borderlands compression method also is not known (probably the same as in x-com)

Bioshock and x-com 2 have additional files containing decimal uncompressed size.

I would be thankful if someone could look at them.
Sorry for reviving your post but I would like to ask that Can you can extract the xxx files of bioshock infinite (switch version) or not?
If yes, how can you do that?
Very thankyou
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: [Nintendo Switch] Bioshock, Borderlands and X-Com 2 compressed configs

Post by spiritovod »

Bioshock Infinite is using lz4 compression here, while XCOM 2 and Borderlands are using oodle compression. XCOM 2 and Bioshock files can be decompressed with aluigi's script: https://aluigi.altervista.org/bms/ue_tfc_oodle.bms, just change comtype to lz4 for Bioshock.
khunawv
Posts: 20
Joined: Fri Feb 11, 2022 2:51 pm

Re: [Nintendo Switch] Bioshock, Borderlands and X-Com 2 compressed configs

Post by khunawv »

spiritovod wrote:Bioshock Infinite is using lz4 compression here, while XCOM 2 and Borderlands are using oodle compression. XCOM 2 and Bioshock files can be decompressed with aluigi's script: https://aluigi.altervista.org/bms/ue_tfc_oodle.bms, just change comtype to lz4 for Bioshock.
Thank you for your kindly answer , that can decmpree with engine.xxx for bioshock infinite (switch version) but it cannot decompree with this attach file GFxFonts_INT_SF.xxx it show errors, So if you have time Please look this attached file, and How can i unpack GFxFonts_INT_SF.xxx file, Thank you very much
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: [Nintendo Switch] Bioshock, Borderlands and X-Com 2 compressed configs

Post by spiritovod »

@khunawv: You can use attached unreal package decompressor, modified with lz4 support for this case, like this: "decompress -game=bio3 filename". Decompressed package will have customized format anyway, though you can extract deflated data from the end of the file with offzip or attached script.
khunawv
Posts: 20
Joined: Fri Feb 11, 2022 2:51 pm

Re: [Nintendo Switch] Bioshock, Borderlands and X-Com 2 compressed configs

Post by khunawv »

spiritovod wrote:@khunawv: You can use attached unreal package decompressor, modified with lz4 support for this case, like this: "decompress -game=bio3 filename". Decompressed package will have customized format anyway, though you can extract deflated data from the end of the file with offzip or attached script.
Wow thank you very much, I will test again, however if I have any question, maybe need your help again
Thank you very much
khunawv
Posts: 20
Joined: Fri Feb 11, 2022 2:51 pm

Re: [Nintendo Switch] Bioshock, Borderlands and X-Com 2 compressed configs

Post by khunawv »

spiritovod wrote:@khunawv: You can use attached unreal package decompressor, modified with lz4 support for this case, like this: "decompress -game=bio3 filename". Decompressed package will have customized format anyway, though you can extract deflated data from the end of the file with offzip or attached script.
I did from your suggestion, from my finding, i think there is swfmovie/gfx font in GFXFonts_INF_SF.xxx and from your help i can extract that font, However i cannot reimport back when i edit the swfmovie font So How can i reimport/repack or how cani edit/add font to that file? you can help when you have free time
Thank you very much
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: [Nintendo Switch] Bioshock, Borderlands and X-Com 2 compressed configs

Post by spiritovod »

@khunawv: That's out of my scope, usually I provide solutions only for extraction purposes. I can only suggest to look for existing fan-made localizations or tools for this game (if any) and learn from them.
khunawv
Posts: 20
Joined: Fri Feb 11, 2022 2:51 pm

Re: [Nintendo Switch] Bioshock, Borderlands and X-Com 2 compressed configs

Post by khunawv »

spiritovod wrote:@khunawv: That's out of my scope, usually I provide solutions only for extraction purposes. I can only suggest to look for existing fan-made localizations or tools for this game (if any) and learn from them.
Ah I see, and very thank you for your kindly help , I will do your suggestion :)
zerlkung
Posts: 7
Joined: Sat Mar 20, 2021 7:02 am

Re: [Nintendo Switch] Bioshock, Borderlands and X-Com 2 compressed configs

Post by zerlkung »

:o