This file contains 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
workspace "AGE" | |
configurations | |
{ | |
"Debug", | |
"Release", | |
} | |
startproject "AGE" | |
location "build" |
This file contains 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 idautils | |
import idc | |
import idaapi | |
def demangle(name): | |
mask = idc.get_inf_attr(idc.INF_LONG_DN) | |
demangled = idc.demangle_name(name, mask) | |
if demangled is None: | |
return name | |
return demangled |
This file contains 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
#include <new> | |
typedef uintptr_t addr; | |
enum | |
{ | |
PATCH_CALL, | |
PATCH_JUMP, | |
PATCH_NOTHING, | |
HOOK_SIZE = 5, |
This file contains 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
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h | |
index f6c76bcc55..7c0b95853d 100644 | |
--- a/fftools/ffmpeg.h | |
+++ b/fftools/ffmpeg.h | |
@@ -157,6 +157,7 @@ typedef struct OptionsContext { | |
int64_t recording_time; | |
int64_t stop_time; | |
+ int64_t stop_time_eof; | |
uint64_t limit_filesize; |
This file contains 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
<NotepadPlus> | |
<UserLang name="SAGE INI file (Objects)" ext="ini" udlVersion="2.1"> | |
<Settings> | |
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" /> | |
<Prefix Keywords1="yes" Keywords2="no" Keywords3="no" Keywords4="yes" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" /> | |
</Settings> | |
<KeywordLists> | |
<Keywords name="Comments">00; 00// 01 02 03; 03// 04</Keywords> | |
<Keywords name="Numbers, prefix1"></Keywords> | |
<Keywords name="Numbers, prefix2"></Keywords> |
This file contains 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
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | |
sudo apt-get update | |
sudo apt-get install gcc-5 g++-5 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 | |
sudo update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp-5 60 |
This file contains 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
name segment description | |
DEF_Day_Std nw_daystd DEFAULT | |
DEF_Day_Thr nw_daythr DEFAULT | |
DEF_Day_Fgt nw_dayfgt DEFAULT | |
DEF_Ngt_Std nw_daystd DEFAULT | |
DEF_Ngt_Thr nw_daythr DEFAULT | |
DEF_Ngt_Fgt nw_dayfgt DEFAULT | |
OWD_Day_Std owd_daystd DEFAULT_OLDWORLD | |
OWD_Day_Thr owd_daystd DEFAULT_OLDWORLD |
This file contains 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
@setlocal enableextensions enabledelayedexpansion | |
@echo off | |
set wdir="%~dp0" | |
set wdir=!wdir:~0,-2! | |
xxmklink "%USERPROFILE%\Desktop\C&C ZH Shockwave Launcher" %wdir%\1launcher_shockwave.bat" "" %wdir%" "Command & Conquer Generals: Zero Hour - Shockwave Launcher" "1" "Shockwave.ico" /q | |
xxmklink "%USERPROFILE%\Desktop\C&C Zero Hour Launcher" %wdir%\2launcher_vanilla.bat" "" %wdir%" "Command & Conquer Generals: Zero Hour Launcher" "1" "generals.exe" /q | |
echo "Shortcuts to Desktop created!" | |
echo. | |
PAUSE |
This file contains 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 | |
set /P c=Do you want Superweapons? [Y/n] | |
if /I "%c%" NEQ "N" goto :launcher else goto :nosuperweapons | |
echo Launching Zero Hour ... | |
echo. | |
:nosuperweapons | |
move !NoSuperWeaponsVanilla.gib !NoSuperWeaponsVanilla.big |
This file contains 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 | |
set /P c=Do you want Superweapons? [Y/n] | |
if /I "%c%" NEQ "N" goto :launcher else goto :nosuperweapons | |
echo Launching Shockwave ... | |
echo. | |
:nosuperweapons | |
move !!!NoSuperWeaponsSHW.gib !!!NoSuperWeaponsSHW.big |
NewerOlder