Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Rainbow Six: Siege AudioKinetic PCK container

Get help on any and all audio formats, or chip in and help others!
borntosowdeath
ultra-n00b
Posts: 7
Joined: Fri May 04, 2018 1:15 am
Has thanked: 2 times

Re: Rainbow Six: Siege AudioKinetic PCK container

Post by borntosowdeath »

FatalBulletHit wrote:
agm114d wrote:Thx for the work. However I have to point out that you missed the bnk file, which contains all the weapons sounds.
Very true indeed, am busy with another project as of now, but if there is demand I may as well just finish this beforehand over the weekend. Will post another reply when the update version is finished and uploaded. :)
It would be very nice of you :>
PS. You can safely rename/remove map sounds and it doesn't break the game... I wonder if you'd be able to re-pack those sounds to remove just annoying things s.a. sprinklers in vault/lockers on Bank map. Then it would be nice to remove sound imparements s.a. stun grenade, flash grenade, explosion etc. Last (but not least) it would be nice to do something with video part (no flash/dizzy, remove objects, change textures) - but that's not for this section :>
User avatar
FatalBulletHit
beginner
Posts: 32
Joined: Sun Nov 06, 2016 7:29 pm
Has thanked: 12 times
Been thanked: 6 times
Contact:

Re: Rainbow Six: Siege AudioKinetic PCK container

Post by FatalBulletHit »

borntosowdeath wrote:I wonder if you'd be able to re-pack those sounds to remove just annoying things s.a. sprinklers in vault/lockers on Bank map. Then it would be nice to remove sound imparements s.a. stun grenade, flash grenade, explosion etc. Last (but not least) it would be nice to do something with video part (no flash/dizzy, remove objects, change textures) - but that's not for this section :>
I'd hope and assume that Ubisoft/BattlEye verifies the FileHashes of the user's installation directory on each and every game launch.
While I'd love to see more control over the audio playback, it is most likely impossible to repack altered files and play the game.
User avatar
FatalBulletHit
beginner
Posts: 32
Joined: Sun Nov 06, 2016 7:29 pm
Has thanked: 12 times
Been thanked: 6 times
Contact:

[OUTDATED] Tom Clancy's Rainbow Six Siege - Audio Extractor

Post by FatalBulletHit »

Tom Clancy's Rainbow Six Siege - Audio Extractor (0.9.3)

!!! This project is on hold indefinitely !!!
For further info see my latest post.

This does not work with the latest version of Tom Clancy's Rainbow Six Siege as there are no .pck files anymore.

Code: Select all

