Skip to content

bodgit/rvz

Repository files navigation

GitHub release Build Status Coverage Status Go Report Card GoDoc Go version Go version

Dolphin RVZ disc images

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)
	}
}

rvz

The rvz utility currently allows you to decompress an .rvz file back to its original .iso format.

A quick demo: