Compare commits

..

2 commits

Author SHA1 Message Date
5e3eb046a3
Create .gitignore 2026-10-21 20:06:14 +02:00
226665b317
Remove redundant files 2026-10-21 20:05:42 +02:00
316 changed files with 422 additions and 18380 deletions

541
.gitignore vendored
View file

@ -1,137 +1,406 @@
################################################################################ ## Ignore Visual Studio temporary files, build results, and
# This .gitignore file was automatically created by Microsoft(R) Visual Studio. ## files generated by popular Visual Studio add-ons.
################################################################################ ##
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
/.vs/BepInEx/copilot-chat/bff105b7/sessions # User-specific files
/.vs *.rsuser
/bin *.suo
/obj *.user
/MelonLoader/obj *.userosscache
/BepInEx/obj/Debug/net6.0 *.sln.docstates
/BepInEx/obj
/BepInEx/bin/ReleaseMulti/net6.0 # User-specific files (MonoDevelop/Xamarin Studio)
/AlmanacPlantBank_Patch.cs *.userprefs
/MelonLoader/bin/x64/Debug
/BepInEx/bin/Debug/net6.0 # Mono auto generated files
.HOWTO-sync-MelonLoader-from-origin-main.txt mono_crash.*
/MelonLoader/bin/ReleaseMulti/net6.0
MelonLoader/bin/Debug/net6.0/WebSocketDotNet.dll # Build results
MelonLoader/bin/Debug/net6.0/UnityEngine.XRModule.dll [Dd]ebug/
MelonLoader/bin/Debug/net6.0/UnityEngine.WindModule.dll [Dd]ebugPublic/
MelonLoader/bin/Debug/net6.0/UnityEngine.VRModule.dll [Rr]elease/
MelonLoader/bin/Debug/net6.0/UnityEngine.VideoModule.dll [Rr]eleases/
MelonLoader/bin/Debug/net6.0/UnityEngine.VFXModule.dll x64/
MelonLoader/bin/Debug/net6.0/UnityEngine.VehiclesModule.dll x86/
MelonLoader/bin/Debug/net6.0/UnityEngine.UnityWebRequestWWWModule.dll [Ww][Ii][Nn]32/
MelonLoader/bin/Debug/net6.0/UnityEngine.UnityWebRequestTextureModule.dll [Aa][Rr][Mm]/
MelonLoader/bin/Debug/net6.0/UnityEngine.UnityWebRequestModule.dll [Aa][Rr][Mm]64/
MelonLoader/bin/Debug/net6.0/UnityEngine.UnityWebRequestAudioModule.dll bld/
MelonLoader/bin/Debug/net6.0/UnityEngine.UnityWebRequestAssetBundleModule.dll [Bb]in/
MelonLoader/bin/Debug/net6.0/UnityEngine.UnityTestProtocolModule.dll [Oo]bj/
MelonLoader/bin/Debug/net6.0/UnityEngine.UnityCurlModule.dll [Ll]og/
MelonLoader/bin/Debug/net6.0/UnityEngine.UnityConnectModule.dll [Ll]ogs/
MelonLoader/bin/Debug/net6.0/UnityEngine.UnityAnalyticsModule.dll
MelonLoader/bin/Debug/net6.0/UnityEngine.UnityAnalyticsCommonModule.dll # Visual Studio 2015/2017 cache/options directory
MelonLoader/bin/Debug/net6.0/UnityEngine.UmbraModule.dll .vs/
MelonLoader/bin/Debug/net6.0/UnityEngine.UIModule.dll # Uncomment if you have tasks that create the project's static files in wwwroot
MelonLoader/bin/Debug/net6.0/UnityEngine.UIElementsModule.dll #wwwroot/
MelonLoader/bin/Debug/net6.0/UnityEngine.UI.dll
MelonLoader/bin/Debug/net6.0/UnityEngine.TLSModule.dll # Visual Studio 2017 auto generated files
MelonLoader/bin/Debug/net6.0/UnityEngine.TilemapModule.dll Generated\ Files/
MelonLoader/bin/Debug/net6.0/UnityEngine.TextRenderingModule.dll
MelonLoader/bin/Debug/net6.0/UnityEngine.TextCoreTextEngineModule.dll # MSTest test Results
MelonLoader/bin/Debug/net6.0/UnityEngine.TextCoreFontEngineModule.dll [Tt]est[Rr]esult*/
MelonLoader/bin/Debug/net6.0/UnityEngine.TerrainPhysicsModule.dll [Bb]uild[Ll]og.*
MelonLoader/bin/Debug/net6.0/UnityEngine.TerrainModule.dll
MelonLoader/bin/Debug/net6.0/UnityEngine.SubsystemsModule.dll # NUnit
MelonLoader/bin/Debug/net6.0/UnityEngine.SubstanceModule.dll *.VisualState.xml
MelonLoader/bin/Debug/net6.0/UnityEngine.StreamingModule.dll TestResult.xml
MelonLoader/bin/Debug/net6.0/UnityEngine.SpriteShapeModule.dll nunit-*.xml
MelonLoader/bin/Debug/net6.0/UnityEngine.SpriteMaskModule.dll
MelonLoader/bin/Debug/net6.0/UnityEngine.SharedInternalsModule.dll # Build Results of an ATL Project
MelonLoader/bin/Debug/net6.0/UnityEngine.ScreenCaptureModule.dll [Dd]ebugPS/
MelonLoader/bin/Debug/net6.0/UnityEngine.RuntimeInitializeOnLoadManagerInitializerModule.dll [Rr]eleasePS/
MelonLoader/bin/Debug/net6.0/UnityEngine.PropertiesModule.dll dlldata.c
MelonLoader/bin/Debug/net6.0/UnityEngine.ProfilerModule.dll
MelonLoader/bin/Debug/net6.0/UnityEngine.PhysicsModule.dll # Benchmark Results
MelonLoader/bin/Debug/net6.0/UnityEngine.Physics2DModule.dll BenchmarkDotNet.Artifacts/
MelonLoader/bin/Debug/net6.0/UnityEngine.PerformanceReportingModule.dll
MelonLoader/bin/Debug/net6.0/UnityEngine.ParticleSystemModule.dll # .NET Core
MelonLoader/bin/Debug/net6.0/UnityEngine.LocalizationModule.dll project.lock.json
MelonLoader/bin/Debug/net6.0/UnityEngine.JSONSerializeModule.dll project.fragment.lock.json
MelonLoader/bin/Debug/net6.0/UnityEngine.InputModule.dll artifacts/
MelonLoader/bin/Debug/net6.0/UnityEngine.InputLegacyModule.dll
MelonLoader/bin/Debug/net6.0/UnityEngine.IMGUIModule.dll # ASP.NET Scaffolding
MelonLoader/bin/Debug/net6.0/UnityEngine.ImageConversionModule.dll ScaffoldingReadMe.txt
MelonLoader/bin/Debug/net6.0/UnityEngine.HotReloadModule.dll
MelonLoader/bin/Debug/net6.0/UnityEngine.GridModule.dll # StyleCop
MelonLoader/bin/Debug/net6.0/UnityEngine.GIModule.dll StyleCopReport.xml
MelonLoader/bin/Debug/net6.0/UnityEngine.GameCenterModule.dll
MelonLoader/bin/Debug/net6.0/UnityEngine.DSPGraphModule.dll # Files built by Visual Studio
MelonLoader/bin/Debug/net6.0/UnityEngine.dll *_i.c
MelonLoader/bin/Debug/net6.0/UnityEngine.DirectorModule.dll *_p.c
MelonLoader/bin/Debug/net6.0/UnityEngine.CrashReportingModule.dll *_h.h
MelonLoader/bin/Debug/net6.0/UnityEngine.CoreModule.dll *.ilk
MelonLoader/bin/Debug/net6.0/UnityEngine.ContentLoadModule.dll *.meta
MelonLoader/bin/Debug/net6.0/UnityEngine.ClothModule.dll *.obj
MelonLoader/bin/Debug/net6.0/UnityEngine.AudioModule.dll *.iobj
MelonLoader/bin/Debug/net6.0/UnityEngine.AssetBundleModule.dll *.pch
MelonLoader/bin/Debug/net6.0/UnityEngine.ARModule.dll *.pdb
MelonLoader/bin/Debug/net6.0/UnityEngine.AnimationModule.dll *.ipdb
MelonLoader/bin/Debug/net6.0/UnityEngine.AndroidJNIModule.dll *.pgc
MelonLoader/bin/Debug/net6.0/UnityEngine.AIModule.dll *.pgd
MelonLoader/bin/Debug/net6.0/UnityEngine.AccessibilityModule.dll *.rsp
MelonLoader/bin/Debug/net6.0/Unity.VisualScripting.Core.dll *.sbr
MelonLoader/bin/Debug/net6.0/Unity.TextMeshPro.dll *.tlb
MelonLoader/bin/Debug/net6.0/Unity.RenderPipelines.Universal.Runtime.dll *.tli
MelonLoader/bin/Debug/net6.0/Unity.RenderPipelines.Core.Runtime.dll *.tlh
MelonLoader/bin/Debug/net6.0/Unity.RenderPipeline.Universal.ShaderLibrary.dll *.tmp
MelonLoader/bin/Debug/net6.0/Unity.Mathematics.dll *.tmp_proj
MelonLoader/bin/Debug/net6.0/Unity.InternalAPIEngineBridge.001.dll *_wpftmp.csproj
MelonLoader/bin/Debug/net6.0/Unity.Collections.LowLevel.ILSupport.dll *.log
MelonLoader/bin/Debug/net6.0/Unity.Collections.dll *.tlog
MelonLoader/bin/Debug/net6.0/Unity.Burst.Unsafe.dll *.vspscc
MelonLoader/bin/Debug/net6.0/Unity.Burst.dll *.vssscc
MelonLoader/bin/Debug/net6.0/Unity.2D.SpriteShape.Runtime.dll .builds
MelonLoader/bin/Debug/net6.0/Unity.2D.Common.Runtime.dll *.pidb
MelonLoader/bin/Debug/net6.0/Unity.2D.Animation.Runtime.dll *.svclog
MelonLoader/bin/Debug/net6.0/Tomlet.dll *.scc
MelonLoader/bin/Debug/net6.0/PvZ_Fusion_Translator.pdb
MelonLoader/bin/Debug/net6.0/PvZ_Fusion_Translator.dll # Chutzpah Test files
MelonLoader/bin/Debug/net6.0/PvZ_Fusion_Translator.deps.json _Chutzpah*
MelonLoader/bin/Debug/net6.0/MonoMod.Utils.dll
MelonLoader/bin/Debug/net6.0/MonoMod.RuntimeDetour.dll # Visual C++ cache files
MelonLoader/bin/Debug/net6.0/MonoMod.ILHelpers.dll ipch/
MelonLoader/bin/Debug/net6.0/MonoMod.Backports.dll *.aps
MelonLoader/bin/Debug/net6.0/Mono.Cecil.Rocks.dll *.ncb
MelonLoader/bin/Debug/net6.0/Mono.Cecil.Pdb.dll *.opendb
MelonLoader/bin/Debug/net6.0/Mono.Cecil.Mdb.dll *.opensdf
MelonLoader/bin/Debug/net6.0/Mono.Cecil.dll *.sdf
MelonLoader/bin/Debug/net6.0/Microsoft.Extensions.Logging.Abstractions.dll *.cachefile
MelonLoader/bin/Debug/net6.0/Microsoft.Diagnostics.Runtime.dll *.VC.db
MelonLoader/bin/Debug/net6.0/Microsoft.Diagnostics.NETCore.Client.dll *.VC.VC.opendb
MelonLoader/bin/Debug/net6.0/MelonLoader.xml
MelonLoader/bin/Debug/net6.0/MelonLoader.pdb # Visual Studio profiler
MelonLoader/bin/Debug/net6.0/MelonLoader.dll *.psess
MelonLoader/bin/Debug/net6.0/Il2CppSystem.Xml.dll *.vsp
MelonLoader/bin/Debug/net6.0/Il2CppSystem.dll *.vspx
MelonLoader/bin/Debug/net6.0/Il2CppSystem.Core.dll *.sap
MelonLoader/bin/Debug/net6.0/Il2CppSystem.Configuration.dll
MelonLoader/bin/Debug/net6.0/Il2Cppmscorlib.dll # Visual Studio Trace Files
MelonLoader/bin/Debug/net6.0/Il2CppMono.Security.dll *.e2e
MelonLoader/bin/Debug/net6.0/Il2CppInterop.Runtime.dll
MelonLoader/bin/Debug/net6.0/Il2CppInterop.HarmonySupport.dll # TFS 2012 Local Workspace
MelonLoader/bin/Debug/net6.0/Il2CppInterop.Generator.dll $tf/
MelonLoader/bin/Debug/net6.0/Il2CppInterop.Common.dll
MelonLoader/bin/Debug/net6.0/Il2Cpp__Generated.dll # Guidance Automation Toolkit
MelonLoader/bin/Debug/net6.0/bHapticsLib.dll *.gpState
MelonLoader/bin/Debug/net6.0/AudioImportLib.dll
MelonLoader/bin/Debug/net6.0/AssetsTools.NET.dll # ReSharper is a .NET coding add-in
MelonLoader/bin/Debug/net6.0/AssetRipper.Primitives.dll _ReSharper*/
MelonLoader/bin/Debug/net6.0/Assembly-CSharp.dll *.[Rr]e[Ss]harper
MelonLoader/bin/Debug/net6.0/AsmResolver.PE.File.dll *.DotSettings.user
MelonLoader/bin/Debug/net6.0/AsmResolver.PE.dll
MelonLoader/bin/Debug/net6.0/AsmResolver.DotNet.dll # TeamCity is a build add-in
MelonLoader/bin/Debug/net6.0/AsmResolver.dll _TeamCity*
MelonLoader/bin/Debug/net6.0/0Harmony.dll
/MelonLoader/bin # DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# 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
# NuGet Symbol Packages
*.snupkg
# 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
*.appxbundle
*.appxupload
# 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
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).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 6 auto-generated project file (contains which files were open etc.)
*.vbp
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
*.dsw
*.dsp
# Visual Studio 6 technical files
*.ncb
*.aps
# 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/
# 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/
# Visual Studio History (VSHistory) files
.vshistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
# VS Code files for those working on multiple tools
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
# Local History for Visual Studio Code
.history/
# Windows Installer files from build outputs
*.cab
*.msi
*.msix
*.msm
*.msp
# JetBrains Rider
*.sln.iml
.idea/
# Emik.Morsels symlinks
/Directory.Build.local.props
/Directory.Build.props
/Directory.Build.targets
/global.json
/stylecop.json

