Advertisement
FatalBulletHit

Arma 3 Detailed Mod List Creator (Batch Wrapper)

Apr 24th, 2020 (edited)
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 2.64 KB | None | 0 0
  1. :: # https://pastebin.com/5a2k4rms
  2. ::
  3. :: ####################################################################################################
  4. :: # <><><><><><><><><><><><><> Arma 3 Detailed Mod List Creator - READ ME <><><><><><><><><><><><><> #
  5. :: #                                                                                                  #
  6. :: # The Arma 3 Detailed Mod List Creator creates a detailed table with various information based on  #
  7. :: # either an exported Arma 3 mod preset or, if not specified, all the installed Arma 3 mods.        #
  8. :: #                                                                                                  #
  9. :: # Information include mod location, types, size, post and update date as well as required DLCs     #
  10. :: # and mods.                                                                                        #
  11. :: #                                                                                                  #
  12. :: # The table is based on DataTable (https://datatables.net/) and can be searched and sorted and     #
  13. :: # allows for selecting mods and exporting them.                                                    #
  14. :: #                                                                                                  #
  15. :: # On top of that, missing dependencies are automatically added, both on im- and export (this can   #
  16. :: # be switched off if desired).                                                                     #
  17. :: #                                                                                                  #
  18. :: # Full documentation is available at                                                               #
  19. :: #                                                                                                  #
  20. :: # <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> #
  21. :: ####################################################################################################
  22. ::
  23. :: Note: This is only the batch wrapper! The actual script is available at https://pastebin.com/iC6YuYPj !
  24.  
  25. @ECHO OFF
  26.  
  27. SET "input=%1"
  28.  
  29. IF DEFINED input (SET "command= -InputFile '%input%'")
  30.  
  31. PowerShell -ExecutionPolicy Unrestricted -NoProfile -Command "& { if (!(Test-Path -LiteralPath ($Dir = ('{0}\Desktop\Arma 3 Detailed Mod List' -f $Home)))) {New-Item -Path $Dir -ItemType 'Directory' >$null}; Set-Location -LiteralPath $Dir; if (!(Test-Path ($File = '.\Arma 3 Detailed Mod List Creator.ps1'))) {(Invoke-WebRequest -Uri 'https://pastebin.com/raw/VkhYAwjW').Content | Out-File -LiteralPath $File -Encoding UTF8}; & $File%command% 2>.\error.txt; }"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement