Opened 14 years ago

Closed 14 years ago

#662 closed task (fixed)

Cope with corrupted cache

Reported by: Philip Taylor Owned by:
Priority: Nice to Have Milestone: Alpha 3
Component: Core engine Keywords:
Cc: Patch:

Description

When the game crashes during loading (e.g. due to driver bugs), it sometimes leaves empty XMB files in the cache. When you start the game again, it complains

Xeromyces.cpp(197): Assertion failed: "size >= 4"

and fails.

Probably we should detect this kind of truncated output and automatically delete and re-convert the XML file, if possible.

Change History (1)

comment:1 by Jan Wassenberg, 14 years ago

Resolution: fixed
Status: newclosed

(In [8545]) safely handle zero-sized XMB files ensuing from a crash while loading fixes #662

Note: See TracTickets for help on using tickets.