Compare commits

...
3 Commits
Author SHA1 Message Date
龙腾猫跃 07887c2e50 更新整合包制作指南 2025-02-17 01:30:52 +08:00
龙腾猫跃 060588a3c8 改为“执行命令”替换名 2025-02-12 19:31:27 +08:00
龙腾猫跃 3774932682 Create LICENSE 2025-02-08 05:20:00 +08:00
4 changed files with 148 additions and 23 deletions

No files matched your search

+121
View File
@@ -0,0 +1,121 @@
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
+5 -5
View File
@@ -95,22 +95,22 @@
</StackPanel>
</local:MyCard>
<local:MyCard Title="事件 3:打开文件" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
<local:MyCard Title="事件 3:执行命令" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,15">
<TextBlock Margin="0,0,0,4"
Text="将 EventType 设置为 打开文件,EventData 设置为文件路径,即可点击打开特定文件或启动程序。" />
Text="将 EventType 设置为 执行命令(或 打开文件),EventData 设置为文件路径,即可点击打开特定文件或启动程序。" />
<local:MyButton Margin="0,4,0,8" Width="200" Height="35"
Text="打开记事本" EventType="打开文件" EventData="notepad.exe" />
Text="打开记事本" EventType="执行命令" EventData="notepad.exe" />
<TextBlock Margin="0,4,0,0"
Text="如果能在 PCL 文件夹中找到该文件,则会优先打开 PCL 文件夹中的文件。当然,你可以使用例如 C:\ 开头的绝对路径。" />
<TextBlock Margin="0,0,0,4"
Text="此外,PCL 会将文件中的 “花括号 path” 替换为 PCL 可执行文件所在文件夹({path}),可以用于执行特定程序或加载图片。" />
<local:MyButton Margin="0,4,0,10" Width="200" Height="35"
Text="打开 PCL 日志" EventType="打开文件" EventData="Log1.txt" ToolTip="PCL 的日志文件就在 PCL 文件夹内,且名为 Log1.txt" />
Text="打开 PCL 日志" EventType="执行命令" EventData="Log1.txt" ToolTip="PCL 的日志文件就在 PCL 文件夹内,且名为 Log1.txt" />
<TextBlock Margin="0,0,0,4"
Text="就像为游戏指定服务器 IP 一样,你也可以在 EventData 的竖线后为程序添加启动参数。" />
<local:MyButton Margin="0,4,0,0" Width="200" Height="35"
Text="定位游戏启动脚本" EventType="打开文件" EventData="explorer.exe|/select,LatestLaunch.bat" ToolTip="PCL 会将上一次启动 MC 的脚本保存在 PCL 文件夹内,且名为 LatestLaunch.bat。&#xA;点击按钮会打开文件管理器,并且借助参数要求它选中这个文件。" />
Text="定位游戏启动脚本" EventType="执行命令" EventData="explorer.exe|/select,LatestLaunch.bat" ToolTip="PCL 会将上一次启动 MC 的脚本保存在 PCL 文件夹内,且名为 LatestLaunch.bat。&#xA;点击按钮会打开文件管理器,并且借助参数要求它选中这个文件。" />
</StackPanel>
</local:MyCard>
+10 -8
View File
@@ -2,21 +2,23 @@
<local:MyCard Title="我可以使用 PCL 制作整合包吗?" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="你目前所使用的是 PCL 正式版。正式版没有分发限制,因此你可以发给其他人或是用于制作整合包、服务器客户端,无需向作者申请授权。" />
Text="你目前所使用的是 PCL 正式版,你可以随意发给其他人或是用于制作整合包、服务器客户端,无需申请授权。" />
</StackPanel>
</local:MyCard>
<local:MyCard Title="自动安装整合包" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="将你的整合包重命名为 modpack.zip 或 modpack.mrpack,和 PCL 的 exe 文件放在同一文件夹下。&#xa;如果这样做,打开 PCL 时,PCL 会自动安装这一整合包。" />
Text="若整合包文件名为 modpack.zip 或 modpack.mrpack,且与 PCL 的 exe 文件位于同一文件夹下,那么 PCL 会在打开时自动安装该整合包。" />
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="若在导出时勾选了 “PCL 启动器程序”,就会自动按照此格式打包。" />
</StackPanel>
</local:MyCard>
<local:MyCard Title="删除自己的账号信息" CanSwap="True" IsSwaped="True">
<local:MyCard Title="需要手动删除账号等敏感信息吗?" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="PCL 将你的账号、密码等重要信息加密存储在注册表中,而不是文件中。&#xa;因此,你无需刻意删除你的账号信息,它们不会随着你的整合包被发放给其他人。" />
Text="无需担心正版账号等敏感信息,它们不会随着整合包发放。" />
</StackPanel>
</local:MyCard>
@@ -30,7 +32,7 @@
<local:MyCard Title="自定义主页" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="你可以在 设置→个性化→主页 中自定义启动器的主页。&#xa;你也可以将你的主页 XAML 文件上传到服务器,并通过 “联网更新” 选项实现主页的动态更新。" />
Text="你可以在 设置 → 个性化 → 主页 中自定义启动器的主页。&#xa;你也可以将你的主页 XAML 文件上传到服务器,并通过 “联网更新” 选项实现主页的动态更新。" />
</StackPanel>
</local:MyCard>
@@ -44,7 +46,7 @@
<local:MyCard Title="关闭启动器更新与公告" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,8" LineHeight="17"
Text="你可以在 设置→启动器→系统 中修改启动器的更新方式与公告推送方式。" />
Text="你可以在 设置 → 启动器 → 系统 中修改启动器的更新方式与公告推送方式。" />
<TextBlock Margin="0,0,0,8" LineHeight="17"
Text="如果你能通过 QQ 群等方式通知到所有使用你的整合包的玩家,你可以完全关闭启动器更新。&#xa;如果你无法通知到使用整合包的所有玩家,则请至少选择 “仅在有重大漏洞更新时显示提示”,以免有玩家因为无法收到重大漏洞更新而无法正常游戏。" />
<TextBlock Margin="0,0,0,4" LineHeight="17"
@@ -62,14 +64,14 @@
<local:MyCard Title="自带 Java" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="如果你想让整合包自带某个版本的 Java,可以直接将 Java 放在版本文件夹(versions/版本名)中,PCL 会自动搜索并优先选用放在版本文件夹里的 Java。" />
Text="如果你想让整合包自带某个版本的 Java,可以直接将 Java 放在版本文件夹(versions/版本名)中,PCL 会自动搜索并优先选用放在版本文件夹里的 Java。&#xa;在导出时,你必须手动添加配置,才会导出该文件夹中的 Java。" />
</StackPanel>
</local:MyCard>
<local:MyCard Title="关闭 PCL 中不需要的功能" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="你可以在 设置→个性化→功能隐藏 中关闭你不需要的功能入口,例如下载、个性化设置等页面。" />
Text="你可以在 设置 → 个性化 → 功能隐藏 中关闭你不需要的功能入口,例如下载、个性化设置等页面。" />
</StackPanel>
</local:MyCard>
+12 -10
View File
@@ -2,23 +2,25 @@
<local:MyCard Title="我可以使用 PCL 制作整合包吗?" CanSwap="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="你目前所使用的 PCL 快照版仅限你本人使用,禁止发给其他人或是用于制作整合包、服务器客户端。&#xa;不过,你可以使用 PCL 正式版任意制作整合包,点击下方按钮即可下载。" />
<local:MyButton MinWidth="160" Height="35" Padding="13,0" Margin="0,4,20,8" HorizontalAlignment="Left" ColorType="Highlight"
Text="下载 PCL 正式版" EventType="打开网页" EventData="https://afdian.com/p/0164034c016c11ebafcb52540025c377" />
Text="你目前所使用的 PCL 快照版仅限你本人使用,这个 exe 文件不能发给其他人,或是用于制作整合包、服务器客户端。" />
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="不过,若在导出时勾选了 “PCL 启动器程序”,则会自动下载正式版的 PCL,它可以放在整合包里发给其他人。" />
</StackPanel>
</local:MyCard>
<local:MyCard Title="自动安装整合包" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="将你的整合包重命名为 modpack.zip 或 modpack.mrpack,和 PCL 的 exe 文件放在同一文件夹下。&#xa;如果这样做,打开 PCL 时,PCL 会自动安装这一整合包。" />
Text="若整合包文件名为 modpack.zip 或 modpack.mrpack,且与 PCL 的 exe 文件位于同一文件夹下,那么 PCL 会在打开时自动安装该整合包。" />
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="若在导出时勾选了 “PCL 启动器程序”,就会自动按照此格式打包。" />
</StackPanel>
</local:MyCard>
<local:MyCard Title="删除自己的账号信息" CanSwap="True" IsSwaped="True">
<local:MyCard Title="需要手动删除账号等敏感信息吗?" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="PCL 将你的账号、密码等重要信息加密存储在注册表中,而不是文件中。&#xa;因此,你无需刻意删除你的账号信息,它们不会随着你的整合包被发放给其他人。" />
Text="无需担心正版账号等敏感信息,它们不会随着整合包发放。" />
</StackPanel>
</local:MyCard>
@@ -32,7 +34,7 @@
<local:MyCard Title="自定义主页" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="你可以在 设置→个性化→主页 中自定义启动器的主页。&#xa;你也可以将你的主页 XAML 文件上传到服务器,并通过 “联网更新” 选项实现主页的动态更新。" />
Text="你可以在 设置 → 个性化 → 主页 中自定义启动器的主页。&#xa;你也可以将你的主页 XAML 文件上传到服务器,并通过 “联网更新” 选项实现主页的动态更新。" />
</StackPanel>
</local:MyCard>
@@ -46,7 +48,7 @@
<local:MyCard Title="关闭启动器更新与公告" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,8" LineHeight="17"
Text="你可以在 设置→启动器→系统 中修改启动器的更新方式与公告推送方式。" />
Text="你可以在 设置 → 启动器 → 系统 中修改启动器的更新方式与公告推送方式。" />
<TextBlock Margin="0,0,0,8" LineHeight="17"
Text="如果你能通过 QQ 群等方式通知到所有使用你的整合包的玩家,你可以完全关闭启动器更新。&#xa;如果你无法通知到使用整合包的所有玩家,则请至少选择 “仅在有重大漏洞更新时显示提示”,以免有玩家因为无法收到重大漏洞更新而无法正常游戏。" />
<TextBlock Margin="0,0,0,4" LineHeight="17"
@@ -64,14 +66,14 @@
<local:MyCard Title="自带 Java" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="如果你想让整合包自带某个版本的 Java,可以直接将 Java 放在版本文件夹(versions/版本名)中,PCL 会自动搜索并优先选用放在版本文件夹里的 Java。" />
Text="如果你想让整合包自带某个版本的 Java,可以直接将 Java 放在版本文件夹(versions/版本名)中,PCL 会自动搜索并优先选用放在版本文件夹里的 Java。&#xa;在导出时,你必须手动添加配置,才会导出该文件夹中的 Java。" />
</StackPanel>
</local:MyCard>
<local:MyCard Title="关闭 PCL 中不需要的功能" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,11">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="你可以在 设置→个性化→功能隐藏 中关闭你不需要的功能入口,例如下载、个性化设置等页面。" />
Text="你可以在 设置 → 个性化 → 功能隐藏 中关闭你不需要的功能入口,例如下载、个性化设置等页面。" />
</StackPanel>
</local:MyCard>