-
-
Save welcoMattic/2a2909e5b98aa8d745dfd0df0a6b3091 to your computer and use it in GitHub Desktop.
// 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); |
@MarceloZeri can you tell how to excute this script?
I tried this but it doesn't work... please help me
@welcoMattic How do I decode it back to a sav file? I got a text starting with this:
%10%10%10%10%10%10%1E%1F%1E%1F%10%10%10%10%10%10()%10%10%10%10%10%10%10%10.%2F.%2F%10%10%10%10%10%1089%10%1
Thanks.
Edit:
It worked! The sav file worked fine in both OpenEmu and gba4ios.
I took the contents of saveState.B64_SRAM_POKEMON_GLD (<= my rom of pokemon gold), saved it in a text file and decode it back from base64 using this online tool: http://www.motobit.com/util/base64-decoder-encoder.asp
please help me out
How to import .sav files to Game Play Color
https://www.youtube.com/watch?v=t56EQPtCA3w&feature=youtu.be
How to export .sav file from Game Play Color https://youtu.be/H5MI1CRyL0E
Please help.. how do I export it to my windows 10?
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?
@jbmorley any updates on getting the save file exported?