daily pastebin goal
26%
SHARE
TWEET

r6s_extractor_0.7.0

FatalBulletHit May 15th, 2018 (edited) 35 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. :: ########################## Tom Clancy's Rainbow Six Siege Sound Extractor ##########################
  2. :: ##### r6s_extractor_0.7.0.bat 80AA00F8606DAACD89EA44A2BCC85FC2B400EE8D121DBF5FB2A3301AD31B5525 #####
  3. :: #
  4. :: # Extracts and converts all Tom Clancy's Rainbow Six Siege sound files.
  5. :: #
  6. :: #
  7. :: # Adjust paths if necessary.
  8. :: #
  9. :: # Tom Clancy's Rainbow Six Siege directory
  10. :: dir_rainbow = (Get-ItemProperty Registry::HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs\635).InstallDir.Replace('/', '\')
  11. :: #
  12. :: # Output directory
  13. :: dir_output = '.\..\output'
  14. :: #
  15. :: #
  16. :: # Only change the paths below if you know what you are doing!
  17. :: #
  18. :: # QuickBMS directory
  19. :: dir_quickbms = $PSScriptRoot
  20. :: #
  21. :: # ww2ogg directory
  22. :: dir_ww2ogg = $PSScriptRoot
  23. :: #
  24. :: # revorb directory
  25. :: dir_revorb = $PSScriptRoot
  26. :: #
  27. :: # wwise_ima_adpcm directory
  28. :: dir_wwise_ima_adpcm = $PSScriptRoot
  29. :: #
  30. :: ###################### http://forum.xentax.com/viewtopic.php?p=140570#p140570 ######################
  31. :: ################################## https://pastebin.com/iC6YuYPj/ ##################################
  32.  
  33. @ECHO OFF
  34.  
  35. IF NOT EXIST "%~dp0bin" (
  36.  
  37.     MD "%~dp0bin"
  38.  
  39. )
  40.  
  41. IF NOT EXIST "%~dp0\bin\r6s_extractor_0.7.0.ps1" (
  42.  
  43.     PowerShell -ExecutionPolicy Unrestricted -NoProfile -Command "& { (Invoke-WebRequest -Uri https://pastebin.com/raw/eGSUFbcs).Content | Add-Content .\bin\r6s_extractor_0.7.0.ps1 -Encoding Unicode -NoNewline }"
  44.  
  45. )
  46.  
  47. REM Optional launch parameters:
  48.  
  49. :: PowerShell.exe -ExecutionPolicy Unrestricted -NoProfile -File ".\bin\r6s_extractor_0.7.0.ps1" [-DownloadLatestVersion] [-Profile <string>] [-Output <string>] [-Exit] [-Batch] [-Debug]
  50.  
  51.  
  52. :: -DownloadLatestVersion
  53. REM Will download the latest version.
  54.  
  55. :: -Profile Default
  56. REM Will start the script with the default profile.
  57.  
  58. :: -Profile 'Profile Name'
  59. REM Will start the script with a custome profile named 'ProfileName'.
  60.  
  61. :: -Output
  62. REM Overwrites the output directory.
  63.  
  64. :: -Exit
  65. REM Script will exit when finished.
  66.  
  67. :: -Batch
  68. REM Will use the paths from the r6s_extractor_0.7.0.bat, rather than from the r6s_extractor_0.7.0.ps1.
  69.  
  70. :: -Debug
  71. REM Will save error logs if any.
  72.  
  73.  
  74. REM Examples:
  75.  
  76. :: PowerShell.exe -ExecutionPolicy Unrestricted -NoProfile -File ".\bin\r6s_extractor_0.7.0.ps1" -DownloadLatestVersion -Profile 'Some Profile' -Output 'C:\some\path' -Exit -Batch -Debug
  77.  
  78. PowerShell.exe -ExecutionPolicy Unrestricted -NoProfile -File ".\bin\r6s_extractor_0.7.0.ps1" -Batch
  79.  
  80. EXIT
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top