{"id":19489287,"url":"https://github.com/inndy/ggpk-tools","last_synced_at":"2026-06-07T21:31:35.423Z","repository":{"id":66330621,"uuid":"98101222","full_name":"Inndy/ggpk-tools","owner":"Inndy","description":null,"archived":false,"fork":false,"pushed_at":"2017-07-24T10:06:21.000Z","size":7,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-05-10T20:36:56.282Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Inndy.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":"2017-07-23T13:54:19.000Z","updated_at":"2019-03-31T05:23:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"b71d716b-69d4-41b5-88ac-e140503dad3b","html_url":"https://github.com/Inndy/ggpk-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Inndy/ggpk-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inndy%2Fggpk-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inndy%2Fggpk-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inndy%2Fggpk-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inndy%2Fggpk-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Inndy","download_url":"https://codeload.github.com/Inndy/ggpk-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inndy%2Fggpk-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34039495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"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":"2024-11-10T21:07:58.134Z","updated_at":"2026-06-07T21:31:35.390Z","avatar_url":"https://github.com/Inndy.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ggpk-tools\n\n- 010 editor binary template for GGPK file format.\n- A simple program implemented in C (for speed) to list files in a GGPK\n\n## Usage\n\nUnder bash:\n\n`./ggls Content.ggpk` or `VERBOSE=1 ./ggls Content.ggpk`\n\n## Windows Problems\n\n`ggls` won't work with MinGW since there's bug when handling 64bits file offset.\n\nIf you want to run this program on Windows, you can use VisualStudio or get\n[Visual C++ Build Tools](http://landinghub.visualstudio.com/visual-cpp-build-tools)\nor using [WSL](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux).\n\n## Sample Output\n\nFirst column is path, second column is file offset (in hex), third is file length (in hex).\n\n```\n$ VERBOSE=1 ./ggls Content.ggpk | grep '//Metadata/UI/'\n//Metadata/UI/tou.txt,1b9aca282,10534\n//Metadata/UI/Credits.ui,1b9ada7f8,ad09e\n//Metadata/UI/UISettings.xml,1b9b878e0,49d2\n//Metadata/UI/UISettings.Portuguese.xml,1b9b8c312,58a\n//Metadata/UI/UISettings.Tencent.xml,1b9b8c8f6,bae\n//Metadata/UI/LoadingState/LoadingScreen.ui,1b9a99a98,36c\n//Metadata/UI/LoadingState/AreaLoadingScreen.ui,1b9a99e5a,4ca\n//Metadata/UI/LoadingState/WaitingState.ui,1b9a9a370,200\n//Metadata/UI/PreGameState/LoginScreenCommon.ui,1b9a9a634,ae6\n//Metadata/UI/PreGameState/LoginScreenTencent.ui,1b9a9b172,171e\n//Metadata/UI/PreGameState/CreateCharacterScreen.ui,1b9a9c8ee,362c\n//Metadata/UI/PreGameState/LoginQueue.ui,1b9a9ff62,9cc\n//Metadata/UI/PreGameState/ConnectingFrame.ui,1b9aa0980,78a\n//Metadata/UI/PreGameState/GarenaLoginScreen.ui,1b9aa1160,a8c\n//Metadata/UI/PreGameState/SteamLoginScreen.ui,1b9aa1c40,1afa\n//Metadata/UI/PreGameState/LoginScreenGarenaWithGatewayList.ui,1b9aa37ae,105a\n//Metadata/UI/PreGameState/CreateCharacterScreen.Tencent.ui,1b9aa4876,381e\n//Metadata/UI/PreGameState/LoginScreen.ui,1b9aa80de,2f18\n//Metadata/UI/PreGameState/CreateCharacterScreenOverlays2.ui,1b9aab066,a3a\n//Metadata/UI/PreGameState/DailyDeal.ui,1b9aabae6,12b0\n//Metadata/UI/PreGameState/DeleteCharacterScreen.ui,1b9aacdf4,1040\n//Metadata/UI/PreGameState/CreateCharacterScreenOverlays1.ui,1b9aadea4,a3c\n//Metadata/UI/PreGameState/ChangePasswordScreen.ui,1b9aae93c,173e\n//Metadata/UI/InGameState/CreateTencentAccountWindow.ui,1b9abe304,1a44\n//Metadata/UI/InGameState/WaitingForTradeWindow.ui,1b9abfda6,928\n//Metadata/UI/InGameState/HUD/HUD.ui,1b9ab01b2,5b8c\n//Metadata/UI/InGameState/HUD/HUD.Tencent.ui,1b9ab5d88,63d2\n//Metadata/UI/InGameState/GarenaTWEscapeMenu.ui,1b9ac0726,1468\n//Metadata/UI/InGameState/ConfirmationWindow.ui,1b9ac1be6,ae2\n//Metadata/UI/InGameState/DeathScreen/DeathScreen.ui,1b9abc1f4,b50\n//Metadata/UI/InGameState/EscapeMenu.ui,1b9ac2710,14b8\n//Metadata/UI/InGameState/CharacterPanel/CharacterPanel.ui,1b9abcde8,145a\n//Metadata/UI/InGameState/TencentEscapeMenu.ui,1b9ac3c1e,1162\n//Metadata/UI/InGameState/BuyMarketTabWindow.ui,1b9ac4dd8,b04\n//Metadata/UI/InGameState/GarenaEscapeMenu.ui,1b9ac5930,1162\n//Metadata/UI/InGameState/CreateSteamAccountWindow.ui,1b9ac6af6,3678\n```\n\n## How To Extract Resource From GGPK\n\nUse this command to extract `tou.txt`:\n\n`dd if=Content.ggpk bs=1 of=tou.txt skip=$((0x1b9aca282)) count=$((0x10534))`\n\nOr using python\n\n```python\nwith open('Content.ggpk', 'rb') as fin:\n    fin.seek(0x1b9aca282)\n    with open('tou.txt', 'wb') as fout:\n        fout.write(fin.read(0x10534))\n```\n\nOr using 010 editor\n\n1. Press `Ctrl-Shift-A` (Select Range)\n2. Input Start: `1b9aca282` and Size: `10534` then press `Enter`\n3. Right click on selected area\n4. \"Selection\" -\u003e \"Save Selection\"\n5. Done!\n\n## Warning\n\n`ggls` does not properly handle UTF-16LE encoding string within GGPK file, this program may\nbroken in the future.\n\n## References\n\n[libggpk](https://github.com/MuxaJIbI4/libggpk)\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finndy%2Fggpk-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finndy%2Fggpk-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finndy%2Fggpk-tools/lists"}