xemu icon indicating copy to clipboard operation
xemu copied to clipboard

Titles sensitive to HDD cache corruption

Open mborgerson opened this issue 7 months ago • 6 comments

Bug Description

These titles are known to have issues with potential HDD cache corruption:

  • https://xemu.app/titles/4d530004/#Halo-Combat-Evolved - Black screen on loading into maps
  • https://xemu.app/titles/4d530017/#MechAssault - Mission load fail, return to main menu
  • https://xemu.app/titles/4d53006b/#MechAssault-2-Lone-Wolf - Stuck at intro FMV or boot looping
  • https://xemu.app/titles/5443000d/#Ninja-Gaiden-Black
  • https://xemu.app/titles/49470018/#JSRF-Jet-Set-Radio-Future - Stuck at loading screen
  • https://xemu.app/titles/4d570021/#Unreal-Championship-2-The-Liandri-Conflict - "Damaged disk" error prior to round start
  • https://xemu.app/titles/545100f8/#Full-Spectrum-Warrior-Ten-Hammers - Stuck at loading screen

HDD cache can become corrupt for a number of reasons, for example:

  • xemu is closed (either by user choice or xemu crashing) while the title is writing to the disk, analogous to power loss on a real Xbox.
  • xemu may have corrupted memory or HDD contents unintentionally while the cache was being written

xemu crashing or corrupting the cache should be tracked separately and fixed, but the title's handling of corrupt cache is likely not an emulator issue.

The instances in this list can be resolved either by clearing cache partitions (some dashboards provide this feature) or by using a blank HDD image (available on https://xemu.app/docs)

Expected Behavior

Titles should tolerate corrupt cache, but there may be bugs in their handling even on real hardware. We need more information to be sure, but it appears xemu is emulating hardware behavior correctly.

xemu Version

N/A

System Information

N/A

Additional Context

No response

mborgerson avatar Apr 11 '25 21:04 mborgerson

Would it be worth just clearing the cache on xemu open? I feel like xemu crashing (ie basically a power outage to an Xbox) would cause cache corruption in concept anyway, so it may make less sense to clear it on exit, and just do it on open that way it's always being cleared

MasonT8198 avatar Apr 12 '25 04:04 MasonT8198

Ninja Gaiden Black seems to be another one and a good reason to save regularly using multiple slots. A few times when loading the game one of the saves would become unusable but with other save slot in the same area I could continue playing.

Enkak avatar Apr 12 '25 11:04 Enkak

Would it be worth just clearing the cache on xemu open?

@MasonT8198 Not a bad idea, but that would be a departure from how a real Xbox works, and xemu is trying to faithfully emulate Xbox behavior.

mborgerson avatar Apr 13 '25 22:04 mborgerson

Ninja Gaiden Black seems to be another one and a good reason to save regularly using multiple slots.

I'll add NGB to the list. What is the behavior of the game that is fixed by clearing cache, so I can add a description?

Save file corruption is a separate issue.

mborgerson avatar Apr 13 '25 22:04 mborgerson

Ninja Gaiden Black seems to be another one and a good reason to save regularly using multiple slots.

I'll add NGB to the list. What is the behavior of the game that is fixed by clearing cache, so I can add a description?

Save file corruption is a separate issue.

At the time (few months ago) nothing fixed it unless I used a different save slot or a new empty HDD but need to replay the game again to see if my mind isn't playing tricks concerning the clear cache part.

Enkak avatar Apr 16 '25 08:04 Enkak

You can add Unreal Championship 2 the Liandri Conflict to this list - Currently it runs almost perfectly, but almost always crashes after 5-10 minutes. After crashing the game gets a 'damaged disk' error any time a round is about to start (until you start with a clean hdd image again)

leadphalanx avatar Apr 21 '25 01:04 leadphalanx

Vexx #2569

Triticum0 avatar Nov 29 '25 04:11 Triticum0