Touhou Patch Center:Download/zh-hans

主程序包 (多语言多作品对应)

 * Gnome-dev-zipdisk.svg [[Media:thcrap.zip|从   下载]] &bull; Gnome-dev-zipdisk.svg 从Github下载
 * 最后编译生成版本： [[Media:thcrap.zip|]]
 * 更新履历
 * 源代码： @ GitHub


 * 基于英文翻译分支的预打包补丁 (不推荐).


 * Universal THCRAP Launcher, recommended quick launch addon

系统要求

 * 安装了Service Pack 2的XP版本或更高版本的Windows，适配Wine.
 * 仅初始化配置和升级操作会用到网络连接. 离线情况下thcrap会直接使用已经下载好的最新补丁.

简易使用方法

 * 开始之前，不需要将thcrap解压到特定的作品目录之下. thcrap可以在任意目录运行.


 * 运行 thcrap_configure.exe 并按照说明进行补丁配置.


 * 最后会创建一个.js文件（即配置数据）和连接这个配置的、用于启动游戏的各个快捷方式. 注意thcrap 不会 修改任何已有的东方游戏文件.

详细使用方法
是的，可以是复数个. 如果你还是懂一点点英语的话，我们推荐你总是在最后包含英语分支 lang_en ，并将你的母语分支放在它的上面. 点此阅读更多关于补丁叠加机制的内容.
 * 1) 下载thcrap并解压（不需要解压到某个必须的目录或者哪一作的目录，扔哪里都可以）
 * 2) 运行 thcrap_configure.exe
 * 3) 选择想要的所有语言包.
 * 1) 等待数据下载.
 * 2) 在扫描游戏环节，选择存放着东方游戏的文件夹，或点击取消直接扫描整个系统.
 * 3) 当thcrap发现有多个版本的游戏可供补丁生效的时候，请选择你需要的那一个版本.
 * 4) 使用生成的快捷方式启动游戏.
 * 5) 享受thcrap带来的无缝翻译吧！

Running on top of vpatch
This is possible as of the 2013-10-25 build. Due to the DLL-centric design of vpatch, thcrap_configure doesn't automate this yet, so this requires a few manual steps for now:


 * 1) If you don't have vpatch yet, please download it from Touhou Wiki or from the author's download page.
 * 2) Configure your patch stack as usual. If you have multiple versions of the games installed, it is merely important to choose the correct directory at this point.
 * 3) Open the generated games.js in a plaintext editor, and replace the game's .exe file names with vpatch.exe (or whatever the local vpatch executable is called).
 * 4) Starting the games through the shortcuts will then launch thcrap, vpatch and the game itself. thcrap will automatically enable support for Japanese characters and file names, so AppLocale is not required (yes, not even for 東方紅魔郷.exe).

HALP! My runs like a Tengu jet fighter on steroids!!
Getting Touhou 06 to run on Windows 10 requires vpatch.


 * 1) Download this complete vpatch th06 for thcrap package. It includes vpatch (rev4) and our modified Unicode vpatch DLL.
 * 2) Extract the zip contents into your EoSD directory.
 * 3) If your EoSD directory already contains a file named vpatch_th06.dll, please remove it. You will only need vpatch_th06_unicode.dll.
 * 4) If your game executable is named th06.exe</tt>, rename it to 東方紅魔郷.exe</tt>. This is necessary because vpatch.exe</tt> will expect to find only this file. If you only have th06e.exe</tt> and neither 東方紅魔郷.exe</tt> or th06.exe</tt>, you are using the modified English static patch. We highly recommend that you use a proper Japanese original 1.02h version instead.
 * 5) Open thcrap\config\games.js</tt> with a text editor and make th06</tt> point to vpatch.exe</tt> instead of the game executable.
 * 6) If you encounter a lot of screen tearing, open vpatch.ini</tt> and set  </tt> to  </tt>.

文件输出
这个功能会在游戏运行时，导出其所有的原版文件.

方法：
 * 1) 找到通过 创建的.js配置文件. （文件名应该和生成的快捷方式末尾的名字一样，例如如果快捷方式是以"en"结尾的，那么要找的文件就是en.js）
 * 2) 用文本编辑器打开该文件（记事本、EditpadPro，或者其它编辑器都可以. ）
 * 3) 将  </tt> 一行改为：
 *  </tt> → 将会在游戏原目录新建一个名为  的文件夹，并将文件解压到这里.
 *  </tt> → 直接解压文件到指定的目录下.

保存并通过之前的快捷方式运行即可.

Steam integration
We'd actually need a new guide how to do this at this place!

