Yukes.bms for WWE 2K17.

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
haydenmarsh
Posts: 9
Joined: Mon May 04, 2015 7:59 am

Yukes.bms for WWE 2K17.

Post by haydenmarsh »

2K have changed how the .pac files in WWE 2K17 work compared to older versions of the game series. this results in no files being extracted using the yukes.bms script.

Here's the CMD window text.

QuickBMS generic files extractor and reimporter 0.7.6a
by Luigi Auriemma
e-mail: me@aluigi.org
web: aluigi.org
(Aug 22 2016 - 18:08:37)

quickbms.aluigi.org Homepage
zenhax.com ZenHAX Forum
@zenhax Twitter & Scripts

- GUI mode activated, remember that the tool works also from command-line
where are available various options like folder scanning, filters and so on

- select the BMS script to use
- select the input archives/files to extract, type * or "" for whole folder and subfolders
- select the output folder where extracting the files
- open input file C:\Users\Hayden\Desktop\2k17\mov\bg_locator\000012.pac
- open script C:\Users\Hayden\Desktop\2k17\yukes.bms
- set output folder C:\Users\Hayden\Desktop\2k17\mov\bg_locator

offset filesize filename
--------------------------------------

- 0 files found in 0 seconds
coverage file 0 0% 8 3833856

Press ENTER or close the window to quit


Here's a few .pac files from the game for you to use https://mega.nz/#!rBUUxC5T!-OL79QrrAQTMXZhbyJwWieUqhW45GFDWzjQngQQBpF4. the resulting files should normally be a .bik file.

Thanks!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Yukes.bms for WWE 2K17.

Post by aluigi »

Do you have also a big pac archive that may contain more files?
haydenmarsh
Posts: 9
Joined: Mon May 04, 2015 7:59 am

Re: Yukes.bms for WWE 2K17.

Post by haydenmarsh »

Yes i do, will upload it soon for you :)
haydenmarsh
Posts: 9
Joined: Mon May 04, 2015 7:59 am

Re: Yukes.bms for WWE 2K17.

Post by haydenmarsh »

aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Yukes.bms for WWE 2K17.

Post by aluigi »

Script 0.2.3.
You have to re-use it on the extracted PAC and SHD files.

Probably I can "automatize" this operation but the usage of compression may make it difficult (compressed file that includes compressed files), so it's more easy at the moment to do it manually.

Only few archives had the filenames, basically just those having the BIK video.
haydenmarsh
Posts: 9
Joined: Mon May 04, 2015 7:59 am

Re: Yukes.bms for WWE 2K17.

Post by haydenmarsh »

aluigi wrote:Script 0.2.3.
You have to re-use it on the extracted PAC and SHD files.

Probably I can "automatize" this operation but the usage of compression may make it difficult (compressed file that includes compressed files), so it's more easy at the moment to do it manually.

Only few archives had the filenames, basically just those having the BIK video.

Thank you very much. :)
datkofguy
Posts: 15
Joined: Tue Dec 20, 2016 11:15 pm

Re: Yukes.bms for WWE 2K17.

Post by datkofguy »

Hi, is there any chance this script will be updated? I'd like to extract the textures of the models for modding the older games. I've had no luck using other tools, and this script worked on all older games.

Also, Thanks for all your scripts aluigi, they have been a great help
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Yukes.bms for WWE 2K17.

Post by aluigi »

Upload a sample file
Panzerdroid
Posts: 66
Joined: Sun Aug 30, 2015 12:51 pm

Re: Yukes.bms for WWE 2K17.

Post by Panzerdroid »

Looks like the script can't properly extract some BPE (newer?) files. I've linked the sample.
It was extracted from PAC file, then it can be exctracted one more time to BPE, but that's the last step - futher decompression with the yukes.bms doesn't work
Did they change something in BPE format?

http://www113.zippyshare.com/v/N8pJW90c/file.html
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Yukes.bms for WWE 2K17.

Post by aluigi »

Script 0.2.3a, apparently if the ALIGN field is set to 1 then SIZE must not be multiplied by 0x100.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Yukes.bms for WWE 2K17.

Post by makc_ar »

aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Yukes.bms for WWE 2K17.

Post by aluigi »

@makc_ar
The script 0.2.3a seems to work correctly with both decompression and extraction of the samples you provided, did you upload these samples because you experienced any problem?
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Yukes.bms for WWE 2K17.

Post by makc_ar »

@aluigi
Reimport not working

False:

Code: Select all

offset   filesize   filename
--------------------------------------
BPE  chunk
< 00000010 18911      00000001.bpe.unpacked

- 1 files reimported in 0 seconds
  coverage file 0     0%   16         18927      . offset 00000010
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Yukes.bms for WWE 2K17.

Post by aluigi »

I don't know, I made a simple extraction1->extraction2, reimport1->reimport2 and again extraction1->extraction2 and the files are identical.
I even edited the shd file obtained from the first extraction and reimported/re-extracted it obtaining the correct result.
I don't see problems and in any case reimporting is something that works or doesn't work, your screenshot confirms that it worked.