mirror of
https://github.com/marcrobledo/RomPatcher.js.git
synced 2025-06-27 16:25:54 +00:00
* supports UPS format now * full code overhaul * shows CRC32, MD5 and SHA-1 before patching
99 lines
No EOL
2.9 KiB
HTML
99 lines
No EOL
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html manifest="manifest.appcache">
|
|
<head>
|
|
<title>ROMPatcher.js</title>
|
|
<meta http-equiv="content-Type" content="text/html; charset=UTF-8"/>
|
|
<meta name="description" content="This small web app allows you to apply IPS/UPS patches to your ROM dump files."/>
|
|
<meta name="keywords" content="ips,ups,patcher,online,html5,rom,patch,hack,translation"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
|
<link rel="shortcut icon" href="./RomPatcher.png"/>
|
|
<link type="text/css" rel="stylesheet" href="./RomPatcher.css" media="all"/>
|
|
<script type="text/javascript" src="./RomPatcher.js"></script>
|
|
<script type="text/javascript" src="./ips.js"></script>
|
|
<script type="text/javascript" src="./ups.js"></script>
|
|
</head>
|
|
<body>
|
|
|
|
<!-- HEADER -->
|
|
<div id="header">
|
|
<h1>RomPatcher.js</h1>
|
|
<h2>
|
|
by <a href="/" class="author">Marc Robledo</a>
|
|
<a href="https://github.com/marcrobledo/RomPatcher.js/" target="_blank" class="button"><span class="sprite github"></span> See on GitHub</a>
|
|
<a href="https://www.paypal.me/marcrobledo/5" target="_blank" rel="nofollow" class="donate button"><span class="sprite heart"></span> Donate</a>
|
|
</h2>
|
|
</div>
|
|
|
|
|
|
|
|
<div id="cards">
|
|
<div class="card card-notice text-center">
|
|
This small web app allows you to apply a IPS/UPS patch to your favorite retro games.
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="card card-red">
|
|
<h3>Apply patch</h3>
|
|
<div class="row">
|
|
<div class="three columns"><label for="input-file-rom">ROM file:</label></div>
|
|
<div class="nine columns">
|
|
<input type="file" id="input-file-rom" />
|
|
<textarea disabled id="rom-info" rows="3" style="width:100%"></textarea>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="three columns"><label for="input-file-patch">Patch file (IPS/UPS):</label></div>
|
|
<div class="nine columns">
|
|
<input type="file" id="input-file-patch" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="buttons">
|
|
<button class="with-icon icon9" onclick="applyPatchFile(patch, romFile)">Apply patch</button>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="card card-green">
|
|
<h3>Create patch</h3>
|
|
<div class="row">
|
|
<div class="three columns"><label for="input-file-rom1">Original ROM:</label></div>
|
|
<div class="six columns end">
|
|
<input type="file" id="input-file-rom1" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="three columns"><label for="input-file-rom2">Modified ROM:</label></div>
|
|
<div class="six columns end">
|
|
<input type="file" id="input-file-rom2" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="three columns">Patch type</div>
|
|
<div class="six columns end">
|
|
<input type="radio" id="radio-ips" name="patch-type" checked /><label for="radio-ips">IPS</label>
|
|
<input type="radio" id="radio-ups" name="patch-type" /><label for="radio-ups">UPS</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="buttons">
|
|
<button class="with-icon icon9" onclick="createPatchFile()">Create patch</button>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</body></html> |