{"id":21297867,"url":"https://github.com/vriskaserket51/eastwardpacker","last_synced_at":"2025-07-11T18:32:36.494Z","repository":{"id":196025776,"uuid":"694186357","full_name":"VriskaSerket51/EastwardPacker","owner":"VriskaSerket51","description":"Tools for export/import Eastward assets.","archived":false,"fork":false,"pushed_at":"2024-09-07T13:01:25.000Z","size":80,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-05T04:42:31.162Z","etag":null,"topics":["asset-extraction","eastward","import-export","reverse-engineering","video-game"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VriskaSerket51.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-09-20T13:51:54.000Z","updated_at":"2024-12-31T04:29:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"64522066-d394-4ff5-a87b-ea9d7b28f7cf","html_url":"https://github.com/VriskaSerket51/EastwardPacker","commit_stats":null,"previous_names":["vriskaserket51/eastwardpacker"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/VriskaSerket51/EastwardPacker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VriskaSerket51%2FEastwardPacker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VriskaSerket51%2FEastwardPacker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VriskaSerket51%2FEastwardPacker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VriskaSerket51%2FEastwardPacker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VriskaSerket51","download_url":"https://codeload.github.com/VriskaSerket51/EastwardPacker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VriskaSerket51%2FEastwardPacker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264870633,"owners_count":23676281,"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","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":["asset-extraction","eastward","import-export","reverse-engineering","video-game"],"created_at":"2024-11-21T14:42:09.289Z","updated_at":"2025-07-11T18:32:36.138Z","avatar_url":"https://github.com/VriskaSerket51.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"EastwardPacker\n=============\n\n## eastward.js\nYou can also get [Javascript version of Eastward Packer](https://github.com/VriskaSerket51/eastward.js)!\n\n## Download\nAll releases can be found at [here](https://github.com/VriskaSerket51/EastwardPacker/releases).\n\n## How to use\n### EastwardPacker\nYou can extract assets in \".g\" files.\n\n- Single file extraction\n`EastwardPacker.exe --index {index_path} -i {input_path} -o {output_path}`\n- Multiple files extraction\n`EastwardPacker.exe --r --index {index_path} --input_dir {input_path} -o {output_path}`\n\n### EastwardLib\nBy importing \"EastwardLib.dll\", you can handle Assets and GArchives.\n\nExample for inserting new asset into archive.\n```cs\nusing EastwardLib.Assets;\nusing EastwardLib.MetaData;\n\nvar g = GArchive.Read(\"locale.g\");\ng[\"locale/foo\"] = new TextAsset(\"bar\").Encode();\ng.Write(\"locale_new.g\");\n```\n\nExample for extracting from archive.\n```cs\nusing EastwardLib.Assets;\nusing EastwardLib.MetaData;\n\nvar g = GArchive.Read(\"locale.g\");\ng.ExtractTo(\"./locale_extracted\");\n```\n\nExample for extracting assets with restoring filename.\n```cs\nusing EastwardLib.Assets;\nusing EastwardLib.MetaData;\n\nvar assetManager = AssetManager.Create(\"./asset_index\", \"./script_library\", \"./texture_index\");\nforeach (var file in Directory.GetFiles(\"./archives\"))\n{\n    try\n    {\n        assetManager.LoadArchive(GArchive.Read(file));\n    }\n    catch (Exception)\n    {\n    }\n}\nassetManager.RootDirectory = \"./\";\nassetManager.LoadAssets();\nassetManager.ExtractTo(\"./exported\");\n```\n\u003e **Warning**\n\u003e AssetManager.LoadAssets() load all assets, it might consumes a bunch of memories.\n\nCurrently, you cannot export audio assets.\nSome lua assets are precompiled with LuaJIT.\n\n## Tools\n### AtlasExtractor\nPass multiple files through args, and extract images from each atlas file.\n\n### Hmg2Image\nPass multiple files through args, and decode hmg files to images.\n\n### Image2Hmg\nPass multiple files through args, and encode images to hmg files.\n\n## Features\n- Can extract various assets\n  - Hmg Texture\n  - Packed Data\n  - Deck files\n  - Scenes\n  - ETC\n  - For mSprite animations, please check [here](https://github.com/VriskaSerket51/EastwardMSpriteParser).\n- Create your custom assets, and add into \".g\" archive.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvriskaserket51%2Feastwardpacker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvriskaserket51%2Feastwardpacker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvriskaserket51%2Feastwardpacker/lists"}