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
<?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 | |
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
<?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 = ".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
@echo off | |
setlocal disableDelayedExpansion | |
set args=%* | |
set "dragDrop=" | |
set aac=0 | |
setlocal enableDelayedExpansion | |
set "cmd=!cmdcmdline!" | |
set "cmd2=!cmd:*%~f0=!" |
NewerOlder