Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bodgit/rvz
Golang library for reading RVZ disc images
https://github.com/bodgit/rvz
gamecube go golang nintendo wii
Last synced: about 1 month ago
JSON representation
Golang library for reading RVZ disc images
- Host: GitHub
- URL: https://github.com/bodgit/rvz
- Owner: bodgit
- License: bsd-3-clause
- Created: 2022-05-21T11:23:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-30T02:18:49.000Z (5 months ago)
- Last Synced: 2024-11-01T19:42:25.640Z (about 2 months ago)
- Topics: gamecube, go, golang, nintendo, wii
- Language: Go
- Homepage: https://github.com/bodgit/rvz
- Size: 905 KB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![GitHub release](https://img.shields.io/github/v/release/bodgit/rvz)](https://github.com/bodgit/rvz/releases)
[![Build Status](https://img.shields.io/github/actions/workflow/status/bodgit/rvz/main.yml?branch=main)](https://github.com/bodgit/rvz/actions?query=workflow%3Abuild)
[![Coverage Status](https://coveralls.io/repos/github/bodgit/rvz/badge.svg?branch=main)](https://coveralls.io/github/bodgit/rvz?branch=main)
[![Go Report Card](https://goreportcard.com/badge/github.com/bodgit/rvz)](https://goreportcard.com/report/github.com/bodgit/rvz)
[![GoDoc](https://godoc.org/github.com/bodgit/rvz?status.svg)](https://godoc.org/github.com/bodgit/rvz)
![Go version](https://img.shields.io/badge/Go-1.22-brightgreen.svg)
![Go version](https://img.shields.io/badge/Go-1.21-brightgreen.svg)# Dolphin RVZ disc images
The [github.com/bodgit/rvz](https://github.com/bodgit/rvz) package reads the [RVZ disc image format](https://github.com/dolphin-emu/dolphin/blob/master/docs/WiaAndRvz.md) used by the [Dolphin emulator](https://dolphin-emu.org).
* 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:
```golang
package mainimport (
"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: