This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io, os, re, requests, shutil, sys, wget, zipfile | |
def copydir(source, dest, indent=0): | |
for root, dirs, files in os.walk(source): | |
if not os.path.isdir(root): | |
os.makedirs(root) | |
for each_file in files: | |
rel_path = root.replace(source, '').lstrip(os.sep) | |
dest_path = os.path.join(dest, rel_path, each_file) | |
shutil.copyfile(os.path.join(root, each_file), dest_path) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ctypes, time, win32api, win32gui | |
user32, SendInput = ctypes.WinDLL('user32', use_last_error=True), ctypes.windll.user32.SendInput | |
# community.bistudio.com/wiki/DIK_KeyCodes | |
DIK_W = 0x11 | |
DIK_LSHIFT = 0x2A | |
# msdn.microsoft.com/en-us/library/dd375731 | |
VK_NUMLOCK = 0x90 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv | |
SendMode Input | |
#IfWinActive, DayZ | |
SetNumlockState, off | |
~NumLock:: | |
if (GetKeyState("NumLock", "T")) { | |
Send, {lshift Down} | |
Send, {w Down} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Cross-hair | |
cl_crosshair_drawoutline "0" | |
cl_crosshair_dynamic_maxdist_splitratio "0.35" | |
cl_crosshair_dynamic_splitalpha_innermod "1" | |
cl_crosshair_dynamic_splitalpha_outermod "0.5" | |
cl_crosshair_dynamic_splitdist "7" | |
cl_crosshair_outlinethickness "2" | |
cl_crosshairalpha "200" | |
cl_crosshaircolor "5" | |
cl_crosshaircolor_r "255" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::User Set Variables | |
::Arma 3 Directory Name | |
@set ARMA3=Arma 3 | |
::Arma 3 Launch Parameters | |
@set launchOptions=-high -noPause -noSplash | |
::Arma 3 Mods (@EXAMPLE1;@EXAMPLE2) | |
@set mods= | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::User Set Variables | |
::Arma 2 OA Directory Name | |
@set ARMA2OA=Arma 2 Operation Arrowhead | |
::Arma 2 Directory Name | |
@set ARMA2=Arma 2 | |
::Steam Overlay (True/False) | |
@set Steam=True | |
::Arma 2 OA Launch Parameters | |
@set launchOptions=-high -skipIntro -nosplash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::User Set Variables | |
::Steam Install Directory (Steam.exe) | |
@set SteamDIR=C:\Program Files (x86)\Steam | |
::Steam Library Directory (~\common\DayZ) [Drive must have NTFS format] | |
@set SteamLIB=C:\Program Files (x86)\Steam | |
::DayZ Stable Folder Name in ~\SteamApps\common\ | |
@set Stable=DayZ_stable | |
::DayZ Experimental Folder Name in ~\SteamApps\common\ | |
@set Experimental=DayZ_experimental |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cls | |
color 0f | |
title Garry's Mod LUA Infection Cleanup | |
if not exist garrysmod ( | |
echo -------------------------------------------------- | |
echo Wrong directory has been dectected | |
echo Move this .bat file to your Garry's Mod directory |