下载客户端

指南:PC与安卓设备间进度同步/转移方法

2026-02-18 04:00:19
发布在杀戮尖塔
转载

AI智能总结导读

这是一份《杀戮尖塔》PC与安卓设备间进度同步/转移指南,介绍了借助USB连接和ADB,通过脚本或手动方式转移游戏存档、运行记录、成就解锁等数据的方法,还说明了所需前提条件、操作步骤、注意事项及故障排查方案,非root安卓设备也可尝试。

This guide includes instructions and an optional script you can run that lets you move your current Slay the Spire run's save, your run history and your statistics/unlocks/etc from your PC to your android phone and vice-versa, using USB connection and ADB. You shouldn't need a rooted phone - this script works for me on my non-rooted android phone. Your mileage may vary - hopefully it won't. Introduction This guide and script lets you move your current Slay the Spire run's save, your run history and your statistics/unlocks/etc from your PC to your android phone and vice-versa, using USB connection and ADB. You shouldn't need a rooted phone - this script works for me on my non-rooted android phone. Your mileage may vary - hopefully it won't. You need the following prerequisites: You must own Slay the Spire on both PC (tested with a Steam copy) and Android (tested with a Play Market copy) You must have Python 3.9 or above installed (make sure it's in your PATH environment variable) on PC. You need an android phone with USB debugging enabled, and its USB cable (which you can connect to your computer that has Slay the Spire). Enabling USB debugging doesn't require rooting your phone in most cases, so you should be able to turn it on for running this script. You need the Android Debug Bridge ('adb') executable in your PATH environment variable on PC. You can find guides on how to set it up online, but in short, for Windows, you normally need to download the Android SDK Platform Tools ZIP file for Windows.[dl.google.com], then extract it to some folder and add that folder to the PATH environment variable. If you've done everything right, you should be able to run the command `adb version` in your command prompt (hit Win+R, type "cmd", press "Open") and see the version of 'adb'. You should also be able to run `python --version` and see the version of python (must be at least 3.9). Note: The synchronization is not continuous. This means that it does not automatically keep your data in sync across your PC and android phone, this is just a tool to move from PC to phone and vice-versa. Each time you transfer data, you are basically replacing the Slay the Spire data on one device with the data from the other. For example, If you make progress on your PC and then transfer outdated data from your Android phone back to your PC, you could lose your PC progress. While your run history for the new runs will not be lost, you will most likely lose your progression, unlocks, and the current run save ("lose" as in, they'll revert to how they are on your phone). Thus, it's important to be careful when choosing whether to transfer data from your PC to your Android device or vice versa. I also strongly recommend you make backups of the three folders ('preferences', 'runs', 'saves') so that you always have something to roll back onto (or even before/after every transfer, if you want to be that careful). This is not done automatically, not at the moment at least. FAQ Does this transfer everything, or are there things it doesn't transfer? I believe it transfers pretty much everything (excluding things like settings, input mappings etc which wouldn't even make sense to transfer between different devices). It transfers your run history (which most people struggled with - either ending up with non-working timestamps or straight up crashing their game, but I found the solution for it), it transfers your statistics and unlocks (which is pretty straightforward), and it transfers your active save file as well for any ongoing runs (which many people have already figured out how to do, credit for the current active run save "decryption" method goes to them. I would credit by name but I forgot where I first saw that the XOR key was "key"). If you notice anything relevant it doesn't transfer, feel free to let me know. Will I get the achievements on Steam from progress I made on mobile when I transfer my data? Surprisingly, yes! From my testing, if you play on mobile and, say, beat a boss without taking damage, get 9 energy in a single turn, beat the game as Silent, etc, and then you transfer your saves to PC - as soon as you launch the game, you will get all of the corresponding achievements for that! My assumption is that the game checks your runs history on launch and distributes achievements based on that, so you should be able to get most (if not all) of the achievements this way, by playing the game on mobile and just transfering your runs to your PC to unlock the correct achievements on Steam. Is this safe? Yes, everything happens in one script - the '.py' file. It's written in plain python, using only standard libraries, and everything is laid out plainly for you to look over to ensure things look right. The script also doesn't delete anything it didn't create automatically, it only performs copy with replacement in both directions. Backups are still recommended as you could accidentally replace newer saves with older ones if you do the wrong direction. Can I get banned for this? I highly doubt that, considering you legally own both copies, and that the developers seem supportive of it. They've mentioned you can transfer saves manually in one of the threads I've seen, and the system that lets you unlock achievements based on just your run history seems to indicate they support it, as well! Do I need to run this every time I want my progress to be transferred, or is it synced automatically? It's not synced automatically - you need to follow the transfer steps each time you want to sync between your PC and phone. Read more in a note above. Can you bundle this into an executable so that I don't need to install Python and 'adb'? I'd rather not - I don't like the idea of sharing unsigned executables and assuming responsibility, especially since someone might just tamper with it and reupload it. With pure python code, everything is transparent - installing Python and downloading 'adb' is pretty straightforward. Does this work with iOS or is it only for Android? The script doesn't work on iOS, unfortunately - it uses 'adb' which is specific to android. You can follow the manual guide or modify the script to work with iOS if you have experience with iOS and know how to move files to it from PC - I don't own an iPhone so I haven't a clue. Does this work on MacOS/Linux, or just Windows? I've only tested on Windows, but it should in theory work across all platforms. No guarantees though, if something breaks it should be relatively simple to fix though. Does this support mods? I haven't tested it with any. Simple mods that don't store any extra data should probably be fine, and gameplay mods that store their data in the existing, defined structure, with no breaking differences between the two platforms might work fine - but then again, the mobile version could just crash when encountering data it doesn't recognize. Configuration Here's a sample configuration file. You can find it in <code>config.ini</code>, as well. [DEFAULT] ; This is the path to the root directory of your slay the spire game on PC. ; You can find it by right-clicking on Slay the Spire on steam -> Properties -> Installed Files -> Browse. ; Simply copy the path to that folder down below. It should contain folders like "runs", "saves", "preferences", or files like SlayTheSpire.exe. PcPathToGame = C: Program Files (x86) Steam steamapps common SlayTheSpire ; This is the path to the root directory of your slay the spire game on android. ; It should be the same for most people who downloaded it from the Play Market, so try to leave it as the default. ; At most you might need to change the /sdcard/ to something else, but you likely won't need to. AndroidPathToGame = /sdcard/Android/data/com.humble.SlayTheSpire/ ; For some reason, the mobile version stores timestamps in GMT, while the PC version stores it in your local timezone. ; To prevent mistmatches, please enter the offset for your timezone, in hours (and optionally minutes). ; For example, if you're EST (Eastern Standard Time - no daylight savings) - that's GMT-5, which is 5 hours behind GMT. You'd put -5 for that. ; Or, if you're GMT (Greenwich Mean Time), just put 0 ; Or, if you're NPT (Nepal Standard Time), that's GMT+5:45, in other words 5 hours and 45 minutes ahead, in which case you'd put +5:45 LocalTimezoneOffsetHours = +4 Syncing from PC to mobile Check the 'config.ini' file in the root directory of this project. Make sure to change the config parameters if they don't apply in your case. Make sure to enable USB debugging on your phone Connect via USB to PC Double click on 'pc-to-mobile.bat' or run `python mover.py pc_to_mobile`. Alternatively, if you don't want to use the script for whatever reason, you can do it manually (unspoiler the text below to read more on how to do it without the script). Open 'C: Program Files (x86) Steam steamapps common SlayTheSpire preferences' (or wherever your 'preferences' folder is on PC), then copy "STSDataDefect", "STSDataTheSilent", "STSDataVagabond", "STSTips", "STSDataWatcher", "STSUnlocks", "STSAchievements", "STSPlayer", "STSSaveSlots", "STSSeenBosses", "STSSeenCards", "STSSeenRelics", "STSUnlockProgress", "STSDaily", "STSBetaCardPreference" to 'Internal shared storage Android data com.humble.SlayTheSpire files preferences' (or wherever your 'files preferences' is on android). Also, move the 'runs' folder in its entirety to move the history of runs. Each single run though has a local_time property that needs to be converted. Doing this by hand would be crazy, so if you don't want to use the script for whatever reason, write a script for at least doing that. On pc, it's local timezone (gmt+4) '%Y%m%d%H%M%S'. On mobile, it's UTC '%m/%d/%Y %H:%M:%S'. The name of the run is always a timestamp of when you played it. If you want to also move a save file of an active run (and you don't want to finish the run on whatever device you started it on) - they're xor encrypted with the key "key" on pc, but plaintext on mobile. Decode the base64, xor the raw bytes with "key", move the file. Syncing from mobile to PC Check the 'config.ini' file in the root directory of this project. Make sure to change the config parameters if they don't apply in your case. Make sure to enable USB debugging on your phone Connect your phone via USB to PC Double click on 'mobile-to-pc.bat' or run `python mover.py mobile_to_pc`. Alternatively, if you don't want to use the script for whatever reason, you can do it manually (unspoiler the text below to read more on how to do it without the script). Essentially, do the inverse of the detailed manual guide for syncing from PC to mobile. Move the specified pref files as is. For the saves encode json text into bytes, then XOR the bytes with "key", and base64 encode the resulting bytes. For each of the runs, don't forget to convert the local_time. Troubleshooting When transfering from PC to mobile, either parts from an old playthrough remain, or it just seems to have undone your sync? Go to the Play Games app on android (NOT play store), then `Settings > Your Data > Delete Play Games account & data > Delete individual game data > Slay the spire > delete` Turn on airplane mode Using the Files app from Marc apps & software[play.google.com] (or using your USB connection, whichever works), go to `Internal shared storage Android data com.humble.SlayTheSpire files` (or whatever the path is on your phone) and delete everything in there, then create empty folders "preferences" and "saves". Note: if USB doesn't work and you don't have the app already - turn off airplane mode, install it, then repeat from step 1. When transfering from mobile to PC, either parts from an old playthrough remain, or it just seems to have undone your sync? There is a chance that steam's cloud saves might be causing you trouble, but I haven't encountered an issue like that yet so I haven't provided troubleshooting for that. You can find guides online for temporarily disabling steam cloud saves or accessing them and deleting them. That aside, to wipe the slate clean, go to the root directory of your slay the spire game on PC. You can find it by right-clicking on Slay the Spire on steam, then Properties -> Installed Files -> Browse. It should contain folders like "runs", "saves", "preferences", or files like SlayTheSpire.exe. Then, delete 'runs', 'saves' and 'preferences'. It's a good idea to back those up, as you may lose certain data like your settings (runs, for example, aren't even steam cloud synced). If you want to preserve your settings, delete 'runs' and 'saves' completely, but only delete the following files from 'preferences': `"STSDataDefect", "STSDataTheSilent", "STSDataVagabond", "STSTips", "STSDataWatcher", "STSUnlocks", "STSAchievements", "STSPlayer", "STSSaveSlots", "STSSeenBosses", "STSSeenCards", "STSSeenRelics", "STSUnlockProgress", "STSDaily", "STSBetaCardPreference"` (plus their corresponding '.backUp' files, as well). Create empty folders "preferences" and "saves". The python code throws an error? Read the error to see if it's something related to the configuration, or if the error is from the script. If the error is from the script, you'll need to troubleshoot the issue, but the easiest thing to check is to make sure your Python version is at least 3.9 (otherwise it won't work). Download and Source Code Here is the repository where you can find the source code: https://github.com/TheShiftingQuiet/Slay-the-Spire-save-transfer Simply download it as a zip folder (Code -> Download Zip), extract it to some folder, then optionally skim through the small python script and the one-line batch script for your own peace of mind, and then follow the instructions for transfering your saves. Happy slaying!

评论

共0条评论
face
inputImg
相关阅读
最新更新

专用服务器备份与迁移至新专用服务器 v3

本指南将教你Windows系统下《幻兽帕鲁》默认存档位置,以及如何备份存档文件,还有如何将你自己托管的专用服务器中的服务器进度和设置转移到另一台专用服务器。简单…

2026-03-13 10:060赞 · 0评论

我的世界手机版存档 我的世界手机版怎么用存档 我的世界手机版怎么用存档下载

我的世界手机版存档怎么放到电脑 我的世界游戏中,很多玩家都使用手机以及电脑双设备进行游戏,但是两个设备的存档并不能够实时更新,需要手动传输。 1、首先点击开始游…

2025-09-28 14:220赞 · 0评论

困难成就简化 [PT/BR]

《灵魂旅人》告别版:利用不同存档轻松解锁部分困难成就指南 简介 本指南旨在帮助玩家轻松完成以下成就: Língua Solta Língua Amarrada …

2026-03-20 22:000赞 · 0评论

如何将存档转移至《以撒的结合:忏悔》或《以撒的结合:忏悔+》!

你是不是刚买了《以撒的结合:忏悔》,然后在想“我的存档文件到底在哪儿?”没关系,在这里你将学习如何将存档文件转移到《忏悔》或《忏悔+》中。 《忏悔》和《忏悔+》…

2026-02-11 12:000赞 · 0评论

武士大战僵尸2存档 植物大战僵尸shuttle怎么导入存档的简单介绍

一、植物大战僵尸2国际版怎么导入存档 首先你要确认的存档文件名为“pp.dat”,这个文件放在游戏目录内,它的位置为“Android/datacom.ea.ga…

2025-10-31 06:000赞 · 0评论

如何从试玩版转移存档

本指南将展示如何将存档文件从试玩版转移到正式版。打开试玩版文件夹。

2026-03-18 22:000赞 · 0评论

将存档从Xbox/Microsoft Store版转移至Steam版

以下是关于如果你开始游玩GamePass版本游戏并希望迁移到Steam正版拷贝的方法说明。 该内容改编自Reddit,可通过标题[TUTORIAL] Trans…

2026-02-15 10:000赞 · 0评论

如何将《极限竞速:地平线5》存档从Xbox转移到Steam

教程 1. 打开GPSave Converter应用程序。 2. 你会在右侧看到两个区域,上方显示“Xbox Save Files(Xbox存档)”,下方显示“…

2026-02-15 10:000赞 · 0评论

如何将任意设备的存档文件转移至Steam版

正在转移您的存档。您也将获得相应的成就。 从安卓设备转移至Steam平台: 1. 获取存档文件的第一步是在您的安卓设备上找到 storage/sdcard/An…

2026-02-13 13:000赞 · 0评论

绿宝石存档修改器 口袋妖怪究极绿宝石5.5串档修改方法指南

想要在游戏中变得更强,那么就需要玩家有强大的游戏理解能力和毅力。口袋妖怪究极绿宝石中很多玩家具备这些品质,所以游戏中的高手非常多。如果你还在为不知道口袋妖怪究极…

2025-06-21 00:150赞 · 0评论
暂无更多

最新更新

  • 获取【Powerful】成就的笔记 — 我获得了成就「Powerful」,所以先公开一下挑战时用来获取增益效果的笔记。 这是一个约30%的玩家都已获得的相对简单的成就,但意外地有些麻烦…… 增益效果种…
  • 铁甲战士打击流构筑 — 最强最简易的爬塔构筑 构筑核心 我们围绕【完美打击】来构建卡组。这张卡是本卡组的核心。
  • 《杀戮尖塔:桌游》- 堕落扩展包众筹现已开启! — 它终于来了!《杀戮尖塔》桌游扩展包“Downfall”的Kickstarter众筹活动现已启动!这款广受欢迎的《杀戮尖塔》社区模组将作为《杀戮尖塔:桌游》的官方…
  • 静默者(Silent) — 接下来是我另一个喜欢的角色!沉默者,在我看来可能是最强的角色。只要卡牌选得对,甚至能在第三回合结束时就把最终BOSS打成灰。根本不需要主动攻击。你只需要做的………
  • 尼奥通讯 - 2026年3月 — 大家好, 我是凯西!我们出色的社区经理黛米负责撰写大部分【尼奥的通讯】已有一段时间了,但我想过来跟大家说几句: 我的天呐! 不过说真的,大家对抢先体验版的反响真…
  • 铁甲战士的各类卡组 — 铁甲战士可尝试构建的不同套牌类型 概述 铁甲战士是一个强力职业,但需要了解游戏(卡牌和敌人)才能玩好。重要的是要明确自己想要构建哪种类型的套牌,这样才能优先选择…
  • 如何通关结局? — 分享一下最终幕的通关经验。 前言 要开启第四幕,需要每个角色各通关一次(可以是普通模式,也可以是进阶模式)。要进入最终决战,需要3把钥匙:红钥匙、蓝钥匙和绿钥匙…
  • 《杀戮尖塔2》现已在抢先体验阶段推出! — 尖塔终于苏醒了。 《杀戮尖塔2》,这款备受期待的、开创了类rogue牌组构建游戏类型的初代作品的续作,现已在Steam抢先体验平台上线! 我们非常激动能让大家亲…
  • 《杀戮尖塔》PS4(或其他手柄)图标 — 修改游戏文件以显示合适的控制器图标! 步骤1:找到游戏目录 方法一: 1. 导航至“Program Files (x86)Steamsteamappscommo…
  • 《杀戮尖塔》新手指南(静默猎手篇) — 本标题可能存在商标侵权问题,但本指南包含我关于《杀戮尖塔》玩法的原创思考。本指南主要针对【静默猎手】,但其中一些通用思路也适用于其他角色。本指南的目的是教你如何…