Project

General

Profile

Emulator Issues #9915

Final Fantasy Crystal Chronicles (Goblin Wall - Mogmail) Read/write error

Added by tehMorag over 3 years ago. Updated 21 days ago.

Status:
Accepted
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?

Final Fantasy Crystal Chronicles

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

GCCE01

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

a6d6064396b20c0d0d836afad97d3a4c

What's the problem? Describe what went wrong.

Memory write error when opening mail mogmail in "Goblin Wall"
When you close the mail, you get a memory read error

What steps will reproduce the problem?

Tested on single and dual core option
Tested from in game save and from savestate before error read/write started (at boss, last hit to kill and move foward)
Disable "Use Panic Handlers" before you start

  • Go to "Goblin wall"
  • Beat the boss
  • Watch the myrrh cutscene
  • Mogmail cutscene starts up and you are given a letter
  • Open the mail to respond > Game gives out "Warning: Invalid write" error every frame in the log (http://puu.sh/sxacq/30c9773337.txt loops)
  • Exit the menu to go back in to the game > Game gives out "Warning: Invalid read" error in the log (http://puu.sh/sxaro/040b7765d8.txt loops)
  • Screen will be black with some audio stutter >> Can not continue

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?

Dolphin 5.0-1351

What are your PC specifications? (CPU, GPU, Operating System, more)

Operating System - Windows 10 Pro 64-bit
CPU - Intel Core i5 6600K @ 3.50GHz
RAM - 16.0GB Dual-Channel @ 1069MHz (15-15-15-35)
Motherboard - ASUSTeK COMPUTER INC. Z170-A (LGA1151)
Graphics - BenQ LCD (1280x720@60Hz) - 2047MB NVIDIA GeForce GTX 670 (EVGA)
Storage - 465GB Samsung SSD 850 EVO 500GB (SSD)

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

Error log with bother errors in it - http://puu.sh/sx7HF/7f164a4fac.txt
Can provide video if needed


Related issues

Has duplicate Emulator - Emulator Issues #9384: Final Fantasy Crystal Chronicles Menu ErrorDuplicate

History

#1 Updated by Nar over 3 years ago

Issue started with version 5.0-540 (Dynamic BAT, PR #4146). Activating MMU causes the FPS drop to 0 but music continues playing.
In earlier versions, you could complete the dungeon without errors, but then the game saved to a different .gci file with a different header.

#2 Updated by JMC4789 almost 3 years ago

  • Status changed from New to Questionable

This is definitely a valid issue of some sort, but the bisect is a false positive. MMU emulation just made the previously dangerous behavior no longer happen and crash the game instead, which is favorable.

I have no idea how to test this unfortunately.

#3 Updated by JosJuice almost 3 years ago

  • Status changed from Questionable to New

#4 Updated by JMC4789 over 1 year ago

  • Status changed from New to Accepted

Confirmed. This no longer read/write errors, but crashes thanks to MMU.

#5 Updated by JMC4789 over 1 year ago

#6 Updated by Korados over 1 year ago

Funny, I just wanted to post this. I'm glad this is here. It's still a thing! I just had this error again yesterday with 5.0-9466!
Is there absolutely no way around other than using an old version of Dolphin?

#7 Updated by TarnishedBones over 1 year ago

bad news is it looks like you have to use an older version of dolphin to beat the level. good news is it seems like if you beat it once on the old version you can come back on the newer one and it plays out just fine for that character.

#8 Updated by JMC4789 over 1 year ago

I tried that and on the old build, instead of crashing, it corrupted my save.

#9 Updated by DrevasBellmare over 1 year ago

I created an account solely for the purpose of Posting this.

After Multiple tries with the usage of v.5.0-9719 Dolphin to no avail, I went and used an old copy i happened to have of v.4.0-9224 of Dolphin, and following the words of JMC4789, I created a Copy of my Save file under GC USA in a diffrent folder in case. And then tried it again. Not only does v.4.0-9224 run FFCC faster then v.5.0-9719, it successfully passed and saved at the mailmoogle with no troubles at all. No editing or whatsoever needed.

Hope that helps!

#10 Updated by ThereIsNoNoobs about 1 year ago

I'm glad I'm not the only one who ran into this, but I also can't believe it isn't fixed after this long. Guess I'll figure out how to edit my save so the game counts the level as completed.

#11 Updated by JMC4789 about 1 year ago

If it works in an old build, bisecting would help a lot. We've tried to fix it but there are a lot of games and it takes a lot of effort to debug an issue like this.

Any assistance from people who know how to play the game would be much appreciated.

#12 Updated by fantesykikachu about 1 year ago

I don't know what DrevasBellmare did to get it to work, but i just tried 4.0-9224 and I still get save file corruption, just like everything before 5.0-540 (after which the game just locks up). I then went back and tested 4.0.2, 4.0.1, 4.0, 3.5, 3.0, and I even dug up my archived copy of 2.0, and all of them have save file corruption, (and in case anyone asks I deleted all previous copies of dolphin between tests and moved my "Documents\Dolphin Emulator" folder somewhere else so i was always starting from a clean state between tests. So no, there is no working old build.

If anyone whats to try and fix this but doesn't want to play the game, I can provide save states and FIFO logs from both 5.0 and the latest development version, and if need be I can dump the assembly in visual studio, or GDB but with both of those I don't really know what I'm doing.

#13 Updated by Rhyagelle 8 months ago

It has been so long, and many updates. Has this issue been fixed yet? Has anyone tested to see if it works in the EUR version? The latest development version is 5.0-11199, and the latest stable is 5.0.

What could the older versions of the game be doing right at this point that the newer versions fail at?

#14 Updated by JosJuice 8 months ago

The older versions aren't doing it right. Instead of crashing, they're corrupting memory in a way that affects the ability to save.

And no, the issue hasn't been fixed yet. Not sure if anyone has tested the European version, but I haven't heard anyone saying that that version works, at least.

#15 Updated by Rhyagelle 8 months ago

Oh, I just remember being able to get by the wall in the older versions, had no idea it came with its own issues, that sucks. Well I'll test the EUR version then, see if it has the same issues. A shame the issue isn't being looked into though. :(

#16 Updated by Korados 6 months ago

I just tested to clear Goblin Wall on 5.0-11535 with no use. I'm also kind of disappointed that this issue gets no love because isn't a bug that crashes the game at a certain point for everybody pretty important? The issue happens on both NTSC and PAL. I don't know about the Japanese version.

If you want to get past this point without a corrupted save file, use a build prior to 4.0-8131. I bisected that this is the build where the save file corruption started.

#17 Updated by JMC4789 6 months ago

"Issue doesn't get any love."

You have no idea how many hours various devs have put into trying to fix this. Sometimes issues like this don't have a clear solution and take a ton of debugging. With all the work that's been done on it, we still don't know what causes it.

Can you retest your bisect? That build doesn't actually touch emulation whatsoever. There are a few builds in that area that seem like they could maybe be related, but definitely not that one. That one just changes the WXWidgets GUI to display savestate information... which no longer exists.

If a second bisect points to that same build... then I'm seriously confused.

#18 Updated by Korados 6 months ago

I tried around the builds near 4.0-8131, and suddenly, the save file corruption also happened on 4.0-8127. When I try out these builds, I always get the error message "Memory stride is too small". Unfortunately, the bisect tool is broken right now, it takes some time to try out the builds.

#19 Updated by SabioSam 5 months ago

I've ran into the same problem and I disabled the Panic Handlers WHILST running the game (Dolphin 5.0-11608), getting it to work normally. Hopefully that'll help some <3 Glad there's still a community for all this!

#20 Updated by Rhyagelle 5 months ago

SabioSam wrote:

I've ran into the same problem and I disabled the Panic Handlers WHILST running the game (Dolphin 5.0-11608), getting it to work normally. Hopefully that'll help some <3 Glad there's still a community for all this!

What?! This is fantastical news! I'm gonna try it immediately! Thank you for sharing, and yes, I am also glad there is still a community for this. :)

#21 Updated by Carmouz 4 months ago

SabioSam wrote:

I've ran into the same problem and I disabled the Panic Handlers WHILST running the game (Dolphin 5.0-11608), getting it to work normally. Hopefully that'll help some <3 Glad there's still a community for all this!

Hi, I did try your solution on the same version of Dolphins as yours, and unfortunatly it didn't worked for me. Would you please elaborate your method ?
I'm actually in containement in France, I'm bored AF, could you please help me ? T_T

#22 Updated by Vichromma 3 months ago

Korados wrote:

I just tested to clear Goblin Wall on 5.0-11535 with no use. I'm also kind of disappointed that this issue gets no love because isn't a bug that crashes the game at a certain point for everybody pretty important? The issue happens on both NTSC and PAL. I don't know about the Japanese version.

Tested on Japanese version, same issue, although it seems to run a bit better overall.

#23 Updated by JMC4789 3 months ago

Again, we know this is an annoying, frustrating issue. But we have no clue why it happens or how. This is the kind of bug that may need someone with more expertise into per-game reverse engineering to understand.

#24 Updated by Alexedishi 21 days ago

Been trying at this bug over several versions. I was just able to able to both clear the mogmail and save/reload successfully after Goblin Wall in both years 2 and 4 using Dolphin 5.0-12088. Separately had VBA-M 2.1.4 linked and the widescreen AR code active.

SabioSam wrote:

I've ran into the same problem and I disabled the Panic Handlers WHILST running the game (Dolphin 5.0-11608), getting it to work normally. Hopefully that'll help some <3 Glad there's still a community for all this!

I also totally forgot to try this. Still worked with panic handlers enabled.

#25 Updated by Rhyagelle 21 days ago

Alexedishi wrote:

Been trying at this bug over several versions. I was just able to able to both clear the mogmail and save/reload successfully after Goblin Wall in both years 2 and 4 using Dolphin 5.0-12088. Separately had VBA-M 2.1.4 linked and the widescreen AR code active.

SabioSam wrote:

I've ran into the same problem and I disabled the Panic Handlers WHILST running the game (Dolphin 5.0-11608), getting it to work normally. Hopefully that'll help some <3 Glad there's still a community for all this!

I also totally forgot to try this. Still worked with panic handlers enabled.

Do you have any specific settings? And does it only work on year 2 and 4?

#26 Updated by Alexedishi 21 days ago

Rhyagelle wrote:

Do you have any specific settings?

-Dolphin 5.0-12088
-Dual-core enabled. Widescreen AR code from wiki enabled. Panic handlers enabled. Using JIT Recompiler with MMU disabled.
-DSP set to LLE Recompiler.
-Graphics running Vulkan with synchronous shaders. 3x native. 2x MSAA.
-Controller set to GC on Port 1, GBA Port 2
-All other settings left at default. I purposely started with a fresh 5.0-12088 install.

-VBA 1.2.4
-VBA link type set to Gamecube. Local mode, link at boot, and speed hack enabled. Link timeout set to 5ms. Pause when inactive disabled and turbo mode disabled. I have a savestate on VBA to speed up load times.
-Like Dolphin, purposely made a fresh install.

Rhyagelle wrote:

And does it only work on year 2 and 4?

So far those are the years I've reach in my playthrough. I'll keep testing every year that I can collect myrrh from Goblin Wall. I separately cleared and saved after Selepation Cave just an hour ago with the same settings. I heard that level was causing problems too.

I compared the save file headers before completing Goblin Wall and after completing it on years 2 and 4 and Dolphin appears to be saving it correctly.

#27 Updated by Alexedishi 21 days ago

I should add that I've been able to grind artifacts from Goblin Wall on off years 3 and 5 without issue and from Selepation Cave year 4 immediately after collecting myrrh.

Also available in: Atom PDF