Giter Club home page Giter Club logo

lucasystemtools's Introduction

部分功能已在新的 LuckSystem 项目中实现

此项目之后基本不会更新

LucaSystemTools test_release

Prototype's galgame tools

文件

很多图像相关的提取代码都是deqxj00 写的,脚本的话都是我写的,CZ0和Pak和一些代码来自LucaSystem

图像结构相关解释可以等贴吧@DeQxJ00发帖

与air相同引擎的游戏脚本相关,可等贴吧@develseed发帖

NS两款游戏脚本相关,看代码就行了~

PakTools.cs

  • 此引擎的pak包解包工具

CZ0Parser.cs、CZ1Parser.cs、CZ3Parser.cs、CZ4Parser.cs

  • Prototype新游戏好像用的都是这种图片,dat的升级版,CZ1提取和打包完成,CZ3只有提取, 新增CZ4
  • CZ中的颜色压缩32位转8位使用的是pngquant https://github.com/kornelski/pngquant

DatParser.cs

  • Psv air的几乎所有图像的提取程序,同引擎适用。具体打包请参照 PSV AIR 汉化工具

FontInfoParser.cs

  • island字体的info文件解析,同引擎适用,DeQxJ00整的 CZ1和info解析

PsbScript.cs

  • air脚本的简单解析,psv的clannad应该同样适用,其中A3 A4结尾的为跳转指令,不写了,详情 PSV AIR 汉化工具

Script****.cs

  • 脚本初步反汇编,支持修改然后汇编回去,文本增长、跳转判断均测试无问题
  • 导出的格式有json、lua、txt等(lua不可执行)

内置支持游戏

  • 《Summer Pocket》Nintendo Switch
  • 《Clannad》Nintendo (Opcode未完善)
  • 《Tomoyo After Its a Wonderful Life CS Edition》Nintendo Switch
  • 《Flowers - Shiki》
  • 《Flowers 春》PSVita
  • 《ISLAND》Psvita
  • ...
  • 支持添加新的自定义Opcode文件,不同的游戏opcode、参数列表也不尽相同,理论支持绝大多数PSV、NS所有LucaSystem引擎的游戏

能做什么

  • 做NS版的Summer Pocket 、Tomoyo After Its a Wonderful Life、Flowers - Shiki完整汉化没问题了,NS版的Clannad的话要改下opcode的解释。

  • 理论上NS上的几乎所有prototype的游戏都能汉化,不过需要一些操作获取到对应游戏的opcode列表

  • psv上和air同期的prototype的游戏,只要文件结构相似,那么图像基本是都能提取的,

  • 大体上psv的clannad air rewrite 是一类 ,psv上的 island flowers系列等是一类 ,如遇到同引擎的一些游戏可以参考下

  • 支持psv的ISLAND脚本编译与反编译

  • 如果对PSV、NS平台,此引擎的一些游戏支持有问题,可以提交issues反馈

使用说明

Options:
  -t|--file-type <FILE_TYPE>                    FileType [cz0] [cz1] [cz3] [cz4] [dat] [pak] [psb] [info] [scr]
  -m|--parser-mode <PARSER_MODE>                ParserMode [import] or [export]
  -f|--file-name <FILE_NAME>                    FileName or FolderName
  -o|--out-file-name <OUT_FILE_NAME>            OutFileName or OutFolderName
  -opcode|--opcode-path <OPCODE_PATH>           Script opcode ,For [scr]
  -c|--custom-opcode-path <CUSTOM_OPCODE_PATH>  Script custom opcode ,For [scr]
  -tbl|--tblfile <TBLFILE>                      TBL filename ,For [scr]
  -p|--pak-coding <PAK_CODING>                  Pakfile name coding ,For [pak]
  -lua|--format-lua                             Export and import lua format script (Can import) ,For [scr]
  -luae|--format-lua-export                     Export lua format script (Without param type, can't import) ,For [scr]
  -json|--format-json                           Export and import json format script (Import priority json) ,For [scr]
  -old|--format-old                             Use old format export and import ,For [scr]
  -d|--debug                                    Enable debug mode
  -l|--game-list                                Show list of supported games
  -oh|--opcode-help                             Show Opcode help
  -?|-h|--help                                  Show help information

Example

Script

用txt、lua、json导出SummerPockets的一个脚本

LucaSystemTools -t scr -m export -f .\10_プロローグ0725 -o .\10_725 -opcode SP -old -lua -json
输出文件:10_725.txt 10_725.lua 10_725.json

导入SummerPockets的一个脚本
LucaSystemTools -t scr -m import -f .\10_725.json -o .\10_725.1 -opcode SP
LucaSystemTools -t scr -m import -f .\10_725.json -o .\10_725.2 -opcode SP -json
LucaSystemTools -t scr -m import -f .\10_725.lua -o .\10_725.3 -opcode SP -lua
LucaSystemTools -t scr -m import -f .\10_725.txt -o .\10_725.4 -opcode SP -old
四种不同方式导入脚本

OpcodeGuide

查看README

lucasystemtools's People

Contributors

wetor avatar utawarerudd avatar yurisizuku avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.