Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature request: 7z l (List contents of archive) equivalent command #82

Open
jberq opened this issue Dec 14, 2023 · 2 comments
Open

Feature request: 7z l (List contents of archive) equivalent command #82

jberq opened this issue Dec 14, 2023 · 2 comments

Comments

@jberq
Copy link

jberq commented Dec 14, 2023

There's a nice little utility called sfo which works very well in concert with 7z— one can quickly verify whether an ISO contains PSP_GAME\PARAM.SFO, extract it, query/modify it, and then update the image.

None of that is possible with a .CSO image without first decompressing the entire thing, often times from an HDD. It would be super useful to at least be able list the files within an image before deciding whether to decompress.

I have no idea how tall of an order this is in terms of complexity, and if Stdin/Stdout would be easier to implement, that would be an equally useful feature.

@unknownbrackets
Copy link
Owner

Technically, maxcso (and the pre-existing CSO format) does not currently require the contents actually be ISO9660.

The behavior would ideally be different on PSP (uses Joliet) and PS2 (uses old-style ;1 suffixes afaik.) That's probably the main complexity, not sure if there are other platforms to think about. PS1 would be different, although is not currently supported entirely because files are required to be a multiple of 2048 bytes (although this is just really an optimization, since no one uses CSO for PS1 anyway.)

I'd probably accept a pull request but probably won't have time to do anything on this for a while. It does seem like it could be useful and not that hard, although there's also an argument for other tools to simply support CSO files as inputs directly. Then they can do whatever.

-[Unknown]

@orbea
Copy link
Contributor

orbea commented Jan 16, 2024

@unknownbrackets Would there be any benefit to using CSO for PS1 games rather than CUE/BIN? Are there reasons it hasn't been done other than that no one tried?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants