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


Games-NES-ROM documentation  | view source Contained in the Games-NES-ROM distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

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

DESCRIPTION

Top

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

Top

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

METHODS

Top

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

Top

* Games::NES::ROM
* http://nestopia.sourceforge.net/

AUTHOR

Top

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Top


Games-NES-ROM documentation  | view source Contained in the Games-NES-ROM distribution.