2017-03-14 20:32:40 +01:00
|
|
|
<!DOCTYPE html>
|
2018-04-23 20:41:21 +02:00
|
|
|
<html>
|
2017-03-14 20:32:40 +01:00
|
|
|
<head>
|
2018-04-28 15:57:54 +02:00
|
|
|
<title>Rom Patcher JS</title>
|
2017-03-14 20:32:40 +01:00
|
|
|
<meta http-equiv="content-Type" content="text/html; charset=UTF-8"/>
|
2018-04-27 21:06:44 +02:00
|
|
|
<meta name="description" content="A web-based IPS/UPS/APS/BPS ROM patcher."/>
|
2018-04-28 15:57:54 +02:00
|
|
|
<meta name="keywords" content="ips,ups,aps,bps,patcher,online,html5,web,online,rom,patch,hack,translation"/>
|
2017-03-14 20:32:40 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
2018-04-28 15:57:54 +02:00
|
|
|
<link rel="manifest" href="./manifest.json"/>
|
2018-04-29 11:12:54 +02:00
|
|
|
<link rel="shortcut icon" href="./favicon.png" type="image/png" sizes="16x16"/>
|
|
|
|
<link rel="shortcut icon" href="./logo192.png" type="image/png" sizes="192x192"/>
|
|
|
|
<!-- <link rel="apple-touch-icon" href="./logo192.png" sizes="192x192" /> -->
|
2017-07-22 11:58:52 +02:00
|
|
|
<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>
|
2017-07-23 12:33:13 +02:00
|
|
|
<script type="text/javascript" src="./aps.js"></script>
|
2017-11-03 09:43:29 +01:00
|
|
|
<script type="text/javascript" src="./bps.js"></script>
|
2018-04-28 15:57:54 +02:00
|
|
|
<!-- <script type="text/javascript" src="./apsgba.js"></script> -->
|
2017-03-14 20:32:40 +01:00
|
|
|
</head>
|
2018-04-28 15:57:54 +02:00
|
|
|
<body unselectable="on" onselectstart="return false"><div id="column">
|
2017-03-14 20:32:40 +01:00
|
|
|
|
2017-07-22 19:57:15 +02:00
|
|
|
|
2017-03-14 20:32:40 +01:00
|
|
|
<!-- HEADER -->
|
2018-04-28 16:03:19 +02:00
|
|
|
<header><img src="logo192.png" /><h1>RomPatcher.js</h1></header>
|
2017-03-14 20:32:40 +01:00
|
|
|
|
2017-07-22 19:57:15 +02:00
|
|
|
<!-- APP -->
|
2018-04-28 15:57:54 +02:00
|
|
|
<div id="wrapper">
|
|
|
|
<div id="tabs"><div class="selected clickable" onclick="setTab(0)">Apply patch</div><div class="clickable" onclick="setTab(1)">Create patch</div></div>
|
|
|
|
|
|
|
|
<div id="tab0" class="tab">
|
2017-03-14 20:32:40 +01:00
|
|
|
<div class="row">
|
2018-04-28 15:57:54 +02:00
|
|
|
<div class="leftcol"><label for="input-file-rom">ROM file:</label></div>
|
|
|
|
<div class="rightcol">
|
2017-07-22 11:58:52 +02:00
|
|
|
<input type="file" id="input-file-rom" />
|
2017-11-12 16:29:14 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-28 15:57:54 +02:00
|
|
|
<div class="row" id="rom-info">
|
|
|
|
<div class="leftcol">CRC32:</div><div class="rightcol"><span id="crc32"></span></div>
|
|
|
|
<div class="leftcol">MD5:</div><div class="rightcol"><span id="md5"></span></div>
|
|
|
|
<div class="leftcol">SHA-1:</div><div class="rightcol"><span id="sha1"></span></div>
|
|
|
|
</div>
|
2017-11-12 16:29:14 +01:00
|
|
|
<div class="row" id="row-removeheader" style="display:none">
|
2018-04-28 15:57:54 +02:00
|
|
|
<div class="leftcol"><label for="checkbox-removeheader">Remove header before patching:</label></div>
|
|
|
|
<div class="rightcol">
|
2017-11-12 16:29:14 +01:00
|
|
|
<input type="checkbox" id="checkbox-removeheader" />
|
2017-03-14 20:32:40 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-23 20:41:21 +02:00
|
|
|
<div class="row" id="row-addheader" style="display:none">
|
2018-04-28 15:57:54 +02:00
|
|
|
<div class="leftcol"><label for="checkbox-addheader">Patch needs a headered ROM:</label></div>
|
|
|
|
<div class="rightcol">
|
2018-04-23 20:41:21 +02:00
|
|
|
<input type="checkbox" id="checkbox-addheader" />
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-03-14 20:32:40 +01:00
|
|
|
|
2018-04-28 15:57:54 +02:00
|
|
|
<div class="row" title="Compatible formats: IPS, UPS, APS and BPS">
|
|
|
|
<div class="leftcol"><label for="input-file-patch">Patch file:</label></div>
|
|
|
|
<div class="rightcol">
|
2017-07-22 11:58:52 +02:00
|
|
|
<input type="file" id="input-file-patch" />
|
2017-03-14 20:32:40 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="buttons">
|
2018-04-28 15:57:54 +02:00
|
|
|
<button class="with-dot" onclick="applyPatchFile(patch, romFile)">Apply patch</button>
|
2017-03-14 20:32:40 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-04-28 15:57:54 +02:00
|
|
|
<div id="tab1" class="tab">
|
2017-03-14 20:32:40 +01:00
|
|
|
<div class="row">
|
2018-04-28 15:57:54 +02:00
|
|
|
<div class="leftcol"><label for="input-file-rom1">Original ROM:</label></div>
|
|
|
|
<div class="rightcol">
|
2017-07-22 11:58:52 +02:00
|
|
|
<input type="file" id="input-file-rom1" />
|
2017-03-14 20:32:40 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
2018-04-28 15:57:54 +02:00
|
|
|
<div class="leftcol"><label for="input-file-rom2">Modified ROM:</label></div>
|
|
|
|
<div class="rightcol">
|
2017-07-22 11:58:52 +02:00
|
|
|
<input type="file" id="input-file-rom2" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
2018-04-28 15:57:54 +02:00
|
|
|
<div class="leftcol">Patch type:</div>
|
|
|
|
<div class="rightcol">
|
|
|
|
<select id="patch-type">
|
|
|
|
<option value="ips">IPS</option>
|
|
|
|
<option value="ups">UPS</option>
|
|
|
|
<option value="aps">APS</option>
|
|
|
|
<option value="apsn64">APS (N64)</option>
|
|
|
|
<!-- <option value="bps">BPS</option> -->
|
|
|
|
</select>
|
2017-03-14 20:32:40 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="buttons">
|
2018-04-28 15:57:54 +02:00
|
|
|
<button class="with-dot" onclick="createPatchFile()">Create patch</button>
|
2017-03-14 20:32:40 +01:00
|
|
|
</div>
|
2017-07-22 19:57:15 +02:00
|
|
|
</div>
|
2017-03-14 20:32:40 +01:00
|
|
|
</div>
|
|
|
|
|
2018-04-28 15:57:54 +02:00
|
|
|
<!-- FOOTER -->
|
|
|
|
<footer>
|
|
|
|
Rom Patcher JS <small>rev 20170428</small> by <a href="/">Marc Robledo</a>
|
|
|
|
<i class="icon github"></i> <a href="https://github.com/marcrobledo/RomPatcher.js/" target="_blank">See on GitHub</a>
|
|
|
|
<i class="icon heart"></i> <a href="https://www.paypal.me/marcrobledo/5" target="_blank" rel="nofollow">Donate</a>
|
|
|
|
</footer>
|
2017-03-14 20:32:40 +01:00
|
|
|
|
2018-04-28 15:57:54 +02:00
|
|
|
</div></body></html>
|