Update Readme.md

Add Readme_en-US.md
Update Screenshots
Add Screenshots-en
Update Languages
This commit is contained in:
2022-05-08 18:49:31 +08:00
parent 65393c4d7b
commit ca6441e780
38 changed files with 4286 additions and 3800 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
Doc/Screenshots/0-Home.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

View File

@ -1,9 +1,39 @@
# Grasscutter Tools
中文 | [EN](README_en-US.md)
## Commands Generator
请从 [Releases](https://github.com/jie65535/GrasscutterCommandGenerator/releases) 中获取最新版本
## v0.9.0 更新
---
## TODO List
- [ ] 多语言支持进度UI已经支持英语但还有许多ID映射文件缺失欢迎补充
- [ ] Animal.txt
- [ ] Artifact.txt
- [ ] ArtifactCat.txt
- [ ] ArtifactMainAttribution.txt
- [ ] ArtifactSubAttribution.txt
- [x] Avatar.txt
- [ ] CustomCommands.txt
- [x] Item.txt
- [x] Monster.txt
- [ ] NPC.txt
- [ ] Ornament.txt
- [x] Scene.txt
- [ ] Weapon.txt
- [ ] 远程执行命令(进度:新建文件夹)
- [ ] 割草机启动器(无进度)
- [ ] 邮件编辑器(无进度)
- [ ] 商店编辑器(无进度)
## v0.10.0-M1
- `主页` 页面新增 `语言` 下拉框,可选择简体中文和英语。
- `生成` 页面新增 `摆件` ID分类。
## v0.9.0
命令@UID随版本重构指令中指定ID改为`@ uid`,因此与旧版本服务端不兼容,不使用`指令含UID`则不影响)
权限管理新增下拉框选择权限(方便选择)
@ -14,7 +44,7 @@
![SetClimate](Doc/Screenshots/SetClimate.png)
## v0.8.0 更新
## v0.8.0
圣遗物套装下拉框可键入提示
@ -26,7 +56,7 @@
![Management](Doc/Screenshots/9-Manage.png)
## v0.7.0 更新
## v0.7.0
物品生成记录本
@ -36,7 +66,7 @@
![Spawn Entity Screenshort](Doc/Screenshots/6-SpawnEntity.png)
## v0.6.0 更新
## v0.6.0
新增奖池编辑器
@ -45,6 +75,8 @@
## Screenshots
![Logo](Doc/Screenshots/GrasscutterLogo.png)
![Home](Doc/Screenshots/0-Home.png)
![Custom Commands Screenshot](Doc/Screenshots/1-CustomCommands.png)
![Custom Artifact Screenshot](Doc/Screenshots/2-CustomArtifact.png)
@ -62,3 +94,5 @@
![Custom Stats Screenshort](Doc/Screenshots/8-CustomStats.png)
![Management](Doc/Screenshots/9-Manage.png)
![GachaBannerEditor](Doc/Screenshots/10-GachaBannerEditor.png)

56
README_en-US.md Normal file
View File

