Guide_Wii/_pages/en_US/dump-games.md
2020-07-22 12:44:28 -07:00

46 lines
1.6 KiB
Markdown

---
title: "Dumping Wii/GameCube games"
---
Want to dump a GameCube or a Wii disk? There are two ways of doing so, depending on the tools you have available with you.
<button class="tablinks btn btn--large btn--primary" id="defaultOpen" onclick="openTab(event, 'cleanrip')">To the SD card/USB drive</button>
<button class="tablinks btn btn--large btn--info" onclick="openTab(event, 'network')">To a PC over the network</button>
{% capture cleanripInstructions %}
### Cleanrip guide
{% include_relative cleanrip.md %}
{% endcapture %}
{% capture networkInstructions %}
### Dumping a game over a local network
{% include_relative dump-smb.md %}
{% endcapture %}
<div id="cleanrip" class="blanktabcontent">{{ cleanripInstructions | markdownify }}</div>
<div id="network" class="blanktabcontent">{{ networkInstructions | markdownify }}</div>
<script>
let tabcontent = document.getElementsByClassName("blanktabcontent");
let tablinks = document.getElementsByClassName("tablinks");
function openTab(evt, tabName) {
let element;
for (element of tabcontent) {
element.style.display = "none";
}
for (element of tablinks) {
element.className = element.className.replace("btn--primary", "btn--info");
if (!element.className.includes('btn--info'))
element.className += " btn--info";
}
document.getElementById(tabName).style.display = "block";
evt.currentTarget.className = evt.currentTarget.className.replace("btn--info", "btn--primary");
}
// Get the element with id="defaultOpen" and click on it
document.getElementById("defaultOpen").click();
</script>