cutter/www/index.html

40 lines
1,020 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Demo cutter</title>
<style>
input[disabled] {
opacity: 0.5;
}
</style>
</head>
<body>
<noscript>This page contains webassembly and javascript content, please enable javascript in your browser.</noscript>
<script src="./bootstrap.js"></script>
<h1>TF2 Demo cutter</h1>
Cut down a demo file to a specific tick range.
<p>
Set the start and end tick, select a demo file and press the cut button to begin processing, once processed the file
will be presented as download
</p>
<p>Processing demo files can take a while</p>
<form>
<p>
<input type="number" id="start" value="30000">
<input type="number" id="end" value="50000">
<input type="file" id="file">
</p>
<p><input type="button" id="cut" value="Cut demo"></p>
</form>
<p>
Note:
</p>
<ul>
<li>The resulting demo might not work or crash tf2 on playback, blame valve for making bad code</li>
</ul>
</body>
</html>