Hitman 2016 (PS4) Need help extracting audio, video files inside out of rpkg files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
bresense
Posts: 20
Joined: Sun Sep 16, 2018 12:26 am

Hitman 2016 (PS4) Need help extracting audio, video files inside out of rpkg files

Post by bresense »

Need help extracting this rpkg file as i can't find a way to extract rpkg PS4 container files as i need access to Hitman's game files inside the rpkg files. pkg files are no problem most of the time to gain access to but this file format rpkg never heard of before. a quickbms Script (if possible) may help. Thanks. An extract from the game below.

chunk0patch2.rpkg
https://www68.zippyshare.com/v/cFY61j5j/file.html
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman 2016 (PS4) Need help extracting audio, video files inside out of rpkg files

Post by aluigi »

My script for hitman 2016 works perfectly on the file you provided, haven't you tested it?
http://aluigi.org/bms/hitman_2016.bms
bresense
Posts: 20
Joined: Sun Sep 16, 2018 12:26 am

Re: Hitman 2016 (PS4) Need help extracting audio, video files inside out of rpkg files

Post by bresense »

aluigi wrote:My script for hitman 2016 works perfectly on the file you provided, haven't you tested it?
http://aluigi.org/bms/hitman_2016.bms


Yes it works, didn't try it as I thought the file structure might of been different on the PlayStation 4 version of the game. The files extract the same as the PC version of the game in container formats. Could you help get the files out of these files?

000000000000106f.bin
https://www42.zippyshare.com/v/cME9OtxB/file.html
0000000000001d86.bin
https://www42.zippyshare.com/v/eZRb5E3N/file.html
0000000000006a19.dat
https://www42.zippyshare.com/v/A9gLxrkP/file.html

There's also wav files which i think contain RIFF audio data files inside which would be helpful to extract as well.

0000000000002cf4.wav
https://www84.zippyshare.com/v/dzeEzTwo/file.html
0000000000000a0b.dat
https://www84.zippyshare.com/v/ldrywLbp/file.html
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman 2016 (PS4) Need help extracting audio, video files inside out of rpkg files

Post by aluigi »

The BIN files can be anything so open them with a hex editor first.

The WAV files have a codec set to 0xffff that may be related to a custom video or audio codec or simply a known one with the tag replaced by 0xffff (happens often on wav files of consoles), maybe you can open a topic in the Audio section about them.