mirror of
https://github.com/jhaizhou-ops/d2r-mobile
synced 2026-11-26 13:57:52 +08:00
The list of Elysium characters, sw_elysium.txt at the saves root (one name per line, dm_elysium.c), was left behind by the import, so an imported Elysium character came back as a normal one. It is now set from the backup for the characters the import adds, and only for them: a name in the backup's list is added to the phone's list, a name that is not there is removed (a deleted character of the same name may have left it). The phone's other names stay, a character skipped because its name is taken is not touched, and the list is restored if the import fails. Tested on a OnePlus 13: with the Elysium character yyc moved off the phone, importing it from a backup brought it back with its list entry, and in game it entered as an Elysium character. SaveTransferTest: 71 checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>