Skip to content

sdalu/ruby-chd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d2daa05 · Jan 8, 2022

History

2 Commits
Jan 8, 2022
Jan 8, 2022
Jan 8, 2022
Jan 8, 2022
Jan 8, 2022
Jan 8, 2022
Jan 8, 2022
Jan 8, 2022
Jan 8, 2022

Repository files navigation

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)

About

Reading MAME CHD file from Ruby

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published