Project

General

Profile

Actions

Emulator Issues #9721

open

Recording a TAS with LLE + Memory Card causes desyncs

Added by Fog over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

GUN

Game ID? (right click the game in the game list, properties, info tab)

GUME52

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

29ca9557c484216e7dc15f08d7b21812

What's the problem? Describe what went wrong.

Recording a TAS with LLE recompiler (using Free DSP ROMs, unconfirmed with official ROMs), while having a memory card in either Slot A or B can cause either the TAS to only sync for the person making the TAS, or eventually desyncs further down the line for the TAS maker. Other users who attempt to playback these TASes might not be able to play it back correctly without it desyncing. Computer hardware may be a factor with these desyncs, but nothing conclusive has been found yet. Using a savestate from the machine which makes the TAS may be able to make the TAS properly sync for a user who attempts to playback said TAS.

What steps will reproduce the problem?

Change your settings to use LLE Recompiler, with a Memory Card in either Slot A or B, then record a DTM file.

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

5.0 with GUN, have seen it around since at least 4.0-5371. May be even older than that.

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

DTM Files

HLE + Memory Card (hle test.dtm): http://puu.sh/qgftG/2510523635.zip
LLE + Memory Card (with savestate): http://puu.sh/qgjC5/6241cc6d72.zip
LLE + No Memory Card: http://puu.sh/qiZaT/6e695c6696.dtm

Actions #1

Updated by Fog over 7 years ago

Wanted to add a bit more information to this, I've been looking into this issue with dragonbane0 over the past few days with The Wind Waker TAS which was recently unveiled. It also was brought to my attention by Lars_Hendrick on TASVideos that he was running into similar issues with GUN. I asked him to provide me the DTMs in the issue list, which confirmed my suspicions.

Actions #2

Updated by Fog over 7 years ago

Me and dragonbane0 have found that the desyncs relate to the Memory Card SRAM not being stored in the DTM file. Here's a quote from dragonbane0 on what's happening:

"One of the choke points is that the SRAM for your memory cards is not stored in the DTM. It should be. The SRAM seems to contain the card flash ID both for Slot A and Slot B and the serial number and stuff like that. Not sure if it contains the card type as well, but it might, which affects card read/write times. Before the global user folder merge it will use the local folder of Dolphin, since we both booted TWW first it probably created the same card and SRAM from scratch giving us identical values. Since the global user folder merge all Dolphin builds use the same SRAM.raw file you got from whichever game you booted first afaik and the rest of your games use that then as well. Thats what varies between us. The game RAM has a copy of the SRAM allowing a sync if we share states, otherwise it uses the SRAM.raw file from the user folder in documents"

Actions

Also available in: Atom PDF