Skip to content

Commit

Permalink
fixed the folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell committed Oct 16, 2015
1 parent f045ea3 commit 467854d
Show file tree
Hide file tree
Showing 35 changed files with 798 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Saviine 0.1

Compatible with 5.3.2 fw

dumps WiiU Saves and is a mod of cafiine. Thanks to everyone who worked on cafiine!

Compilation :
- in order to compile cafiine you need to put the cafiine folder in your libwiiu project
- libwiiu/cafiine/installer must be compiled like the other libwiiu examples (with the build.py script)

Pre-made version :
- in www/saviine, it is already compiled, just put the folder in your server

Note :
- you can change the server ip directly in the application.
- start the saviine in folder with a short path, some savedata files have some really long names (170+ chracters)
- backup your savedata before dumping it!!! I'm not responsible for any lost data.

How to use :
- launch the kernel exploit in the brower
- open cafiine server in your computer, check your ip
- relaunch browser and launch cafiine app, set cafiine server ip in the application with up/down/left/right, and press A to install cafiine
-> browser should exit
- launch a game or application
- the savedata should be dumped to a folder in /cafiine_root/[title_id]
- profit
- you can close the game
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
25 changes: 25 additions & 0 deletions www/saviine/frame.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<html>
<head>
<script>
var nb = 0;
function handleBeforeLoad() {
if (++nb == 1) {
p.addEventListener('DOMSubtreeModified', parent.dsm, false);
} else if (nb == 2) {
p.removeChild(f);
}
}

function documentLoaded() {
f = window.frameElement;
p = f.parentNode;
var o = document.createElement("object");
o.addEventListener('beforeload', handleBeforeLoad, false);
document.body.appendChild(o);
}

window.onload = documentLoaded;
</script>
</head>
<body></body>
</html>
97 changes: 97 additions & 0 deletions www/saviine/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<html>
<head>
</head>
<body>
<div id="text"></div>
<script type="text/javascript">
-->Browser detection code by Relys
browserInfo = "<p>Browser CodeName: " + navigator.appCodeName + "</p>";
browserInfo+= "<p>Browser Name: " + navigator.appName + "</p>";
browserInfo+= "<p>Browser Version: " + navigator.appVersion + "</p>";
browserInfo+= "<p>Cookies Enabled: " + navigator.cookieEnabled + "</p>";
browserInfo+= "<p>Platform: " + navigator.platform + "</p>";
browserInfo+= "<p>User-agent header: " + navigator.userAgent + "</p>";
-->Get platform and version number
platform = String(navigator.platform);
var version = navigator.appVersion;
-->Check to see if we're running on a Wii U
if(platform == "Nintendo WiiU")
{
-->If we are then parse out the exact browser version
var versionRE = version.match("NX\/(.*) NintendoBrowser\/");
-->Ensure we were able to get browser version
if(versionRE.length==2)
{
-->Store the exact browser version to a string
versionNumber=versionRE[1];
-->See if browser is for Wii U version 5.3.2
if(versionNumber == "3.0.3.12.15")
{
-->Display message and redirect to payload URL
document.getElementById("text").innerHTML="Detected Wii U Firmware version 5.3.2";
window.location = "payload532.html";
}
-->See if browser is for Wii U version 5.0.0 or 5.1.0
else if (versionNumber == "3.0.3.12.12")
{
-->Display message and redirect to payload URL
document.getElementById("text").innerHTML="Detected Wii U Firmware version 5.0.0 or 5.1.0";
window.location = "payload500.html";
}
-->See if browser is for Wii U version 4.1.0
else if (versionNumber == "3.0.3.12.11")
{
-->Display message and redirect to payload URL
document.getElementById("text").innerHTML="Detected Wii U Firmware version 4.1.0";
window.location = "payload410.html";
}
-->See if browser is for Wii U version 4.0.0
else if (versionNumber == "3.0.3.12.6")
{
-->Display message and redirect to payload URL
document.getElementById("text").innerHTML="Detected Wii U Firmware version 4.0.0";
window.location = "payload400.html";
}
-->See if browser is for Wii U version 3.0.0 or 3.1.0
else if (versionNumber == "2.1.0.10.9")
{
-->Display message and redirect to payload URL
document.getElementById("text").innerHTML="Detected Wii U Firmware version 3.0.0 or 3.1.0";
var check = new XMLHttpRequest();
check.open('HEAD', "payload310.html", false);
check.send();
if (check.status != 404)
window.location = "payload310.html";
else
window.location = "payload300.html";
}
-->See if browser is for Wii U version 2.1.0
else if (versionNumber == "2.1.0.8.23")
{
-->Display message and redirect to payload URL
document.getElementById("text").innerHTML="Detected Wii U Firmware version 2.1.0";
window.location = "payload210.html";
}
-->See if browser is for Wii U version 2.0.0
else if (versionNumber == "2.1.0.8.21")
{
-->Display message and redirect to payload URL
document.getElementById("text").innerHTML="Detected Wii U Firmware version 2.0.0";
window.location = "payload200.html";
}
}
-->If we couldn't parse the browser version, throw an error message
else
{
document.getElementById("text").innerHTML="Unsupported Wii U Browser: "+browserInfo;
}
}
-->If we couldn't detect the Wii U browser, throw an error message.
else
{
document.getElementById("text").innerHTML="Unsupported Operating System: "+browserInfo;
}
</script>
</body>
</html>

Loading

0 comments on commit 467854d

Please sign in to comment.