@ -0,0 +1,56 @@
# Grasscutter Tools
[中文](README.md) | EN
## Commands Generator
Please download the latest version from [Releases](https://github.com/jie65535/GrasscutterCommandGenerator/releases)
---
## TODO List
- [ ] Multi-language support (progress: UI already supports English, but there are still many ID mapping files missing, welcome to add)
- [ ] Animal.txt
- [ ] Artifact.txt
- [ ] ArtifactCat.txt
- [ ] ArtifactMainAttribution.txt
- [ ] ArtifactSubAttribution.txt
- [x] Avatar.txt
- [ ] CustomCommands.txt
- [x] Item.txt
- [x] Monster.txt
- [ ] NPC.txt
- [ ] Ornament.txt
- [x] Scene.txt
- [ ] Weapon.txt
- [ ] Execute command remotely (progress: new folder)
- [ ] Grasscutter Launcher (no progress)
- [ ] Mail Editor (no progress)
- [ ] Shop Editor (no progress)
## Screenshots
![Logo](Doc/Screenshots/GrasscutterLogo.png)
![Home](Doc/Screenshots-en/0-Home.png)
![Custom Commands Screenshot](Doc/Screenshots-en/1-CustomCommands.png)
![Custom Artifact Screenshot](Doc/Screenshots-en/2-CustomArtifact.png)
![Custom Weapon Screenshort](Doc/Screenshots-en/3-CustomWeapon.png)
![Give Item Screenshort](Doc/Screenshots-en/4-GiveItem.png)
![Give Avatar Screenshort](Doc/Screenshots-en/5-GiveAvatar.png)
![Spawn Entity Screenshort](Doc/Screenshots-en/6-SpawnEntity.png)
![Change Scene Screenshort](Doc/Screenshots-en/7-ChangeScene.png)
![Custom Stats Screenshort](Doc/Screenshots-en/8-CustomStats.png)
![Management](Doc/Screenshots-en/9-Manage.png)
![GachaBannerEditor](Doc/Screenshots-en/10-GachaBannerEditor.png)

View File

@ -229,6 +229,15 @@
<data name="LblBasePurpleWeight.Text" xml:space="preserve">
<value>4 star weight</value>
</data>
<data name="CmbBannerType.Items" xml:space="preserve">
<value>Standard Wish</value>
</data>
<data name="CmbBannerType.Items1" xml:space="preserve">
<value>Character Event Wish</value>
</data>
<data name="CmbBannerType.Items2" xml:space="preserve">
<value>Weapon Event Wish</value>
</data>
<data name="LblSortIdTip.Size" type="System.Drawing.Size, System.Drawing">
<value>76, 17</value>
</data>

File diff suppressed because it is too large Load Diff

View File

@ -258,11 +258,11 @@ namespace GrasscutterTools
//
// TPHome
//
resources.ApplyResources(this.TPHome, "TPHome");
this.TPHome.Controls.Add(this.BtnOpenGachaBannerEditor);
this.TPHome.Controls.Add(this.pictureBox1);
this.TPHome.Controls.Add(this.GrpSettings);
this.TPHome.Controls.Add(this.LblAbout);
resources.ApplyResources(this.TPHome, "TPHome");
this.TPHome.Name = "TPHome";
this.TPHome.UseVisualStyleBackColor = true;
//
@ -293,9 +293,9 @@ namespace GrasscutterTools
//
// CmbLanguage
//
resources.ApplyResources(this.CmbLanguage, "CmbLanguage");
this.CmbLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.CmbLanguage.FormattingEnabled = true;
resources.ApplyResources(this.CmbLanguage, "CmbLanguage");
this.CmbLanguage.Name = "CmbLanguage";
this.CmbLanguage.SelectedIndexChanged += new System.EventHandler(this.CmbLanguage_SelectedIndexChanged);
//
@ -337,6 +337,7 @@ namespace GrasscutterTools
//
// TPCustom
//
resources.ApplyResources(this.TPCustom, "TPCustom");
this.TPCustom.Controls.Add(this.BtnExportCustomCommands);
this.TPCustom.Controls.Add(this.BtnLoadCustomCommands);
this.TPCustom.Controls.Add(this.LblCustomName);
@ -344,7 +345,6 @@ namespace GrasscutterTools
this.TPCustom.Controls.Add(this.BtnRemoveCustomCommand);
this.TPCustom.Controls.Add(this.BtnSaveCustomCommand);
this.TPCustom.Controls.Add(this.TxtCustomName);
resources.ApplyResources(this.TPCustom, "TPCustom");
this.TPCustom.Name = "TPCustom";
this.TPCustom.UseVisualStyleBackColor = true;
//
@ -400,6 +400,7 @@ namespace GrasscutterTools
//
// TPArtifact
//
resources.ApplyResources(this.TPArtifact, "TPArtifact");
this.TPArtifact.Controls.Add(this.LblArtifactName);
this.TPArtifact.Controls.Add(this.NUDArtifactStars);
this.TPArtifact.Controls.Add(this.LblArtifactStars);
@ -419,7 +420,6 @@ namespace GrasscutterTools
this.TPArtifact.Controls.Add(this.LblSubAttribution);
this.TPArtifact.Controls.Add(this.CmbMainAttribution);
this.TPArtifact.Controls.Add(this.LblMainAttribution);
resources.ApplyResources(this.TPArtifact, "TPArtifact");
this.TPArtifact.Name = "TPArtifact";
this.TPArtifact.UseVisualStyleBackColor = true;
//
@ -591,6 +591,7 @@ namespace GrasscutterTools
//
// TPWeapon
//
resources.ApplyResources(this.TPWeapon, "TPWeapon");
this.TPWeapon.Controls.Add(this.TxtWeaponFilter);
this.TPWeapon.Controls.Add(this.LblWeaponDescription);
this.TPWeapon.Controls.Add(this.LblWeaponRefinement);
@ -600,7 +601,6 @@ namespace GrasscutterTools
this.TPWeapon.Controls.Add(this.NUDWeaponAmout);
this.TPWeapon.Controls.Add(this.NUDWeaponLevel);
this.TPWeapon.Controls.Add(this.ListWeapons);
resources.ApplyResources(this.TPWeapon, "TPWeapon");
this.TPWeapon.Name = "TPWeapon";
this.TPWeapon.UseVisualStyleBackColor = true;
//
@ -697,6 +697,7 @@ namespace GrasscutterTools
//
// TPItem
//
resources.ApplyResources(this.TPItem, "TPItem");
this.TPItem.Controls.Add(this.BtnSaveGiveItemLog);
this.TPItem.Controls.Add(this.BtnRemoveGiveItemLog);
this.TPItem.Controls.Add(this.GrpGiveItemRecord);
@ -708,7 +709,6 @@ namespace GrasscutterTools
this.TPItem.Controls.Add(this.NUDGameItemAmout);
this.TPItem.Controls.Add(this.NUDGameItemLevel);
this.TPItem.Controls.Add(this.LblGiveCommandDescription);
resources.ApplyResources(this.TPItem, "TPItem");
this.TPItem.Name = "TPItem";
this.TPItem.UseVisualStyleBackColor = true;
//
@ -819,13 +819,13 @@ namespace GrasscutterTools
//
// TPAvatar
//
resources.ApplyResources(this.TPAvatar, "TPAvatar");
this.TPAvatar.Controls.Add(this.LblAvatarGenWarning);
this.TPAvatar.Controls.Add(this.ImgAvatar);
this.TPAvatar.Controls.Add(this.LblAvatar);
this.TPAvatar.Controls.Add(this.LblLevel);
this.TPAvatar.Controls.Add(this.NUDAvatarLevel);
this.TPAvatar.Controls.Add(this.CmbAvatar);
resources.ApplyResources(this.TPAvatar, "TPAvatar");
this.TPAvatar.Name = "TPAvatar";
this.TPAvatar.UseVisualStyleBackColor = true;
//
@ -883,6 +883,7 @@ namespace GrasscutterTools
//
// TPSpawn
//
resources.ApplyResources(this.TPSpawn, "TPSpawn");
this.TPSpawn.Controls.Add(this.BtnSaveSpawnLog);
this.TPSpawn.Controls.Add(this.BtnRemoveSpawnLog);
this.TPSpawn.Controls.Add(this.GrpSpawnRecord);
@ -894,7 +895,6 @@ namespace GrasscutterTools
this.TPSpawn.Controls.Add(this.NUDEntityLevel);
this.TPSpawn.Controls.Add(this.TxtEntityFilter);
this.TPSpawn.Controls.Add(this.ListEntity);
resources.ApplyResources(this.TPSpawn, "TPSpawn");
this.TPSpawn.Name = "TPSpawn";
this.TPSpawn.UseVisualStyleBackColor = true;
//
@ -1037,27 +1037,19 @@ namespace GrasscutterTools
//
// TPScene
//
resources.ApplyResources(this.TPScene, "TPScene");
this.TPScene.Controls.Add(this.CmbClimateType);
this.TPScene.Controls.Add(this.LblClimateType);
this.TPScene.Controls.Add(this.LblSceneDescription);
this.TPScene.Controls.Add(this.ListScenes);
resources.ApplyResources(this.TPScene, "TPScene");
this.TPScene.Name = "TPScene";
this.TPScene.UseVisualStyleBackColor = true;
//
// CmbClimateType
//
resources.ApplyResources(this.CmbClimateType, "CmbClimateType");
this.CmbClimateType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.CmbClimateType.FormattingEnabled = true;
this.CmbClimateType.Items.AddRange(new object[] {
resources.GetString("CmbClimateType.Items"),
resources.GetString("CmbClimateType.Items1"),
resources.GetString("CmbClimateType.Items2"),
resources.GetString("CmbClimateType.Items3"),
resources.GetString("CmbClimateType.Items4"),
resources.GetString("CmbClimateType.Items5"),
resources.GetString("CmbClimateType.Items6")});
resources.ApplyResources(this.CmbClimateType, "CmbClimateType");
this.CmbClimateType.Name = "CmbClimateType";
this.CmbClimateType.SelectedIndexChanged += new System.EventHandler(this.CmbClimateType_SelectedIndexChanged);
//
@ -1080,10 +1072,10 @@ namespace GrasscutterTools
//
// TPStats
//
resources.ApplyResources(this.TPStats, "TPStats");
this.TPStats.Controls.Add(this.GrpSetStats);
this.TPStats.Controls.Add(this.GrpTalentLevel);
this.TPStats.Controls.Add(this.LblStatsDescription);
resources.ApplyResources(this.TPStats, "TPStats");
this.TPStats.Name = "TPStats";
this.TPStats.UseVisualStyleBackColor = true;
//
@ -1126,9 +1118,9 @@ namespace GrasscutterTools
//
// CmbStat
//
resources.ApplyResources(this.CmbStat, "CmbStat");
this.CmbStat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.CmbStat.FormattingEnabled = true;
resources.ApplyResources(this.CmbStat, "CmbStat");
this.CmbStat.Name = "CmbStat";
this.CmbStat.SelectedIndexChanged += new System.EventHandler(this.SetStatsInputChanged);
//
@ -1188,9 +1180,9 @@ namespace GrasscutterTools
//
// TPManage
//
resources.ApplyResources(this.TPManage, "TPManage");
this.TPManage.Controls.Add(this.GrpAccount);
this.TPManage.Controls.Add(this.GrpPermission);
resources.ApplyResources(this.TPManage, "TPManage");
this.TPManage.Name = "TPManage";
this.TPManage.UseVisualStyleBackColor = true;
//
@ -1267,10 +1259,10 @@ namespace GrasscutterTools
//
// CmbPerm
//
resources.ApplyResources(this.CmbPerm, "CmbPerm");
this.CmbPerm.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.CmbPerm.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.CmbPerm.FormattingEnabled = true;
resources.ApplyResources(this.CmbPerm, "CmbPerm");
this.CmbPerm.Name = "CmbPerm";
//
// NUDPermUID
@ -1316,10 +1308,10 @@ namespace GrasscutterTools
//
// TPAbout
//
resources.ApplyResources(this.TPAbout, "TPAbout");
this.TPAbout.Controls.Add(this.pictureBox2);
this.TPAbout.Controls.Add(this.LnkGithub);
this.TPAbout.Controls.Add(this.LblSupportDescription);
resources.ApplyResources(this.TPAbout, "TPAbout");
this.TPAbout.Name = "TPAbout";
this.TPAbout.UseVisualStyleBackColor = true;
//
@ -1344,9 +1336,9 @@ namespace GrasscutterTools
//
// TPRemoteCall
//
resources.ApplyResources(this.TPRemoteCall, "TPRemoteCall");
this.TPRemoteCall.Controls.Add(this.LblRemoteTODO);
this.TPRemoteCall.Controls.Add(this.GrpRemoteCommand);
resources.ApplyResources(this.TPRemoteCall, "TPRemoteCall");
this.TPRemoteCall.Name = "TPRemoteCall";
this.TPRemoteCall.UseVisualStyleBackColor = true;
//

View File

@ -702,6 +702,9 @@ namespace GrasscutterTools
{
ListScenes.Items.Clear();
ListScenes.Items.AddRange(GameData.Scenes.Lines);
CmbClimateType.Items.Clear();
CmbClimateType.Items.AddRange(Resources.ClimateType.Split(','));
}
private void ListScenes_SelectedIndexChanged(object sender, EventArgs e)
@ -727,6 +730,7 @@ namespace GrasscutterTools
private void InitStatList()
{
LblStatTip.Text = "";
SetStatsCommand.InitStats();
CmbStat.Items.Clear();
CmbStat.Items.AddRange(SetStatsCommand.Stats.Select(s => s.Name).ToArray());
}

View File

@ -130,21 +130,18 @@
<data name="GrpCommand.Text" xml:space="preserve">
<value>Command</value>
</data>
<data name="TPHome.Text" xml:space="preserve">
<value>Home</value>
</data>
<data name="BtnOpenGachaBannerEditor.Text" xml:space="preserve">
<value>Banner editor</value>
</data>
<data name="GrpSettings.Text" xml:space="preserve">
<value>Settings</value>
</data>
<data name="ChkIncludeUID.Size" type="System.Drawing.Size, System.Drawing">
<value>95, 21</value>
</data>
<data name="ChkIncludeUID.Text" xml:space="preserve">
<value>Include UID</value>
</data>
<data name="GrpSettings.Text" xml:space="preserve">
<value>Settings</value>
</data>
<data name="LblAbout.Location" type="System.Drawing.Point, System.Drawing">
<value>74, 38</value>
</data>
@ -154,8 +151,8 @@
<data name="LblAbout.Text" xml:space="preserve">
<value>Have a nice time!</value>
</data>
<data name="TPCustom.Text" xml:space="preserve">
<value>Custom</value>
<data name="TPHome.Text" xml:space="preserve">
<value>Home</value>
</data>
<data name="BtnExportCustomCommands.Location" type="System.Drawing.Point, System.Drawing">
<value>533, 216</value>
@ -205,8 +202,8 @@
<data name="TxtCustomName.Size" type="System.Drawing.Size, System.Drawing">
<value>267, 23</value>
</data>
<data name="TPArtifact.Text" xml:space="preserve">
<value>Artifact</value>
<data name="TPCustom.Text" xml:space="preserve">
<value>Custom</value>
</data>
<data name="LblArtifactStars.Location" type="System.Drawing.Point, System.Drawing">
<value>298, 41</value>
@ -271,8 +268,8 @@
<data name="LblMainAttribution.Text" xml:space="preserve">
<value>Main Stat</value>
</data>
<data name="TPWeapon.Text" xml:space="preserve">
<value>Weapon</value>
<data name="TPArtifact.Text" xml:space="preserve">
<value>Artifact</value>
</data>
<data name="LblWeaponDescription.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 6</value>
@ -316,8 +313,8 @@
<data name="NUDWeaponLevel.Location" type="System.Drawing.Point, System.Drawing">
<value>147, 216</value>
</data>
<data name="TPItem.Text" xml:space="preserve">
<value>Items</value>
<data name="TPWeapon.Text" xml:space="preserve">
<value>Weapon</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="BtnSaveGiveItemLog.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
@ -341,15 +338,15 @@
<data name="GrpGiveItemRecord.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left</value>
</data>
<data name="ListGiveItemLogs.Size" type="System.Drawing.Size, System.Drawing">
<value>243, 140</value>
</data>
<data name="GrpGiveItemRecord.Size" type="System.Drawing.Size, System.Drawing">
<value>249, 162</value>
</data>
<data name="GrpGiveItemRecord.Text" xml:space="preserve">
<value>Records</value>
</data>
<data name="ListGiveItemLogs.Size" type="System.Drawing.Size, System.Drawing">
<value>243, 140</value>
</data>
<data name="ChkDrop.Location" type="System.Drawing.Point, System.Drawing">
<value>278, 217</value>
</data>
@ -410,8 +407,8 @@
<data name="LblGiveCommandDescription.Text" xml:space="preserve">
<value>Give item to player</value>
</data>
<data name="TPAvatar.Text" xml:space="preserve">
<value>Avatar</value>
<data name="TPItem.Text" xml:space="preserve">
<value>Items</value>
</data>
<data name="LblAvatarGenWarning.Location" type="System.Drawing.Point, System.Drawing">
<value>88, 161</value>
@ -451,8 +448,8 @@ The data may not be cleared even if the account is recreated.</value>
<data name="CmbAvatar.Size" type="System.Drawing.Size, System.Drawing">
<value>200, 25</value>
</data>
<data name="TPSpawn.Text" xml:space="preserve">
<value>Spawn</value>
<data name="TPAvatar.Text" xml:space="preserve">
<value>Avatar</value>
</data>
<data name="BtnSaveSpawnLog.Text" xml:space="preserve">
<value>√ Record</value>
@ -463,9 +460,6 @@ The data may not be cleared even if the account is recreated.</value>
<data name="GrpSpawnRecord.Text" xml:space="preserve">
<value>Records</value>
</data>
<data name="GrpEntityType.Text" xml:space="preserve">
<value>Class</value>
</data>
<data name="RbEntityOrnament.Size" type="System.Drawing.Size, System.Drawing">
<value>84, 21</value>
</data>
@ -484,6 +478,9 @@ The data may not be cleared even if the account is recreated.</value>
<data name="RbEntityMonster.Text" xml:space="preserve">
<value>Monster</value>
</data>
<data name="GrpEntityType.Text" xml:space="preserve">
<value>Class</value>
</data>
<data name="LblSpawnDescription.Size" type="System.Drawing.Size, System.Drawing">
<value>81, 17</value>
</data>
@ -514,29 +511,11 @@ The data may not be cleared even if the account is recreated.</value>
<data name="NUDEntityLevel.Location" type="System.Drawing.Point, System.Drawing">
<value>146, 216</value>
</data>
<data name="TPScene.Text" xml:space="preserve">
<value>Scene</value>
<data name="TPSpawn.Text" xml:space="preserve">
<value>Spawn</value>
</data>
<data name="CmbClimateType.Items" xml:space="preserve">
<value>None</value>
</data>
<data name="CmbClimateType.Items1" xml:space="preserve">
<value>Sunny</value>
</data>
<data name="CmbClimateType.Items2" xml:space="preserve">
<value>Partly cloudy</value>
</data>
<data name="CmbClimateType.Items3" xml:space="preserve">
<value>Rain</value>
</data>
<data name="CmbClimateType.Items4" xml:space="preserve">
<value>Thunderstorm</value>
</data>
<data name="CmbClimateType.Items5" xml:space="preserve">
<value>Snow</value>
</data>
<data name="CmbClimateType.Items6" xml:space="preserve">
<value>Fog</value>
<data name="CmbClimateType.Location" type="System.Drawing.Point, System.Drawing">
<value>66, 94</value>
</data>
<data name="LblClimateType.Size" type="System.Drawing.Size, System.Drawing">
<value>54, 17</value>
@ -562,11 +541,8 @@ The data may not be cleared even if the account is recreated.</value>
Tip: Most of the scenes have no effect and cannot be entered.</value>
</data>
<data name="TPStats.Text" xml:space="preserve">
<value>Stats</value>
</data>
<data name="GrpSetStats.Text" xml:space="preserve">
<value>Stats</value>
<data name="TPScene.Text" xml:space="preserve">
<value>Scene</value>
</data>
<data name="LblStatTip.Size" type="System.Drawing.Size, System.Drawing">
<value>26, 17</value>
@ -574,8 +550,8 @@ Tip: Most of the scenes have no effect and cannot be entered.</value>
<data name="LblStatTip.Text" xml:space="preserve">
<value>Tip</value>
</data>
<data name="GrpTalentLevel.Text" xml:space="preserve">
<value>Talent Level</value>
<data name="GrpSetStats.Text" xml:space="preserve">
<value>Stats</value>
</data>
<data name="LnkTalentE.Location" type="System.Drawing.Point, System.Drawing">
<value>283, 24</value>
@ -607,6 +583,9 @@ Tip: Most of the scenes have no effect and cannot be entered.</value>
<data name="NUDTalentLevel.Size" type="System.Drawing.Size, System.Drawing">
<value>128, 23</value>
</data>
<data name="GrpTalentLevel.Text" xml:space="preserve">
<value>Talent Level</value>
</data>
<data name="LblStatsDescription.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 6</value>
</data>
@ -616,11 +595,8 @@ Tip: Most of the scenes have no effect and cannot be entered.</value>
<data name="LblStatsDescription.Text" xml:space="preserve">
<value>Set current active Avatar data</value>
</data>
<data name="TPManage.Text" xml:space="preserve">
<value>Manage</value>
</data>
<data name="GrpAccount.Text" xml:space="preserve">
<value>Account Management</value>
<data name="TPStats.Text" xml:space="preserve">
<value>Stats</value>
</data>
<data name="ChkAccountSetUid.Size" type="System.Drawing.Size, System.Drawing">
<value>49, 21</value>
@ -655,8 +631,8 @@ Tip: Most of the scenes have no effect and cannot be entered.</value>
<data name="TxtAccountUserName.Size" type="System.Drawing.Size, System.Drawing">
<value>127, 23</value>
</data>
<data name="GrpPermission.Text" xml:space="preserve">
<value>Permission Management</value>
<data name="GrpAccount.Text" xml:space="preserve">
<value>Account Management</value>
</data>
<data name="BtmPermRemove.Text" xml:space="preserve">
<value>Delete</value>
@ -679,8 +655,11 @@ Tip: Most of the scenes have no effect and cannot be entered.</value>
<data name="LblPermUID.Text" xml:space="preserve">
<value>UID</value>
</data>
<data name="TPAbout.Text" xml:space="preserve">
<value>About</value>
<data name="GrpPermission.Text" xml:space="preserve">
<value>Permission Management</value>
</data>
<data name="TPManage.Text" xml:space="preserve">
<value>Manage</value>
</data>
<data name="LnkGithub.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left</value>
@ -691,8 +670,8 @@ Tip: Most of the scenes have no effect and cannot be entered.</value>
<data name="LblSupportDescription.Text" xml:space="preserve">
<value>Grasscutter Tools</value>
</data>
<data name="TPRemoteCall.Text" xml:space="preserve">
<value>Remote</value>
<data name="TPAbout.Text" xml:space="preserve">
<value>About</value>
</data>
<data name="LblRemoteTODO.Location" type="System.Drawing.Point, System.Drawing">
<value>464, 3</value>
@ -700,9 +679,6 @@ Tip: Most of the scenes have no effect and cannot be entered.</value>
<data name="LblRemoteTODO.Text" xml:space="preserve">
<value>TODO...</value>
</data>
<data name="GrpRemoteCommand.Text" xml:space="preserve">
<value>Remote Cell</value>
</data>
<data name="LnkRCHelp.Size" type="System.Drawing.Size, System.Drawing">
<value>35, 17</value>
</data>
@ -724,6 +700,12 @@ Tip: Most of the scenes have no effect and cannot be entered.</value>
<data name="BtnPingHost.Text" xml:space="preserve">
<value>Test</value>
</data>
<data name="GrpRemoteCommand.Text" xml:space="preserve">
<value>Remote Cell</value>
</data>
<data name="TPRemoteCall.Text" xml:space="preserve">
<value>Remote</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>GrasscutterTools</value>
</data>

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,9 @@
using System.Collections.Generic;
using System.Text;
using GrasscutterTools.Properties;
using Newtonsoft.Json;
namespace GrasscutterTools.Game
{
@ -35,45 +40,51 @@ namespace GrasscutterTools.Game
public string Tip { get; set; }
}
public static List<Stat> Stats { get; set; }
public static Stat[] Stats { get; private set; }
static SetStatsCommand()
public static void InitStats()
{
Stats = new List<Stat>
{
new Stat("最大生命值", "maxhp", false),
new Stat("当前生命值", "hp", false),
new Stat("当前攻击力", "atk", false),
new Stat("基础攻击力", "atkb", false, "这似乎不会重新计算攻击力可能只对buff类有效。"),
new Stat("防御力", "def", false),
new Stat("元素精通", "em", false),
new Stat("元素充能效率", "er", true),
new Stat("暴击率", "crate", true),
new Stat("暴击伤害", "cdmg", true),
new Stat("伤害加成", "dmg", true, "这似乎在攻击后被重置"),
new Stat("风元素伤害加成", "eanemo", true),
new Stat("冰元素伤害加成", "ecryo", true),
new Stat("草元素伤害加成", "edendro", true),
new Stat("雷元素伤害加成", "eelectro", true),
new Stat("土元素伤害加成", "egeo", true),
new Stat("水元素伤害加成", "ehydro", true),
new Stat("火元素伤害加成", "epyro", true),
new Stat("物理伤害加成", "ephys", true),
new Stat("伤害减免", "resall", true, "这似乎在攻击后被重置"),
new Stat("风元素伤害减免", "resanemo", true),
new Stat("冰元素伤害减免", "rescryo", true),
new Stat("草元素伤害减免", "resdendro", true),
new Stat("雷元素伤害减免", "reselectro", true),
new Stat("土元素伤害减免", "resgeo", true),
new Stat("水元素伤害减免", "reshydro", true),
new Stat("火元素伤害减免", "respyro", true),
new Stat("物理伤害减免", "resphys", true),
new Stat("冷却缩减", "cdr", true),
new Stat("治疗加成", "heal", true),
new Stat("受治疗加成", "heali", true),
new Stat("护盾强效","shield", true),
new Stat("忽略防御", "defi", true),
};
var json = Encoding.UTF8.GetString(Resources.AvatarStats);
Stats = JsonConvert.DeserializeObject<Stat[]>(json);
}
//static SetStatsCommand()
//{
// Stats = new List<Stat>
// {
// new Stat("最大生命值", "maxhp", false),
// new Stat("当前生命值", "hp", false),
// new Stat("当前攻击力", "atk", false),
// new Stat("基础攻击力", "atkb", false, "这似乎不会重新计算攻击力可能只对buff类有效。"),
// new Stat("防御力", "def", false),
// new Stat("元素精通", "em", false),
// new Stat("元素充能效率", "er", true),
// new Stat("暴击率", "crate", true),
// new Stat("暴击伤害", "cdmg", true),
// new Stat("伤害加成", "dmg", true, "这似乎在攻击后被重置"),
// new Stat("风元素伤害加成", "eanemo", true),
// new Stat("冰元素伤害加成", "ecryo", true),
// new Stat("草元素伤害加成", "edendro", true),
// new Stat("雷元素伤害加成", "eelectro", true),
// new Stat("土元素伤害加成", "egeo", true),
// new Stat("水元素伤害加成", "ehydro", true),
// new Stat("火元素伤害加成", "epyro", true),
// new Stat("物理伤害加成", "ephys", true),
// new Stat("伤害减免", "resall", true, "这似乎在攻击后被重置"),
// new Stat("风元素伤害减免", "resanemo", true),
// new Stat("冰元素伤害减免", "rescryo", true),
// new Stat("草元素伤害减免", "resdendro", true),
// new Stat("雷元素伤害减免", "reselectro", true),
// new Stat("土元素伤害减免", "resgeo", true),
// new Stat("水元素伤害减免", "reshydro", true),
// new Stat("火元素伤害减免", "respyro", true),
// new Stat("物理伤害减免", "resphys", true),
// new Stat("冷却缩减", "cdr", true),
// new Stat("治疗加成", "heal", true),
// new Stat("受治疗加成", "heali", true),
// new Stat("护盾强效","shield", true),
// new Stat("忽略防御", "defi", true),
// };
//}
}
}

