SHARE
TWEET

GetLaunchOptions

aveyo Aug 13th, 2017 (edited) 1,054 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. goto="init" /* " GetLaunchOptions prefixed with / or - "
  2. :"init" 2018.12.12: fixed not listing launch options containing -
  3. @echo off &setlocal &mode 80,8 &color 70 &title %~n0 by AveYo v1.3
  4. echo   GetLaunchOptions grabs -strings from exe and dll files
  5. echo   Simplified usage after first run:
  6. echo  -^> Right-click game folder -^> Send to -^> GetLaunchOptions
  7. rem call :install &rem uncomment to update APPDATA script if new version is released
  8. if not exist "%APPDATA%\AveYo\strings2.exe" call :install
  9. if not exist "%APPDATA%\Microsoft\Windows\SendTo\GetLaunchOptions.bat" call :install
  10. set "game=" &if exist "%~1\*" set "game=%~1"
  11. :: powershell openfolderdialog snippet
  12. set "o=[void][System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms");"
  13. set "f=$ofd=New-Object System.Windows.Forms.FolderBrowserDialog;$ofd.rootfolder="MyComputer";"
  14. set "d=[void]$ofd.ShowDialog(); $ofd.SelectedPath;"
  15. set "ps_openfolderdialog=%o:"=\"%%f:"=\"%%d:"=\"%"
  16. if not defined game for /f "delims=" %%a in ('powershell -c "%ps_openfolderdialog%"') do set "game=%%a"
  17. if not exist "%game%" color 4f &echo. &echo ERROR! Invalid "%game%" folder selected.. &pause &exit
  18. :: defines
  19. set "numchars=4"
  20. for /f %%c in ('copy /z "%~dpf0" nul') do set "`CR=%%c"
  21. set "regex=^[\-/][aA-Z][^|<>(){}?@#&%%!=+.,:;/'`\[\]\$\*\^\~\"\\]*$"
  22. :: process game folder
  23. echo. &echo GAMEPATH = %game%
  24. pushd "%game%"
  25. del /f/s/q _LAUNCHOPTIONS_ >nul 2>nul &rmdir /s/q _LAUNCHOPTIONS_ >nul 2>nul &mkdir _LAUNCHOPTIONS_ >nul 2>nul
  26. set "outpath=%game%\_LAUNCHOPTIONS_"
  27. echo ;%~n0 by AveYo v1.1 - https://pastebin.com/bhQrywES >"%outpath%\@LAUNCH_OPTIONS.ini"
  28. for /f "delims=" %%a in ('dir /a:-D /b /s *.exe,*.dll') do (
  29.  pushd "%%~dpa"
  30.  call "%APPDATA%\AveYo\strings2.exe" "%%~nxa" -l %numchars% -nh>"%outpath%\%%~nxa.txt"
  31.  pushd "%outpath%"
  32.  cd.>launchoptions.tmp
  33.  for /f %%s in ('findstr /B /I /R /C:"%%regex%%" "%%~nxa.txt"') do call :launchoptions "%%s"
  34.  if defined sz echo.>>@LAUNCH_OPTIONS.ini &echo/[%%~a]>>@LAUNCH_OPTIONS.ini
  35.  if defined sz sort /REC 65535 launchoptions.tmp >>@launch_options.ini
  36. )
  37. pushd "%~dp0"
  38. del /f /q "%outpath%\launchoptions.tmp" >nul 2>nul
  39. if not exist "%outpath%\*.txt" color 0e
  40. if exist "%outpath%\*.txt" start "" notepad "%outpath%\@LAUNCH_OPTIONS.ini" &timeout /t 5 >nul 2>nul
  41. if not exist "%outpath%\*.txt" del /f/s/q "%outpath%" >nul 2>nul &rmdir /s/q "%outpath%" >nul 2>nul
  42. endlocal &goto :eof
  43. :launchoptions
  44. setlocal enableextensions enabledelayedexpansion
  45. set "lo=%~1" &call set "lo=!lo:%%`CR%%=!"
  46. if not "!lo!"=="-" echo/!lo!>>launchoptions.tmp
  47. set "sz=" &for %%k in (launchoptions.tmp) do set "sz=%%~zk"
  48. if "%sz%0"=="00" set "sz="
  49. endlocal &set "sz=%sz%" &goto :eof
  50. :install
  51. set "res=strings2.ex_" &set "strings2=%APPDATA%\AveYo\strings2.exe" &md "%APPDATA%\AveYo\" >nul 2>nul &pushd "%APPDATA%\AveYo\"
  52. copy /y "%~f0" "%APPDATA%\AveYo\" >nul 2>nul &copy /y "%~f0" "%APPDATA%\Microsoft\Windows\SendTo\GetLaunchOptions.bat" >nul 2>nul
  53. if not exist "%strings2%" cscript.exe //nologo //e:JScript "%~f0" &expand -R "%res%" >nul 2>nul &del /f /q "%res%"
  54. if not exist "%strings2%" color cf &echo ERROR! %APPDATA%\AveYo\strings2.exe not found &timeout /t 10 &endlocal &exit
  55. goto :eof
  56. :: batch binary resource attached with RES2BATCH v2.0b - compact, highlight friendly, optimized ascii encoder
  57. :res85_decoder */
  58. var fn="strings2.ex_", res="\
  59. ::O}bZg00000cPan)00000EC2ui000000!5a50RR91tONi6NdN?[0RRIP09XJ300000005Oj[gg,Bb98cPZfA2cE*gOS0D;u1K%+5ySX|RAjRO?i0000YQ_z[j01g1V!\
  60. ::Ng35ZgQMal6.AwLC9bd_r[ILavJBlQ*NXDMX*qy$JM?g[twGfb,%nUxF=`i$$N~ue0Y4e-;AeGcsc(Pr9D9qkOnNbHE=AezpY-h)2jM{7)`Z`82~US1KoEV|R0-42`\
  61. ::F*j[M}tYt6Gz7gk+#+Nl!QL|uKBjQEk{i{c1THu_jRmW[.KYy5N?=Y_}9s7Pf,uq_[7cMT+3M]4(lOY%^R`q[]s6{)aPyKmY_n0Dx,L2+Vo5mRy.,Vnl?mc%7-T4`Z\
  62. ::M]!Fv[qZp6%g2bUvABn|0scR4IENA[Czty-Aj9r7$9J!%-eJSNz8^Sf.9J}R-t{ZZ$U{0ywgd,bKp$b_)L=#AL4c#`c%qxDW=zPm1Fby;~`Y91SUkN_E|;*c}|$6rX\
  63. ::Yeb.}#V-I6Jux-ofdJQK`#7;)EF]y|6;Y1WR?Up)[A4kO^}o_oOJ^Jy,t~Z^Sn^KeGq3|^bNnpb19R~4z;oH7XIDt-aF[^VU(~rKCcAvZ%=qI{thxuR~EcX)Uyy9Ul\
  64. ::,62I5!3$gq$gEQL,A~;CBq_VOeSYKL]p#_m.k5i,cw0kHcdG+tq=*RK9~{y6x-!Ay$]5YObCw[#jcs*Cxx4AzoAc5+$`1(yM=HJ5YTdRmFV^^O5GUGwZc][Q6`$L1|\
  65. ::-6c]U9U~MrPbYh(,#e*L}^ofYkZxURZVwC#nXa6C-MPme*i6ZzaSV6-3[BqJhAjhlhil4f+cgjKupwwxvegxvVmN?vUm7S4z*lXR,231Ipl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~i}AE;K(ffCg3!ec_HMKFuG72ObAH57rLY7FQ7^*0bD]3?)%N-48d?.h?TJvbT;RKp;;(}K%?A[^a,\
  167. ".replace(/[\\:\s]/gm,""); r85='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz?.,;-_+=|{}[]()*^%$#!`~'.split('');
  168. d85={}; for(var i=85;i--;) d85[r85[i]]=i; p85=[]; for(var i=5;i--;) p85[i]=Math.pow(85,i);
  169. z='00000000'; pad=(res.length%5)||5; res+='~~~~~'.slice(pad); pad=10-2*pad; a=res.match(/.{1,5}/g);
  170. for(var l=a.length;l--;){n=0;for(j=5;j--;)n+=d85[a[l].charAt(j)]*p85[4-j];a[l]=z.slice(n.toString(16).length)+n.toString(16)};
  171. res85dec=(pad>0)?a.join('').slice(0,-pad):a.join('');WSH.Echo(' RES2BATCH: extracting '+fn);
  172. xe=WSH.CreateObject('Microsoft.XMLDOM').createElement('bh');as=WSH.CreateObject('ADODB.Stream');as.Mode=3;as.Type=1;as.Open();
  173. xe.dataType='bin.hex';xe.text=res85dec;as.Write(xe.nodeTypedValue);as.SaveToFile(fn,2);as.Close();
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