Guide_Wii/_pages/en_US/dump-games.md

47 lines
1.6 KiB
Markdown
Raw Normal View History

---
title: "Dumping Wii/GameCube games"
---
2020-07-22 21:44:28 +02:00
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.
2020-07-22 21:44:28 +02:00
<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>
2020-07-22 21:44:28 +02:00
{% capture cleanripInstructions %}
### Cleanrip guide
{% include_relative cleanrip.md %}
{% endcapture %}
2020-07-22 21:44:28 +02:00
{% 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>