Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- :: # https://pastebin.com/iC6YuYPj | https://forum.xentax.com/viewtopic.php?p=140570#p140570
- :: Note:
- ::
- :: This is only the Batch wrapper which downloads the main PowerShell script in order to bypass the
- :: normally restricted script execution policy.
- ::
- :: To adjust paths or options, open the main PowerShell script ('tc_r6s_audio_extractor.ps1') with
- :: notepad or a source code editing software of your choice and adjust the values beneath the
- :: READ ME section.
- ::
- :: For more information check the documentation (see below).
- :: ####################################################################################################
- :: # <><><><><><><><><> [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. #
- :: # #
- :: # #
- :: # Sources: #
- :: # #
- :: # 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 creating a post in the XeNTaX post (see above) or emailing me (see below). #
- :: # #
- :: # #
- :: # <><><><><><><><><><><><><><><> Contact: FatalBulletHit@gmail.com <><><><><><><><><><><><><><><> #
- :: ####################################################################################################
- PowerShell -ExecutionPolicy Unrestricted -NoProfile -Command "& { $ErrorActionPreference = $ProgressPreference = 'SilentlyContinue'; if ((Test-Connection -Computer 'google.com' -Count 1 -Quiet) -and (Invoke-WebRequest -Uri 'https://pastebin.com/raw/9kmuRHpr' -UseBasicParsing).Content -ne '1.2') {Rename-Item -LiteralPath '%~f0' -NewName '%!!()|%~dp0\Launcher.bat' -Encoding ASCII; & '%~dp0\Launcher.bat' %1} else {if (!(Test-Path -LiteralPath '.\tc_r6s_audio_extractor.ps1')) {(Invoke-WebRequest -Uri 'https://pastebin.com/raw/eGSUFbcs' -UseBasicParsing).Content | Out-File -LiteralPath $env:TEMP\tc_r6s_audio_extractor.ps1 -Encoding UTF8; Set-Location -LiteralPath $env:TEMP}; if (Test-Path -LiteralPath $env:TEMP\tc_r6s_audio_extractor_error.txt) {Remove-Item -LiteralPath $env:TEMP\tc_r6s_audio_extractor_error.txt -ErrorVariable tempError}; if ($tempError -ne $null) {Write-Host -ForegroundColor Red -BackgroundColor Black ' ERROR: Script already running! Terminating!'; Start-Sleep -Seconds 5} else {& .\tc_r6s_audio_extractor.ps1 2> $env:TEMP\tc_r6s_audio_extractor_error.txt; if (!(Test-Path -LiteralPath $env:TEMP\tc_r6s_audio_extractor_started.tmp)) {Write-Host -ForegroundColor Red -BackgroundColor Black ' ERROR: Script crashed on startup! Error log:'; ''; $Error; ''; '[E]xit / [H]elp'; while (!('E', 'H').Contains(($tempKey = [string]([System.Console]::ReadKey('NoEcho')).Key))) {}; if ($tempKey -eq 'H') {Start 'https://forum.xentax.com/viewtopic.php?p=140570#p140570'; Read-Host}} else {Remove-Item -LiteralPath $env:TEMP\tc_r6s_audio_extractor_started.tmp}}}; exit }"
Add Comment
Please, Sign In to add comment