{"id":49061271,"url":"https://github.com/wendelscardua/nexxt-parser","last_synced_at":"2026-04-25T07:01:13.096Z","repository":{"id":352274388,"uuid":"1214596332","full_name":"wendelscardua/nexxt-parser","owner":"wendelscardua","description":"Ruby gem for parsing of NEXXT Studio (NES graphics editor) session files","archived":false,"fork":false,"pushed_at":"2026-04-20T00:11:23.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-24T06:02:58.811Z","etag":null,"topics":["nes","nesdev","ruby","ruby-gem"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wendelscardua.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-18T19:40:53.000Z","updated_at":"2026-04-20T00:42:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/wendelscardua/nexxt-parser","commit_stats":null,"previous_names":["wendelscardua/nexxt-parser"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/wendelscardua/nexxt-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendelscardua%2Fnexxt-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendelscardua%2Fnexxt-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendelscardua%2Fnexxt-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendelscardua%2Fnexxt-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wendelscardua","download_url":"https://codeload.github.com/wendelscardua/nexxt-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendelscardua%2Fnexxt-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32253251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T04:23:17.126Z","status":"ssl_error","status_checked_at":"2026-04-25T04:21:53.360Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nes","nesdev","ruby","ruby-gem"],"created_at":"2026-04-20T02:04:40.221Z","updated_at":"2026-04-25T07:01:12.943Z","avatar_url":"https://github.com/wendelscardua.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NEXXT\n\n[![Gem Version](https://badge.fury.io/rb/nexxt-parser.svg)](https://rubygems.org/gems/nexxt-parser)\n[![CI](https://github.com/wendelscardua/nexxt-parser/actions/workflows/ci.yml/badge.svg)](https://github.com/wendelscardua/nexxt-parser/actions/workflows/ci.yml)\n[![Documentation](https://img.shields.io/badge/docs-rubydoc.info-blue.svg)](https://rubydoc.info/gems/nexxt-parser)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nParser for NEXXT Studio (NES graphics editor) session files.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'nexxt-parser'\n```\n\nAnd then execute:\n\n```bash\nbundle install\n```\n\n## Usage\n\n### Parse a session file\n\n```ruby\nrequire 'nexxt-parser'\n\nsession = NEXXT::Parser::Session.read('path/to/file.nss')\n\n# Access CHR data\nsession.chr_main  # =\u003e Array of integers\nsession.chr_copy # =\u003e Array of integers\n\n# Access metasprites\nsession.metasprites.each do |metasprite|\n  puts metasprite.name\n  metasprite.sprites.each do |sprite|\n    puts \"  x: #{sprite.x}, y: #{sprite.y}, tile: #{sprite.tile}\"\n  end\nend\n```\n\n### Access the session map / nametable\n\n```ruby\nsession = NEXXT::Parser::Session.read('path/to/file.nss')\n\nmap = session.map\nmap.width       # =\u003e Integer (in tiles)\nmap.height      # =\u003e Integer\nmap.tiles       # =\u003e 2D array of tile indices\nmap.attributes  # =\u003e Raw attribute bytes\nmap.metatiles   # =\u003e Array of Metatile objects\n\nsession.palette # =\u003e Array of NES palette bytes (from the Palette entry)\n```\n\n### Export the nametable as a PNG\n\n```ruby\nsession = NEXXT::Parser::Session.read('path/to/file.nss')\nsession.export_png('out.png')\n\n# Optional overrides: chr_bank (0..3), palette_bank (0..3), custom nes_palette\nsession.export_png('out.png', chr_bank: 1, palette_bank: 0)\n```\n\nThe exporter uses a built-in 2C02 NES RGB palette; pass a 64-entry array of\n`[r, g, b]` triples as `nes_palette:` to swap in a different one.\n\n### Parse a standalone map file\n\n```ruby\nmap = NEXXT::Parser::Map.read('path/to/file.map')\n\nmap.width   # =\u003e Integer\nmap.height  # =\u003e Integer\nmap.tiles   # =\u003e 2D array of tile indices\nmap.metatiles # =\u003e Array of Metatile objects\n```\n\n## Development\n\nAfter checking out the repo, run `bundle install` to install dependencies. Then, run `bundle exec rspec` to run the tests.\n\nRun `bundle exec rubocop` for linting.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/wendelscardua/nexxt-parser.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendelscardua%2Fnexxt-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwendelscardua%2Fnexxt-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendelscardua%2Fnexxt-parser/lists"}