Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support alternative disc formats #41

Open
6 of 8 tasks
JaCzekanski opened this issue Nov 30, 2018 · 6 comments
Open
6 of 8 tasks

Support alternative disc formats #41

JaCzekanski opened this issue Nov 30, 2018 · 6 comments

Comments

@JaCzekanski
Copy link
Owner

JaCzekanski commented Nov 30, 2018

As mentioned in #28, support for different disc dump formats is a nice feature to have for end-user.

As for now Avocado supports:

  • single file .bin/.img/.iso (2352) images
  • multitrack .cue image with .bin tracks
  • MAME .chd disc file format with FLAC audio and LZMA compressed data
  • .ecm files
  • PSExe files (.exe, .psexe)
  • PSF music (.psf, .minipsf)

Nice to have:

  • .cue with WAV/MP3 tracks
  • PS Classics .pbp files download from Playstation Store

If you have any new file format suggestions feel free to comment on this issue.

@shikulja
Copy link

shikulja commented Aug 26, 2019

add in the future 7z-zip multi-images possible?

in 7z it’s very convenient to pack almost identical images for example (pal-ntsc, different versions, and translations) especially when they have similar external audio tracks.

while other emulators do not have this advantage

Скриншот 27-08-2019 025833

you can use to create and verify:
https://github.com/johndimi/cdcrush.net

@JaCzekanski
Copy link
Owner Author

If 7z format allows for random access and seeking without fully unpacking its contents I think it's doable. I'm sure that it can be done for simpler formats like .zip (other emulators has done it).

@shikulja
Copy link

shikulja commented Sep 3, 2019

  • .mdf / .mds is not the right format in which images still exist.

@JaCzekanski
Copy link
Owner Author

@shikulja I don't think this format has any popularity in emulation scene - correct me if I'm wrong.

I'll take it into considerations.

@shikulja
Copy link

shikulja commented Sep 3, 2019

@shikulja I don't think this format has any popularity in emulation scene - correct me if I'm wrong.

I'll take it into considerations.

no has, but sometimes in this format, images are found.
They can be converted. But it’s better not to touch such images; the quality of dumps is sometimes difficult to judge.

JaCzekanski added a commit that referenced this issue Jun 27, 2020
Due to ECM format design it is impossible to access data in random order.
Whole file needs to be processed first to build LUT table for offsets of sectors in .ecm file.
This implementation loads the whole processed file to RAM which will result in up to 800MB allocated by emulator when loading .ecm file.
Loading might freeze emulator for few seconds depending on drive speed - loader is single-threaded for now.
@JaegerFox
Copy link

JaegerFox commented Mar 20, 2021

Support for zipped/7z files with zstandard algorithm(?
is a real-time compression algorithm, providing high compression ratios. It offers a very wide range of compression / speed trade-off, while being backed by a very fast decoder
and recently it can be compressed with the zip format using 7zip-zstd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants