IndieRunner::GrandCentral(3p)

NAME
IndieRunner::GrandCentral - heuristics to determine an IndieRunner game engine

DESCRIPTION
Heuristic subroutines to analyze files for a match with game engines known to IndieRunner.

SUBROUTINES

  find_bytes( $file, $bytes )
Scan a file for the (byte)string $bytes. Returns boolean (1 if found, otherwise 0).

  identify_engine( $file )
Compare filename against known globs for IndieRunner engines and return the matching engine. Returns an empty string if no match was found.

  identify_engine_thorough( $file )
Compare file content against known bytestrings for IndieRunner engines, using find_bytes. Returns the matching engine, or an empty string if no match was found.

SEE ALSO
IndieRunner

AUTHOR
Thomas Frohwein <thfr@cpan.org>

COPYRIGHT
Copyright 2022-2024 by Thomas Frohwein <thfr@cpan.org>.

This program is free software; you can redistribute it and/or modify it under the ISC license.