Title autoupdate doesn't work if Station plays WebM clip
Posted: 05 Jan 2015, 01:13
A Title can use a WebM clip (PackImage.webm) as packaging image. This video clip is played on the boxcase and in the Title Station.
While playing this clip, the game permanently reads the video data from the *.Title.Pack.Gbx (or Titles.zip).
This privents the automatic update of a custom Title Pack.
If the user initiates the automatic update, the download starts and the updated Title Pack is saved to the file *.Title.Pack.Gbx.ref.
Normally, the old *.Title.Pack.Gbx will be closed and deleted. Then the *.Title.Pack.Gbx.ref will be renamed to *.Title.Pack.Gbx.
But in almost all cases there will be a sharing violation while deleting the *.Title.Pack.Gbx and a name collision while renaming the *.Title.Pack.Gbx.ref because the Station permanently opens the *.Title.Pack.Gbx again (or keeps it open) to play the PackImage.webm file.
This bug can be verified using Sysinternals Process Monitor and was confirmed by other players.
The Autoupdate of the same Title Pack works using a still image (PackImage.jpg) as package image.
Possibly solution: Stop the video playback after the user has initiated the update process or just before replacing the Title Pack file.
Strange: The game seems to detect that something goes wrong and deletes the file *.Title.Pack.Gbx.ref. But no error message is displayed.
While playing this clip, the game permanently reads the video data from the *.Title.Pack.Gbx (or Titles.zip).
This privents the automatic update of a custom Title Pack.
If the user initiates the automatic update, the download starts and the updated Title Pack is saved to the file *.Title.Pack.Gbx.ref.
Normally, the old *.Title.Pack.Gbx will be closed and deleted. Then the *.Title.Pack.Gbx.ref will be renamed to *.Title.Pack.Gbx.
But in almost all cases there will be a sharing violation while deleting the *.Title.Pack.Gbx and a name collision while renaming the *.Title.Pack.Gbx.ref because the Station permanently opens the *.Title.Pack.Gbx again (or keeps it open) to play the PackImage.webm file.
This bug can be verified using Sysinternals Process Monitor and was confirmed by other players.
The Autoupdate of the same Title Pack works using a still image (PackImage.jpg) as package image.
Possibly solution: Stop the video playback after the user has initiated the update process or just before replacing the Title Pack file.
Strange: The game seems to detect that something goes wrong and deletes the file *.Title.Pack.Gbx.ref. But no error message is displayed.