#281

Save-import doesnt work with PC save

OpenVaanenopened 11d ago

你的环境 / Your setup

  • 电脑与系统 / Computer and OS: Android 17
  • Xcode 版本(如果用了)/ Xcode version (if used):
  • 手机型号与系统版本 / Phone model and iOS version: Samsung Galaxy S23 Ultra

发生了什么 / What happened When i try to import my D2R character from PC, it imports correctly, says character imported, and i see my character, correct level and gear, but when i try to play it says "Failed to join game".

I tried importing with the stash, with no stash, achievements and all. I tried importing also only the d2s file.of the character. everything fails.

I am using the 2.3.1 version of d2r mobile, and the latest version of D2R PC

Activity

6
yyan16010d ago

Thanks for the report and the screenshots. The character shows up on the selection screen because that screen reads only the start of the save file. Joining a game reads all of it, so something further in the file isn't accepted by this build's game data (the Switch release, 3.3.94012). The two likely causes:

  • the PC game that wrote the file is a newer patch whose save format differs;
  • the character carries items or data this version doesn't know.

To narrow it down, could you:

  1. Attach the character's .d2s file, zipped. It's your own save and contains no game files. On PC it's in C:\Users\<you>\Saved Games\Diablo II Resurrected\.
  2. Tell us the PC game version (shown at the bottom of the main menu).
  3. Try a new level-1 character made on that PC: does it import and play?
  4. If you can, send a log of one failed join. On a PC with adb: run adb logcat -c, start the game, try to join, then adb logcat -d -s dm > d2r.txt and attach d2r.txt.
Vaanen10d ago

Got it.

Here is the save file : contain several elements of the character and the d2s :

Diablo II Resurrected save.zip

my PC version is 3.4.95041

i tried with a lvl 1 character freshly created on oc, exact same issue. just imported the d2s

i cant do the adb thing

yyan16010d ago

Thanks for the files. Good news on the save itself: Zanna joins fine on our test phone (Redmi K50 Ultra, current main). She loads into the Rogue Encampment at level 15 with her gear and skills. She still joins with your PC shared stash and your PC Settings.json in place as well. So your PC save files are compatible with the Switch game data, and the problem must be something on your phone or in that build.

To narrow it down, could you tell us:

  1. Does a character created on the phone (Create New) join a game, or does it get "Failed to join game" too?
  2. Did you build the import pack with the same version as the APK (both 2.3.1)? A mismatch usually gives a "not matched" error rather than this, but it's worth ruling out.
  3. How did you put the files in for the import? The app expects one folder per character, e.g. save-import/Zanna/Zanna.d2s together with Zanna.key, .ma0, .map, .ctl.

Without adb we can't see the game's log. The next Android release has a Share Diagnostics button in the pause menu that sends us the log without a PC, so if this is still open by then, that will help.

Vaanen8d ago

hello,

so 1 : i can create a character on the phone, and it works

2 : i did update from 2.3.0 to 2.3.1 with the apk. but now i uninstalled everything, and just tried from 2.3.0, and the same issue appears

3: i did import the files exactly like that. save-import, then zanna folder, then all the files

yyan1607d ago

Thanks for the answers. I retested more closely: this time your exact files went through the app's own import, not copied in by hand. I put save-import/Zanna/ (the five files from your zip) in Download/S2X/D2R Mobile/ on our test phone (Redmi K50 Ultra, current main). The app imported it ("Zanna" imported), and Zanna joined the Rogue Encampment at level 15 with her gear.

So the save and the import both work on current code. I couldn't find a change since 2.3.1 that would explain the difference, so it may be something on your phone or in those two builds. Two ways to find out:

  1. Try again with v2.3.3 or later once its Android APK is on the release page (it isn't yet; I asked in #250). Rebuild the import pack from the same release. This is a test, not a promised fix: nothing that changed since 2.3.1 touches joining, so it may well still fail on your phone. If it does, step 2 tells us why.

  2. If it still fails there, send a log with Share Diagnostics. It works on Android from v2.3.3. In one session:

    • try to join with Zanna (it fails);
    • then join with a character made on the phone;
    • open the pause menu → Share Diagnostics, and attach the file here.

    That log covers the whole session, including the failed join, and needs no PC or adb.

yyan1604d ago

@Vaanen v2.3.4 now has an Android APK (D2RMobile-android.apk on the release page), so step 1 above is possible:

  1. Install it. Over the official APK that keeps your saves; if yours is one you built yourself, back up the saves first, because switching means uninstalling, which deletes them.
  2. Rebuild the import pack from the v2.3.4 source.
  3. Try joining with Zanna again.

If it still fails, Share Diagnostics in the pause menu works in this build (step 2 above).