-
-
Save welcoMattic/2a2909e5b98aa8d745dfd0df0a6b3091 to your computer and use it in GitHub Desktop.
Gameplay - Export SAV file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Getting the data // | |
var filename = "ROM_NAME"; | |
var rawData = base64ToArray(findValue("B64_SRAM_" + filename)).map(function (a) { return String.fromCharCode(a); }).join(""); | |
var tmpLink = document.createElement("a"); | |
tmpLink.href = "data:application/force-download," + escape(rawData); | |
document.body.appendChild(tmpLink); |
Hello. Im new to using github and would like to export my sav file from gameplay. how do you use the code without having a mac?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please help.. how do I export it to my windows 10?