[size=125][b]READ ME[/b][/size]
[code]####################################################################################################
# <><><><><><><><><> [READ ME] Tom Clancy's Rainbow Six Siege - Audio Extractor <><><><><><><><><> #
#                                                                                                  #
#                                                                                                  #
# The Tom Clancy's Rainbow Six Siege - Audio Extractor will download multiple resources in order   #
# to extract, convert and sort most of the audio files from the Ubisoft game Tom Clancy's Rainbow  #
# Six Siege.                                                                                       #
#                                                                                                  #
# Be aware that the entire process may take several hours. For information on how to increase      #
# performance, check the documentation (see below).                                                #
#                                                                                                  #
#                                                                                                  #
# Note that from now on sorting is no longer directly possible as the proper names have been       #
# removed from the end of the '.bnk' files when the audio source files were changed and is now     #
# done based on file names and OasisIDs from old source files.                                     #
#                                                                                                  #
# Additionally all the '.lwav' files have been altered in a way that they are now extracted as     #
# '.wav_unknown' files and cannot be converted at the moment.                                      #
#                                                                                                  #
#                                                                                                  #
# Disclaimer:                                                                                      #
#                                                                                                  #
# I did not write any of the programs or scripts that are needed for extraction and conversion.    #
# All credits belong to their authors, you may check out the links to the forum entries and        #
# websites below.                                                                                  #
#                                                                                                  #
#     QuickBMS                                                                                     #
#         http://aluigi.altervista.org/quickbms.htm                                                #
#                                                                                                  #
#     pck_AKPK_extractor.bms                                                                       #
#         http://forum.xentax.com/viewtopic.php?p=80192#p80192                                     #
#                                                                                                  #
#     func_getTYPE.bms                                                                             #
#         http://forum.xentax.com/viewtopic.php?f=13&p=69577#p69577                                #
#                                                                                                  #
#     bnk_extractor.bms                                                                            #
#         http://forum.xentax.com/viewtopic.php?f=13&t=4450&p=89662#p89662                         #
#                                                                                                  #
#     ww2ogg (includes packed_codebooks_aoTuV_603.bin)                                             #
#         https://www.hcs64.com/vgm_ripping.html                                                   #
#         https://github.com/hcs64/ww2ogg                                                          #
#                                                                                                  #
#     revorb                                                                                       #
#         https://hydrogenaud.io/index.php/topic,64328.msg574110.html#msg574110                    #
#                                                                                                  #
#     wwise_ima_adpcm (sound_conveter_v1.15.zip)                                                   #
#         https://bitbucket.org/zabb65/payday-2-modding-information/downloads                      #
#                                                                                                  #
#     wwise_pcm_decoder.bms                                                                        #
#         http://forum.xentax.com/viewtopic.php?p=110795#p110795                                   #
#                                                                                                  #
#                                                                                                  #
# Documentation:                                                                                   #
#                                                                                                  #
#     XeNTaX post                                                                                  #
#         http://forum.xentax.com/viewtopic.php?p=140570#p140570                                   #
#                                                                                                  #
#     Name overview                                                                                #
#         https://goo.gl/PxQuCTv                                                                   #
#                                                                                                  #
#                                                                                                  #
# Feel free to contact me if you have any suggestions or feedback, as well as bugs or similar.     #
# You can do that by replying in the XeNTaX thread (see above) or emailing me (see below).         #
#                                                                                                  #
#                                                                                                  #
# <><><><><><><><><><><><><><><> Contact:  [email protected] <><><><><><><><><><><><><><><> #
####################################################################################################[/ code]
[color=#0040FF][b]Feel free to post suggestions, feedback and bug reports down below, it is greatly appreciated![/b][/color] :roll:


[size=125][b]INSTALLATION AND USAGE[/b][/size]

All you need is Tom Clancy's Rainbow Six Siege[color=#FF0000][b]¹[/b][/color], Windows PowerShell 5[color=#FF0000][b]²[/b][/color] (included in Windows 10) and the launcher for the Tom Clancy's Rainbow Six Siege - Audio Extractor.

[b][list=1][*] Download either the Launcher.zip attachment (see below) or use the [url=https://drive.google.com/uc?export=download&id=1K8qAaSNEo-VGB5KKY5hlTTHdDyMx4yls][color=#4885ed]G[/color][color=#db3236]o[/color][color=#f4c20d]o[/color][color=#4885ed]g[/color][color=#3cba54]l[/color][color=#db3236]e[/color] Drive direct download link[/b][/url].

There is also a [url=https://pastebin.com/iC6YuYPj][b]Pastebin[/b][/url] mirror and a [url=https://drive.google.com/drive/folders/1RCNF1xBNTBi31BLiVVj3Omy6DVdt7Hl4?usp=sharing][b][color=#4885ed]G[/color][color=#db3236]o[/color][color=#f4c20d]o[/color][color=#4885ed]g[/color][color=#3cba54]l[/color][color=#db3236]e[/color] Drive folder[/b][/url] with all the resources (all will be kept up-to-date).


[attachment=0]Launcher.zip[/attachment]



[b][*] Open the archive and start 'Launcher.bat'.[/b]

The launcher functions as a wrapper[color=#FF0000][b]³[/b][/color] and will download and start the main PowerShell script ('tc_r6s_audio_extractor.ps1'), which will guide you through the rest.
If you need/want to adjust some preferences, exit after installation and edit the main PowerShell script with notepad or a source code editor of your choice.
[/list]


[color=#FF0000][b]¹[/b][/color] Only the audio containers ('.pck' files) are needed.
[color=#FF0000][b]²[/b][/color] Also tested with PowerShell 7 (Windows PowerShell 4 and potentially PowerShell 6 should work, too). If you don't have Windows 10 or any of the listed PowerShell versions, I recommend you download the latest version of PowerShell from [url=https://github.com/PowerShell/powershell/releases][b]GitHub[/b][/url]).
[color=#FF0000][b]³[/b][/color] The batch wrapper is used in order to improve accessibility (primarily for those who are unfamiliar with PowerShell) and bypass the normally restricted script execution policy.


[b][size=125]DOCUMENTATION[/size][/b]

[list=1][*][u][b]PERFORMANCE[/b][/u]

[b][color=#FF0000]Note that this is under no circumstances required and should be treated with care![/color][/b]

Performance can be increased quite significantly by disabling Real-time protection, as explained in [url=https://youtu.be/6ZGqKUQkWA4][b]this short video[/b][/url]. This may vary a lot from system to system, for reference: the overall duration on my system is reduced by a third from 1h30 to 1h.


[b][/b]
[*][u][b]ERRORS AND WARNINGS[/b][/u]

[b][color=#FF0000]ERROR: Script crashed on startup![/color][/b]
[list][b]The script crashed on startup and no preferences were adjusted.[/b]
This is probably down to me. Please share the displayed error log by either replying in this thread or sending me an email.[/list]

[list][b]The script crashed on startup and at least one preference was adjusted.[/b]
Check if the syntax is correct (see [b]PREFERENCES[/b] below).[/list]

[b][color=#FF0000]ERROR: Script already running![/color][/b]
[list][b]An instance of the script is already running.[/b]
Wait for the current instance to finish or close it.[/list]

[b][color=#FF0000]ERROR: Missing the following resources: [...] Download manually or try again.[/color][/b]
[list][b]The script could not not establish an internet connection.[/b]
Check your internet connection and try again.[/list]

[list][b]The script cannot download all of the resources.[/b]
Download the resources manually from the [url=https://drive.google.com/drive/folders/1RCNF1xBNTBi31BLiVVj3Omy6DVdt7Hl4?usp=sharing][b][color=#4885ed]G[/color][color=#db3236]o[/color][color=#f4c20d]o[/color][color=#4885ed]g[/color][color=#3cba54]l[/color][color=#db3236]e[/color] Drive folder[/b][/url] (you can right click the folder 'resources', select download and extract the archive at the location of the main script).[/list]

[b][color=#FF0000]ERROR: Cannot find Tom Clancy's Rainbow Six Siege installation directory, define manually in script![/color][/b]
[list][b]The script cannot retrieve the installation directory from the registry (most likely non-UPlay version).[/b]
Uncomment line 76 by deleting the hash symbol (#) at the beginning of the line and adjust the path if needed (see [b][url=https://support.ubisoft.com/en-US/Faqs/000038997/Finding-the-installation-location-of-your-games]Finding the installation of your games - Ubisoft Support[/url][/b] for more information).

[b]Example 1 (line 76):[/b] [code]$dirSource = "C:\Program Files (x86)\Steam\steamapps\common\Tom Clancy's Rainbow Six Siege"[/ code][/list]

[list][b]The adjusted path does not exist.[/b]
Check if the adjusted path is correct and enclosed by double quotation marks (see [b]Example 1[/b] above).[/list]

[list][b]You only have the audio containers ('.pck' files).[/b]
Uncomment line 76 by deleting the hash symbol (#) at the beginning of the line and adjust the path.

[b]Example 2 (line 76):[/b] [code]$dirSource = "D:\Audio\Tom Clancy's Rainbow Six Siege\pck"[/ code][/list]

[b][color=#FF0000]ERROR: Cannot find any source files, define manually in script![/color][/b]
[list][b]The script cannot find any '.pck' files at the installation directory.[/b]
Verify the game files and try again.[/list]

[list][b]The script cannot find any '.pck' files at the adjusted path.[/b]
Check if the adjusted path is correct and enclosed by double quotation marks (see [b]Example 1[/b] above).[/list]

[b][color=#FFBF00]WARNING: Cannot establish internet connection![/color][/b]
[list][b]The script could not establish an internet connection.[/b]
Check your internet connection and try again.[/list]

[b][color=#FFBF00]WARNING: An error occurred during script execution![/color][/b]
[list][b]There was an error during script execution.[/b]
This is probably down to me. Please share the error log (should be in the error_logs folder) by either replying in this thread or sending me an email.[/list]


[b][/b]
[*][u][b]PREFERENCES[/b][/u]

[b]Output directory[/b]
[list][b]By default, an output directory is created at the location of the main script.[/b]
This can be changed by adjusting the path at line 79.

[b]Example 3 (line 79):[/b] [code]$dirOutput = "D:\Rainbow Six Siege\Audio"[/ code][/list]

[b]Remove '.wav_unknown' files[/b]
[list][b]By default, '.wav_unknown' files (previously extracted as '.lwav' files) are removed before conversion together with the remaining redundant files ('.00040000', '.01020000' and '.wav' (before conversion)) as they currently cannot be converted.[/b]
This can be changed by adjusting the option at line 82. Note that this option will have no affect if removing redundant files is disabled.

[b]Example 4 (line 82):[/b] [code]$wav_unknownRedundant = 0[/ code][/list]

[b]Remove redundant files[/b]
[list][b]By default, redundant files ('.00040000', '.01020000', '.wav' (before conversion) and '.wav_unknown') are removed before conversion.[/b]
This can be changed by adjusting the option at line 85. Note that these files seem to be useless.

[b]Example 4 (line 85):[/b] [code]$removeRedundant = 0[/ code][/list]

[b]Remove duplicate files[/b]
[list][b]By default, duplicate files are removed before conversion.[/b]
This can be changed by adjusting the option at line 88.

[b]Example 4 (line 88):[/b] [code]$removeDuplicates = 0[/ code][/list]

[b]Remove source files[/b]
[list][b]By default, '.bnk' files are removed before conversion and the remaining source files removed after conversion.[/b]
This can be changed by adjusting the option at line 91.

[b]Example 4 (line 91):[/b] [code]$removeSource = 0[/ code][/list]

[b]Remove empty directories[/b]
[list][b]By default, empty directories are removed after all source files were removed.[/b]
This can be changed by adjusting the option at line 94.

[b]Example 4 (line 94):[/b] [code]$removeEmptyDir = 0[/ code][/list]

[b]Use greedy oasis alias table[/b]
[list][b]By default, the greedy oasis alias table is used (see below).[/b]
This can be changed by adjusting the option at line 97. Note that this will most likely make no to barely any difference.

[b]Example 4 (line 97):[/b] [code]$greedyOasisTable = 0[/ code][/list]

[b]Create log file[/b]
[list][b]By default, a log file is created and moved into the 'logs' folder at the location of the main script.[/b]
This can be changed by adjusting the option at line 100.

[b]Example 4 (line 100):[/b] [code]$createLog = 0[/ code][/list]


[b][/b]
[*][u][b]SOURCE FILES[/b][/u]

[b][url=https://drive.google.com/file/d/1spA2h_5Gzr4YizXwsaCSrNM1h6hkK3bF/view?usp=sharing]File Overview[/url][/b]
[img]https://i.imgur.com/Y0I4bmr.png[/img]


[list][b]'.pck' containers[/b]
The '.pck' containers hold '.bnk' containers and '.at3', '.wav_unknown' and '.Wwise' files.
[/list][list][b]'.bnk' containers[/b]
The '.bnk' containers hold  '.01020000', '.00040000', '.at3', '.wav', '.wav_unknown' and '.Wwise' files.
The '.01020000' and '.00040000' files seem to be useless, the same goes for the '.wav' files as they are all duplicates and only have a size of 44 bytes.
The '.wav_unknown' and '.Wwise' files are mainly stub files.
[/list][list][b]'.at3' files (Wwise PCM)[/b]
The '.at3' files are mainly weapon and gadget related.
[/list][list][b]'.wav_unknown' / '.lwav' files (Wwise (IMA) ADPCM)[/b]
The '.wav_unknown' files are differently encoded '.lwav' files and are currently extracted incorrectly by the 'pck_AKPK_extractor.bms' script. They are mainly ambient related.
[/list][list][b]'.Wwise' files (Wwise RIFF/RIFX Vorbis)[/b]
The '.Wwise' files are voice, cutscene, effect, music and ambiance related.
Mostly, they hold an unique identifier, which will be referred to as OasisID, as it consists of the string 'OasisID' and an integer. 

[b]RegEx Pattern:[/b][code]OasisID[0-9]+[/ code][/list]
[b]
Note that all files with a space in their name were extracted from a '.bnk' container![/b]


[b]Changelog since 28/06/18[/b]
Note that the version numbers may not always be correct and from 18/12/18 on, changes are only logged from time to time.

[code]
3.2.1 (29/06/18):
Added 'sounds_eng_012009248.pck'

3.2.2 (23/07/18):
Added 'sounds_eng_012063704.pck'
Added 'sounds_sfx_012063704.pck'
Added 'sounds_sfx_bootstrap_012063704.pck'

3.3.0 (04/09/18):
Added 'sounds_eng_000000009.pck'
Added 'sounds_eng_012213254.pck'
Added 'sounds_sfx_000000009.pck'
Added 'sounds_sfx_012213254.pck'
Added 'sounds_sfx_bootstrap_000000009.pck'
Added 'sounds_sfx_maps_000000009.pck'
Added 'sounds_sfx_playgo_000000009.pck'

3.3.1 (18/09/18):
Added 'sounds_eng_012254817.pck'
Added 'sounds_sfx_012254817.pck'

3.3.1.1 (?) (19/09/18):
Added 'sounds_eng_012261114.pck'

3.3.1.2 (18/10/18):
Added 'sounds_eng_012362767.pck'

3.3.2 (29/10/18):
Added 'sounds_eng_012395233.pck'

3.3.2.1 (?) (29/11/18):
Added 'sounds_eng_012482487.pck'

3.4.0 (04/12/18):
Added 'sounds_eng_000000010.pck'
Added 'sounds_eng_playgo_000000010.pck'
Added 'sounds_sfx_000000010.pck'
Added 'sounds_sfx_bootstrap_000000010.pck'
Added 'sounds_sfx_maps_000000010.pck'
Added 'sounds_sfx_playgo_000000010.pck'

3.4.1 (17/12/18):
Added 'sounds_eng_012540733.pck'
Added 'sounds_sfx_playgo_012540733.pck'

Audio source files have been reworked!
4.2.0 (11/06/19):
Updated 'sounds_eng.pck'
Added 'sounds_eng_013085959.pck'
Added 'sounds_eng_events.pck'
Added 'sounds_eng_events_013147883.pck'
Updated 'sounds_eng_playgo.pck'
Added 'sounds_eng_playgo_013085959.pck'
Updated 'sounds_sfx.pck'
Added 'sounds_sfx_013085959.pck'
Added 'sounds_sfx_013147883.pck'
Updated 'sounds_sfx_bootstrap.pck'
Added 'sounds_sfx_bootstrap_013085959.pck'
Added 'sounds_sfx_bootstrap_013147883.pck'
Added 'sounds_sfx_events.pck'
Added 'sounds_sfx_events_013147883.pck'
Updated 'sounds_sfx_maps.pck'
Added 'sounds_sfx_maps_013085959.pck'
Added 'sounds_sfx_maps_013147883.pck'
Updated 'sounds_sfx_playgo.pck'
Added 'sounds_sfx_playgo_013085959.pck'
Added 'sounds_sfx_playgo_013147883.pck'

4.3.1 (19/09/19):
Added 'sounds_eng_013396867.pck'
Updated 'sounds_eng_events.pck'
Added 'sounds_eng_events_013522963.pck'
Added 'sounds_eng_playgo_013396867.pck'
Added 'sounds_sfx_013396867.pck'
Added 'sounds_sfx_013479271.pck'
Added 'sounds_sfx_013522963.pck'
Added 'sounds_sfx_bootstrap_013396867.pck'
Added 'sounds_sfx_bootstrap_013479271.pck'
Added 'sounds_sfx_bootstrap_013522963.pck'
Updated 'sounds_sfx_events.pck'
Added 'sounds_sfx_events_013522963.pck'
Added 'sounds_sfx_maps_013396867.pck'
Added 'sounds_sfx_maps_013479271.pck'
Added 'sounds_sfx_maps_013522963.pck'
Added 'sounds_sfx_playgo_013396867.pck'

4.3.1 Halloween (23/10/19):
Added 'sounds_sfx_013625283.pck'
Added 'sounds_sfx_bootstrap_013579711.pck'
Added 'sounds_sfx_bootstrap_013625283.pck'

4.4.0 (??/12/19):
Added 'sounds_eng_013777760.pck'
Updated 'sounds_eng_events.pck'
Added 'sounds_eng_events_013820966.pck'
Added 'sounds_sfx_013777760.pck'
Added 'sounds_sfx_013820966.pck'
Added 'sounds_sfx_bootstrap_013777760.pck'
Added 'sounds_sfx_bootstrap_013820966.pck'
Updated 'sounds_sfx_events.pck'
Added 'sounds_sfx_events_013820966.pck'
Added 'sounds_sfx_maps_013777760.pck'
Added 'sounds_sfx_maps_013820966.pck'
Added 'sounds_sfx_playgo_013777760.pck'
Added 'sounds_sfx_playgo_013820966.pck'
[/ code]


[b][/b]
[*][u][b]MEANINGFUL NAMES (ALIASES) AND SORTING[/b][/u]

[url=https://docs.google.com/spreadsheets/d/1luePEG5MG_Z1w6KJTwuCT2olIHVUGOkuvxCDmAr9SaI][b]Name Overview[/b][/url]

Since the audio source files were changed in the first half of 2019, the meaningful names at the last line of each of the '.bnk' container have been removed and it is no longer possible to extract '.bnk' containers to meaningful named folders.

However, based on my backups of the audio source files, I created alias tables which allow for known files to be extracted and moved into meaningful named folders again.
These alias tables consist of an (ideally) unique identifiers for a file and a meaningful name (the alias).

There are currently 5 alias tables:

[list][b]bnkTable[/b]
If the table contains the name of a '.bnk' container, it is extracted to the according alias.
[/list][list][b]nameTable_bnk[/b]
If the table contains the name of a file extracted from a '.bnk' container (identified by a space), it is moved to the according alias.
[/list][list][b]nameTable_pck[/b]
If the table contains the name of a file extracted from a '.pck' container (identified by no space), it is moved to the according alias.
[/list][list][b]oasisTable_exact[/b]
If the table contains the OasisID of a '.Wwise' file, it is moved to the according alias.
Note that the table only got populated with OasisIDs which occurred previously.
[/list][list][b]oasisTable_greedy[/b]
If the table contains the OasisID of a '.Wwise' file, it is moved to the according alias.
Note that the table is based on the 'oasisTable_exact', but gaps between two integers with the same alias are filled.
[/list]

Sorting is still primarily done by comparing the stub files extracted from the '.bnk' containers with the remaining files, but the name and oasis tables will try and sort the leftover files afterwards, allowing for 87% of the currently 72'814 convertible audio files to be sorted.

[/list]


[b][size=125]EDIT HISTORY[/size][/b]

[b]Edit (22/05/18)[/b]:
Updated to version 0.6.0 ([url=http://forum.xentax.com/viewtopic.php?p=140759#p140759]read more[/url])!

[b]Edit (24/05/18)[/b]:
Added link to the Google Drive folder.

[b]Edit (19/06/18)[/b]:
Updated to version 0.7.0 ([url=http://forum.xentax.com/viewtopic.php?p=141430#p141430]read more[/url])!

[b]Edit (12/05/20)[/b]:
Updated to version 0.9.2 ([url=https://forum.xentax.com/viewtopic.php?p=163091#p163091]read more[/url])!

[b]Edit (15/07/20)[/b]:
Updated to version 0.9.3 ([url=https://forum.xentax.com/viewtopic.php?p=165005#p165005]read more[/url])!
Edit (12/09/23):
Project on hold indefinitely (read more)!
You do not have the required permissions to view the files attached to this post.
Last edited by FatalBulletHit on Tue Sep 12, 2023 8:54 am, edited 62 times in total.
GHOST DEAD
mega-veteran
mega-veteran
Posts: 191
Joined: Sat Nov 26, 2016 3:39 pm
Has thanked: 7 times
Been thanked: 10 times

Re: Tom Clancy's Rainbow Six Sound Extractor

Post by GHOST DEAD »

Not done!

Thats Good!
But AKPK script cant import files... Can you fix that?
I creating package for edit all of wwise files

Right now, i can edit all wem files and .bnk files and other Wwise files
I can edit any .PCK file, But Ubisoft using a different PCK files...
If anyone help me to repack this PCK, i can make a package to edit any (.bnk , .wem , .pck .stm and other) files and share to all :bye:
Be Good, Even in distressing or defamation and chill, Even Everyone's Called You a Bad Guy Or Lier and Mad
User avatar
FatalBulletHit
beginner
Posts: 32
Joined: Sun Nov 06, 2016 7:29 pm
Has thanked: 12 times
Been thanked: 6 times
Contact:

Re: Tom Clancy's Rainbow Six Sound Extractor

Post by FatalBulletHit »

GHOST DEAD wrote:But AKPK script cant import files... Can you fix that?
I definitley cannot fix it, maybe @AlphaTwentyThree can.

However, in case you want to launch the game with modified '.pck' files, bare in mind that this will most likely get you banned.
That is, if you own an original copy of the game and Ubisoft or BattlEye checks the intergrity of the game files on each launch (which I'd hope and assume as mentioned earlier).

Might be intresting for the cracked version, tho! :ninja:
GHOST DEAD
mega-veteran
mega-veteran
Posts: 191
Joined: Sat Nov 26, 2016 3:39 pm
Has thanked: 7 times
Been thanked: 10 times

Re: Tom Clancy's Rainbow Six Sound Extractor

Post by GHOST DEAD »

i have Uplay version, dont worry, not gonna happen in offline mode

i really want to make a package to edit Wwise files for all of guys
and @AlphaTwentyThree not was online for months :scaredy:

and aluigi (quick bms programmer) cant read my massage, you know any other guy?
Be Good, Even in distressing or defamation and chill, Even Everyone's Called You a Bad Guy Or Lier and Mad
User avatar
FatalBulletHit
beginner
Posts: 32
Joined: Sun Nov 06, 2016 7:29 pm
Has thanked: 12 times
Been thanked: 6 times
Contact:

Re: Tom Clancy's Rainbow Six Sound Extractor

Post by FatalBulletHit »

GHOST DEAD wrote:i have Uplay version, dont worry, not gonna happen in offline mode
Didn't think about that, however, the online use is restricted then - unless one would install the cracked version and mess around with friends over VPN! :wink:
GHOST DEAD wrote:and aluigi (quick bms programmer) cant read my massage, you know any other guy?
When I posted a question on Aluigi's ZenHAX forum the other day he responded within 24h, maybe try your luck there.
User avatar
FatalBulletHit
beginner
Posts: 32
Joined: Sun Nov 06, 2016 7:29 pm
Has thanked: 12 times
Been thanked: 6 times
Contact:

[Update 0.6.0] Tom Clancy's Rainbow Six Siege - Audio Extractor

Post by FatalBulletHit »

Changelog 0.6.0
  • Added proper renmaing *
  • Added automatic installation directory recognition
  • Fixed update function (you need to download this update manually)
  • Fixed batch wrapper
* Each '.bnk' file will be extracted into a folder with the proper name which is based on the last bytes of said '.bnk' file. '.Wwise' files directly extracted from the '.pck' files will also be moved into folders with proper names which is possible because the '.Wwise' files have OasisIDs (strings in the file header, e.g. 'OasisID193307'). The '.Wwise' files extracted from the '.bnk' files are in proper named folders and, although barely any are convertable, the '.Wwise' files extracted from the '.pck' files have matching OasisIDs. Bare in mind that these are not the exact names for each and every file rather than a collection of files and that there are still a lot of files which remain unnamed. Any help regarding this is greatly appreciated!

Edit (23/05/18):
I created a Name Overview. Again, help (in form of comments) is greatly appreciated! :roll:

Edit (24/05/18):
It seems like '.Wwise' files are mostly voice overs and cutscene sounds, '.lwav' files are mostly ambient sounds and '.at3' files are mostly gun fire and similar sounds.
There are also still a lot of '.Wwise' files extracted from '.pck' files which do not have a proper named folder and a lot of proper named folders for the '.Wwise' files extracted from the '.bnk' files with no or barely any convertable files. However, I will have a look into comparing the '.Wwise' files extracted from the '.bnk' files with the ones extracted fromt the '.pck' files, as it seems like the '.bnk' ones are simply duplicates which are cut off at some point.
Last edited by FatalBulletHit on Thu May 14, 2020 2:50 pm, edited 3 times in total.
borntosowdeath
ultra-n00b
Posts: 7
Joined: Fri May 04, 2018 1:15 am
Has thanked: 2 times

Re: Rainbow Six: Siege AudioKinetic PCK container

Post by borntosowdeath »

FatalBulletHit wrote:
  • Update 0.6.0
This file redundancy is nonsence. I've successfully set this file list to size 0 (BattlEye actually doesn't check any files, the game just won't load without some files, will load to lobby but not into game without some files etc - game engine has to be the checker). If you'd be able to code whole repacker it would be great (being able to extract sounds/textures, convert to usable format, change them/set to 0 size or remove, convert back to original format and put back inside).

<those remove lobby ops animation>
\
  • 'datapc64_r6_menuworld_playgo*'
<lector and ops dialog lines>
\sounddata\pc\
  • 'sounds_eng*'
<sfx; probably redundant - just seen file names in main folder ending with 000000006 sooo...>
\sounddata\pc\
  • 'sounds_sfx_000000000*' to 'sounds_sfx_000000005*'
  • 'sounds_sfx_playgo_000000000*' to 'sounds_sfx_playgo_000000005*'
  • EDIT: Seems like they use it after all ;p
<menu sounds>
\sounddata\pc\
  • 'sounds_sfx_bootstrap*'
<map zone sounds (s.a. water in Bank Lockers area)>
\sounddata\pc\
  • 'sounds_sfx_maps*'
[/list]

PS. They've changed the way they're putting sound zones in-game - they used to put those inside 'sounds_sfx_maps*' packs - in Villa sounds are inside
'1_pck\4_lwav_converted\sfx\sounds_sfx_000000008' (radio),
'1_pck\2_wwise_converted\sfx\sounds_sfx_000000008' (ambient),
'1_pck\2_wwise_converted\sfx\sounds_sfx_playgo_000000008' (clock)
and might be somewhere else too due to this redundancy...
Last edited by borntosowdeath on Sun Jun 17, 2018 3:14 pm, edited 3 times in total.
User avatar
FatalBulletHit
beginner
Posts: 32
Joined: Sun Nov 06, 2016 7:29 pm
Has thanked: 12 times
Been thanked: 6 times
Contact:

Re: Rainbow Six: Siege AudioKinetic PCK container

Post by FatalBulletHit »

borntosowdeath wrote:This file redundancy is nonsence.
Brought to you by Ubisoft. :P
borntosowdeath wrote:I've successfully set this file list to size 0 (BattlEye actually doesn't check any files, the game just won't load without some files, will load to lobby but not into game without some files etc - game engine has to be the checker).
Good to know!
borntosowdeath wrote:If you'd be able to code whole repacker it would be great (being able to extract sounds/textures, convert to usable format, change them/set to 0 size or remove, convert back to original format and put back inside).
I'd love to tell you I'm able to, but I'm not, sry... :/
User avatar
FatalBulletHit
beginner
Posts: 32
Joined: Sun Nov 06, 2016 7:29 pm
Has thanked: 12 times
Been thanked: 6 times
Contact:

[Update 0.7.0] Tom Clancy's Rainbow Six Siege - Audio Extractor

Post by FatalBulletHit »

Changelog 0.7.0
  • Added more launch parameters:

    Code: Select all

    PowerShell.exe -ExecutionPolicy Unrestricted -NoProfile -File ".\bin\r6s_extractor_0.7.0.ps1"
        [-DownloadLatestVersion]
        [-Profile <string>]
        [-Output <string>]
        [-Exit]
        [-Batch]
        [-Debug]
    
    
    -DownloadLatestVersion
    Will download the latest version.
    
    -Profile Default
    Will start the script with the default profile.
    
    -Profile 'Profile Name'
    Will start the script with a custom profile named 'Profile Name'.
    
    -Output
    Overwrites the output directory.
    
    -Exit
    Script will exit when finished.
    
    -Batch
    Will use the paths from the r6s_extractor_0.7.0.bat, rather than from the r6s_extractor_0.7.0.ps1.
    
    -Debug
    Will save error logs if any.
    
    
    Example:
    PowerShell.exe -ExecutionPolicy Unrestricted -NoProfile -File ".\bin\r6s_extractor_0.7.0.ps1" -DownloadLatestVersion -Profile 'Some Profile' -Output 'C:\some\path' -Exit -Batch -Debug
  • Improved proper renaming (quite a bit) *
  • Improved update function (hopefully)
  • A bunch of minor improvements, fixes and additions which are not worth being mentioned (but lead to the version jump from 0.6.0 to 0.7.0)
* '.pck' output is now moved into properly named folders based on the '.bnk' output as mentioned in the 0.6.0 changelog (under 'Edit (24/05/18)'). Out of the currently 87'428 convertable files only 6'644 are unsorted (that's just under 7.6%)!
Last edited by FatalBulletHit on Thu May 14, 2020 2:50 pm, edited 2 times in total.
benishandler
ultra-n00b
Posts: 6
Joined: Sun Jun 24, 2018 10:41 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Tom Clancy's Rainbow Six Sound Extractor

Post by benishandler »

Didn't think about that, however, the online use is restricted then - unless one would install the cracked version and mess around with friends over VPN! :wink:
Ha, I remember the old VPN trick for Tom Clancy, did it with Far cry 5 too, had some VPN promotion code over at https://www.vpncompare.co.uk/unlock-far-cry-5-early/ so only cost a couple of dollars but well work it to unrestrict online use.
Voron111999
ultra-n00b
Posts: 5
Joined: Sun Mar 11, 2018 4:34 pm
Been thanked: 1 time

Re: Rainbow Six: Siege AudioKinetic PCK container

Post by Voron111999 »

Hey guys, thanks for the help. I might sound stupid but anyways. I don't know if you already found the way to open .at3 files which are the gun sounds, but I found a way to open them. Use Audacity and import them as raw data and change Rate to something more than 48,000Hz and you will hear the proper audio.
User avatar
FatalBulletHit
beginner
Posts: 32
Joined: Sun Nov 06, 2016 7:29 pm
Has thanked: 12 times
Been thanked: 6 times
Contact:

Re: Rainbow Six: Siege AudioKinetic PCK container

Post by FatalBulletHit »

The current version (0.7.0) of the extractor is capable of converting the '.at3' files to '.wav' files, but this seems like an easy workaround if one only needs a couple of gun sounds or so. Thank you for the information! :)
Voron111999
ultra-n00b
Posts: 5
Joined: Sun Mar 11, 2018 4:34 pm
Been thanked: 1 time

Re: Rainbow Six: Siege AudioKinetic PCK container

Post by Voron111999 »

Wow that reply was fast man! its good cuz I have a problem with the script and I need to ask you about it. I do everything as u say but in the end, the script completely deletes whatever is in the output folder. Before doing that (while in the middle of conversion) I regularly check the output folder and I never see any converted file. All of them are either left as .bnk , wwise , at3 or lwav and not a single converted .wav file. So that's why the scripts deletes everything in the output folder when its done because nothing converted and all that's left are junk unconverted files. I also check the script while its running and not a single error is shown. Every step is done completely that's what script says at least. Maybe you would know why...
(just so you know, my r6 siege is not up to date and still has day 1 sound files but they are not damaged or corrupted as singleplayer runs without problems.) Please help me with this.
Post Reply