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

Missing .RVZ disc image support #249

Open
SSUPII opened this issue Aug 3, 2023 · 3 comments
Open

Missing .RVZ disc image support #249

SSUPII opened this issue Aug 3, 2023 · 3 comments

Comments

@SSUPII
Copy link

SSUPII commented Aug 3, 2023

Dolphin can use a compressed format for Gamecube and Wii games with extension .RVZ, that actually saves a lot of space

Adding .RVZ would allow users that compressed their own original .ISO images to try the emulator while keeping the images compressed.

@ogamespec
Copy link
Member

If they provided a handy self-contained library for quick embedding into other emulators, I'd quickly add that. As far as I remember (when I visited them last time) - there is only specification (format description), and further "you can do it yourself" :D

Actually, Dolwin used to have its own implementation based on zlib (GMP), but I remember that it was not very convenient. Disk compression takes a decent amount of time, and except for playing on an emulator there are no other uses (you can't run it on real hardware). Plus, remember the meme about formats:

image

It is much easier to compress files using standard OS tools such as NTFS compression.

We'll see about that. I'm not closing it yet, but support for additional formats is definitely not on the agenda right now :)

@SSUPII
Copy link
Author

SSUPII commented Aug 4, 2023

Absolutely.

This is an issue made more as a reminder for the far future, bottom of the priority list for when after we get a good base.

I don't think we really need creating images of this format, that would be out of scope. But read would definitely be nice down the line.

@SuperSamus
Copy link

If I'm not wrong:

If they provided a handy self-contained library for quick embedding into other emulators, I'd quickly add that. As far as I remember there is only specification, and further "you can do it yourself"

While not a library, all the code is here: https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/DiscIO/WIACompression.cpp

It is much easier to compress files using standard OS tools such as NTFS compression.

The padding in the ISO files for GameCube/Wii games is pseudo-random.
Filesystem compression does basically nothing when dealing with random data.
.rvz is optimized to deal with the pseudo-random data used specifically in these ISO files.

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

No branches or pull requests

3 participants