Coder Social home page Coder Social logo

ines-dump's Introduction

ines-dump

List detailed information about .nes files in jsonl, shell or a human-readable format.

# npm -g i ines-dump

CRC db was copied from ucon64 src, ines header parsing is done via a tiny nes-file library.

$ ines-dump -h
Usage: ines-dump [options] [file.nes ...]

Options:
  -V, --version        output the version number
  -f, --format <type>  jsonl, shell, human
  -a, --all            output all available info
  --nointro            extract additional info from file _names_
  -h, --help           output usage information

Examples

$ ines-dump --nointro 'Battletoads-Double Dragon (USA).nes'
file                    Battletoads-Double Dragon (USA).nes
rom_size                262144
name                    Battletoads-Double Dragon
publisher               Tradewest
regions                 USA
date                    6/1993
licensed                true
crc32                   ceb65b06
sha1                    a14563325b0f33c358142e7363d31614722fddb1
tv_system9_pal          NTSC
has_trainer             false
is_vs_unisystem         false
is_playchoice10         false

crc32 & sha1 are computed for a rom portion, not for a whole file.

Print all available info in a shell-compatible code, that can be safely evaluated in sh:

$ ines-dump --nointro -f shell -a 'Battletoads-Double Dragon (USA).nes'
prg_rom_size=262144
chr_rom_size=0
has_chr_ram=true
mirroring=horizontal
has_battery_backed_sram=false
has_trainer=false
four_screen_mode=true
mapper=7
is_vs_unisystem=false
is_playchoice10=false
is_nes2_0=false
is_ines=true
prg_ram_size=0
tv_system9_pal=NTSC
reserved9=0
tv_system10=0
has_prg_ram=false
has_bus_conflicts=false
crc32=ceb65b06
sha1=a14563325b0f33c358142e7363d31614722fddb1
publisher=Tradewest
regions=USA
date='1993-06-15T01:00:00.000Z'
file='Battletoads-Double Dragon (USA).nes'
rom_size=262144
name='Battletoads-Double Dragon'
licensed=true

License

GPLv2.

ines-dump's People

Contributors

gromnitsky avatar

Watchers

 avatar  avatar  avatar

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.