Skip to content

Commit

Permalink
update 1
Browse files Browse the repository at this point in the history
  • Loading branch information
firehomework authored and Gitea committed Aug 12, 2022
1 parent 1deb110 commit 9fc84d9
Show file tree
Hide file tree
Showing 9 changed files with 439 additions and 38 deletions.
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

Binary file added attributes_base.xml
Binary file not shown.
37 changes: 0 additions & 37 deletions index.md

This file was deleted.

11 changes: 11 additions & 0 deletions lang/zh_cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"title":"进化1存档转换器",
"top_instruction":"1.删除原存档并开一把新存档,等到让你调整什么所谓的亮度的时候,退出游戏\n2.用下面那个按钮选择你游戏目录下EvolveCrack\\273350\\local\\USER0\\Profiles\\default\\attributes.xml\n3.点击下面的开始转换\n4.将生成的文件替换刚刚目录里的那个文件",
"selectsavebutton":"点击我选择存档文件位置!",
"attributeLabel":"当前文件路径(下方):",
"defaultloc":"当你选择文件路径后,其会显示在此处",
"startbutton":"修改你的存档!",
"success_notice":"修改成功!",
"failed_attribute":"修改失败,非法的attribute.XML文件或文件不存在!",
"failed_base":"修改失败,attribute_base.xml不存在!"
}
1 change: 1 addition & 0 deletions lang_name.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
zh_cn
1 change: 1 addition & 0 deletions last_location.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
F:\SteamLibrary\steamapps\common\EvolveGame\Bin64_SteamRetail\EvolveCrack\273350\remote\USER0\Profiles\default
53 changes: 53 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.example</groupId>
<artifactId>untitled1</artifactId>
<version>1.0-SNAPSHOT</version>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.83</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archive>
<manifest>
<mainClass>
MainTool
</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>

</plugins>

</build>

</project>
94 changes: 94 additions & 0 deletions src/main/java/Config.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@

public class Config {
@com.alibaba.fastjson.annotation.JSONField(name = "title")
public String title;
@com.alibaba.fastjson.annotation.JSONField(name = "top_instruction")
public String topInstruction;
@com.alibaba.fastjson.annotation.JSONField(name = "selectsavebutton")
public String selectsavebutton;

public String getTitle() {
return title;
}

public void setTitle(String title) {
this.title = title;
}

public String getTopInstruction() {
return topInstruction;
}

public void setTopInstruction(String topInstruction) {
this.topInstruction = topInstruction;
}

public String getSelectsavebutton() {
return selectsavebutton;
}

public void setSelectsavebutton(String selectsavebutton) {
this.selectsavebutton = selectsavebutton;
}

public String getAttributeLabel() {
return attributeLabel;
}

public void setAttributeLabel(String attributeLabel) {
this.attributeLabel = attributeLabel;
}

public String getDefaultloc() {
return defaultloc;
}

public void setDefaultloc(String defaultloc) {
this.defaultloc = defaultloc;
}

public String getStartbutton() {
return startbutton;
}

public void setStartbutton(String startbutton) {
this.startbutton = startbutton;
}

public String getSuccessNotice() {
return successNotice;
}

public void setSuccessNotice(String successNotice) {
this.successNotice = successNotice;
}

public String getFailedAttribute() {
return failedAttribute;
}

public void setFailedAttribute(String failedAttribute) {
this.failedAttribute = failedAttribute;
}

public String getFailedBase() {
return failedBase;
}

public void setFailedBase(String failedBase) {
this.failedBase = failedBase;
}

@com.alibaba.fastjson.annotation.JSONField(name = "attributeLabel")
public String attributeLabel;
@com.alibaba.fastjson.annotation.JSONField(name = "defaultloc")
public String defaultloc;
@com.alibaba.fastjson.annotation.JSONField(name = "startbutton")
public String startbutton;
@com.alibaba.fastjson.annotation.JSONField(name = "success_notice")
public String successNotice;
@com.alibaba.fastjson.annotation.JSONField(name = "failed_attribute")
public String failedAttribute;
@com.alibaba.fastjson.annotation.JSONField(name = "failed_base")
public String failedBase;
}
Loading

0 comments on commit 9fc84d9

Please sign in to comment.