Commit 55379b19 authored by keyongyu's avatar keyongyu

2.4.0.0

parent 82b6743c
...@@ -11,164 +11,169 @@ ...@@ -11,164 +11,169 @@
namespace DataEditorX.Common namespace DataEditorX.Common
{ {
/// <summary> /// <summary>
/// 检查更新 /// 检查更新
/// </summary> /// </summary>
public static class CheckUpdate public static class CheckUpdate
{ {
static CheckUpdate() static CheckUpdate()
{ {
//连接数 //连接数
ServicePointManager.DefaultConnectionLimit = 255; ServicePointManager.DefaultConnectionLimit = 255;
} }
/// <summary> /// <summary>
/// 下载URL /// 下载URL
/// </summary> /// </summary>
public static string URL = ""; public static string URL = "";
/// <summary> /// <summary>
/// 从HEAD获取版本号 /// 从HEAD获取版本号
/// </summary> /// </summary>
const string HEAD = "[DataEditorX]"; const string HEAD = "[DataEditorX]";
const string HEAD2 = "[URL]"; const string HEAD2 = "[URL]";
public const string DEFALUT = "0.0.0.0"; public const string DEFALUT = "0.0.0.0";
const int VER_LENGTH = 4;
#region 检查版本 #region 检查版本
/// <summary> /// <summary>
/// 获取新版本 /// 获取新版本
/// </summary> /// </summary>
/// <param name="VERURL">链接</param> /// <param name="VERURL">链接</param>
/// <returns>版本号</returns> /// <returns>版本号</returns>
public static string GetNewVersion(string VERURL) public static string GetNewVersion(string VERURL)
{ {
string urlver = DEFALUT; string urlver = DEFALUT;
string html = GetHtmlContentByUrl(VERURL); string html = GetHtmlContentByUrl(VERURL);
if (!string.IsNullOrEmpty(html)) if (!string.IsNullOrEmpty(html))
{ {
int t, w; int t, w;
t = html.IndexOf(HEAD); t = html.IndexOf(HEAD);
w = (t > 0) ? html.IndexOf(HEAD, t + HEAD.Length) : 0; w = (t > 0) ? html.IndexOf(HEAD, t + HEAD.Length) : 0;
if (w > 0) if (w > 0)
{ {
//获取版本 //获取版本
urlver = html.Substring(t + HEAD.Length, w - t - HEAD.Length); urlver = html.Substring(t + HEAD.Length, w - t - HEAD.Length);
} }
t = html.IndexOf(HEAD2); t = html.IndexOf(HEAD2);
w = (t > 0) ? html.IndexOf(HEAD2, t + HEAD2.Length) : 0; w = (t > 0) ? html.IndexOf(HEAD2, t + HEAD2.Length) : 0;
if (w > 0) if (w > 0)
{ {
//获取下载地址 //获取下载地址
URL = html.Substring(t + HEAD2.Length, w - t - HEAD2.Length); URL = html.Substring(t + HEAD2.Length, w - t - HEAD2.Length);
} }
} }
return urlver; return urlver;
} }
/// <summary> /// <summary>
/// 检查版本号,格式0.0.0.0 /// 检查版本号,格式0.0.0.0
/// </summary> /// </summary>
/// <param name="ver">0.0.0.0</param> /// <param name="ver">0.0.0.0</param>
/// <param name="oldver">0.0.0.0</param> /// <param name="oldver">0.0.0.0</param>
/// <returns>是否有新版本</returns> /// <returns>是否有新版本</returns>
public static bool CheckVersion(string ver, string oldver) public static bool CheckVersion(string ver, string oldver)
{ {
bool hasNew = false; bool hasNew = false;
string[] vers = ver.Split('.'); #if DEBUG
string[] oldvers = oldver.Split('.'); System.Windows.Forms.MessageBox.Show(oldver+"=>"+ver);
if (vers.Length == oldvers.Length && vers.Length == VER_LENGTH) #endif
{ string[] vers = ver.Split('.');
int j, k;//从左到右比较数字 string[] oldvers = oldver.Split('.');
for (int i = 0; i < VER_LENGTH; i++) if (vers.Length == oldvers.Length)
{ {
int.TryParse(vers[i], out j); int j, k;//从左到右比较数字
int.TryParse(oldvers[i], out k); for (int i = 0; i < oldvers.Length; i++)
if (j > k)//新的版本号大于旧的 {
{ int.TryParse(vers[i], out j);
hasNew = true; int.TryParse(oldvers[i], out k);
break; if (j > k)//新的版本号大于旧的
} {
} hasNew = true;
} break;
return hasNew; }else if(j < k){
} hasNew = false;
#endregion break;
}
}
}
return hasNew;
}
#endregion
#region 获取网址内容 #region 获取网址内容
/// <summary> /// <summary>
/// 获取网址内容 /// 获取网址内容
/// </summary> /// </summary>
/// <param name="url">网址</param> /// <param name="url">网址</param>
/// <returns>内容</returns> /// <returns>内容</returns>
public static string GetHtmlContentByUrl(string url) public static string GetHtmlContentByUrl(string url)
{ {
string htmlContent = string.Empty; string htmlContent = string.Empty;
try try
{ {
HttpWebRequest httpWebRequest = HttpWebRequest httpWebRequest =
(HttpWebRequest)WebRequest.Create(url); (HttpWebRequest)WebRequest.Create(url);
httpWebRequest.Timeout = 15000; httpWebRequest.Timeout = 15000;
using (HttpWebResponse httpWebResponse = using (HttpWebResponse httpWebResponse =
(HttpWebResponse)httpWebRequest.GetResponse()) (HttpWebResponse)httpWebRequest.GetResponse())
{ {
using (Stream stream = httpWebResponse.GetResponseStream()) using (Stream stream = httpWebResponse.GetResponseStream())
{ {
using (StreamReader streamReader = using (StreamReader streamReader =
new StreamReader(stream, Encoding.UTF8)) new StreamReader(stream, Encoding.UTF8))
{ {
htmlContent = streamReader.ReadToEnd(); htmlContent = streamReader.ReadToEnd();
streamReader.Close(); streamReader.Close();
} }
stream.Close(); stream.Close();
} }
httpWebResponse.Close(); httpWebResponse.Close();
} }
return htmlContent; return htmlContent;
} }
catch catch
{ {
} }
return ""; return "";
} }
#endregion #endregion
#region 下载文件 #region 下载文件
/// <summary> /// <summary>
/// 下载文件 /// 下载文件
/// </summary> /// </summary>
/// <param name="filename">保存文件路径</param> /// <param name="filename">保存文件路径</param>
/// <returns>是否下载成功</returns> /// <returns>是否下载成功</returns>
public static bool DownLoad(string filename) public static bool DownLoad(string filename)
{ {
try try
{ {
if (File.Exists(filename)) if (File.Exists(filename))
File.Delete(filename); File.Delete(filename);
HttpWebRequest Myrq = (HttpWebRequest)System.Net.HttpWebRequest.Create(URL); HttpWebRequest Myrq = (HttpWebRequest)System.Net.HttpWebRequest.Create(URL);
HttpWebResponse myrp = (HttpWebResponse)Myrq.GetResponse(); HttpWebResponse myrp = (HttpWebResponse)Myrq.GetResponse();
long totalBytes = myrp.ContentLength; long totalBytes = myrp.ContentLength;
Stream st = myrp.GetResponseStream(); Stream st = myrp.GetResponseStream();
Stream so = new System.IO.FileStream(filename + ".tmp", FileMode.Create); Stream so = new System.IO.FileStream(filename + ".tmp", FileMode.Create);
long totalDownloadedByte = 0; long totalDownloadedByte = 0;
byte[] by = new byte[2048]; byte[] by = new byte[2048];
int osize = st.Read(by, 0, (int)by.Length); int osize = st.Read(by, 0, (int)by.Length);
while (osize > 0) while (osize > 0)
{ {
totalDownloadedByte = osize + totalDownloadedByte; totalDownloadedByte = osize + totalDownloadedByte;
System.Windows.Forms.Application.DoEvents(); System.Windows.Forms.Application.DoEvents();
so.Write(by, 0, osize); so.Write(by, 0, osize);
osize = st.Read(by, 0, (int)by.Length); osize = st.Read(by, 0, (int)by.Length);
} }
so.Close(); so.Close();
st.Close(); st.Close();
File.Move(filename + ".tmp", filename); File.Move(filename + ".tmp", filename);
} }
catch (System.Exception) catch (System.Exception)
{ {
return false; return false;
} }
return true; return true;
} }
#endregion #endregion
} }
} }
...@@ -18,6 +18,7 @@ public class MyConfig : XMLReader ...@@ -18,6 +18,7 @@ public class MyConfig : XMLReader
public const string TAG_SAVE_LAGN = "-savelanguage"; public const string TAG_SAVE_LAGN = "-savelanguage";
public const string TAG_SAVE_LAGN2 = "-sl"; public const string TAG_SAVE_LAGN2 = "-sl";
public const string TAG_MSE_PATH="mse_path"; public const string TAG_MSE_PATH="mse_path";
public const string TAG_MSE_EXPORT="mse_exprotpath";
/// <summary> /// <summary>
/// 窗口消息 打开文件 /// 窗口消息 打开文件
/// </summary> /// </summary>
...@@ -297,7 +298,8 @@ public static string GetCardInfoFile(string path) ...@@ -297,7 +298,8 @@ public static string GetCardInfoFile(string path)
/// <param name="file"></param> /// <param name="file"></param>
public static bool OpenOnExistForm(string file) public static bool OpenOnExistForm(string file)
{ {
Process instance = RunningInstance(); Process instance = RunningInstance(Assembly.GetExecutingAssembly().Location.
Replace('/', Path.DirectorySeparatorChar));
if (instance == null) if (instance == null)
{ {
return false; return false;
...@@ -320,7 +322,7 @@ public static void OpenFileInThis(string file) ...@@ -320,7 +322,7 @@ public static void OpenFileInThis(string file)
//发送消息 //发送消息
User32.SendMessage(Process.GetCurrentProcess().MainWindowHandle, MyConfig.WM_OPEN, 0, 0); User32.SendMessage(Process.GetCurrentProcess().MainWindowHandle, MyConfig.WM_OPEN, 0, 0);
} }
static Process RunningInstance() public static Process RunningInstance(string filename)
{ {
Process current = Process.GetCurrentProcess(); Process current = Process.GetCurrentProcess();
Process[] processes = Process.GetProcessesByName(current.ProcessName); Process[] processes = Process.GetProcessesByName(current.ProcessName);
...@@ -331,9 +333,7 @@ static Process RunningInstance() ...@@ -331,9 +333,7 @@ static Process RunningInstance()
if (process.Id != current.Id) if (process.Id != current.Id)
{ {
//保证要打开的进程同已经存在的进程来自同一文件路径 //保证要打开的进程同已经存在的进程来自同一文件路径
if (Assembly.GetExecutingAssembly().Location. if (filename == current.MainModule.FileName)
Replace('/', Path.DirectorySeparatorChar)
== current.MainModule.FileName)
{ {
//返回已经存在的进程 //返回已经存在的进程
return process; return process;
......
...@@ -768,6 +768,8 @@ public Card[] ReadCards(string set, bool repalceOld) ...@@ -768,6 +768,8 @@ public Card[] ReadCards(string set, bool repalceOld)
#endregion #endregion
#region export #region export
static System.Diagnostics.Process mseProcess;
static EventHandler exitHandler;
private static void exportSetThread(object obj){ private static void exportSetThread(object obj){
string[] args=(string[])obj; string[] args=(string[])obj;
if(args==null||args.Length<3){ if(args==null||args.Length<3){
...@@ -782,23 +784,36 @@ public Card[] ReadCards(string set, bool repalceOld) ...@@ -782,23 +784,36 @@ public Card[] ReadCards(string set, bool repalceOld)
return; return;
}else{ }else{
string cmd=" --export "+setfile.Replace("\\\\","\\").Replace("\\","/")+" {card.gamecode}.png"; string cmd=" --export "+setfile.Replace("\\\\","\\").Replace("\\","/")+" {card.gamecode}.png";
System.Diagnostics.Process ie = new System.Diagnostics.Process(); mseProcess = new System.Diagnostics.Process();
ie.StartInfo.FileName = mse_path; mseProcess.StartInfo.FileName = mse_path;
ie.StartInfo.Arguments = cmd; mseProcess.StartInfo.Arguments = cmd;
ie.StartInfo.WorkingDirectory=path; mseProcess.StartInfo.WorkingDirectory=path;
mseProcess.EnableRaisingEvents=true;
MyPath.CreateDir(path); MyPath.CreateDir(path);
try{ try{
ie.Start(); mseProcess.Start();
//等待结束,需要把当前方法放到线程里面 //等待结束,需要把当前方法放到线程里面
ie.WaitForExit(); mseProcess.WaitForExit();
ie.Close(); mseProcess.Exited += new EventHandler(exitHandler);
mseProcess.Close();
mseProcess=null;
System.Windows.Forms.MessageBox.Show(Language.LanguageHelper.GetMsg(LMSG.exportMseImages)); System.Windows.Forms.MessageBox.Show(Language.LanguageHelper.GetMsg(LMSG.exportMseImages));
}catch{ }catch{
} }
} }
} }
public static void exportSet(string mse_path,string setfile,string path){
public static bool MseIsRunning(){
return mseProcess != null;
}
public static void MseStop(){
try{
mseProcess.Kill();
mseProcess.Close();
}catch{}
}
public static void exportSet(string mse_path,string setfile,string path,EventHandler handler){
if(mse_path==null||mse_path.Length==0||setfile==null||setfile.Length==0){ if(mse_path==null||mse_path.Length==0||setfile==null||setfile.Length==0){
return; return;
} }
...@@ -806,6 +821,7 @@ public Card[] ReadCards(string set, bool repalceOld) ...@@ -806,6 +821,7 @@ public Card[] ReadCards(string set, bool repalceOld)
Thread myThread = new Thread(ParStart); Thread myThread = new Thread(ParStart);
myThread.IsBackground=true; myThread.IsBackground=true;
myThread.Start(new string[]{mse_path,setfile,path}); myThread.Start(new string[]{mse_path,setfile,path});
exitHandler = handler;
} }
#endregion #endregion
......
...@@ -13,13 +13,12 @@ ...@@ -13,13 +13,12 @@
using System.Windows.Forms; using System.Windows.Forms;
using DataEditorX.Common; using DataEditorX.Common;
using DataEditorX.Config;
using DataEditorX.Core; using DataEditorX.Core;
using DataEditorX.Core.Mse;
using DataEditorX.Language; using DataEditorX.Language;
using WeifenLuo.WinFormsUI.Docking; using WeifenLuo.WinFormsUI.Docking;
using DataEditorX.Config;
using DataEditorX.Core.Mse;
namespace DataEditorX namespace DataEditorX
{ {
public partial class DataEditForm : DockContent, IDataForm public partial class DataEditForm : DockContent, IDataForm
...@@ -1632,6 +1631,20 @@ void Menuitem_exportMSEimageClick(object sender, EventArgs e) ...@@ -1632,6 +1631,20 @@ void Menuitem_exportMSEimageClick(object sender, EventArgs e)
{ {
if (isRun()) if (isRun())
return; return;
string msepath=MyPath.GetRealPath(MyConfig.readString(MyConfig.TAG_MSE_PATH));
if(!File.Exists(msepath)){
MyMsg.Error(LMSG.exportMseImagesErr);
menuitem_exportMSEimage.Checked=false;
return;
}else{
if(MseMaker.MseIsRunning()){
MseMaker.MseStop();
menuitem_exportMSEimage.Checked=false;
return;
}else{
}
}
//select open mse-set //select open mse-set
using (OpenFileDialog dlg = new OpenFileDialog()) using (OpenFileDialog dlg = new OpenFileDialog())
{ {
...@@ -1640,8 +1653,13 @@ void Menuitem_exportMSEimageClick(object sender, EventArgs e) ...@@ -1640,8 +1653,13 @@ void Menuitem_exportMSEimageClick(object sender, EventArgs e)
if (dlg.ShowDialog() == DialogResult.OK) if (dlg.ShowDialog() == DialogResult.OK)
{ {
string mseset=dlg.FileName; string mseset=dlg.FileName;
string msepath=MyConfig.readString(MyConfig.TAG_MSE_PATH); string exportpath=MyPath.GetRealPath(MyConfig.readString(MyConfig.TAG_MSE_EXPORT));
MseMaker.exportSet(msepath, mseset, MyPath.Combine(Application.StartupPath, "cache")); MseMaker.exportSet(msepath, mseset, exportpath, delegate{
menuitem_exportMSEimage.Checked=false;
});
menuitem_exportMSEimage.Checked=true;
}else{
menuitem_exportMSEimage.Checked=false;
} }
} }
} }
......
...@@ -28,4 +28,4 @@ ...@@ -28,4 +28,4 @@
// //
// You can specify all the values or you can use the default the Revision and // You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below: // Build Numbers by using the '*' as shown below:
[assembly: AssemblyVersion("2.3.5.3")] [assembly: AssemblyVersion("2.4.0.0")]
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<connectionStrings> <connectionStrings>
<!-- Example connection to a SQL Server Database on localhost. --> <!-- Example connection to a SQL Server Database on localhost. -->
<!-- <add name="ExampleConnectionString" <!-- <add name="ExampleConnectionString"
connectionString="Data Source=.;Initial Catalog=DBName;Integrated Security=True" connectionString="Data Source=.;Initial Catalog=DBName;Integrated Security=True"
providerName="System.Data.SqlClient" /> --> providerName="System.Data.SqlClient" /> -->
</connectionStrings> </connectionStrings>
<appSettings> <appSettings>
<!-- access these values via the property: <!-- access these values via the property:
System.Configuration.ConfigurationManager.AppSettings[key] System.Configuration.ConfigurationManager.AppSettings[key]
--> -->
<!-- MSE language data/mse_xxx.txt --> <!-- MSE language data/mse_xxx.txt -->
<add key="mse" value="Chinese-Simplified" /> <add key="mse" value="Chinese-Simplified" />
<!-- Language data/cardinfo_xxxx.txt data/language_xxx.txt --> <!-- Language data/cardinfo_xxxx.txt data/language_xxx.txt -->
<add key="language" value="english" /> <add key="language" value="english" />
<!-- Check system language when running program first time --> <!-- Check system language when running program first time -->
<add key="check_system_language" value="true" /> <add key="check_system_language" value="true" />
<!-- async load data --> <!-- async load data -->
<add key="async" value="false" /> <add key="async" value="false" />
<!-- DataEditorX source code --> <!-- DataEditorX source code -->
<add key="sourceURL" value="https://github.com/247321453/DataEditorX" /> <add key="sourceURL" value="https://github.com/247321453/DataEditorX" />
<!-- DataEditorX update url--> <!-- DataEditorX update url-->
<add key="updateURL" value="https://github.com/247321453/DataEditorX/tree/master/win32/readme.txt" /> <add key="updateURL" value="https://github.com/247321453/DataEditorX/tree/master/win32/readme.txt" />
<!-- delete,modify with card's files image script --> <!-- delete,modify with card's files image script -->
<add key="opera_with_cards_file" value="true" /> <add key="opera_with_cards_file" value="true" />
<!-- open file in this.such as lua --> <!-- open file in this.such as lua -->
<add key="open_file_in_this" value="true" /> <add key="open_file_in_this" value="true" />
<!-- check update when opening application automatically --> <!-- check update when opening application automatically -->
<add key="auto_check_update" value="true" /> <add key="auto_check_update" value="true" />
<!-- Cut Images Setting --> <!-- Cut Images Setting -->
<add key="image_quilty" value="100" /> <add key="image_quilty" value="100" />
<add key="image" value="44,64,177,254" /> <add key="image" value="44,64,177,254" />
<add key="image_other" value="25,54,128,128" /> <add key="image_other" value="25,54,128,128" />
<add key="image_xyz" value="24,51,128,128" /> <add key="image_xyz" value="24,51,128,128" />
<add key="image_pendulum" value="14,46,149,120" /> <add key="image_pendulum" value="14,46,149,120" />
<!-- CodeEdiotr Setting <!-- CodeEdiotr Setting
IME = true 使用輸入法,正常顯示文字,反應變慢 IME = true 使用輸入法,正常顯示文字,反應變慢
IME = false English IME = false English
--> -->
<add key="IME" value="false" /> <add key="IME" value="false" />
<add key="wordwrap" value="true" /> <add key="wordwrap" value="true" />
<add key="tabisspace" value="false" /> <add key="tabisspace" value="false" />
<add key="fontname" value="Consolas" /> <add key="fontname" value="Consolas" />
<add key="fontsize" value="14.5" /> <add key="fontsize" value="14.5" />
<!-- MSE path--> <!-- MSE path-->
<add key="mse_path" value="E:\\git\\MagicSetEditor2\\mse.exe"/> <add key="mse_path" value="./MagicSetEditor2/mse.exe"/>
</appSettings> <add key="mse_exprotpath" value="./exprot"/>
</appSettings>
</configuration> </configuration>
\ No newline at end of file
★更新历史 ★更新历史
2.4.0.0
1.mse的相对路径,默认为当前MagicSetEditor2,其他地方请设置config的mse_path,
导出的文件夹为export,其他地方请设置config的mse_exprotpath,
2.从MSE存档导出图片,把MSE存档导出全部图片(如果需要停止,请到任务管理器结束mse.exe)
3.生成MSE存档,不调整图片,测试没问题。
如果需要开启,请修改data文件夹的MSE的配置文件
reimage = true
以及下面的值
2.3.5.3 2.3.5.3
MSE存档图片调整,灵摆文本测试 MSE存档图片调整,灵摆文本测试
2.3.5.2 2.3.5.2
......
...@@ -55,7 +55,7 @@ DataEditForm.mainMenu.menuitem_saveasmse_select 把选中导为MSE存档 ...@@ -55,7 +55,7 @@ DataEditForm.mainMenu.menuitem_saveasmse_select 把选中导为MSE存档
DataEditForm.mainMenu.menuitem_saveasmse 把结果导为MSE存档 DataEditForm.mainMenu.menuitem_saveasmse 把结果导为MSE存档
DataEditForm.mainMenu.menuitem_cutimages 批量裁剪卡图 DataEditForm.mainMenu.menuitem_cutimages 批量裁剪卡图
DataEditForm.mainMenu.menuitem_convertimage 批量导入卡图 DataEditForm.mainMenu.menuitem_convertimage 批量导入卡图
DataEditForm.mainMenu.menuitem_exportMSEimage 从MSE存档导出图片 DataEditForm.mainMenu.menuitem_exportMSEimage 从MSE存档导出图片(再次点击停止)
DataEditForm.mainMenu.menuitem_cancelTask 取消任务 DataEditForm.mainMenu.menuitem_cancelTask 取消任务
DataEditForm.mainMenu.menuitem_testpendulumtext 测试灵摆效果文本 DataEditForm.mainMenu.menuitem_testpendulumtext 测试灵摆效果文本
DataEditForm.mainMenu.menuitem_help 帮助(&H) DataEditForm.mainMenu.menuitem_help 帮助(&H)
......
...@@ -56,7 +56,7 @@ DataEditForm.mainMenu.menuitem_cutimages Cut Images ...@@ -56,7 +56,7 @@ DataEditForm.mainMenu.menuitem_cutimages Cut Images
DataEditForm.mainMenu.menuitem_convertimage Convert Images DataEditForm.mainMenu.menuitem_convertimage Convert Images
DataEditForm.mainMenu.menuitem_importmseimg Set MSE'Image DataEditForm.mainMenu.menuitem_importmseimg Set MSE'Image
DataEditForm.mainMenu.menuitem_cancelTask Cancel Task DataEditForm.mainMenu.menuitem_cancelTask Cancel Task
DataEditForm.mainMenu.menuitem_exportMSEimage export mse-set to images DataEditForm.mainMenu.menuitem_exportMSEimage export mse-set to images(Click stop)
DataEditForm.mainMenu.menuitem_help Help(&H) DataEditForm.mainMenu.menuitem_help Help(&H)
DataEditForm.mainMenu.menuitem_about About DataEditForm.mainMenu.menuitem_about About
DataEditForm.mainMenu.menuitem_language Laguage DataEditForm.mainMenu.menuitem_language Laguage
......
[DataEditorX]2.3.5.3[DataEditorX] [DataEditorX]2.4.0.0[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL] [URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★运行环境(Environment) ★运行环境(Environment)
......
No preview for this file type
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
<add key="fontname" value="Consolas" /> <add key="fontname" value="Consolas" />
<add key="fontsize" value="14.5" /> <add key="fontsize" value="14.5" />
<!-- MSE path--> <!-- MSE path-->
<add key="mse_path" value="E:\\git\\MagicSetEditor2\\mse.exe" /> <add key="mse_path" value="./MagicSetEditor2/mse.exe" />
<add key="mse_exprotpath" value="./exprot" />
</appSettings> </appSettings>
</configuration> </configuration>
\ No newline at end of file
★更新历史 ★更新历史
2.4.0.0
1.mse的相对路径,默认为当前MagicSetEditor2,其他地方请设置config的mse_path,
导出的文件夹为export,其他地方请设置config的mse_exprotpath,
2.从MSE存档导出图片,把MSE存档导出全部图片(如果需要停止,请到任务管理器结束mse.exe)
3.生成MSE存档,不调整图片,测试没问题。
如果需要开启,请修改data文件夹的MSE的配置文件
reimage = true
以及下面的值
2.3.5.3 2.3.5.3
MSE存档图片调整,灵摆文本测试 MSE存档图片调整,灵摆文本测试
2.3.5.2 2.3.5.2
......
...@@ -55,7 +55,7 @@ DataEditForm.mainMenu.menuitem_saveasmse_select 把选中导为MSE存档 ...@@ -55,7 +55,7 @@ DataEditForm.mainMenu.menuitem_saveasmse_select 把选中导为MSE存档
DataEditForm.mainMenu.menuitem_saveasmse 把结果导为MSE存档 DataEditForm.mainMenu.menuitem_saveasmse 把结果导为MSE存档
DataEditForm.mainMenu.menuitem_cutimages 批量裁剪卡图 DataEditForm.mainMenu.menuitem_cutimages 批量裁剪卡图
DataEditForm.mainMenu.menuitem_convertimage 批量导入卡图 DataEditForm.mainMenu.menuitem_convertimage 批量导入卡图
DataEditForm.mainMenu.menuitem_exportMSEimage 从MSE存档导出图片 DataEditForm.mainMenu.menuitem_exportMSEimage 从MSE存档导出图片(再次点击停止)
DataEditForm.mainMenu.menuitem_cancelTask 取消任务 DataEditForm.mainMenu.menuitem_cancelTask 取消任务
DataEditForm.mainMenu.menuitem_testpendulumtext 测试灵摆效果文本 DataEditForm.mainMenu.menuitem_testpendulumtext 测试灵摆效果文本
DataEditForm.mainMenu.menuitem_help 帮助(&H) DataEditForm.mainMenu.menuitem_help 帮助(&H)
......
...@@ -56,7 +56,7 @@ DataEditForm.mainMenu.menuitem_cutimages Cut Images ...@@ -56,7 +56,7 @@ DataEditForm.mainMenu.menuitem_cutimages Cut Images
DataEditForm.mainMenu.menuitem_convertimage Convert Images DataEditForm.mainMenu.menuitem_convertimage Convert Images
DataEditForm.mainMenu.menuitem_importmseimg Set MSE'Image DataEditForm.mainMenu.menuitem_importmseimg Set MSE'Image
DataEditForm.mainMenu.menuitem_cancelTask Cancel Task DataEditForm.mainMenu.menuitem_cancelTask Cancel Task
DataEditForm.mainMenu.menuitem_exportMSEimage export mse-set to images DataEditForm.mainMenu.menuitem_exportMSEimage export mse-set to images(Click stop)
DataEditForm.mainMenu.menuitem_help Help(&H) DataEditForm.mainMenu.menuitem_help Help(&H)
DataEditForm.mainMenu.menuitem_about About DataEditForm.mainMenu.menuitem_about About
DataEditForm.mainMenu.menuitem_language Laguage DataEditForm.mainMenu.menuitem_language Laguage
......
[DataEditorX]2.3.5.3[DataEditorX] [DataEditorX]2.3.5.4[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL] [URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★运行环境(Environment) ★运行环境(Environment)
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment