ROM Hack Successful savegame transfers between PC and Switch

  • Thread starter Thread starter falcorr
  • Start date Start date
  • Views Views 59,362
  • Replies Replies 85
  • Likes Likes 5
Hey I managed to transfer Into the Breach saves after dumping them with JKSV. New to this so I might not have all the details right. You end with a settings.lua file, and a folder with your profile name (eg. profile_Alpha), and in there, there are 3 .lua files (profile.lua, saveData.lua, undoSave.lua). My Steam version on linux has the same structure (~/.local/share/IntoTheBreach/). I copied the lua files there and it didn't work. Turns out on the switch they are compressed. I got AI to write a python script for me to decompress the files. After copying them over, it seems to work fine. Not sure if I'm allowed to paste scripts here, but the simple version is:

import zlib; open('output.lua', 'wb').write(zlib.decompress(open('settings.lua', 'rb').read()))


Python:
#!/usr/bin/env python3
import zlib
import os
import sys
from pathlib import Path

input_dir = Path('.')
output_dir = Path('output')
output_dir.mkdir(exist_ok=True)

for file_path in input_dir.glob('*'):  # Processes all files; add '*.lua' for Lua only
    if file_path.is_file() and file_path.suffix in ['.lua', '.bin']:  # Skip non-saves
        try:
            with open(file_path, 'rb') as f:
                compressed = f.read()
            decompressed = zlib.decompress(compressed)
            out_path = output_dir / file_path.name
            with open(out_path, 'wb') as f:
                f.write(decompressed)
            print(f"Decompressed {file_path.name} -> {out_path}")
        except zlib.error:
            print(f"Failed to decompress {file_path.name} (not zlib)")
        except Exception as e:
            print(f"Error on {file_path.name}: {e}")
Do you know I can get Shantae Seven Sirens, Death Road to Canada, A Hat in Time, Ori and the blind forest, and dragon quest 11 saves from Switch to PC?
 
Successful:
Vampyr (need to remove .sav extension from pc save file)
PC Build : 3077463
Switch Build : [01000BD00CE64800] [v131072]

It works perfectly. Just remove the .sav extension.
 
Not sure if it's been mentioned or not, but Nier Automata's save files are compatible. My save from 2017 works on the Switch version.

Edit: Dragon's Dogma works as well. You just need to rename the save file to "DDDA.sav" (if PC) or "DD_Savedata" (if Switch)
 
Last edited by someguy12345,
the binding of isaac works needs a converter you can find online, and even factorio ( including mods) without converting anything, just jksv
 

Site & Scene News

Popular threads in this forum