{"id":30107109,"url":"https://github.com/subjectivelyobjective/jagarc","last_synced_at":"2025-08-10T01:33:36.965Z","repository":{"id":307420478,"uuid":"210052521","full_name":"subjectivelyobjective/jagarc","owner":"subjectivelyobjective","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-21T21:02:46.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-31T06:48:18.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subjectivelyobjective.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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}},"created_at":"2019-09-21T20:56:57.000Z","updated_at":"2020-01-11T00:15:36.000Z","dependencies_parsed_at":"2025-07-31T06:48:19.737Z","dependency_job_id":"5e189235-304f-4a15-80e0-88b84f104e85","html_url":"https://github.com/subjectivelyobjective/jagarc","commit_stats":null,"previous_names":["subjectivelyobjective/jagarc"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/subjectivelyobjective/jagarc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subjectivelyobjective%2Fjagarc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subjectivelyobjective%2Fjagarc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subjectivelyobjective%2Fjagarc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subjectivelyobjective%2Fjagarc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subjectivelyobjective","download_url":"https://codeload.github.com/subjectivelyobjective/jagarc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subjectivelyobjective%2Fjagarc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269663405,"owners_count":24455804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-10T01:33:35.572Z","updated_at":"2025-08-10T01:33:36.941Z","avatar_url":"https://github.com/subjectivelyobjective.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jagarc\nJavascript library and front-end for reading from Jagex Ltd.'s proprietary jag archive format\nfor Runescape Classic.\n\n## Front-end Usage\narchiver.js is the front-end for extracting files from an archive.\n\nCurrently, the -i flag is required as only read-only functionality is\nimplemented. If the -e flag is omitted, then all of the entries\nof the jag archive are dumped. Note that the filenames of entries cannot be \nknown by just reading from the archive, so dumping all of the entries in an \narchive will write the entries with their respective index numbers as their \nfile names. Specifically requested files are saved with their file name.\nIf the -d flag is omitted, then the entries will be extracted\nto your current working directory.\n\nTo extract an entry:\n```\n$ node archiver.js -i path/to/archive.jag -e example.tga -d path/to/extract/to\n```\n\nTo dump all of the entries in an archive:\n```\n$ node archiver.js -i path/to/archive.jag -d path/to/extract/to\n```\n\n## Example\nThis would extract the old Jagex logo from jagex.jag:\n```\n$ node archiver.js -i jagex.jag -e logo.tga\n```\n\n## Library Usage\n```\nconst jagarc = require('jagarc');\n\nconst fonts = new jagarc.JagArchive();\n\n// Note that the second argument could also be a UintArray8 buffer of the \n// archive.\njagarc.loadArchive(fonts, './cache/fonts1.jag', err =\u003e {\n    if (err) {\n        return console.error('Oopsies!');\n    }\n\n    const helvetica11Bitmap = fonts.get('h11p.jf');\n\n    // Do awesome stuff with helvetica11Bitmap.\n});\n```\n\n## Credits\nAdapted from https://github.com/hikilaka/rs.c/.\n\n## License\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Affero General Public License as published by \nthe Free Software Foundation, either version 3 of the License, or (at your \noption) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT \nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or \nFITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License \nfor more details.\n\nYou should have received a copy of the GNU Affero General Public License \nalong with this program. If not, see http://www.gnu.org/licenses/.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubjectivelyobjective%2Fjagarc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubjectivelyobjective%2Fjagarc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubjectivelyobjective%2Fjagarc/lists"}