Project

chd

0.0
No release in over a year
Open MAME CHD file.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 13
~> 0
 Project Readme

This library provide access to MAME CHD file format, using the libchr library, If the library is not available on the system, the gem will used its bundled version.

Examples

CHD.open('file.chd') do |chd|
    puts chd.version
	puts chd.header
	puts chd.metadata	
	
	chd.read_hunk(0)
	chd.read_unit(0)
	chd.read_bytes(1234, 5678)
end
chd = CHD.new('file.chd')
cd  = CHD::CD.new(chd)
cd.read_sector(1, :MODE1)