{"id":27426306,"url":"https://github.com/cqjjjzr/lcselocalizationtools","last_synced_at":"2025-04-14T12:33:19.571Z","repository":{"id":37336706,"uuid":"100662213","full_name":"cqjjjzr/LCSELocalizationTools","owner":"cqjjjzr","description":"Tools to translate Virtual Novels(Galgame)/TAVG written by LC-ScriptEngine.","archived":false,"fork":false,"pushed_at":"2022-09-23T12:25:15.000Z","size":45,"stargazers_count":20,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-07-30T19:28:29.007Z","etag":null,"topics":["galgame","lc-scriptengine","localization","reverse-engineering","tavg","translation","visual-novel"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cqjjjzr.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}},"created_at":"2017-08-18T01:58:27.000Z","updated_at":"2024-07-21T08:37:26.000Z","dependencies_parsed_at":"2022-08-18T01:40:16.098Z","dependency_job_id":null,"html_url":"https://github.com/cqjjjzr/LCSELocalizationTools","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cqjjjzr%2FLCSELocalizationTools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cqjjjzr%2FLCSELocalizationTools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cqjjjzr%2FLCSELocalizationTools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cqjjjzr%2FLCSELocalizationTools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cqjjjzr","download_url":"https://codeload.github.com/cqjjjzr/LCSELocalizationTools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248881924,"owners_count":21176945,"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":["galgame","lc-scriptengine","localization","reverse-engineering","tavg","translation","visual-novel"],"created_at":"2025-04-14T12:33:18.882Z","updated_at":"2025-04-14T12:33:19.534Z","avatar_url":"https://github.com/cqjjjzr.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LCSELocalizationTools\n\nTools to translate Virtual Novels(Galgame)/TAVG written by LC-ScriptEngine.  \n一些翻译 LC-ScriptEngine 编写的 Galgame 的工具。\n\n测试用游戏：\nTest game: 無限煉姦～淫辱にまみれし不死姫の輪舞～\n\n(以下文档分中英文版)\n(Document below has both Chinese and English ver.)\n\n## Chinese ver.\n\n### LCSE Package Utility (LC-ScriptEngine资源包封包处理实用工具)\n\n处理 LC-ScriptEngine 游戏封包（一个大文件带着一个.lst的清单文件）的工具。所有程序说明都是中文，下面是详细使用：\n\n本工具有两个模式，解包和封包。解包会将包中的文件提取为独立文件，封包会利用将原版包中的一些文件利用一系列新文件进行替换来产生一个新的封包（并不会修改原版封包）。\n\n#### 通用参数\n\n两个模式都必须指定 `-l(--list)` 参数提供 .lst 清单文件，`-a(--package)` 提供封包文件。你还可以指定一个可选的 `-d(--out-dir)` 参数来设置输出目录。\n\n通过 `-k (--key)` 可以指定 `.lst`  文件的加密 key，而 `-K (--key-snx)` 可以指定 `.snx` 文件的 key。这两个参数的格式均为两位 16 进制数。\n\n请总是使用 `-h` 指令查看最全面的参数列表！\n\n你需要选择你想要处理的资源文件类型。下面是用来设置是否处理这些类型的开关：\n\n```\n-s --process-snx 处理SNX脚本\n-p --process-png 处理PNG图片\n-b --process-bmp 处理BMP图片\n-w --process-wav 处理WAV音频\n-o --process-ogg 处理OGG音频\n```\n\n#### 解包模式\n\n使用解包模式你必须指定 `-u(--unpack)` 开关，且不能指定 `-e(--patch-dir)` 参数。\n\n例子：\n\n```cmd\njava -jar .\\LCSEPackageUtility-rv1.jar --unpack --list lcsebody1.lst --package lcsebody1 -s -d \"D:\\mugen\\extracted\" --key 02\n```\n\n意味着解包 lcsebody1 封包文件，利用 lcsebody1.lst 清单文件，只解包SNX格式脚本，输出到 D:\\mugen\\extracted 目录。\n\n#### 封包模式\n\n使用封包模式你需要指定 `-r(--patch)` 开关，且必须指定 `-e(--patch-dir)` 来提供包含你希望用来替换掉原封包中文件的文件的文件夹。\n\n例子：\n\n```cmd\njava -jar .\\LCSEPackageUtility-rv1.jar --patch --patch-dir \"D:\\mugen\\patches\" --list lcsebody1.lst --package lcsebody1 -s -d \"D:\\mugen\\patched\" --key 02\n```\n\n意味着利用原封包文件 lcsebody1 和清单 lcsebody1.lst，用 D:\\mugen\\patches 替换掉原封包中的同名文件，生成一个新的封包和对应清单到 D:\\mugen\\patched，且仅替换SNX格式脚本。\n\n## English ver.\n\n### LCSE Package Utility\n\nA tool to process the package of LC-ScriptEngine games (a big file with a .lst file). All string written in Chiense, here's the English usage:\n\nFirst, we have 2 modes, Unpack and Patch. Unpack is to extract files from the package to dedicated files. Patch is to replace files in the package, and then create a new archive (modify the original version of pkg is not recommended).\n\n#### Common args\n\nFor both modes you need to specify the -l(--list) value to provide .lst file, the -a(--package) to provide package file. You can also specify a optional -d(--out-dir) value to set the out directory.\n\nUse `-k (--key)` and `-K (--key-snx)` to specify encryption key for `.lst` and `.snx` files, respectively. The format is 2-digits hex number e.g. `-k 0F`.\n\nPlease always use `-h` to view the full arg list!\n\nYou need to choose the resource file type that you needed to process. Below is switches to decide that if process them or not.\n\n```\n-s --process-snx Process SNX Script.\n-p --process-png Process PNG Picture.\n-b --process-bmp Process BMP Pirture.\n-w --process-wav Process WAV Audio.\n-o --process-ogg Process OGG Audio.\n```\n\n#### Using Unpack Mode\n\nTo use the Unpack mode you need to specify -u(--unpack) switch, no -e(--patch-dir) allowed. \n\nExample:\n\n```cmd\njava -jar .\\LCSEPackageUtility-rv1.jar --unpack --list lcsebody1.lst --package lcsebody1 -s -d \"D:\\mugen\\extracted\"\n```\n\nMeans unpack the lcsebody1 package with lcsebody1.lst list file, extract SNX scripts only, to `D:\\mugen\\extracted` folder.\n\n#### Using Patch Mode\n\nTo use the Patch mode you need to specify -r(--patch) switch, -e(--patch-dir) required to set a directory contains files you want to replace the files in the package.\n\nExample:\n\n```cmd\njava -jar .\\LCSEPackageUtility-rv1.jar --patch --patch-dir \"D:\\mugen\\patches\" --list lcsebody1.lst --package lcsebody1 -s -d \"D:\\mugen\\patched\"\n```\n\nMeans from the lcsebody1 package with lcsebody1.lst file, create a new package to `D:\\mugen\\patched` folder that some files in the original package is replaced with files in `D:\\mugen\\patches` folder.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcqjjjzr%2Flcselocalizationtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcqjjjzr%2Flcselocalizationtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcqjjjzr%2Flcselocalizationtools/lists"}