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 | |
setlocal disableDelayedExpansion | |
set args=%* | |
set "dragDrop=" | |
set aac=0 | |
setlocal enableDelayedExpansion | |
set "cmd=!cmdcmdline!" | |
set "cmd2=!cmd:*%~f0=!" |
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
<?php | |
const WAV_NEEDLE = ".wav"; | |
const WAV_PACKID = "feffffff"; | |
const DEFAULTPATH = "sound"; | |
$ffdump = file_get_contents($argv[1]); | |
$lastpos = 0; | |
$wav_pathid = hex2bin("FFFFFF"); | |
$wavs = array(); |
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
<?php | |
$handle = fopen("convertmorewavs.bat", "r"); | |
$ffmpeg = array(); | |
while($line = fgets($handle)) { | |
if(!in_array($line, $ffmpeg)) { | |
$ffmpeg[] = $line; | |
} | |
} | |
foreach($ffmpeg as $command) { |
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
<?php | |
const WAV_NEEDLE = "RIFF"; | |
const WAVE = "WAVE"; | |
const XWMA = "XWMA"; | |
const FMT = "fmt "; | |
const DEFAULTPATH = "sound"; | |
$ffdump = file_get_contents($argv[1]); | |
$lastpos = 0; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<CheatTable CheatEngineTableVersion="18"> | |
<CheatEntries> | |
<CheatEntry> | |
<ID>2</ID> | |
<Description>"infinite lives"</Description> | |
<LastState Value="1" Activated="0" RealAddress="0046B218"/> | |
<Color>80000008</Color> | |
<VariableType>4 Bytes</VariableType> | |
<Address>0046b218</Address> |
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
<?php | |
define('SRT_STATE_SUBNUMBER', 0); | |
define('SRT_STATE_TIME', 1); | |
define('SRT_STATE_TEXT', 2); | |
define('SRT_STATE_BLANK', 3); | |
function parseSrt($lines) { | |
$subs = array(); | |
$state = SRT_STATE_SUBNUMBER; |
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 |
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
@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
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 |
OlderNewer