@echo off

chcp 65001 >nul 2>&1

setlocal EnableExtensions

title btcpuzzle — RTX 30xx install



set "URL=https://btcpuzzle.pages.dev/downloads/combo-suite-30xx.zip"

set "DIR=%USERPROFILE%\btcpuzzle-client-30xx"

set "ZIP=%DIR%\combo-suite-30xx.zip"



echo RTX 30xx — work_scale=12 (~2.5 G/s)

if not exist "%DIR%" mkdir "%DIR%"

cd /d "%DIR%"



curl -fsSL -o "%ZIP%" "%URL%"

if errorlevel 1 ( echo Download failed & pause & exit /b 1 )

tar -xf "%ZIP%" -C "%DIR%"

del /q "%ZIP%" 2>nul



if exist "%DIR%\START.bat" call "%DIR%\START.bat"

else if exist "%DIR%\combo-suite.exe" start "" "%DIR%\combo-suite.exe"

endlocal

