NAME

Games::NES::ROM::Database - Known info about existing ROMs

SYNOPSIS

use Games::NES::ROM::Database;

my $db = Games::NES::ROM::Database->new;
my $info = $db->find_by_crc( $crc );

DESCRIPTION

This database holds information about known game images. You can find out which mapper to use, how many PRG and CHR chunks it has, if it is an NTSC or PAL game, among other things.

DATABASE VERSION

The database has been synchronized with version 1.40 of the Nestopia emulator.

METHODS

new( )

Creates a new instance of the database.

find_by_crc( $crc )

Given a CRC hex string, it will return a hashref of info from the database or undef if it does not exist in the database.

find_by_sha1( $sha1 )

Similar to find_by_crc, but uses an SHA-1 hex string.

find_by_rom( $rom )

Similar to find_by_crc, but accepts a Games::NES::ROM-derived object.

SEE ALSO

  • Games::NES::ROM

  • http://nestopia.sourceforge.net/

AUTHOR

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2007-2013 by Brian Cassidy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.