Skip to content

[BUG] ps3netsrv-go can't stat PS3 CHD files from ISOS above 10GB #40

Description

@kadai

While I was doing tests for #37 I happened to come across some issues with some PS3 CHD files.

Upon digging more into the logs, I started to see entries like this in my log files:

2026-04-03T20:32:18.306121-05:00 homeserver ps3netsrv-go[152877]: Apr  3 20:32:18.305 DBG Trying opener request_path=PS3ISO// op=readdir opener=viso path="PS3ISO///Bayonetta (USA) (En,Ja,Fr,De,Es,It).chd"
2026-04-03T20:32:18.306258-05:00 homeserver ps3netsrv-go[152877]: Apr  3 20:32:18.305 DBG Trying opener request_path=PS3ISO// op=readdir opener=chd path="PS3ISO///Bayonetta (USA) (En,Ja,Fr,De,Es,It).chd"
2026-04-03T20:32:18.306405-05:00 homeserver ps3netsrv-go[152877]: Apr  3 20:32:18.305 DBG Trying to open CHD file path="PS3ISO///Bayonetta (USA) (En,Ja,Fr,De,Es,It).chd"
2026-04-03T20:32:18.330570-05:00 homeserver ps3netsrv-go[152877]: Apr  3 20:32:18.330 ERR CHD file open for stat failed, report as try next err="chd: open: invalid data"

Then, I started to dig more and more and created more CHD files and discovered this:

Image

Apparently, the CHD library (or something else, maybe even ps3netsrv-go) can't open CHD files in that its generated ISO file is above 10GB ... if the original ISO was below it, it works fine.

The actual size of the CHD does not mater.

I know the original ISOS work fine with ps3netsv-go because I tried FFXIII (44.7GB) and Borderlands Triple Pack (14.3GB) without issues.

I generated the CHD files using the "tochd" library like this:
tochd -qs -m dvd .

Then, I have tested the CHD files and getting the SHA1 hash from them using this command:
chdman info -i <filename>.chd

I have tested FFXIII and Borderlands for its hashes and they match from the ISO... I have yet to test all of my files, but I am positive it may not be an encoding issue ... at least not right now. But I'll try and extract the ISO from the CHD to see if there is an issue there.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions