npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ines-dump

v0.0.3

Published

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

Downloads

4

Readme

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.