Skip to content

Instantly share code, notes, and snippets.

@welcoMattic
Forked from HoLyVieR/gist:1616679
Last active January 2, 2024 09:28
Show Gist options
  • Save welcoMattic/2a2909e5b98aa8d745dfd0df0a6b3091 to your computer and use it in GitHub Desktop.
Save welcoMattic/2a2909e5b98aa8d745dfd0df0a6b3091 to your computer and use it in GitHub Desktop.
Gameplay - Export SAV file
// 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);
@LetsPlay75
Copy link

Please help.. how do I export it to my windows 10?

@Huse24
Copy link

Huse24 commented Jan 2, 2024

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