store all update details in the xml

This commit is contained in:
Matteias Collet 2018-02-09 03:16:06 +01:00
parent 0c97425248
commit 85a9eb11e8
5 changed files with 187 additions and 195 deletions

10
Readme.md Normal file
View file

@ -0,0 +1,10 @@
### About
This repository contains the code behind the Super Mario Sunshine Cheatfile Generator at http://gct.zint.ch/
---
### Features
* Custom cheat combination
* Custom stage loader based off [QbeRoot's fastcodes](https://github.com/QbeRoot/fastcodes)
* Creates cheatfiles ready for use with a Homebrew Application, or formatted codes for use with [Dolphin](https://github.com/dolphin-emu/dolphin)
Raw codes and asm code for larger codes can be found in the [SMS-Practice-Codes](https://github.com/BitPatty/SMS-Practice-Codes) repo.

View file

@ -7,140 +7,12 @@
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<title>Changelog</title>
</head>
<body>
<body onload="updateChangelog()">
<div id="guide_content" class="framed">
<h1 style="text-align:center;width:100%;">Full Changelog</h1>
<h2 id="180206"><a href="#180206">Feb 06, 2018</a></h2>
<h3 id="1802061"><a href="#1802061">Fixed 'Level Select' for JP 1.1</a></h3>
<p>Fixed the injection address.</p>
<h2 id="180203"><a href="#180203">Feb 03, 2018</a></h2>
<h3 id="1802031"><a href="#1802031">Updated Stage Loader</a></h3>
<p>Added "Random, no duplicates" order that will only load each stage once.</p>
<p>Exiting area or dying now reloads the current stage instead of moving on.</p>
<p>Added IW and ASIW presets.</p>
<p>Added options for what to do after the last level; removed Corona and Bowser from the regular level choices.</p>
<h2 id="180202"><a href="#180202">Feb 02, 2018</a></h2>
<h3 id="1802021"><a href="#1802021">Site changes</a></h3>
<p>Integrated <a href="https://qberoot.github.io/fastcodes/">Noki Dokis Stage Loader</a> into the Generator.</p>
<h2 id="180124"><a href="#180124">Jan 24, 2018</a></h2>
<h3 id="1801241"><a href="#1801241">Optimized 'Fast Any%'</a></h3>
<p>Shortens the code by a few lines</p>
<h2 id="180120"><a href="#180120">Jan 20, 2018</a> </h2>
<h3 id="1801201"><a href="#1801201">Added 'Remove Save Boxes'</a></h3>
<p>Adds the option to have save boxes removed outside of 'Fast Any%'</p>
<h3 id="1801202"><a href="#1801202">Fixed episode names in 'Fast Any%'.</a></h3>
<p>Makes the correct episode names appear in the demo cutscenes and the pause menu in Fast Any%.</p>
<h3 id="1801203"><a href="#1801203">Made 'Fast Any%' compatible with 'Shine Get Timer' and 'Shine Touch Timer'.</a></h3>
<p>Allows the use of IGT in Fast Any%, which was previously impossible.</p>
<h2 id="180118"><a href="#180118">Jan 18, 2018</a> </h2>
<h3 id="1801181"><a href="#1801181">Site changes</a></h3>
<p>Updated guides.</p>
<h2 id="180117"><a href="#180117">Jan 17, 2018</a> </h2>
<h3 id="1801171"><a href="#1801171">Site changes</a></h3>
<p>Added JP-A port for all codes.</p>
<h2 id="180108"><a href="#180108">Jan 8, 2018</a> </h2>
<h3 id="1801081"><a href="#1801081">Site changes</a></h3>
<p>Added <a href="ios58.html"> a guide on how to install IOS58</a>.</p>
<h2 id="180101"><a href="#180101">Jan 1, 2018</a> </h2>
<h3 id="1801011"><a href="#1801011">Updated 'D-Pad Functions'</a></h3>
<p>Fixed dialogue replacement.</p>
<h2 id="171230"><a href="#171230">Dec 30, 2017</a> </h2>
<h3 id="1712301"><a href="#1712301">Updated 'D-Pad Functions'</a></h3>
<p>Added Plaza Yoshi Unlock.</p>
<h2 id="171219"><a href="#171219">Dec 19, 2017</a> </h2>
<h3 id="1712191"><a href="#1712191">Updated 'Fast Any%'</a></h3>
<p>Added FMV Skips except for Pinna 1.</p>
<h2 id="171205"><a href="#171205">Dec 05, 2017</a> </h2>
<h3 id="1712051"><a href="#1712051">Site Changes</a></h3>
<p>Added option to download codes formatted for the Gecko Cheat Manager.</p>
<h2 id="171129"><a href="#171129">Nov 29, 2017</a> </h2>
<h3 id="1711291"><a href="#1711291">Updated 'Level Select' for PAL</a></h3>
<p>Fixed Pinna not resetting inside the park.</p>
<h3 id="1711292"><a href="#1711292">Updated 'Shine Touch Timer' and 'Shine Get Timer'</a></h3>
<p>Made timers stop after the bowser fight when hitting the last platform.</p>
<h2 id="171112"><a href="#171112">Nov 12, 2017</a> </h2>
<h3 id="1711121"><a href="#1711121">Updated 'Free Pause'</a></h3>
<p>Fixed 'Free Pause' incompatibility with 'Shine Get Timer' caused by them injecting code in the same address.</p>
<h2 id="171109"><a href="#171109">Nov 09, 2017</a> </h2>
<h3 id="1711091"><a href="#1711091">Site changes</a></h3>
<p>Added download button for raw codes for Dolphin.</p>
<h2 id="171108"><a href="#171108">Nov 08, 2017</a> </h2>
<h3 id="1711081"><a href="#1711081">Added 'Fast 79 Shines' for NTSC-U</a></h3>
<p>Same concept as 'Fast Any%'.</p>
<h2 id="171107"><a href="#171107">Nov 07, 2017</a> </h2>
<h3 id="1711071"><a href="#1711071">Seperated 'Exit Area Everywhere' from 'Free Pause'</a></h3>
<p>Seperated these two codes again since they don't depend on each other.</p>
<h2 id="171106"> <a href="#171106">Nov 06, 2017</a></h2>
<h3 id="1711061"> <a href="#1711061">Updated Ingame Timers and Level Select</a> </h3>
<p>The Original Ingame Timer has been marked as deprecated. You can still find it on the bottom of the codelist though if you still want to use it. Instead, there are now two other timers:</p>
<br />
<ul>
<li>Shine Touch Timer: Starts on the last black frame of the loading screen and ends when you touch the shine.</li>
<li>Shine Get Timer: Starts on the last black frame of the loading screen and ends when the Shine Get animation starts (similiar to the x-cam timer of SM64).</li>
</ul>
<p>Since the Shine Get timer contained a way better Level Select, the Level Select code has been replaced with the one from the timer. It includes the most recent fixes and also has some maintenance advantages.</p>
<br />
<p>Level Select changes:</p>
<ul>
<li>Mashing A during loading screens doesn't affect your level selection anymore.</li>
<li>Pinna game resets have been fixed.</li>
<li>Level Names in the intro have been fixed (shoutouts to Noki Doki).</li>
<li>Sirena 5 now loads the right casino.</li>
<li>Reloading Sirena does no longer respawn you in the Hotel. Reason: You can move earlier than usual if you do that, making it too inaccurate for practice.</li>
</ul>
<p>Timer changes (compared to original timer):</p>
<ul>
<li>Changed timing (see above).</li>
<li>Resets on death.</li>
<li>Resets when using Shine Select.</li>
<li>Only uses existing timers for Piantissimo, Sirena/Pianta 6 and Ricco 2 underground.</li>
<li>Fixed Pinna 8 HUD.</li>
</ul>
<p>Known bugs:</p>
<ul>
<li>Can't reset Pinna 8 properly after finishing the rollercoaster. Use the cannon to reenter or reset the game instead.</li>
<li>Box game timer doesn't work properly.</li>
</ul>
<h3 id="1711062"><a href="#1711062">Added 'Free Pause'</a></h3>
<p>'Free Pause' replaces 'Enable Pause Mid-Air' and 'Enable Exit Area Everywhere'. It now also allows you to pause during cutscenes.</p>
<h3 id="1711063"><a href="#1711063">Site Changes</a></h3>
<ul>
<li>Added detailed changelog.</li>
<li>Updated guide with more information about the maximum code size.</li>
</ul>
<h2 id="171104"><a href="#171104">Nov 04, 2017</a> </h2>
<h3 id="1711041"><a href="#1711041">Changed Shine Get Timer</a></h3>
<p>Fixed timer resetting during wrong cutscenes when using 'Exit Area' after touching a Shine.</p>
<h2 id="171030"><a href="#171030">Oct 30, 2017</a> </h2>
<h3 id="1710301"><a href="#1710301">Added 'Enable Exit Area Everywhere'</a></h3>
<p>Allows you to choose 'Exit Area' in the pause menu on Plaza.</p>
<h2 id="171029"><a href="#171029">Oct 29, 2017</a></h2>
<h3 id="1710291"><a href="#1710291">Added 'Shine Get Timer'</a></h3>
<p>New timer that starts and ends consistently in different levels, making comparisons easier.</p>
<h2 id="171028"><a href="#171028">Oct 28, 2017</a></h2>
<h3 id="1710281"><a href="#1710281">Updated 'DPad Functions'</a></h3>
<p>New functions have been added to the DPad Functions:</p>
<ul>
<li>X+D-Pad left: No FLUDD in secrets</li>
<li>X+D-Pad right: Always FLUDD in secrets</li>
<li>X+D-Pad up: Unlock Yoshi in stages</li>
<li>X+D-Pad down: Defauld FLUDD behaviour for secrets</li>
</ul>
<h2 id="171026"><a href="#171026">Oct 26, 2017</a></h2>
<h3 id="1710261"><a href="#1710261">Added 'Enable Pause Mid-Air'</a></h3>
<p>Allows you to pause mid-air.</p>
<h2 id="171024"><a href="#171024">Oct 24, 2017</a></h2>
<h3 id="1710241"><a href="#1710241">Added 'Shine Outfit'</a></h3>
<p>Always wear glasses and the shirt.</p>
<h2 id="171015"><a href="#171015">Oct 15, 2017</a></h2>
<h3 id="1710151"><a href="#1710151">Site Changes</a></h3>
<p>Fixed the download button not working for Firefox.</p>
<h2 id="171014"><a href="#171014">Oct 14, 2017</a></h2>
<h3 id="1710141"><a href="#1710141">Added 'Fast Any%' for JP and PAL</a></h3>
<p>-</p>
<h2 id="171011"><a href="#171011">Oct 11, 2017</a></h2>
<h3 id="1710111"><a href="#1710111">Added 'Stage Randomizer' for NTSC-U</a></h3>
<p><i>Experimental!</i> Loads a random stage after exiting of finishing a level.</p>
</div>
<h1 style="text-align:center;width:100%;">Full Changelog</h1>
</div>
<script>
function updateChangelog(){var e=new XMLHttpRequest;e.onload=function(){if(200==this.status&&null!=this.responseXML){var t=e.responseXML;t=(t=(new DOMParser).parseFromString(e.responseText,"text/xml")).getElementsByTagName("update");try{for(var n=document.getElementById("guide_content"),a=0;a<t.length;a++){var g=t[a].getElementsByTagName("date")[0].textContent.match(/[a-zA-Z0-9]/g).join("");n.innerHTML+='<h2 id="'+g+'"><a href="#'+g+'">'+t[a].getElementsByTagName("date")[0].textContent+"</a></h2>";for(var r=t[a].getElementsByTagName("change"),o=0;o<r.length;o++){n.innerHTML+="<h3>"+r[o].getElementsByTagName("head")[0].textContent+"</h3>";for(var s=r[o].getElementsByTagName("paragraph"),m=0;m<s.length;m++)n.innerHTML+="<p>"+s[m].textContent+"</p>"}}}catch(e){}}},e.open("GET","changelog.xml"),e.send()}
</script>
</body>
</html>

View file

@ -2,136 +2,233 @@
<updates>
<update>
<date>Feb 06, 2018</date>
<change>Fixed Level Select for JP 1.1.</change>
<change>
<head>Fixed Level Select for JP 1.1.</head>
<paragraph>Fixed the injection address.</paragraph>
</change>
</update>
<update>
<date>Feb 03, 2018</date>
<change>Updated Stage Loader.</change>
<change>
<head>Updated Stage Loader.</head>
<paragraph>Exiting area or dying now reloads the current stage instead of moving on.</paragraph>
<paragraph>Added IW and ASIW presets.</paragraph>
<paragraph>Added options for what to do after the last level; removed Corona and Bowser from the regular level choices.</paragraph>
</change>
</update>
<update>
<date>Feb 02, 2018</date>
<change>Integrated Noki Dokis Stage Loader.</change>
<change>
<head>Integrated Noki Dokis Stage Loader.</head>
<paragraph><![CDATA[Integrated <a href="https://qberoot.github.io/fastcodes/">Noki Dokis Stage Loader</a> into the Generator.]]></paragraph>
</change>
</update>
<update>
<date>Jan 24, 2018</date>
<change>Optimized 'Fast Any%'.</change>
<change>
<head>Optimized 'Fast Any%'.</head>
<paragraph>Shortened the code by a few lines.</paragraph>
</change>
</update>
<update>
<date>Jan 20, 2018</date>
<change>Made 'Fast Any%' compatible with the timers.</change>
</update>
<update>
<date>Jan 20, 2018</date>
<change>Fixed episode names in 'Fast Any%'.</change>
</update>
<update>
<date>Jan 20, 2018</date>
<change>Added 'Remove Save Boxes'.</change>
<change>
<head>Fixed episode names in 'Fast Any%'.</head>
<paragraph>Makes the correct episode names appear in the demo cutscenes and the pause menu in Fast Any%.</paragraph>
</change>
<change>
<head>Added 'Remove Save Boxes'.</head>
<paragraph>Adds the option to have save boxes removed outside of 'Fast Any%'</paragraph>
</change>
<change>
<head>Made 'Fast Any%' compatible with the timers.</head>
<paragraph>Makes it possible to use the Shine Get and Shine Touch timer in combination with Fast Any%</paragraph>
</change>
</update>
<update>
<date>Jan 18, 2018</date>
<change>Updated guides.</change>
<change>
<head>Updated guides.</head>
<paragraph>Added additional information based on questions asked on the Discord.</paragraph>
</change>
</update>
<update>
<date>Jan 17, 2018</date>
<change>Added JP-A port.</change>
<change>
<head>Added JP-A port.</head>
<paragraph>Added JP-A port for all codes.</paragraph>
</change>
</update>
<update>
<date>Jan 08, 2018</date>
<change>Added guide for installing IOS58.</change>
<change>
<head>Added guide for installing IOS58.</head>
<paragraph><![CDATA[Added <a href="ios58.html"> a guide on how to install IOS58.]]></paragraph>
</change>
</update>
<update>
<date>Jan 01, 2018</date>
<change>Fixed 'D-Pad Functions' not removing dialogue properly.</change>
<change>
<head>Fixed 'D-Pad Functions' not removing dialogue properly.</head>
<paragraph></paragraph>
</change>
</update>
<update>
<date>Dec 30, 2017</date>
<change>Plaza Yoshi Unlock in 'D-Pad Functions'.</change>
<change>
<head>Plaza Yoshi Unlock in 'D-Pad Functions'.</head>
<paragraph>Added Plaza Yoshi Unlock.</paragraph>
</change>
</update>
<update>
<date>Dec 19, 2017</date>
<change>Added FMV Skips to 'Fast Any%' except for Pinna 1.</change>
<change>
<head>Added FMV Skips to 'Fast Any%' except for Pinna 1.</head>
<paragraph>Always enables FMV Skips outside Pinna 1.</paragraph>
</change>
</update>
<update>
<date>Dec 05, 2017</date>
<change>Added 'Download for Gecko Cheat Manager' option.</change>
<change>
<head>Added 'Download for Gecko Cheat Manager' option.</head>
<paragraph>Added option to download codes formatted for the Gecko Cheat Manager.</paragraph>
</change>
</update>
<update>
<date>Nov 29, 2017</date>
<change>Made timers stop after the bowser fight and fixed Pinna not resetting inside the park on PAL.</change>
<change>
<head>Made timers stop after the bowser fight.</head>
<paragraph>Timers now also allow to time Corona properly, by stopping them when hitting the last platform during the bowser fight.</paragraph>
</change>
<change>
<head>Fixed Pinna not resetting inside the park on PAL.</head>
<paragraph></paragraph>
</change>
</update>
<update>
<date>Nov 12, 2017</date>
<change>Fixed 'Free Pause' compatibility with 'Shine Get Timer'.</change>
<change>
<head>Fixed 'Free Pause' compatibility with 'Shine Get Timer'.</head>
<paragraph>Fixed 'Free Pause' incompatibility with 'Shine Get Timer' caused by them injecting code in the same address.</paragraph>
</change>
</update>
<update>
<date>Nov 09, 2017</date>
<change>Added 'Download for Dolphin' button.</change>
<change>
<head>Added 'Download for Dolphin' button.</head>
<paragraph>Added download button to get the codes formatted for Dolphin.</paragraph>
</change>
</update>
<update>
<date>Nov 08, 2017</date>
<change>Added 'Fast 79 Shines' for NTSC-U.</change>
<change>
<head>Added 'Fast 79 Shines' for NTSC-U.</head>
<paragraph>Same concept as 'Fast Any%'.</paragraph>
</change>
</update>
<update>
<date>Nov 07, 2017</date>
<change>Seperated 'Free Pause' and 'Exit Area everywhere'.</change>
<change>
<head>Seperated 'Free Pause' and 'Exit Area everywhere'.</head>
<paragraph>Seperated these two codes again since they don't depend on each other.</paragraph>
</change>
</update>
<update>
<date>Nov 06, 2017</date>
<change>Updated 'Level Select'. Added 'Shine Touch Timer'. Marked original IGT as deprecated. Replaced 'Exit Area Everywhere' and 'Pause Mid-Air' with 'Free Pause'.</change>
<change>
<head>Updated 'Level Select'. Added 'Shine Touch Timer'. Marked original IGT as deprecated.</head>
<paragraph>The Original Ingame Timer has been marked as deprecated. You can still find it on the bottom of the codelist though if you still want to use it. Instead, there are now two other timers:</paragraph>
<paragraph><![CDATA[<ul><li>Shine Touch Timer: Starts on the last black frame of the loading screen and ends when you touch the shine.</li><li>Shine Get Timer: Starts on the last black frame of the loading screen and ends when the Shine Get animation starts (similiar to the x-cam timer of SM64).</li></ul>]]></paragraph>
<paragraph>Since the Shine Get timer contained a way better Level Select, the Level Select code has been replaced with the one from the timer. It includes the most recent fixes and also has some maintenance advantages.</paragraph>
<paragraph>Timer Changes:</paragraph>
<paragraph><![CDATA[<ul><li>Changed timing (see above).</li><li>Resets on death.</li><li>Resets when using Shine Select.</li><li>Only uses existing timers for Piantissimo, Sirena/Pianta 6 and Ricco 2 underground.</li><li>Fixed Pinna 8 HUD.</li></ul>]]></paragraph>
<paragraph>Known Bugs:</paragraph>
<paragraph><![CDATA[<ul><li>Can't reset Pinna 8 properly after finishing the rollercoaster. Use the cannon to reenter or reset the game instead.</li><li>Box game timer doesn't work properly.</li></ul>]]></paragraph>
</change>
<change>
<head>Updated Level Select</head>
<paragraph><![CDATA[<ul>
<li>Mashing A during loading screens doesn't affect your level selection anymore.</li>
<li>Pinna game resets have been fixed.</li>
<li>Level Names in the intro have been fixed (shoutouts to Noki Doki).</li>
<li>Sirena 5 now loads the right casino.</li>
<li>Reloading Sirena does no longer respawn you in the Hotel. Reason: You can move earlier than usual if you do that, making it too inaccurate for practice.</li>
</ul>]]></paragraph>
</change>
<change>
<head>Replaced 'Exit Area Everywhere' and 'Pause Mid-Air' with 'Free Pause'.</head>
<paragraph>Merged the two codes.</paragraph>
</change>
</update>
<update>
<change>
<date>Nov 06, 2017</date>
<head>Added 'Free Pause'</head>
<paragraph>'Free Pause' replaces 'Enable Pause Mid-Air' and 'Enable Exit Area Everywhere'. It now also allows you to pause during cutscenes.</paragraph>
</change>
</update>
<update>
<date>Nov 04, 2017</date>
<change>Fixed 'Shine Get Timer' stopping in wrong cutscenes.</change>
<change>
<head>Fixed 'Shine Get Timer' stopping in wrong cutscenes.</head>
<paragraph>Fixed timer resetting during wrong cutscenes when using 'Exit Area' after touching a Shine.</paragraph>
</change>
</update>
<update>
<date>Oct 30, 2017</date>
<change>Added 'Enable Exit Area Everywhere'.</change>
<change>
<head>Added 'Enable Exit Area Everywhere'.</head>
<paragraph></paragraph>
</change>
</update>
<update>
<date>Oct 29, 2017</date>
<change>Added 'Shine Get Timer'.</change>
<change>
<head>Added 'Shine Get Timer'.</head>
<paragraph>Allows you to choose 'Exit Area' in the pause menu on Plaza.</paragraph>
</change>
</update>
<update>
<date>Oct 28, 2017</date>
<change>Added X+DPad combinations to 'DPad Functions'.</change>
<change>
<head>Added X+DPad combinations to 'DPad Functions'.</head>
<paragraph>New functions have been added to the DPad Functions:</paragraph>
<paragraph><![CDATA[<ul><li>X+D-Pad left: No FLUDD in secrets</li><li>X+D-Pad right: Always FLUDD in secrets</li><li>X+D-Pad up: Unlock Yoshi in stages</li><li>X+D-Pad down: Defauld FLUDD behaviour for secrets</li></ul>]]></paragraph>
</change>
</update>
<!--
<update>
<date>Oct 27, 2017</date>
<change>Minor Fixes for Shine Get Timer (previously RTA timer).</change>
</update>
-->
<update>
<date>Oct 26, 2017</date>
<change>Added 'Enable Pause Mid-Air'.</change>
<change>
<head>Added 'Enable Pause Mid-Air'.</head>
<paragraph>Allows you to pause mid-air.</paragraph>
</change>
</update>
<update>
<date>Oct 24, 2017</date>
<change>Added 'Shine outfit'.</change>
<change>
<head>Added 'Shine outfit'.</head>
<paragraph>Always wear glasses and the shirt.</paragraph>
</change>
</update>
<!--
<update>
<date>Oct 18, 2017</date>
<change>Added RTA timer for NTSC-U (Experimental).</change>
</update>
-->
<!--
<update>
<date>Oct 16, 2017</date>
<change>Updated descriptions for incompatible codes.</change>
</update>
-->
<update>
<date>Oct 15, 2017</date>
<change>Fixed download for Firefox.</change>
<change>
<head>Fixed download for Firefox.</head>
<paragraph>Fixed the download button not working for Firefox.</paragraph>
</change>
</update>
<update>
<date>Oct 14, 2017</date>
<change>Added 'Fast Any%' for JP &amp; PAL</change>
<change>
<head>Added 'Fast Any%' for JP &amp; PAL</head>
<paragraph></paragraph>
</change>
</update>
<update>
<date>Oct 11, 2017</date>
<change>Added 'Stage Randomizer' for NTSC-U (Experimental).</change>
<change>
<head>Added 'Stage Randomizer' for NTSC-U (Experimental).</head>
<paragraph>Loads a random stage after exiting of finishing a level.</paragraph>
</change>
</update>
</updates>

View file

@ -198,9 +198,9 @@ function updateUIDescription(s) {
}
function resetDescription() {
document.getElementById("descriptionbox").innerHTML = "<p><h3>Choose your codes from the list...</h3></p>";
document.getElementById("descriptionbox").innerHTML = "<p><h3>Choose your codes from the list...</h3></p>";
}
function updateChangelog() {
document.getElementById("gameversion").style.visibility = "visible";
var xml = new XMLHttpRequest();
@ -211,12 +211,25 @@ function updateChangelog() {
changelogData = (new DOMParser()).parseFromString(xml.responseText, "text/xml");
changelogData = changelogData.getElementsByTagName("update");
document.getElementById("lastupdate").innerHTML = "Last Updated: " + changelogData[0].getElementsByTagName("date")[0].textContent;
for (var i = 0; i < changelogData.length && i < 5; i++) {
document.getElementById("changelog").innerHTML += "<p style=\"margin:0\"><i>" + changelogData[i].getElementsByTagName("date")[0].textContent + ":</i> " + changelogData[i].getElementsByTagName("change")[0].textContent + "</p>";
}
var recentchanges = "";
try {
document.getElementById("lastupdate").innerHTML = "Last Updated: " + changelogData[0].getElementsByTagName("date")[0].textContent;
for (var i = 0; i < changelogData.length && i < 3;i++) {
recentchanges += "<p style=\"margin:0\"><i>" + changelogData[i].getElementsByTagName("date")[0].textContent + ":</i> ";
var changes = changelogData[i].getElementsByTagName("change");
for (var k = 0; k < changes.length && (i+k-1) < 3; k++) {
recentchanges += changes[k].getElementsByTagName("head")[0].textContent;
}
i += k-1;
recentchanges += "</p>";
}
} catch (err) {}
document.getElementById("changelog").innerHTML += "<a target=\"_blank\" href=\"changelog.html\"><i>more ...</i></a>";
document.getElementById("changelog").innerHTML += recentchanges + "<a target=\"_blank\" href=\"changelog.html\"><i>more ...</i></a>";
};
}

View file

@ -268,7 +268,7 @@
<p>This is a cheatfile generator for Super Mario Sunshine speedrun practice. A guide on how to use the generator and practice codes on your Wii can be found here: <a target="_blank" href="guide.html">Guide</a>. Visit the <a target="_blank" href="guide.html#3">troubleshooting section</a> if you encounter any issues.</p>
<br />
<h4>Changelog:</h4>
<p id="changelog"></p>
<div id="changelog"></div>
<p style="margin:0;text-align:right"><i>Made by <a target="_blank" href="https://twitter.com/psychonauter">Psychonauter</a>, <a target="_blank" href="https://twitter.com/qbe_root">Noki Doki</a> &amp; <a target="_blank" href="https://twitter.com/srlmilk">Milk</a></i></p>
<hr />
<div id="smscommunity">