Skip to content

Instantly share code, notes, and snippets.

/*
msbuild CompatLayerAux.vcxproj /p:Configuration=Release /p:Platform=x86
/t:Clean
/t:Rebuild
Usage: CompatLayerAux.exe <process_id> [to_lower (default: 1)]
*/
#include <iostream>
#include <fstream>
# python 3.9
import struct
BOD_FILE_1 = r"D:\3DSMAX2.5\Meshes\BOD\Kgt_N.bod"
BOD_FILE_2 = r"C:\Users\chen\Downloads\KnightS.BOD"
DOUBLE_DIFF = 0.01
def round2(x: float, n: int = 3):
if x == 0 or x == 1:
import os
import string
import struct
import BBLib
def start(BOD_PATH="../../3DCHARS"):
log = open("../../Bin/check_model.log", "a+")
log.seek(0)
checked = map(lambda x: string.split(x, " ")[0], log.readlines())
@Sryml
Sryml / Enm_Def.py
Last active October 8, 2021 18:26
Blade of Darkness
def ResetExclusionGroup(ent_name):
me= Bladex.GetEntity(ent_name)
me.ExclusionGroup= 0
me.OnStopFunc= None
#...........
def DropAllObject(self,EntityName):
; AutoHotkey_1.1.33.02
; 2020/12 by sryml
Menu, Tray, Icon, *
;------------------------------
maxObjects := []
UIRatio := {}
Checks := 0
MouseDelay := 16 ;10