The github.com/bodgit/rvz package reads the RVZ disc image format used by the Dolphin emulator.
- Handles all supported compression methods; Zstandard is only marginally slower to read than no compression. Bzip2, LZMA, and LZMA2 are noticeably slower.
How to read a disc image:
package main
import (
"io"
"os"
"github.com/bodgit/rvz"
)
func main() {
f, err := os.Open("image.rvz")
if err != nil {
panic(err)
}
defer f.Close()
r, err := rvz.NewReader(f)
if err != nil {
panic(err)
}
w, err := os.Create("image.iso")
if err != nil {
panic(err)
}
defer w.Close()
if _, err = io.Copy(w, r); err != nil {
panic(err)
}
}
The rvz
utility currently allows you to decompress an .rvz
file back to its original .iso
format.
A quick demo: