Commit 2b1fef05 authored by keyongyu's avatar keyongyu

2.2.6.0

parent 88a6406b
......@@ -375,19 +375,15 @@ public static string GetSelectSQL(Card c)
if(c.category>0)
sb.Append(" and datas.category & "+toInt(c.category)+" = "+toInt(c.category));
if(c.atk>0)
sb.Append(" and datas.atk >= "+c.atk.ToString());
else if(c.atk==-2)
if(c.atk==-1)
sb.Append(" and datas.type & 1 = 1 and datas.atk = 0");
else if(c.atk<0 || c.atk>0)
sb.Append(" and datas.atk = "+c.atk.ToString());
else if(c.atk==-1)
sb.Append(" and datas.atk = 0");
if(c.def>0)
sb.Append(" and datas.def >= "+c.def.ToString());
else if(c.def==-2)
if(c.def==-1)
sb.Append(" and datas.type & 1 = 1 and datas.def = 0");
else if(c.def<0 || c.def>0)
sb.Append(" and datas.def = "+c.def.ToString());
else if(c.def==-1)
sb.Append(" and datas.def = 0");
if(c.id>0 && c.alias>0)
sb.Append(" and datas.id BETWEEN "+c.alias.ToString()+" and "+c.id.ToString());
......
......@@ -26,6 +26,16 @@ public class MSE
MSEConfig cfg;
MSEConvert conv;
public int MaxNum
{
get{return cfg.maxcount;}
}
public string ImagePath
{
get {return cfg.imagepath;}
}
public MSE(string path,
Dictionary<long,string> typedic,
Dictionary<long,string> racedic)
......@@ -33,9 +43,10 @@ public class MSE
cfg=new MSEConfig(path);
conv=new MSEConvert(typedic, racedic, cfg);
}
public string[] WriteSet(string file,Card[] cards,string pic)
public string[] WriteSet(string file,Card[] cards)
{
List<string> list=new List<string>();
string pic=cfg.imagepath;
using(FileStream fs=new FileStream(file,
FileMode.Create, FileAccess.Write))
{
......
......@@ -33,9 +33,11 @@ string Re(string str)
/// </summary>
public class MSEConfig
{
string _path;
public MSEConfig(string path)
{
Iscn2tw=false;
_path=path;
regx_monster="(\\s\\S*?)";
regx_pendulum="(\\s\\S*?)";
......@@ -64,6 +66,10 @@ public MSEConfig(string path)
regx_pendulum=getRegex(getValue(line));
else if(line.StartsWith("monster-text"))
regx_monster=getRegex(getValue(line));
else if(line.StartsWith("maxcount"))
int.TryParse(getValue(line),out maxcount);
else if(line.StartsWith("imagepath"))
imagepath = CheckDir(getValue(line));
else if(line.StartsWith("replace")){
string word=getValue(line);
int t=word.IndexOf(" ");
......@@ -86,6 +92,25 @@ public MSEConfig(string path)
Iscn2tw=false;
}
}
string CheckDir(string dir)
{
DirectoryInfo fo;
try
{
fo=new DirectoryInfo(dir);
}
catch
{
//路径不合法
dir=MyPath.Combine(_path,"Images");
fo=new DirectoryInfo(dir);
}
if(!fo.Exists)
fo.Create();
dir=fo.FullName;
return dir;
}
string getRegex(string word)
{
return word.Replace("\\n","\n").Replace("\\t","\t");
......@@ -102,6 +127,8 @@ string read(string path,string name)
string tmp=Path.Combine(path, name);
return File.Exists(tmp)?File.ReadAllText(tmp):"";
}
public int maxcount;
public string imagepath;
public bool st_is_symbol;
public string str_spell;
public string str_trap;
......
......@@ -100,7 +100,7 @@ public void Cancel()
else
MyMsg.Show(LMSG.DownloadFail);
}
public void CutImages(string imgpath,string savepath,bool isreplace)
public void CutImages(string imgpath,bool isreplace)
{
int count=cardlist.Length;
int i=0;
......@@ -111,7 +111,7 @@ public void CutImages(string imgpath,string savepath,bool isreplace)
i++;
worker.ReportProgress((i/count), string.Format("{0}/{1}",i,count));
string jpg=MyPath.Combine(imgpath, c.id+".jpg");
string savejpg=MyPath.Combine(savepath, c.id+".jpg");
string savejpg=MyPath.Combine(mseHelper.ImagePath, c.id+".jpg");
if(File.Exists(jpg) && (isreplace || !File.Exists(savejpg))){
Bitmap bp=new Bitmap(jpg);
Bitmap bmp=null;
......@@ -178,9 +178,39 @@ public void ConvertImages(string imgpath,string gamepath,bool isreplace)
}
}
}
public void SaveMSE(string file, Card[] cards,string pic,bool isUpdate){
public string MSEImage
{
get{return mseHelper.ImagePath;}
}
public void SaveMSEs(string file, Card[] cards,bool isUpdate){
if(mseHelper.MaxNum==0)
SaveMSE(1,file, cards, isUpdate);
else
{
int c=cards.Length;
int nums=c/mseHelper.MaxNum;
if(nums*mseHelper.MaxNum<c)
nums++;
List<Card> clist=new List<Card>();
for(int i=0;i<nums;i++)
{
clist.Clear();
for(int j=0;j<mseHelper.MaxNum;j++)
{
int index=i*mseHelper.MaxNum+j;
if(index<c)
clist.Add(cards[index]);
}
int t=file.LastIndexOf(".mse-set");
string fname=(t>0)?file.Substring(0,t):file;
fname=fname+string.Format("_{0}.mse-set",i+1);
SaveMSE(i+1,fname,clist.ToArray(),isUpdate);
}
}
}
public void SaveMSE(int num,string file, Card[] cards,bool isUpdate){
string setFile=file+".txt";
string[] images=mseHelper.WriteSet(setFile, cards, pic);
string[] images=mseHelper.WriteSet(setFile, cards);
if(isUpdate)//仅更新文字
return;
int i=0;
......@@ -194,7 +224,7 @@ public void ConvertImages(string imgpath,string gamepath,bool isreplace)
if(isCancel)
break;
i++;
worker.ReportProgress(i/count, string.Format("{0}/{1}",i,count));
worker.ReportProgress(i/count, string.Format("{0}/{1}-{2}",i,count,num));
zips.AddFile(img, Path.GetFileName(img),"");
}
}
......@@ -268,21 +298,21 @@ public void ExportData(string cdbfile)
case MyTask.CutImages:
if(mArgs!=null && mArgs.Length>=2){
replace=true;
if(mArgs.Length>=3){
if(mArgs[2]==Boolean.FalseString)
if(mArgs.Length>=2){
if(mArgs[1]==Boolean.FalseString)
replace=false;
}
CutImages(mArgs[0],mArgs[1],replace);
CutImages(mArgs[0],replace);
}
break;
case MyTask.SaveAsMSE:
if(mArgs!=null && mArgs.Length>=2){
replace=false;
if(mArgs.Length>=3){
if(mArgs[2]==Boolean.TrueString)
if(mArgs.Length>=2){
if(mArgs[1]==Boolean.TrueString)
replace=true;
}
SaveMSE(mArgs[0], cardlist, mArgs[1], replace);
SaveMSEs(mArgs[0], cardlist, replace);
}
break;
case MyTask.ConvertImages:
......
......@@ -474,7 +474,6 @@ private void InitializeComponent()
this.tb_cardtext.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.tb_cardtext.Size = new System.Drawing.Size(326, 200);
this.tb_cardtext.TabIndex = 4;
this.tb_cardtext.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Tb_cardtextKeyDown);
//
// lb_scripttext
//
......
......@@ -27,7 +27,7 @@ public partial class DataEditForm : DockContent
string taskname;
string ydkfile=null;
string imagepath=null;
string GAMEPATH,PICPATH,PICPATH2,LUAPTH,IMAGEPATH;
string GAMEPATH,PICPATH,PICPATH2,LUAPTH;
/// <summary>当前卡片</summary>
Card oldCard=new Card(0);
/// <summary>搜索条件</summary>
......@@ -208,10 +208,7 @@ void SetCDB(string cdb)
void InitPath(string datapath)
{
this.datapath=datapath;
confcover= MyPath.Combine(datapath, "cover.jpg");
IMAGEPATH=MyPath.Combine(Application.StartupPath,"Images");
confcover= MyPath.Combine(datapath, "cover.jpg");
if(File.Exists(confcover))
m_cover=Image.FromFile(confcover);
else
......@@ -974,11 +971,6 @@ void Tb_cardnameKeyDown(object sender, KeyEventArgs e)
}
}
//卡片描述编辑
void Tb_cardtextKeyDown(object sender, KeyEventArgs e)
{
}
void Setscripttext(string str)
{
int index=-1;
......@@ -1373,7 +1365,7 @@ void Menuitem_cutimagesClick(object sender, EventArgs e)
return;
bool isreplace=MyMsg.Question(LMSG.IfReplaceExistingImage);
tasker.SetTask(MyTask.CutImages, cardlist.ToArray(),
PICPATH, IMAGEPATH, isreplace.ToString());
PICPATH, isreplace.ToString());
Run(LANG.GetMsg(LMSG.CutImage));
}
void Menuitem_saveasmse_selectClick(object sender, EventArgs e)
......@@ -1405,7 +1397,7 @@ void Menuitem_saveasmseClick(object sender, EventArgs e)
isUpdate=MyMsg.Question(LMSG.OnlySet);
#endif
tasker.SetTask(MyTask.SaveAsMSE,cards,
dlg.FileName,IMAGEPATH,isUpdate.ToString());
dlg.FileName,isUpdate.ToString());
Run(LANG.GetMsg(LMSG.SaveMse));
}
}
......@@ -1442,9 +1434,9 @@ void ImportImage(string file,string tid)
pl_image.BackgroundImage.Dispose();
pl_image.BackgroundImage=m_cover;
if(menuitem_importmseimg.Checked){
if(!Directory.Exists(IMAGEPATH))
Directory.CreateDirectory(IMAGEPATH);
f=MyPath.Combine(IMAGEPATH, tid+".jpg");
if(!Directory.Exists(tasker.MSEImage))
Directory.CreateDirectory(tasker.MSEImage);
f=MyPath.Combine(tasker.MSEImage, tid+".jpg");
File.Copy(file, f, true);
}
else{
......@@ -1466,8 +1458,8 @@ void setImage(string id)
pl_image.BackgroundImage.Dispose();
Bitmap temp;
string pic=MyPath.Combine(PICPATH, id+".jpg");
string pic2=MyPath.Combine(IMAGEPATH, id+".jpg");
string pic3=MyPath.Combine(IMAGEPATH, new Card(id).idString+".jpg");
string pic2=MyPath.Combine(tasker.MSEImage, id+".jpg");
string pic3=MyPath.Combine(tasker.MSEImage, new Card(id).idString+".jpg");
if(menuitem_importmseimg.Checked && File.Exists(pic2))
{
temp=new Bitmap(pic2);
......
......@@ -268,6 +268,9 @@
<None Include="readme.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="readme_en.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
\ No newline at end of file
......@@ -121,15 +121,10 @@ void AddHistory(string file)
if(index>=0){
cdblist.RemoveAt(index);
}
else{
int i=cdblist.Count-MainForm.MAX_HISTORY+1;
while(i>=0 && i<cdblist.Count)
{
cdblist.RemoveAt(i);
i--;
}
}
string[] tmps=cdblist.ToArray();
cdblist.Clear();
cdblist.Add(file);
cdblist.AddRange(tmps);
SaveHistory();
MenuHistory();
}
......
......@@ -28,4 +28,4 @@
//
// You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below:
[assembly: AssemblyVersion("2.2.5.0")]
[assembly: AssemblyVersion("2.2.6.0")]
......@@ -16,13 +16,13 @@
<add key="sourceURL" value="https://github.com/247321453/DataEditorX" />
<!-- DataEditorX update url-->
<add key="updateURL" value="https://github.com/247321453/DataEditorX/tree/master/win32/readme.txt" />
<!-- Defult Images -->
<!-- Cut Images Setting -->
<add key="image_quilty" value="96" />
<add key="image" value="44,64,177,254" />
<add key="image_other" value="25,54,128,128" />
<add key="image_xyz" value="24,51,128,128" />
<add key="image_pendulum" value="14,46,149,120" />
<!-- CodeEdiotr
<!-- CodeEdiotr Setting
IME = true 使用輸入法,正常顯示文字,反應變慢
IME = false English
-->
......
......@@ -2,6 +2,9 @@
# Magic Set Editor 2
########################### Chs 2 Cht
cn2tw = true
########################### Setting
maxcount = 0
imagepath = ./Images
########################### Spell/Trap
#jp setting
# spell = %%
......
......@@ -2,6 +2,9 @@
# Magic Set Editor 2
########################### Chs 2 Cht
cn2tw = true
########################### Setting
maxcount = 200
imagepath = ./Images
########################### Spell/Trap
spell = [Sepll Card%%]
trap = [Trap Card%%]
......
[DataEditorX]2.2.5.0[DataEditorX]
[DataEditorX]2.2.6.0[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
★文件关联
.lua notepad++/sublime text/DataEditorX
.cdb DataEditorX
★注意:
★bug反馈
Email:247321453@qq.com
提交版本前,请检查更新。
标题:(DataEditorX+版本号)
内容:
错误提示文字:(弹出出错框,请按Ctrl+C,然后找地方粘贴)
详细描述:(卡片信息,杀毒软件,本程序目录等等)
★支持多语言化
DataEditorX.exe.config
<add key="language" value="chinese" />简体
<add key="language" value="english" />英文
★DataEditor:
1.脚本提示文字修改:点击列表,编辑文本,按Enter确定输入。
2.攻击力为?,可以输入?,?,-2任意一个都可以。
★文件夹pics和script和cdb所在文件夹一致。
★卡片复制:
替换复制:如果存在卡片,就用最新的替换
不替换复制:如果存在卡片,就跳过
★卡片搜索
1.仅支持第一个系列名搜索,暂不支持P的刻度搜索
2.支持卡片名称,描述,规则,属性,等级,种族,卡片类型,效果类型,密码
......@@ -22,57 +41,25 @@
--同名卡为10000000的卡片 卡片密码: 0 同名卡: 10000000
--大于密码10000000,小于20000000的卡片 同名卡: 10000000 卡片密码: 20000000
★支援Magic Set Editor 2
下载/更新:
Magic Set Editor 2/update/download.bat
★Magic Set Editor 2
下载/更新:"Magic Set Editor 2/download.bat"
★MSE存档生成设置
mse-head MSE的风格设置文件
mse-monster 普通怪兽模版
mse-pendulum P怪兽模版
mse-spelltrap 魔陷模版
mse-config 设置pendulum文本和普通文本的正则正则表达式,用来分离文本
★支持关联lua文件
★支持关联cdb文件,命令参数启动。
关联cdb文件:
请确保DataEditorX的文件夹名固定不变,然后右键随意一个cdb文件,打开方式--浏览--DataEditorX.exe。确定。
以后双击cdb文件即可打开DataEditorX。
mse-config 设置pendulum文本和普通文本的正则正则表达式,用来分离文本,支持设置每个存档的最大卡片数量
★lua编辑器
在下面的文本框输入关键字,按Enter
Ctrl+鼠标左键 跳转到函数定义
Ctrl+鼠标滑轮 缩放文字
★支持 新建文本文档.txt 直接改名 新建文本文档.cdb
★文件夹pics和script和cdb所在文件夹一致。
★卡片复制:
替换复制:如果存在卡片,就用最新的替换
不替换复制:如果存在卡片,就跳过
★支持多语言化
DataEditorX.exe.config
<add key="language" value="chinese" />简体
<add key="language" value="english" />英文
★bug反馈
Email:247321453@qq.com
提交版本前,请检查更新。
标题:(DataEditorX+版本号)
内容:
错误提示文字:(弹出出错框,请按Ctrl+C,然后找地方粘贴)
详细描述:(卡片信息,杀毒软件,本程序目录等等)
注意:
我之修复Email提交的bug。
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
2.2.6.0
文件历史记录的顺序,从上到下。
导出MSE存档,支持设置每个存档的最大卡片数量
2.2.5.0
lua编辑器支持,读取和提示指示物代码。
添加残局示例single.lua
......

★File association
.lua notepad++/sublime text/DataEditorX
.cdb DataEditorX
★Feedback
Email:247321453@qq.com or keyoyu@foxmail.com
Title:(DataEditorX+Version)
Content:Error Message
★Language setting
DataEditorX.exe.config
<add key="language" value="english" />
★DataEditor:
1.tips text:Click line and Edit,"Enter" save Edit.
2.Atk/Eef=? , input ? or -2 or ?
Foldet:
pics,script and cdb's folder is a same
Cards Copy:
Replace:Yes:If exists then replace old /NO:If exists then ignore
Search Cards:
1.Search By setcode: only one
2.Search By Desc,Rule,attribute,level,race,card type,category
3.search By ATK/DEF:
atk/def = 0 input: -1
atk/def = ? input: -2 or ?
4.Search By Name :
A.O.J%%
流%%天
%%战士
5.Searcg By Code:
--code = 10000000 card code: 10000000 card alias: 0
--alias = 10000000 card code: 10000000 card alias:10000000
--10000000<=code<=20000000 card code: 10000000 card alias:20000000
★Magic Set Editor 2
Download/Update:"Magic Set Editor 2/download.bat"
★MSE-set setting
mse-head MSE set info setting
mse-monster other monster setting
mse-pendulum pendulum monster setting
mse-spelltrap spell/trap setting
mse-config spell/trap text,pendulum rule,maxcount,imagepath
1.Pendulum for english
Pendulum Scale = 10
Pendulum Text :
xxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxx
Monster Text :
xxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxx
2.english/mse-config.txt
pendulum-text = Pendulum Text :\n([\S\s]*?)\n\n
monster-text = Monster Text :\n([\S\s]*)
★CodeEditor
input keyword in bottom textbox , "Enter"
Ctrl+Mouse.Left Goto Function define
Ctrl+Mouse.capture Setting Scale
No preview for this file type
......@@ -16,13 +16,13 @@
<add key="sourceURL" value="https://github.com/247321453/DataEditorX" />
<!-- DataEditorX update url-->
<add key="updateURL" value="https://github.com/247321453/DataEditorX/tree/master/win32/readme.txt" />
<!-- Defult Images -->
<!-- Cut Images Setting -->
<add key="image_quilty" value="96" />
<add key="image" value="44,64,177,254" />
<add key="image_other" value="25,54,128,128" />
<add key="image_xyz" value="24,51,128,128" />
<add key="image_pendulum" value="14,46,149,120" />
<!-- CodeEdiotr
<!-- CodeEdiotr Setting
IME = true 使用輸入法,正常顯示文字,反應變慢
IME = false English
-->
......
# history
F:\games\ygopro\cards.cdb
F:\games\ygocore\script\c114932.lua
F:\games\ygocore\cards (2).cdb
F:\games\ygopro\script\c32864.lua
F:\games\ygocore\script\constant.lua
......@@ -12,8 +14,6 @@ F:\games\ygocore\script\c135598.lua
F:\games\ygocore\script\c126218.lua
E:\github\DataEditorX\DataEditorX\chinese\constant.lua
F:\games\ygocore\script\c900787.lua
F:\games\ygocore\script\c114932.lua
F:\games\ygopro\cards.cdb
F:\single.lua
F:\games\ygopro\script\c126218.lua
F:\games\ygopro\script\c102380.lua
......
......@@ -2,6 +2,9 @@
# Magic Set Editor 2
########################### Chs 2 Cht
cn2tw = true
########################### Setting
maxcount = 0
imagepath = ./Images
########################### Spell/Trap
#jp setting
# spell = %%
......
......@@ -2,6 +2,9 @@
# Magic Set Editor 2
########################### Chs 2 Cht
cn2tw = true
########################### Setting
maxcount = 200
imagepath = ./Images
########################### Spell/Trap
spell = [Sepll Card%%]
trap = [Trap Card%%]
......
1.pendulum 请统一卡片的描述,目前cdb里面的太乱了。
Pendulum Scale = 10
Pendulum Text :
xxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxx
Monster Text :
xxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxx
2.english/mse-config.txt
pendulum-text = Pendulum Text :\n([\S\s]*?)\n\n
monster-text = Monster Text :\n([\S\s]*)
\ No newline at end of file
[DataEditorX]2.2.5.0[DataEditorX]
[DataEditorX]2.2.6.0[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
★文件关联
.lua notepad++/sublime text/DataEditorX
.cdb DataEditorX
★注意:
★bug反馈
Email:247321453@qq.com
提交版本前,请检查更新。
标题:(DataEditorX+版本号)
内容:
错误提示文字:(弹出出错框,请按Ctrl+C,然后找地方粘贴)
详细描述:(卡片信息,杀毒软件,本程序目录等等)
★支持多语言化
DataEditorX.exe.config
<add key="language" value="chinese" />简体
<add key="language" value="english" />英文
★DataEditor:
1.脚本提示文字修改:点击列表,编辑文本,按Enter确定输入。
2.攻击力为?,可以输入?,?,-2任意一个都可以。
★文件夹pics和script和cdb所在文件夹一致。
★卡片复制:
替换复制:如果存在卡片,就用最新的替换
不替换复制:如果存在卡片,就跳过
★卡片搜索
1.仅支持第一个系列名搜索,暂不支持P的刻度搜索
2.支持卡片名称,描述,规则,属性,等级,种族,卡片类型,效果类型,密码
......@@ -22,57 +41,25 @@
--同名卡为10000000的卡片 卡片密码: 0 同名卡: 10000000
--大于密码10000000,小于20000000的卡片 同名卡: 10000000 卡片密码: 20000000
★支援Magic Set Editor 2
下载/更新:
Magic Set Editor 2/update/download.bat
★Magic Set Editor 2
下载/更新:"Magic Set Editor 2/download.bat"
★MSE存档生成设置
mse-head MSE的风格设置文件
mse-monster 普通怪兽模版
mse-pendulum P怪兽模版
mse-spelltrap 魔陷模版
mse-config 设置pendulum文本和普通文本的正则正则表达式,用来分离文本
★支持关联lua文件
★支持关联cdb文件,命令参数启动。
关联cdb文件:
请确保DataEditorX的文件夹名固定不变,然后右键随意一个cdb文件,打开方式--浏览--DataEditorX.exe。确定。
以后双击cdb文件即可打开DataEditorX。
mse-config 设置pendulum文本和普通文本的正则正则表达式,用来分离文本,支持设置每个存档的最大卡片数量
★lua编辑器
在下面的文本框输入关键字,按Enter
Ctrl+鼠标左键 跳转到函数定义
Ctrl+鼠标滑轮 缩放文字
★支持 新建文本文档.txt 直接改名 新建文本文档.cdb
★文件夹pics和script和cdb所在文件夹一致。
★卡片复制:
替换复制:如果存在卡片,就用最新的替换
不替换复制:如果存在卡片,就跳过
★支持多语言化
DataEditorX.exe.config
<add key="language" value="chinese" />简体
<add key="language" value="english" />英文
★bug反馈
Email:247321453@qq.com
提交版本前,请检查更新。
标题:(DataEditorX+版本号)
内容:
错误提示文字:(弹出出错框,请按Ctrl+C,然后找地方粘贴)
详细描述:(卡片信息,杀毒软件,本程序目录等等)
注意:
我之修复Email提交的bug。
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
2.2.6.0
文件历史记录的顺序,从上到下。
导出MSE存档,支持设置每个存档的最大卡片数量
2.2.5.0
lua编辑器支持,读取和提示指示物代码。
添加残局示例single.lua
......

★File association
.lua notepad++/sublime text/DataEditorX
.cdb DataEditorX
★Feedback
Email:247321453@qq.com or keyoyu@foxmail.com
Title:(DataEditorX+Version)
Content:Error Message
★Language setting
DataEditorX.exe.config
<add key="language" value="english" />
★DataEditor:
1.tips text:Click line and Edit,"Enter" save Edit.
2.Atk/Eef=? , input ? or -2 or ?
Foldet:
pics,script and cdb's folder is a same
Cards Copy:
Replace:Yes:If exists then replace old /NO:If exists then ignore
Search Cards:
1.Search By setcode: only one
2.Search By Desc,Rule,attribute,level,race,card type,category
3.search By ATK/DEF:
atk/def = 0 input: -1
atk/def = ? input: -2 or ?
4.Search By Name :
A.O.J%%
流%%天
%%战士
5.Searcg By Code:
--code = 10000000 card code: 10000000 card alias: 0
--alias = 10000000 card code: 10000000 card alias:10000000
--10000000<=code<=20000000 card code: 10000000 card alias:20000000
★Magic Set Editor 2
Download/Update:"Magic Set Editor 2/download.bat"
★MSE-set setting
mse-head MSE set info setting
mse-monster other monster setting
mse-pendulum pendulum monster setting
mse-spelltrap spell/trap setting
mse-config spell/trap text,pendulum rule,maxcount,imagepath
1.Pendulum for english
Pendulum Scale = 10
Pendulum Text :
xxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxx
Monster Text :
xxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxx
2.english/mse-config.txt
pendulum-text = Pendulum Text :\n([\S\s]*?)\n\n
monster-text = Monster Text :\n([\S\s]*)
★CodeEditor
input keyword in bottom textbox , "Enter"
Ctrl+Mouse.Left Goto Function define
Ctrl+Mouse.capture Setting Scale
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