@echo off
cls
:: Check for the presence of the MemoryUI zip file
for %%F in (*.zip) do set "memoryUi_zip=%%F"
if not exist "%memoryUi_zip%" (
echo The MemoryUI zip file was not found!^
Download the file and add it to this folder
pause
start "" "https://memorydownloader.net/"
exit /b
)
:: Check if there's more than one zip file
set "zipCount=0"
for %%F in (*.zip) do set /a "zipCount+=1"
if %zipCount% gtr 1 (
echo This folder should only have the .zip MemoryUI compressed file!^
pause
exit /b
)
:: Extract the contents of the zip file using 7-Zip
7z x -pmh -y %memoryUi_zip%
:: Check if 7-Zip is installed
where 7z.exe >nul 2>nul
if %errorlevel% neq 0 (
echo Check if you installed 7zip and added it to your environment path correctly^
pause
start "" "https://www.7-zip.org/download.html"
exit /b
)
:: Find the MemoryUI executable
for %%F in (*.exe) do set "memoryUi=%%F"
if not defined memoryUi (
echo The MemoryUI executable was not found^
pause
exit /b
)
:: Start the MemoryUI executable
start "" "%memoryUi%"
:: Open the MemoryUI website
start "" "https://memoryhackers.org/cheats/lol-script-dword-wsreborn-2024.27/"
exit /b