{"id":22555815,"url":"https://github.com/llamaware/llamatoolkit","last_synced_at":"2025-04-10T05:20:28.343Z","repository":{"id":224488043,"uuid":"763384175","full_name":"Llamaware/LlamaToolkit","owner":"Llamaware","description":"Decompilation toolkit for The Coffin of Andy and Leyley","archived":false,"fork":false,"pushed_at":"2024-08-14T01:32:53.000Z","size":365,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T06:45:16.692Z","etag":null,"topics":["reverse-engineering","rpg-maker-mv"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Llamaware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-02-26T07:35:04.000Z","updated_at":"2025-02-16T23:50:25.000Z","dependencies_parsed_at":"2024-08-14T00:40:35.712Z","dependency_job_id":null,"html_url":"https://github.com/Llamaware/LlamaToolkit","commit_stats":null,"previous_names":["llamaware/llamatoolkit"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Llamaware%2FLlamaToolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Llamaware%2FLlamaToolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Llamaware%2FLlamaToolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Llamaware%2FLlamaToolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Llamaware","download_url":"https://codeload.github.com/Llamaware/LlamaToolkit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161474,"owners_count":21057598,"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":["reverse-engineering","rpg-maker-mv"],"created_at":"2024-12-07T19:09:03.206Z","updated_at":"2025-04-10T05:20:28.321Z","avatar_url":"https://github.com/Llamaware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# LlamaToolkit 2.0\n\n[![GLWTPL](https://img.shields.io/badge/GLWT-Public_License-red.svg)](https://github.com/me-shaon/GLWTPL)\n\n![tsunderecoded](/docs/tsun.png)\n\nA decompilation toolkit for The Coffin of Andy and Leyley.\n\n### Prerequisites\n\nTo run the compiled binaries, you need the .NET 8.0 Runtime to be installed.\n\nYou need a Node.js installation to use the deobfuscator.\n\n### Usage\n\nPlace the program and the `llama` folder in the main directory that contains `Game.exe` and run LlamaToolkit from the command line.\n\n```\nLlamaToolkit \u003cmode\u003e \u003carguments\u003e\n```\n\n### Decrypt\n\nOnly `.k9a` files can be decrypted. The filenames of all encrypted files must be unchanged.\n\nArguments:\n\n`inputFileOrDir`: Specify the input directory or file. If directory, it will traverse all folders in the directory recursively.\n\n`outputDir`: Specify the output directory.\n\nYou must pass both arguments at once. Both relative and absolute paths are supported.\n\nIf no arguments are provided, LlamaToolkit will only check the `audio`, `data`, and `img` folders in the game directory.\n\n```\nLlamaToolkit decrypt \u003cinputFileOrDir\u003e \u003coutputDir\u003e\n```\n\n### DeDRM\n\nAllows the game to be launched without Steam.\n\nArguments:\n\n`gameDir`: Specify the game directory.\n\nIf no arguments are provided, LlamaToolkit will assume that it is currently inside of the game directory.\n\n```\nLlamaToolkit dedrm \u003cgameDir\u003e\n```\n\n### Extract and Deobfuscate (Automatically)\n\nGo to the `llama/decode-js` folder and use `npm i` to install dependencies.\n\nThen run the command:\n\n```\nLlamaToolkit autopwn \u003cgameDir\u003e\n```\n\nIf no arguments are provided, LlamaToolkit will assume that it is currently inside of the game directory.\n\nThis command will carry out the following operations:\n\n1. Inject the code extractor into the game.\n2. Launch the game and dump obfuscated code to `input.js`.\n3. Kill the game.\n4. Remove the code extractor from the game.\n5. Deobfuscate the code in `input.js` and save it to `output.js`.\n\n### ReDRM\n\nRestore the DRM.\n\n```\nLlamaToolkit redrm \u003cgameDir\u003e\n```\n\n### Extract and Deobfuscate (Manually)\n\n![abc](/docs/abc.png)\n\nAcquire the obfuscated game code by injecting a script into the game:\n\n```\nLlamaToolkit extract \u003cgameDir\u003e\n```\n\nThe game will dump obfuscated code to a new file named `input.js` on the next startup.\n\nRun the deobfuscator on this file:\n\n```\nLlamaToolkit deob input.js\n```\n\nThe new file will be saved to `output.js`.\n\nRemove the code extractor from the game:\n\n```\nLlamaToolkit restore \u003cgameDir\u003e\n```\n\n### Credits\n\nLlamaToolkit uses the `Jering.Javascript.NodeJS` package, which has its own [license](https://github.com/JeringTech/Javascript.NodeJS/blob/master/License.md).\n\nThe deobfuscator uses [decode-js](https://github.com/echo094/decode-js), which is licensed under the MIT License.\n\n![andrew](/docs/cs.png)\n\n*Last updated 8/13/2024 for game version 2.0.14*","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllamaware%2Fllamatoolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllamaware%2Fllamatoolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllamaware%2Fllamatoolkit/lists"}