[.bat] Fast copy d3d9.dll after compile to GTA dir

dphome

Well-known member
Joined
Mar 21, 2020
Messages
456
Solutions
9
Reaction score
166
Location
Poland
Simple and usage for s0beit dev batch script for fast copy d3d9.dll to GTA folder.
Save as "__script.bat" in main GTA San Andreas directory.

PHP:
@ECHO OFF
TITLE SAMPs0b

:START
:: "C:\Files\mod_sa\bin\d3d9.dll" - Your d3d9.dll in mod_sa project, you can change this
:: "%~d0%~p0" - Local directory where this batch file is exist, not change
COPY "C:\Files\mod_sa\bin\d3d9.dll" "%~d0%~p0" > NUL
IF %ERRORLEVEL% EQU 0 (GOTO SUKCES) ELSE (GOTO BLAD)
GOTO START

:BLAD
COLOR 4
CLS
ECHO === ERROR ===
ECHO %TIME%
timeout /t 1 > NUL
GOTO START

:SUKCES
COLOR A
CLS
ECHO === SUCCESS ===
ECHO %TIME%
timeout /t 1 > NUL
GOTO START

 
Top