Code Monkey home page Code Monkey logo

gbtoolsid's Introduction

gbtoolsid - Game Boy Toolchain ID

A command line app for identifying tools used to build Game Boy ROMs

For the web version see: https://bbbbbr.github.io/gbtoolsid_web/ https://github.com/bbbbbr/gbtoolsid_web

It attempts to identify the toolchain and engine through binary fingerprints:

Toolchains:

  • GBDK 2.x and GBDK-2020
  • Turbo Rascal Syntax Error
  • GBForth
  • GBBasic

Game Engines:

  • ZGB
  • GBStudio

Audio Drivers:

Sound FX Drivers:

Output is available in several formats:

  • standard text (only this mode shows multiple entries for a given category if found)
  • json (-oj)
  • csv row (-oc and -oC)
gbtoolsid [options] infile.gb[c]

Use: Try to identify the toolchain used to build a
     Game Boy game the result is printed to stdout.

Options
-h   : Show this help screen
-oj  : json style output
-oc  : csv style output
-oC  : Bare csv style output (no field names)
-s   : Strict mode: require GBDK match before testing ZGB or GBStudio
-pF  : Show full path to file in output (default: filename only)

Example: "gbtoolchainid petris.gbc"

Some example output:

File: deadeus.gb
Tools: GBDK, Version: 2.x - 2020-3.2.0
Engine: GBStudio, Version: 1.0.0 - 1.2.1
Music: GBT Player


File: POWA! DEMO.gbc
Tools: GBDK, Version: 2.x - 2020-3.2.0
Engine: ZGB, Version: 2020.1 - 2021.0
Music: GBT Player


File: IndestructoTankGB.gb
Tools: GBDK, Version: 2020.4.0.2
Music: GBT Player


File: Super_JetPak_DX_DMG-SJPD-UKV.gbc
Tools: GBDK, Version: 2.x - 2020-3.2.0
Music: GHX


File: Tuff.gb
Tools: <unknown>


File: Last Crown Warriors (Demo) 1.1.1.gb
Tools: <unknown>
Music: Carillon Player
SoundFX: FX Hammer

To scan in bulk, it can be combined with other tools, for example:

find path/to/some/ROMs/* -iname "*.gb*" -type f -print0 | xargs -0 -n1 path/to/gbtoolsid

Or, scan in bulk and dump to csv:

find path/to/some/ROMs/* -iname "*.gb" -type f | xargs -I {} path/to/gbtoolsid -pF -oC "{}" > path/to/someoutputfile.csv

gbtoolsid's People

Contributors

asiekierka avatar bbbbbr avatar deved2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gbtoolsid's Issues

Provide a JSON schema

It would be nice to have JSON schema describing the JSON output of the tool, with all the possible values

JSON output

would it be possible to have the output in a JSON format so it's easy to be parsed?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.