diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/.github/ISSUE_TEMPLATE/bug---.md b/.github/ISSUE_TEMPLATE/bug---.md deleted file mode 100644 index f6dbd61..0000000 --- a/.github/ISSUE_TEMPLATE/bug---.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -name: Bug 反馈 -about: 程序出错了,并且我觉得这是 PCL 的问题! -title: '' -labels: Bug, 等待初步确认 -assignees: '' - ---- - -**请勾选下方所有项目。如果未完成,你的反馈可能会被直接关闭!** -- [ ] **我已点击 设置 → 启动器 → 检查更新 确认了已为最新版。** 如果不是,请在更新后重现 Bug。[获取更新](https://shimo.im/docs/qKPttVvXKqPD8YDC#anchor-oTgb) -- [ ] **我已在 [Issues 页面](https://github.com/Hex-Dragon/PCL2/issues/) 中搜索,确认了这一 Bug 未被提交过。** 重复提交会浪费大家的时间。 -- [ ] **我了解登录、下载超时或连接服务器失败不是启动器的问题。** 请不要因此提交反馈。[网络问题的解答](https://shimo.im/docs/qKPttVvXKqPD8YDC#anchor-0hDr) -- [ ] **我已在下文中上传了 PCL 文件夹中的 Log1~5.txt。** 直接把文件拖拽到这个文本框即可,请务必上传。 -- [ ] **我已在下文中详细描述了 Bug 的表现和重新触发 Bug 的方法。** - ---- - -在这里填写正文描述(把这一句话删掉)。 diff --git a/.github/ISSUE_TEMPLATE/minecraft---.md b/.github/ISSUE_TEMPLATE/bug1.md similarity index 100% rename from .github/ISSUE_TEMPLATE/minecraft---.md rename to .github/ISSUE_TEMPLATE/bug1.md diff --git a/.github/ISSUE_TEMPLATE/-----------.md b/.github/ISSUE_TEMPLATE/bug2.md similarity index 100% rename from .github/ISSUE_TEMPLATE/-----------.md rename to .github/ISSUE_TEMPLATE/bug2.md diff --git a/.github/ISSUE_TEMPLATE/---bug---.md b/.github/ISSUE_TEMPLATE/bug3.md similarity index 100% rename from .github/ISSUE_TEMPLATE/---bug---.md rename to .github/ISSUE_TEMPLATE/bug3.md diff --git a/.github/ISSUE_TEMPLATE/----.md b/.github/ISSUE_TEMPLATE/ch.md similarity index 100% rename from .github/ISSUE_TEMPLATE/----.md rename to .github/ISSUE_TEMPLATE/ch.md diff --git a/.github/ISSUE_TEMPLATE/-----.md b/.github/ISSUE_TEMPLATE/feature.md similarity index 100% rename from .github/ISSUE_TEMPLATE/-----.md rename to .github/ISSUE_TEMPLATE/feature.md diff --git a/.github/ISSUE_TEMPLATE/minecraft----------.md b/.github/ISSUE_TEMPLATE/minecraft----------.md deleted file mode 100644 index e8150a5..0000000 --- a/.github/ISSUE_TEMPLATE/minecraft----------.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -name: Minecraft 崩溃 / 启动失败 -about: PCL2 提示 “Minecraft 出现错误”,或游戏崩溃 -title: '' -labels: Bug, 等待初步确认 -assignees: '' - ---- - -**请勾选下方所有项目。如果未完成,你的反馈可能会被直接关闭!** -- [ ] **我所启动的游戏不是整合包,且未安装任何 Mod。** 游戏在安装 Mod 后崩溃一定不是 PCL2 的原因,请不要因此提交反馈。你可以在 QQ 群里或者论坛找人求助,但这里并不是你求助的地方。 -- [ ] **我已尝试使用其他启动器启动,其他启动器可以启动该游戏。** 如果其他启动器也无法启动,证明是游戏本身存在问题,而非 PCL2 的问题,同样请找其他人求助,不要提交反馈。[下载其他启动器](https://www.mcbbs.net/forum.php?mod=forumdisplay&fid=43&filter=typeid&typeid=908) -- [ ] **我已在 设置 → 启动器 → 检查更新 确认了已为最新版。** 如果不是,请在更新后重现 Bug。[怎样更新?](https://shimo.im/docs/qKPttVvXKqPD8YDC#anchor-oTgb) -- [ ] **我已在 [Issues 页面](https://github.com/Hex-Dragon/PCL2/issues/) 中搜索,确认了这一 Bug 未被提交过。** 重复提交会浪费大家的时间。 -- [ ] **我已在下文中上传了 PCL 文件夹中的 Log1~5.txt。** 直接把文件拖拽到这个文本框即可,请务必上传。 - ---- - -在这里填写正文描述(把这一句话删掉)。 diff --git a/.github/ISSUE_TEMPLATE/pcl2-----.md b/.github/ISSUE_TEMPLATE/pcl2-----.md deleted file mode 100644 index ab2fb2c..0000000 --- a/.github/ISSUE_TEMPLATE/pcl2-----.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -name: PCL2 相关错误 -about: PCL2 出错了,并且我觉得这就是 PCL2 的问题! -title: '' -labels: Bug, 等待初步确认 -assignees: '' - ---- - -**请勾选下方所有项目。如果未完成,你的反馈可能会被直接关闭!** -- [ ] **我已点击 设置 → 启动器 → 检查更新 确认了已为最新版。** 如果不是,请在更新后重现 Bug。[获取更新](https://shimo.im/docs/qKPttVvXKqPD8YDC#anchor-oTgb) -- [ ] **我已在 [Issues 页面](https://github.com/Hex-Dragon/PCL2/issues/) 中搜索,确认了这一 Bug 未被提交过。** 重复提交会浪费大家的时间。 -- [ ] **我了解登录、下载超时或连接服务器失败不是启动器的问题。** 请不要因此提交反馈。[网络问题的解答](https://shimo.im/docs/qKPttVvXKqPD8YDC#anchor-0hDr) -- [ ] **我已在下文中上传了 PCL 文件夹中的 Log1~5.txt。** 直接把文件拖拽到这个文本框即可,请务必上传。 -- [ ] **我已在下文中详细描述了 Bug 的表现和重新触发 Bug 的方法。** - ---- - -在这里填写正文描述(把这一句话删掉)。 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c018f45 --- /dev/null +++ b/.gitignore @@ -0,0 +1,366 @@ + +# Ignore Root .txt File +/*.txt + +# -------------------------------------------------------------------------------------------- + +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- Backup*.rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# JetBrains Rider +.idea/ +*.sln.iml + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# ------------------------------------------------------------ + +*.lnk + +# 等待下次更新迁移到 GitHub +PageOtherFeedback.* +# 包含主题解锁、加密解密等部分的代码 +ModSecret.vb +ModSetup.vb +PageOtherAbout.* +PageOtherTest.* +PageSetupUI.* +# 公开联机代码可能导致安全风险 +PageLink/ +# 开发者工具 +ModDevelop.vb +Releaser/ +# 不公开底层函数库,以免抄袭 +ModMain.vb