View file

View file

@ -42,7 +42,7 @@ internal static class FileLoader
{ {
// load translationStrings // load translationStrings
var translationStringsContent = Utils.GetDataFromWeb( var translationStringsContent = Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Strings/translation_strings.json" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Strings/translation_strings.json"
) )
.Result; .Result;
@ -61,7 +61,7 @@ internal static class FileLoader
// load translationRegexs // load translationRegexs
var translationRegexsContent = Utils.GetDataFromWeb( var translationRegexsContent = Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Strings/translation_regexs.json" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Strings/translation_regexs.json"
) )
.Result; .Result;
@ -79,7 +79,7 @@ internal static class FileLoader
} }
var customLevelStringsContent = Utils.GetDataFromWeb( var customLevelStringsContent = Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Strings/customlevel_strings.json" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Strings/customlevel_strings.json"
) )
.Result; .Result;
@ -98,7 +98,7 @@ internal static class FileLoader
// load translationRegexs // load translationRegexs
var customLevelRegexsContent = Utils.GetDataFromWeb( var customLevelRegexsContent = Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Strings/customlevel_regexs.json" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Strings/customlevel_regexs.json"
) )
.Result; .Result;
@ -121,7 +121,7 @@ internal static class FileLoader
// load tips // load tips
var izTipsContent = Utils.GetDataFromWeb( var izTipsContent = Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Strings/tips_iz.json" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Strings/tips_iz.json"
) )
.Result; .Result;
@ -136,7 +136,7 @@ internal static class FileLoader
} }
var fsTipsContent = Utils.GetDataFromWeb( var fsTipsContent = Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Strings/tips_fs.json" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Strings/tips_fs.json"
) )
.Result; .Result;
@ -158,7 +158,7 @@ internal static class FileLoader
Directory.CreateDirectory(almanacDir); Directory.CreateDirectory(almanacDir);
var plantAlmanacContent = Utils.GetDataFromWeb( var plantAlmanacContent = Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Almanac/LawnStringsTranslate.json" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Almanac/LawnStringsTranslate.json"
) )
.Result; .Result;
@ -173,7 +173,7 @@ internal static class FileLoader
} }
var zombieAlmanacContent = Utils.GetDataFromWeb( var zombieAlmanacContent = Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Almanac/ZombieStringsTranslate.json" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Almanac/ZombieStringsTranslate.json"
) )
.Result; .Result;
@ -188,7 +188,7 @@ internal static class FileLoader
} }
var detailStringsContent = Utils.GetDataFromWeb( var detailStringsContent = Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Almanac/DetailStringsTranslate.json" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Almanac/DetailStringsTranslate.json"
) )
.Result; .Result;
@ -394,7 +394,7 @@ internal static class FileLoader
if (!Core.Instance.ConfigUseLocal.Value) if (!Core.Instance.ConfigUseLocal.Value)
{ {
var changelogContent = Utils.GetDataFromWeb( var changelogContent = Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Strings/changelog.txt" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Strings/changelog.txt"
) )
.Result; .Result;
@ -412,7 +412,7 @@ internal static class FileLoader
if (!Core.Instance.ConfigUseLocal.Value) if (!Core.Instance.ConfigUseLocal.Value)
{ {
var travelBuffsContent = Utils.GetDataFromWeb( var travelBuffsContent = Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Strings/travel_buffs.json" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Strings/travel_buffs.json"
) )
.Result; .Result;
@ -491,7 +491,7 @@ internal static class FileLoader
if (!Core.Instance.ConfigUseLocal.Value) if (!Core.Instance.ConfigUseLocal.Value)
{ {
var textureTocRequest = Utils.GetDataFromWeb( var textureTocRequest = Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Textures/Texture_TOC.json" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Textures/Texture_TOC.json"
) )
.Result; .Result;
@ -592,7 +592,7 @@ internal static class FileLoader
if (!Core.Instance.ConfigUseLocal.Value) if (!Core.Instance.ConfigUseLocal.Value)
{ {
var textureTocRequest = Utils.GetDataFromWeb( var textureTocRequest = Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Textures/Texture_TOC.json" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Textures/Texture_TOC.json"
) )
.Result; .Result;
@ -734,7 +734,8 @@ internal static class FileLoader
{ {
var downloadPath = Path.Combine(basePath, path); var downloadPath = Path.Combine(basePath, path);
const string BaseUrl = "https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/"; const string BaseUrl =
"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/";
var url = $"{BaseUrl}{path}"; var url = $"{BaseUrl}{path}";

View file

@ -74,7 +74,7 @@ public static class AbyssBuffMenu_Patch
if (!Core.Instance.ConfigUseLocal.Value) if (!Core.Instance.ConfigUseLocal.Value)
{ {
var abyssBuffsContent = Utils.GetDataFromWeb( var abyssBuffsContent = Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Strings/abyss_buffs.json" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Strings/abyss_buffs.json"
) )
.Result; .Result;

View file

@ -93,7 +93,7 @@ public static class CustomLevelMenu_Patch
public static async Task<Dictionary<string, TranslatedLevelData>> GetTranslatedLevelData() public static async Task<Dictionary<string, TranslatedLevelData>> GetTranslatedLevelData()
{ {
var levelDataString = await Utils.GetDataFromWeb( var levelDataString = await Utils.GetDataFromWeb(
$"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language.ToString()}/Strings/custom_level_data.json" $"https://raw.githubusercontent.com/Teyliu/PVZF-Translation/refs/heads/main/PvZ_Fusion_Translator/Localization/{Utils.Language}/Strings/custom_level_data.json"
); );
if (levelDataString != null) if (levelDataString != null)

View file

@ -1,313 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>BepInEx.Preloader.Core</name>
</assembly>
<members>
<member name="M:BepInEx.Preloader.Core.AssemblyBuildInfo.ToString">
<inheritdoc />
</member>
<member name="T:BepInEx.Preloader.Core.EnvVars">
<summary>
Doorstop environment variables, passed into the BepInEx preloader.
<para>https://github.com/NeighTools/UnityDoorstop/wiki#environment-variables</para>
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.EnvVars.DOORSTOP_INVOKE_DLL_PATH">
<summary>
Path to the assembly that was invoked via Doorstop. Contains the same value as in "targetAssembly" configuration
option in the config file.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.EnvVars.DOORSTOP_MANAGED_FOLDER_DIR">
<summary>
Full path to the game's "Managed" folder that contains all the game's managed assemblies
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.EnvVars.DOORSTOP_PROCESS_PATH">
<summary>
Full path to the game executable currently running.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.EnvVars.DOORSTOP_DLL_SEARCH_DIRS">
<summary>
Array of paths where Mono searches DLLs from before assembly resolvers are invoked.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.EnvVars.DOORSTOP_MONO_LIB_PATH">
<summary>
Path of the DLL that contains mono imports.
</summary>
</member>
<member name="T:BepInEx.Preloader.Core.Logging.PreloaderConsoleListener">
<summary>
Log listener that listens to logs during preloading time and buffers messages for output in Unity logs later.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Logging.PreloaderConsoleListener.LogEvents">
<summary>
A list of all <see cref="T:BepInEx.Logging.LogEventArgs" /> objects that this listener has received.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Logging.PreloaderConsoleListener.LogLevelFilter">
<inheritdoc />
</member>
<member name="M:BepInEx.Preloader.Core.Logging.PreloaderConsoleListener.LogEvent(System.Object,BepInEx.Logging.LogEventArgs)">
<inheritdoc />
</member>
<member name="M:BepInEx.Preloader.Core.Logging.PreloaderConsoleListener.Dispose">
<inheritdoc />
</member>
<member name="T:BepInEx.Preloader.Core.Patching.AssemblyPatcher">
<summary>
Worker class which is used for loading and patching entire folders of assemblies, or alternatively patching and
loading assemblies one at a time.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.AssemblyPatcher.PatcherContext">
<summary>
The context of this assembly patcher instance that is passed to all patcher plugins.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.AssemblyPatcher.PatcherPluginsSafe">
<summary>
A cloned version of <see cref="!:PatcherPlugins" /> to ensure that any foreach loops do not break when the collection
gets modified.
</summary>
</member>
<member name="M:BepInEx.Preloader.Core.Patching.AssemblyPatcher.Dispose">
<summary>
Performs work to dispose collection objects.
</summary>
</member>
<member name="M:BepInEx.Preloader.Core.Patching.AssemblyPatcher.AddPatchersFromDirectory(System.String)">
<summary>
Adds all patchers from all managed assemblies specified in a directory.
</summary>
<param name="directory">Directory to search patcher DLLs from.</param>
</member>
<member name="M:BepInEx.Preloader.Core.Patching.AssemblyPatcher.LoadAssemblyDirectories(System.String[])">
<summary>
Adds all .dll assemblies in given directories to be patched and loaded by this patcher instance. Non-managed
assemblies
are skipped.
</summary>
<param name="directories">The directories to search.</param>
</member>
<member name="M:BepInEx.Preloader.Core.Patching.AssemblyPatcher.LoadAssemblyDirectories(System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String})">
<summary>
Adds all assemblies in given directories to be patched and loaded by this patcher instance. Non-managed assemblies
are
skipped.
</summary>
<param name="directories">The directory to search.</param>
<param name="assemblyExtensions">The file extensions to attempt to load.</param>
</member>
<member name="M:BepInEx.Preloader.Core.Patching.AssemblyPatcher.TryLoadAssembly(System.String,Mono.Cecil.AssemblyDefinition@)">
<summary>
Attempts to load a managed assembly as an <see cref="T:Mono.Cecil.AssemblyDefinition" />. Returns true if successful.
</summary>
<param name="path">The path of the assembly.</param>
<param name="assembly">The loaded assembly. Null if not successful in loading.</param>
</member>
<member name="M:BepInEx.Preloader.Core.Patching.AssemblyPatcher.PatchAndLoad">
<summary>
Applies patchers to all assemblies loaded into this assembly patcher and then loads patched assemblies into memory.
</summary>
</member>
<member name="T:BepInEx.Preloader.Core.Patching.PatcherPluginInfoAttribute">
<summary>
This attribute denotes that a class is a patcher plugin, and specifies the required metadata.
</summary>
</member>
<member name="M:BepInEx.Preloader.Core.Patching.PatcherPluginInfoAttribute.#ctor(System.String,System.String,System.String)">
<param name="GUID">The unique identifier of the plugin. Should not change between plugin versions.</param>
<param name="Name">The user friendly name of the plugin. Is able to be changed between versions.</param>
<param name="Version">The specific version of the plugin.</param>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.PatcherPluginInfoAttribute.GUID">
<summary>
The unique identifier of the plugin. Should not change between plugin versions.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.PatcherPluginInfoAttribute.Name">
<summary>
The user friendly name of the plugin. Is able to be changed between versions.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.PatcherPluginInfoAttribute.Version">
<summary>
The specific version of the plugin.
</summary>
</member>
<member name="T:BepInEx.Preloader.Core.Patching.TargetAssemblyAttribute">
<summary>
Defines an assembly that a patch method will target.
</summary>
</member>
<member name="F:BepInEx.Preloader.Core.Patching.TargetAssemblyAttribute.AllAssemblies">
<summary>
Marker used to indicate all possible assemblies to be targeted by a patch method.
</summary>
</member>
<member name="M:BepInEx.Preloader.Core.Patching.TargetAssemblyAttribute.#ctor(System.String)">
<param name="targetAssembly">
The short filename of the assembly. Use <see cref="F:BepInEx.Preloader.Core.Patching.TargetAssemblyAttribute.AllAssemblies" /> to mark all possible
assemblies as targets.
</param>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.TargetAssemblyAttribute.TargetAssembly">
<summary>
The short filename of the assembly to target.
</summary>
</member>
<member name="T:BepInEx.Preloader.Core.Patching.TargetTypeAttribute">
<summary>
Defines a type that a patch method will target.
</summary>
</member>
<member name="M:BepInEx.Preloader.Core.Patching.TargetTypeAttribute.#ctor(System.String,System.String)">
<param name="targetAssembly">The short filename of the assembly of which <paramref name="targetType" /> belongs to.</param>
<param name="targetType">The full name of the type to target for patching.</param>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.TargetTypeAttribute.TargetAssembly">
<summary>
The short filename of the assembly to target.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.TargetTypeAttribute.TargetType">
<summary>
The full name of the type to target for patching.
</summary>
</member>
<member name="T:BepInEx.Preloader.Core.Patching.BasePatcher">
<summary>
A patcher that can contain multiple methods for patching assemblies.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.BasePatcher.Log">
<summary>
A <see cref="T:BepInEx.Logging.ILogSource" /> instance created for use by this patcher plugin.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.BasePatcher.Config">
<summary>
A configuration file binding created with the <see cref="P:BepInEx.Preloader.Core.Patching.PatcherPluginInfoAttribute.GUID" /> of this plugin as the
filename.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.BasePatcher.Info">
<summary>
Metadata associated with this patcher plugin.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.BasePatcher.Context">
<summary>
The context of the <see cref="T:BepInEx.Preloader.Core.Patching.AssemblyPatcher" /> this BasePatcher is associated with.
</summary>
</member>
<member name="M:BepInEx.Preloader.Core.Patching.BasePatcher.Initialize">
<summary>
Executed before any patches from any plugin are applied.
</summary>
</member>
<member name="M:BepInEx.Preloader.Core.Patching.BasePatcher.Finalizer">
<summary>
Executed after all patches from all plugins have been applied.
</summary>
</member>
<member name="T:BepInEx.Preloader.Core.Patching.PatchDefinition">
<summary>
A definition of an individual patch for use by <see cref="T:BepInEx.Preloader.Core.Patching.AssemblyPatcher" />.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.PatchDefinition.TargetAssembly">
<summary>
The assembly / assemblies this patch will target, if there any.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.PatchDefinition.TargetType">
<summary>
The type / types this patch will target, if there are any.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.PatchDefinition.Instance">
<summary>
The instance of the <see cref="T:BepInEx.Preloader.Core.Patching.BasePatcher" /> this <see cref="T:BepInEx.Preloader.Core.Patching.PatchDefinition" /> originates from.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.PatchDefinition.MethodInfo">
<summary>
The method that will perform the patching logic defined by this <see cref="T:BepInEx.Preloader.Core.Patching.PatchDefinition" /> instance.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.PatchDefinition.FullName">
<summary>
A friendly name for this patch definition, for use in logging and error tracking.
</summary>
</member>
<member name="T:BepInEx.Preloader.Core.Patching.PatcherContext">
<summary>
Context provided to patcher plugins from the associated patcher engine.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.PatcherContext.AvailableAssemblies">
<summary>
<para>Contains a list of assemblies that will be patched and loaded into the runtime.</para>
<para>
The dictionary has the name of the file, without any directories. These are used by the dumping
functionality, and as such, these are also required to be unique. They do not have to be exactly the same as
the real filename, however they have to be mapped deterministically.
</para>
<para>Order is not respected, as it will be sorted by dependencies.</para>
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.PatcherContext.AvailableAssembliesPaths">
<summary>
<para>Contains a mapping of available assembly name to their original filenames.</para>
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.PatcherContext.LoadedAssemblies">
<summary>
<para>Contains a dictionary of assemblies that have been loaded as part of executing this assembly patcher.</para>
<para>
The key is the same key as used in <see cref="P:BepInEx.Preloader.Core.Patching.PatcherContext.LoadedAssemblies" />, while the value is the actual assembly
itself.
</para>
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.PatcherContext.PatcherPlugins">
<summary>
A list of plugins that will be initialized and executed, in the order of the list.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.PatcherContext.PatchDefinitions">
<summary>
A list of individual patches that <see cref="T:BepInEx.Preloader.Core.Patching.AssemblyPatcher" /> will execute, generated by parsing
<see cref="P:BepInEx.Preloader.Core.Patching.PatcherContext.PatcherPlugins" />.
</summary>
</member>
<!-- Badly formed XML comment ignored for member "P:BepInEx.Preloader.Core.Patching.PatcherContext.DumpedAssembliesPath" -->
<member name="T:BepInEx.Preloader.Core.Patching.PatcherPluginMetadata">
<summary>
A single cached assembly patcher.
</summary>
</member>
<member name="P:BepInEx.Preloader.Core.Patching.PatcherPluginMetadata.TypeName">
<summary>
Type name of the patcher.
</summary>
</member>
<member name="M:BepInEx.Preloader.Core.Patching.PatcherPluginMetadata.Save(System.IO.BinaryWriter)">
<inheritdoc />
</member>
<member name="M:BepInEx.Preloader.Core.Patching.PatcherPluginMetadata.Load(System.IO.BinaryReader)">
<inheritdoc />
</member>
<member name="M:BepInEx.Preloader.Core.PlatformUtils.SetPlatform">
<summary>
Recreation of MonoMod's PlatformHelper.DeterminePlatform method, but with libc calls instead of creating processes.
</summary>
</member>
</members>
</doc>

Binary file not shown.

File diff suppressed because it is too large Load diff

Some files were not shown because too many files have changed in this diff Show more