How to debug a game crash, freeze, or other issue unrelated to translation
A complete patch setup is made up of a number of individual parts, any one of which will be responsible for the issue you're experiencing. If possible, please try to pin down the cause before reporting an issue to us.


 * Does the issue appear in the original, unpatched game?
 * While thcrap fixes some of the bugs in the original games as part of its patch support, we sadly don't have the capacities to fix all of them, as we are mostly busy with thcrap's own bugs and features, first and foremost. Still, please report the issue, maybe it is trivial enough that one of our developers can look at it and fix it fairly quickly.


 * Try removing patches from your stack, one by one, starting at the bottom.
 * To do this, edit the run configuration .js file generated by thcrap_configure in a plaintext editor like Notepad.
 * For example, if you only selected the English translation, you'd edit en.js</tt> (or whatever you've named it). You'd first remove the  section, then check whether that fixed your error, using your existing shortcuts or launchers. If it didn't, remove the next patch, and so on.
 * If you are unfamiliar with JSON, use JSONLint or JSON Formatter to verify the syntax of your edited file. This site also gives you helpful error messages if you e.g. left a comma at the end of the <tt>"patches"</tt> section.
 * If necessary, repeat this until you have no patches left. Note that running thcrap with no patches is still different from running the original, unpatched game. It still applies the game-independent features of thcrap, like its locale independence code or its propagation to child processes, onto the game, which might be the cause of your bug.
 * If the bug still appears with no patches, you're done. But if you could identify a patch that caused your issue:
 * Temporarily delete or rename <tt>thcrap_update.dll</tt> in the thcrap directory in order to disable automatic updates.
 * Look at <tt>thcrap_log.txt</tt> and check which files of that patch are actually loaded by the game. These are indicated by lines beginning with a <tt> + </tt>.
 * Delete those files one by one, until the bug doesn't appear any more.
 * These files will be re-downloaded once you restore <tt>thcrap_update.dll</tt>.


 * Now that you know the exact cause, report all the info you've gathered to the team, and they will be happy about your detailed bug report, and certainly less frustrated than if you just posted one screenshot of the bug. ☺

配置程序无法识别我的游戏，快捷方式也没有创建
如果游戏是萃梦想（）：thcrap并不支持萃梦想.

如果不是，请把游戏exe文件发送至 https://thpatch.net/w/logos/discord.png Discord 或 irc.freenode.net 的 #thcrap https://thpatch.net/w/logos/irc.png IRC频道. 我们会查看并分析的.

在Wine上，未翻译的日文显示为空白
那是Wine的一个bug，且直到2017年10月仍未修复. 即使日文字体已经安装 and work as intended on an unpatched game, Wine's font substitution is not sophisticated enough yet to use glyphs from these fonts in case the currently selected font (Touhou Biolinum for Latin script languages) does not contain Japanese glyphs.

对话文本出框了
很不幸，ZUN的游戏引擎并不支持自动换行，并且我们也不想让Wiki分析器来自动分析哪里需要插一个自动换行. 这意味着 所有对话的换行都得人力操作.

如果你发现有对话文本出现了这种情况，登录thpatch，找到对应的翻译页面自行换行即可. 如果是第三方补丁，向补丁制作者联系反馈（比如留下的Email或其托管的github仓库）.

无法载入函数： thcrap_init
我们也不知道究竟是哪儿出了问题. 如果你不幸遇到了，请联系我们以便调试. 有时可能是反病毒软件的锅，重装thcrap和受影响的游戏可能有帮助.

弹出日语文字的错误框
右边这个错误框会在系统中有两个东方游戏（已经有一个在运行然后打开第二个）的时候弹出，意思是不允许双开游戏. 检查任务管理器是否有僵死的进程，并在需要时强制停止运行.

有些翻译未完成或没有
看看thpatch上相应的翻译页面. 大多数时候是翻译还没做完.

为啥补丁A和补丁B不兼容？
如果要应用多个补丁，应用的顺序就很重要. 举个例子，某人要应用 Gamer251的魅魔补丁 来适配魅魔的图像和对话，Alphes风补丁用于适配Alphes绘，以及我们的英文补丁保证余下的文字都是英文. 如果他先加载魅魔的补丁，接着是Alphes绘，最后是英文补丁，就会看到当前两个补丁应用后，英语翻译（魔理沙的名字）就把魅魔的名字给盖住了. 所以对于常规补丁配置而言，如果该补丁还没有选上，正确的选择顺序是翻译类补丁在前，其它补丁在后. （参考 Nazeo的Gangster补丁）

补丁好像没更新
完整手动重装新版本thcrap通常有用.

还是没解决！
找不到解决方法？没任何效果？我们可以帮你！（大多数时候）

访问我们的 https://thpatch.net/w/logos/discord.png Discord 或我们在 irc.freenode.net 的 IRC 频道 #thcrap. 我们需要你的操作系统、出问题的游戏、你之前的一些操作以及thcrap的记录文件(<tt>thcrap_log.txt</tt>).

<tt>dat_dump</tt>

 * 在补丁应用的同时，从dat档案中输出原版的游戏文件.
 * 从2013-07-29版开始增加输出贴图的切图框功能.
 * 值： false 以禁用. 目录字符串指定特定输出位置. 其余值会启用并输出至 <游戏文件夹>/dat 内.

<tt>console</tt>

 * 启用或禁用调试命令行.
 * 值： true / false

<tt>font</tt>

 * 更改应用于游戏中的字体.
 * 只能是计算机中已经安装的字体. 该参数不会影响从服务器上下载的字体配置，只作用于本地.
 * 值： 字符串型

<tt>archive</tt>

 * 指定要应用的补丁的目录，必须以斜杠(/)结尾.
 * 从2014-01-03版开始，此参数的值可以是以该文件为基准的相对路径.
 * 值： 字符串型

<tt>ignore</tt>

 * 忽略（跳过）应用补丁中符合名字的文件. 可以使用通配符一次性应用复数个文件.
 * 值：字符串 数组

<tt>update</tt>

 * 设置为 <tt>false</tt> 以禁用该补丁的自动更新.
 * 值： true/false

另外，你可以在配置结束后安全地删除 <tt>thcrap_update.dll</tt> 来移除thcrap的所有联网功能.