View File

@ -257,6 +257,8 @@
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<None Include="Resources\en-us\AvatarStats.json" />
<None Include="Resources\zh-cn\AvatarStats.json" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />

View File

@ -375,6 +375,25 @@ namespace GrasscutterTools.Properties {
}
}
/// <summary>
/// 查找 System.Byte[] 类型的本地化资源。
/// </summary>
internal static byte[] AvatarStats {
get {
object obj = ResourceManager.GetObject("AvatarStats", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// 查找类似 无,晴天,多云,雨天,雷暴,雪天,雾天 的本地化字符串。
/// </summary>
internal static string ClimateType {
get {
return ResourceManager.GetString("ClimateType", resourceCulture);
}
}
/// <summary>
/// 查找类似 无敌
////godmode
@ -673,7 +692,14 @@ namespace GrasscutterTools.Properties {
}
/// <summary>
/// 查找类似 20008: 深入狼之殿
/// 查找类似 1 : BigWorld_LevelStreaming
///2 : BigWorld_LevelStreaming
///3 : BigWorld_LevelStreaming
///4 : LostParadise_LevelStreaming
///5 : AbyssalPalace_LevelStreaming
///6 : TheChasm_LevelStreaming
///7 : MichiaeMatsuri_LevelStreaming
///20008: 深入狼之殿
///20008: 丘丘人大本营(test)
///20008: 丘丘人巢穴(test)
///20007: 小岩洞据点(test)
@ -688,16 +714,7 @@ namespace GrasscutterTools.Properties {
///1011: 角色战斗测试(test)
///50002: 低温关卡白盒(test)
///1001: 移动平台性能测试(test)
///50003: 战斗性能测试(test)
///50004: 电桩电源白盒(test)
///50027: 圣遗物新因子测试关卡3(test)
///50025: 圣遗物新因子测试关卡1(test)
///50026: 圣遗物新因子测试关卡2(test)
///1024: 黑夜循环地城(test)
///50009: 关卡玩法白盒CX(test)
///50010: 机关玩法白盒(test)
///50014: 怪物元素对抗地城(test)
///50017: 地城功能白盒 [字符串的其余部分被截断]&quot;; 的本地化字符串。
///50 [字符串的其余部分被截断]&quot;; 的本地化字符串。
/// </summary>
internal static string Scene {
get {

View File

@ -139,6 +139,12 @@
<data name="AvatarColor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\AvatarColor.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="AvatarStats" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\AvatarStats.json;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="ClimateType" xml:space="preserve">
<value>None,Sunny,Partly cloudy,Rain,Thunderstorm,Snow,Fog</value>
</data>
<data name="CustomCommands" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\CustomCommands.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>

View File

@ -139,6 +139,12 @@
<data name="AvatarColor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\AvatarColor.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="AvatarStats" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\AvatarStats.json;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="ClimateType" xml:space="preserve">
<value>无,晴天,多云,雨天,雷暴,雪天,雾天</value>
</data>
<data name="CustomCommands" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\CustomCommands.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>

View File

@ -0,0 +1,194 @@
[
{
"Name": "MAX HP",
"ArgName": "maxhp",
"Percent": false,
"Tip": ""
},
{
"Name": "CUR HP",
"ArgName": "hp",
"Percent": false,
"Tip": ""
},
{
"Name": "CUR Attack",
"ArgName": "atk",
"Percent": false,
"Tip": ""
},
{
"Name": "Base Attack",
"ArgName": "atkb",
"Percent": false,
"Tip": "This doesn't seem to get used to recalculate ATK, so it's only useful for stuff like Bennett's buff."
},
{
"Name": "DEFENSE",
"ArgName": "def",
"Percent": false,
"Tip": ""
},
{
"Name": "ELEMENT MASTERY",
"ArgName": "em",
"Percent": false,
"Tip": ""
},
{
"Name": "CHARGE EFFICIENCY",
"ArgName": "er",
"Percent": true,
"Tip": ""
},
{
"Name": "CRITICAL",
"ArgName": "crate",
"Percent": true,
"Tip": ""
},
{
"Name": "CRITICAL HURT",
"ArgName": "cdmg",
"Percent": true,
"Tip": ""
},
{
"Name": "ADD HURT",
"ArgName": "dmg",
"Percent": true,
"Tip": "This seems to get reset after attacks"
},
{
"Name": "WIND ADD HURT",
"ArgName": "eanemo",
"Percent": true,
"Tip": ""
},
{
"Name": "ICE ADD HURT",
"ArgName": "ecryo",
"Percent": true,
"Tip": ""
},
{
"Name": "GRASS ADD HURT",
"ArgName": "edendro",
"Percent": true,
"Tip": ""
},
{
"Name": "ELEC ADD HURT",
"ArgName": "eelectro",
"Percent": true,
"Tip": ""
},
{
"Name": "ROCK ADD HURT",
"ArgName": "egeo",
"Percent": true,
"Tip": ""
},
{
"Name": "WATER ADD HURT",
"ArgName": "ehydro",
"Percent": true,
"Tip": ""
},
{
"Name": "FIRE ADD HURT",
"ArgName": "epyro",
"Percent": true,
"Tip": ""
},
{
"Name": "PHYSICAL ADD HURT",
"ArgName": "ephys",
"Percent": true,
"Tip": ""
},
{
"Name": "SUB HURT",
"ArgName": "resall",
"Percent": true,
"Tip": "This seems to get reset after attacks"
},
{
"Name": "WIND SUB HURT",
"ArgName": "resanemo",
"Percent": true,
"Tip": ""
},
{
"Name": "ICE SUB HURT",
"ArgName": "rescryo",
"Percent": true,
"Tip": ""
},
{
"Name": "GRASS SUB HURT",
"ArgName": "resdendro",
"Percent": true,
"Tip": ""
},
{
"Name": "ELEC SUB HURT",
"ArgName": "reselectro",
"Percent": true,
"Tip": ""
},
{
"Name": "ROCK SUB HURT",
"ArgName": "resgeo",
"Percent": true,
"Tip": ""
},
{
"Name": "WATER SUB HURT",
"ArgName": "reshydro",
"Percent": true,
"Tip": ""
},
{
"Name": "FIRE SUB HURT",
"ArgName": "respyro",
"Percent": true,
"Tip": ""
},
{
"Name": "PHYSICAL SUB HURT",
"ArgName": "resphys",
"Percent": true,
"Tip": ""
},
{
"Name": "SKILL CD MINUS RATIO",
"ArgName": "cdr",
"Percent": true,
"Tip": ""
},
{
"Name": "HEAL ADD",
"ArgName": "heal",
"Percent": true,
"Tip": ""
},
{
"Name": "HEALED ADD",
"ArgName": "heali",
"Percent": true,
"Tip": ""
},
{
"Name": "SHIELD COST MINUS RATIO",
"ArgName": "shield",
"Percent": true,
"Tip": ""
},
{
"Name": "DEFENCE IGNORE RATIO",
"ArgName": "defi",
"Percent": true,
"Tip": ""
}
]

View File

@ -0,0 +1,194 @@
[
{
"Name": "最大生命值",
"ArgName": "maxhp",
"Percent": false,
"Tip": ""
},
{
"Name": "当前生命值",
"ArgName": "hp",
"Percent": false,
"Tip": ""
},
{
"Name": "当前攻击力",
"ArgName": "atk",
"Percent": false,
"Tip": ""
},
{
"Name": "基础攻击力",
"ArgName": "atkb",
"Percent": false,
"Tip": "这似乎不会重新计算攻击力可能只对buff类有效。"
},
{
"Name": "防御力",
"ArgName": "def",
"Percent": false,
"Tip": ""
},
{
"Name": "元素精通",
"ArgName": "em",
"Percent": false,
"Tip": ""
},
{
"Name": "元素充能效率",
"ArgName": "er",
"Percent": true,
"Tip": ""
},
{
"Name": "暴击率",
"ArgName": "crate",
"Percent": true,
"Tip": ""
},
{
"Name": "暴击伤害",
"ArgName": "cdmg",
"Percent": true,
"Tip": ""
},
{
"Name": "伤害加成",
"ArgName": "dmg",
"Percent": true,
"Tip": "这似乎在攻击后被重置"
},
{
"Name": "风元素伤害加成",
"ArgName": "eanemo",
"Percent": true,
"Tip": ""
},
{
"Name": "冰元素伤害加成",
"ArgName": "ecryo",
"Percent": true,
"Tip": ""
},
{
"Name": "草元素伤害加成",
"ArgName": "edendro",
"Percent": true,
"Tip": ""
},
{
"Name": "雷元素伤害加成",
"ArgName": "eelectro",
"Percent": true,
"Tip": ""
},
{
"Name": "土元素伤害加成",
"ArgName": "egeo",
"Percent": true,
"Tip": ""
},
{
"Name": "水元素伤害加成",
"ArgName": "ehydro",
"Percent": true,
"Tip": ""
},
{
"Name": "火元素伤害加成",
"ArgName": "epyro",
"Percent": true,
"Tip": ""
},
{
"Name": "物理伤害加成",
"ArgName": "ephys",
"Percent": true,
"Tip": ""
},
{
"Name": "伤害减免",
"ArgName": "resall",
"Percent": true,
"Tip": "这似乎在攻击后被重置"
},
{
"Name": "风元素伤害减免",
"ArgName": "resanemo",
"Percent": true,
"Tip": ""
},
{
"Name": "冰元素伤害减免",
"ArgName": "rescryo",
"Percent": true,
"Tip": ""
},
{
"Name": "草元素伤害减免",
"ArgName": "resdendro",
"Percent": true,
"Tip": ""
},
{
"Name": "雷元素伤害减免",
"ArgName": "reselectro",
"Percent": true,
"Tip": ""
},
{
"Name": "土元素伤害减免",
"ArgName": "resgeo",
"Percent": true,
"Tip": ""
},
{
"Name": "水元素伤害减免",
"ArgName": "reshydro",
"Percent": true,
"Tip": ""
},
{
"Name": "火元素伤害减免",
"ArgName": "respyro",
"Percent": true,
"Tip": ""
},
{
"Name": "物理伤害减免",
"ArgName": "resphys",
"Percent": true,
"Tip": ""
},
{
"Name": "冷却缩减",
"ArgName": "cdr",
"Percent": true,
"Tip": ""
},
{
"Name": "治疗加成",
"ArgName": "heal",
"Percent": true,
"Tip": ""
},
{
"Name": "受治疗加成",
"ArgName": "heali",
"Percent": true,
"Tip": ""
},
{
"Name": "护盾强效",
"ArgName": "shield",
"Percent": true,
"Tip": ""
},
{
"Name": "忽略防御",
"ArgName": "defi",
"Percent": true,
"Tip": ""
}
]