Project

General

Profile

Emulator Issues #7219

007 Agent Under Fire - Savestate Inaccuracies.

Added by aleckermit76 almost 6 years ago. Updated over 2 years ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
Category:
PPC
% 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?
007 Agent Under Fire

Game ID?
GW7E69

What's the problem? Describe what went wrong in few words.
Pressing B to do the 180 degree turn move in an on-rail level causes desyncs at specific (consistent) spots when TASing, presumably in areas where actors load/lag occurs in the game engine.

What did you expect to happen instead?
Playback syncing, have had 0 issues syncing elsewhere in the game so far.

What steps will reproduce the problem?
1. Start the on-rails second level "Precious Cargo", start a TAS recording.
2. Spam the B button when approaching the highway exit until an enemy blue van appears in front of you (roughly 38-40) seconds into the level).
3. After following the blue van for a few seconds take notice of the direction you're facing, stop recording and play it back. It should desync near the moment the van appears, having you end up facing in a different direction at the end. You can also desync by using B in this level when driving over the grassy area, when passing by the gas station you blow up, and when entering the building near the end.

Which versions of Dolphin did you test on?
4.0-1356, and 4.0-1446(latest as of 11:40am CST 4/21/2014)

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
Unknown.

What are your PC specifications?
Windows 8 laptop, Corei3, integrated intel graphics.

Are you using the 32 or the 64 bit version of Dolphin?
64

Is there any other relevant information?
nope


Related issues

Has duplicate Emulator - Emulator Issues #7497: 007 Agent Under Fire - Desyncing in Vehicle Levels During TASDuplicate

History

#1 Updated by delroth almost 6 years ago

  • Status changed from New to Accepted
  • Priority set to Normal
  • Category set to ppc

Could you maybe provide a memory card/GCI file with the mission unlocked as well as a DTM file that reproduces this issue?

Several people have confirmed this over at TASVideos, marking as accepted.

#2 Updated by aleckermit76 almost 6 years ago

Currently working on a TAS of this game with a few other guys, we can simply avoid using that B button move to prevent desyncs for now. It never saves time in the run, is was just convenient.

#3 Updated by rachelbryk almost 6 years ago

Can you post a dtm of it desyncing?

#4 Updated by aleckermit76 almost 6 years ago

Here's a DTM of the TAS so far that'll take you to level two in just a couple of minutes time: https://www.mediafire.com/?dna4w2ri28prmbb For me this desyncs right after the gas station, for another guy on our team it desyncs when your car drives over the grassy area midway through the level.

#5 Updated by aleckermit76 almost 6 years ago

Settings for emulator are same as rachelb's recommended ones on TASvids forum. Memory card slot set to nothing. Uses real DSP files, not ones that come with emulator.

#7 Updated by rachelbryk almost 6 years ago

Your dtm successfully completed level 2 for me.

#8 Updated by aleckermit76 almost 6 years ago

Getting desync WITHOUT the B move at the lawn section between me (win8 64 bit) and solarplex (win7 64 bit).... I'm not sure what to believe anymore...

#9 Updated by rachelbryk almost 6 years ago

Are you sure your settings are the same?

#10 Updated by aleckermit76 almost 6 years ago

Pretty positive.

#11 Updated by rachelbryk almost 6 years ago

Does the dtm you posted before sync for anyone else other than me?

#12 Updated by aleckermit76 almost 6 years ago

Yes, Veman and I sync up until after gas station. Solarplex desyncs with us at lawn.

#13 Updated by rachelbryk almost 6 years ago

I mean does it complete the entire level for anyone else?

#14 Updated by aleckermit76 almost 6 years ago

No, it is for you??

#15 Updated by rachelbryk almost 6 years ago

Yes.

#16 Updated by aleckermit76 almost 6 years ago

What the shits. See, I was able to finish playback myself when I first finished the level, but then my playbacks after all desync'd... lemme play it back again... God I hope we can solve this... and continue at level 3...

#17 Updated by aleckermit76 almost 6 years ago

I'm desyncing, shots on first of three guys outside of the building we drive through miss.

#18 Updated by comexk almost 6 years ago

Please attempt to confirm that you can get multiple outcomes with the same dtm on the same computer without changing any settings in between. That would help truly confirm the issue.

#19 Updated by aleckermit76 almost 6 years ago

SYNC'D! The settings when you right click the game on dolphin were different between us somehow.... I'll post back if solarplex is still unable to sync past lawn... God I feel stupid... does Dolphin ignore the config settings and use the game's custom settings by default in the newer versions or...

#20 Updated by aleckermit76 almost 6 years ago

I just unchecked everything in the game's settings to get the sync.... is there anything that should be left checked for any reason?

#21 Updated by rachelbryk almost 6 years ago

What setting? Most should be saved in the dtm, and read from there.

#22 Updated by aleckermit76 almost 6 years ago

Solarplex is still unable to sync at lawn part, despite unchecking all of the game settings. Veman and I sync all the way through. You can see how this issue got confusing...

#23 Updated by JMC4789 almost 6 years ago

I decided to do a less intensive test of using Netplay to make sure nothing's seriously wrong with this game. I went through the first three levels with no desyncs in a simple netplay session.

Aleckermit76: Do all three people tasing it have the same disc md5 and such?

#24 Updated by aleckermit76 almost 6 years ago

Yeah definitely the same disc.

#26 Updated by aleckermit76 about 5 years ago

This issue was a misconception on my part by the way, this move in the game has nothing to do with the issue. There is a savestate accuracy issue in the vehicle levels of this game that causes playbacks to desync. A playback that used little-to-no savestates will sync just fine, whereas if you re-record in the wrong place the playback will be desync'd.

#27 Updated by JMC4789 about 5 years ago

Okay, that's interesting. I'll change the name. If you use Full MMU instead of MMU speedhack; does that fix the issue?

#28 Updated by aleckermit76 about 5 years ago

I'll be sure to try that when I have time.

#29 Updated by aleckermit76 about 5 years ago

How do you change the Full MMU/MMU speehhack setting?

#30 Updated by aleckermit76 about 5 years ago

I right-clicked the game in the Dolphin window and checked "Enable MMU" (by default it's completely unchecked). Started a recording of level 2 and made & loaded savestates in many spots. Played it back and it desync'd at gas station (common desync spot).

#31 Updated by JMC4789 about 5 years ago

The question now becomes: What is actually changing between them? Is it GPU related? (Perf-queries aren't correctly saved in savestates, for instance) or CPU related?

I have no idea and no idea how to find out :(

#32 Updated by JMC4789 about 5 years ago

issue 7497 has been merged into this issue.

#33 Updated by jesse_lun over 4 years ago

Since this hasn't been posted here yet, desyncs happen for the following gamecube games as well:
F-Zero GX
http://tasvideos.org/forum/viewtopic.php?p=401177#401177

Metroid Prime
http://tasvideos.org/forum/viewtopic.php?p=413807#413807

Spiderman 2
http://tasvideos.org/forum/viewtopic.php?p=397774#397774

Not sure if it's all the same issue, or something else however.

#34 Updated by JMC4789 over 2 years ago

It turns out savestates definitely are not deterministic. I'll be closing this issue momentarily.

#35 Updated by JMC4789 over 2 years ago

  • Status changed from Accepted to Duplicate

Replacing with 10448

#36 Updated by JMC4789 over 2 years ago

#37 Updated by JosJuice over 2 years ago

#38 Updated by JosJuice over 2 years ago

  • Status changed from Duplicate to Accepted

Also available in: Atom PDF