Commit 137ddbb0 authored by keyongyu's avatar keyongyu

1.5.0.0

parent 156e9484
......@@ -77,7 +77,7 @@ public static string GetHtmlContentByUrl(string url)
}
#endregion
public static void DownLoad(string filename)
public static bool DownLoad(string filename)
{
try
{
......@@ -106,6 +106,7 @@ public static void DownLoad(string filename)
isOK= false;
}
isOK=true;
return isOK;
}
}
}
/*
* date :2014-02-07
* desc :图像处理,裁剪,缩放,保存
*/
using System;
using System.IO;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
namespace DataEditorX
{
/// <summary>
/// Description of ImageHelper.
/// </summary>
public static class MyBitmap
{
#region 缩放
/// <summary>
/// 缩放图像
/// </summary>
/// <param name="img">源图像</param>
/// <param name="newW">新宽度</param>
/// <param name="newH">新高度</param>
/// <returns>处理好的图像</returns>
public static Bitmap Zoom(Bitmap sourceBitmap, int newWidth, int newHeight)
{
if ( sourceBitmap != null )
{
Bitmap b = new Bitmap(newWidth, newHeight);
Graphics graphics = Graphics.FromImage(b);
graphics.CompositingQuality = CompositingQuality.HighQuality;
graphics.SmoothingMode = SmoothingMode.HighQuality;
graphics.PixelOffsetMode = PixelOffsetMode.HighQuality;
graphics.InterpolationMode = InterpolationMode.HighQualityBicubic;
Rectangle newRect = new Rectangle(0, 0, newWidth, newHeight);
Rectangle srcRect = new Rectangle(0, 0, sourceBitmap.Width, sourceBitmap.Height);
graphics.DrawImage(sourceBitmap, newRect, srcRect, GraphicsUnit.Pixel);
graphics.Dispose();
return b;
}
return sourceBitmap;
}
#endregion
#region 裁剪
/// <summary>
/// 裁剪图像
/// </summary>
/// <param name="img">源图像</param>
/// <param name="StartX">开始x</param>
/// <param name="StartY">开始y</param>
/// <param name="iWidth">裁剪宽</param>
/// <param name="iHeight">裁剪高</param>
/// <returns>处理好的图像</returns>
public static Bitmap Cut(Bitmap sourceBitmap, int StartX, int StartY, int cutWidth, int cutHeight)
{
if ( sourceBitmap != null )
{
int w = sourceBitmap.Width;
int h = sourceBitmap.Height;
if ( ( StartX + cutWidth ) > w )
{
cutWidth = w - StartX;
}
if ( ( StartY + cutHeight ) > h )
{
cutHeight = h - StartY;
}
Bitmap bitmap = new Bitmap(cutWidth, cutHeight);
Graphics graphics = Graphics.FromImage(bitmap);
Rectangle cutRect = new Rectangle(0, 0, cutWidth, cutHeight);
Rectangle srcRect = new Rectangle(StartX, StartY, cutWidth, cutHeight);
graphics.DrawImage(sourceBitmap, cutRect, srcRect, GraphicsUnit.Pixel);
graphics.Dispose();
return bitmap;
}
return sourceBitmap;
}
#endregion
#region 保存
/// <summary>
/// 保存jpg图像
/// </summary>
/// <param name="bmp">源图像</param>
/// <param name="filename">保存路径</param>
/// <param name="quality">质量</param>
/// <returns>是否保存成功</returns>
public static bool SaveAsJPEG(Bitmap bitmap, string filename, int quality)
{
if ( bitmap != null )
{
string path=Path.GetDirectoryName(filename);
if(!Directory.Exists(path))
Directory.CreateDirectory(path);
if(File.Exists(filename))
File.Delete(filename);
ImageCodecInfo[] codecs = ImageCodecInfo.GetImageEncoders();
ImageCodecInfo ici = null;
foreach ( ImageCodecInfo codec in codecs )
{
if ( codec.MimeType.IndexOf("jpeg") > -1 )
{
ici = codec;
}
if ( quality < 0 || quality > 100 )
quality = 60;
EncoderParameters encoderParams = new EncoderParameters();
encoderParams.Param[0] = new EncoderParameter(Encoder.Quality, (long)quality);
if ( ici != null )
bitmap.Save(filename, ici, encoderParams);
else
bitmap.Save(filename);
}
return true;
}
return false;
}
#endregion
}
}
This diff is collapsed.
......@@ -15,7 +15,7 @@ public struct Card : IEquatable<Card>
/// </summary>
/// <param name="cardCode">密码</param>
/// <param name="cardName">名字</param>
public Card(int cardCode)
public Card(long cardCode)
{
int i;
this.id = cardCode;
......@@ -164,5 +164,11 @@ public override int GetHashCode()
}
#endregion
public bool IsType(CardType type){
if((this.type & (long)type) == (long)type)
return true;
return false;
}
}
}
/*
* 由SharpDevelop创建。
* 用户: Acer
* 日期: 2014-10-13
* 时间: 9:08
*
*/
using System;
namespace DataEditorX.Core
{
/// <summary>
/// Description of CardType.
/// </summary>
public enum CardType : long
{
MONSTER = 0x1,
SPELL = 0x2,
TRAP = 0x4,
NORMAL = 0x10,
EFFECT = 0x20,
FUSION = 0x40,
RITUAL = 0x80,
TRAPMONSTER = 0x100,
SPIRIT = 0x200,
UNION = 0x400,
DUAL = 0x800,
TUNER = 0x1000,
SYNCHRO = 0x2000,
TOKEN = 0x4000,
QUICKPLAY = 0x10000,
CONTINUOUS = 0x20000,
EQUIP = 0x40000,
FIELD = 0x80000,
COUNTER = 0x100000,
FLIP = 0x200000,
TOON = 0x400000,
XYZ = 0x800000,
PENDULUM = 0x1000000,
}
}
......@@ -41,6 +41,9 @@ public class DataManager
continue;
strkey=line.Substring(0,l).Replace("0x","");
strword=line.Substring(l+1);
int t=strword.IndexOf('\t');
if(t>0)
strword=strword.Substring(0,t);
if(line.StartsWith("0x"))
long.TryParse(strkey, NumberStyles.HexNumber, null, out lkey);
else
......
/*
* 由SharpDevelop创建。
* 用户: Acer
* 日期: 2014-10-13
* 时间: 9:02
*
*/
using System;
using System.Configuration;
namespace DataEditorX.Core
{
/// <summary>
/// Description of ImageSet.
/// </summary>
public class ImageSet
{
bool isInit;
public ImageSet(){
isInit=false;
}
public void Init()
{
if(isInit)
return;
isInit=true;
string temp=ConfigurationManager.AppSettings["image_other"];
string[] ws=string.IsNullOrEmpty(temp)?null:temp.Split(',');
if(ws!=null && ws.Length==4){
int.TryParse(ws[0],out this.other_x);
int.TryParse(ws[1],out this.other_y);
int.TryParse(ws[2],out this.other_w);
int.TryParse(ws[3],out this.other_h);
}
//MyMsg.Show(string.Format("other:{0},{1},{2},{3}",other_x,other_y,other_w,other_h));
temp=ConfigurationManager.AppSettings["image_xyz"];
ws=string.IsNullOrEmpty(temp)?null:temp.Split(',');
if(ws!=null && ws.Length==4){
int.TryParse(ws[0],out this.xyz_x);
int.TryParse(ws[1],out this.xyz_y);
int.TryParse(ws[2],out this.xyz_w);
int.TryParse(ws[3],out this.xyz_h);
}
//MyMsg.Show(string.Format("xyz:{0},{1},{2},{3}",xyz_x,xyz_y,xyz_w,xyz_h));
temp=ConfigurationManager.AppSettings["image_pendulum"];
ws=string.IsNullOrEmpty(temp)?null:temp.Split(',');
if(ws!=null && ws.Length==4){
int.TryParse(ws[0],out this.pendulum_x);
int.TryParse(ws[1],out this.pendulum_y);
int.TryParse(ws[2],out this.pendulum_w);
int.TryParse(ws[3],out this.pendulum_h);
}
//MyMsg.Show(string.Format("pendulum:{0},{1},{2},{3}",pendulum_x,pendulum_y,pendulum_w,pendulum_h));
temp=ConfigurationManager.AppSettings["image"];
ws=string.IsNullOrEmpty(temp)?null:temp.Split(',');
if(ws!=null && ws.Length==4){
int.TryParse(ws[0],out this.w);
int.TryParse(ws[1],out this.h);
int.TryParse(ws[2],out this.W);
int.TryParse(ws[3],out this.H);
}
//MyMsg.Show(string.Format("image:{0},{1},{2},{3}",w,h,W,H));
temp=ConfigurationManager.AppSettings["image_quilty"];
if(!string.IsNullOrEmpty(temp)){
int.TryParse(temp, out this.quilty);
}
//MyMsg.Show(string.Format("quilty:{0}",quilty));
}
public int quilty;
public int w,h,W,H;
public int other_x,other_y;
public int other_w,other_h;
public int xyz_x,xyz_y;
public int xyz_w,xyz_h;
public int pendulum_x,pendulum_y;
public int pendulum_w,pendulum_h;
}
}
/*
* 由SharpDevelop创建。
* 用户: Acer
* 日期: 2014-10-12
* 时间: 12:48
*
*/
using System;
namespace DataEditorX.Core
{
/// <summary>
/// Description of MSE.
/// </summary>
public class MSE
{
static bool isInit=false;
public static void Init()
{
if(isInit)
return;
//cut images
//type
//race
//effect
}
public static void Save(string file,Card[] cards,string pic){
MSE.Init();
}
}
}
/*
* 由SharpDevelop创建。
* 用户: Acer
* 日期: 2014-10-12
* 时间: 19:43
*
*/
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Text;
using System.Windows.Forms;
using DataEditorX.Core;
using DataEditorX.Language;
namespace DataEditorX.Core
{
public enum MyTask{
NONE,
CheckUpdate,
CopyDataBase,
SaveAsMSE,
CutImages,
}
/// <summary>
/// Description of TaskHelper.
/// </summary>
public class TaskHelper
{
private static MyTask nowTask=MyTask.NONE;
private static Card[] cardlist;
private static string[] mArgs;
private static ImageSet imgSet=new ImageSet();
public static MyTask getTask(){
return nowTask;
}
public static void SetTask(MyTask myTask,Card[] cards,params string[] args){
nowTask=myTask;
cardlist=cards;
mArgs=args;
}
public static void OnCheckUpdate(bool showNew){
string newver=CheckUpdate.Check(
ConfigurationManager.AppSettings["updateURL"]);
int iver,iver2;
int.TryParse(Application.ProductVersion.Replace(".",""), out iver);
int.TryParse(newver.Replace(".",""), out iver2);
if(iver2>iver)
{//has new version
if(!MyMsg.Question(LMSG.HaveNewVersion))
return;
}
else if(iver2>0)
{//now is last version
if(!showNew)
return;
if(!MyMsg.Question(LMSG.NowIsNewVersion))
return;
}
else
{
if(!showNew)
return;
MyMsg.Error(LMSG.CheckUpdateFail);
return;
}
if(CheckUpdate.DownLoad(
Path.Combine(Application.StartupPath, newver+".zip")))
MyMsg.Show(LMSG.DownloadSucceed);
else
MyMsg.Show(LMSG.DownloadFail);
}
public static void CutImages(string imgpath,string savepath)
{
imgSet.Init();
foreach(Card c in cardlist)
{
string jpg=Path.Combine(imgpath, c.id+".jpg");
string savejpg=Path.Combine(savepath, c.id+".jpg");
if(File.Exists(jpg)){
Bitmap bp=new Bitmap(jpg);
Bitmap bmp=null;
if(c.IsType(CardType.XYZ)){
bmp = MyBitmap.Cut(bp,
imgSet.xyz_x,imgSet.xyz_y,
imgSet.xyz_w,imgSet.xyz_h);
}
else if(c.IsType(CardType.PENDULUM)){
bmp = MyBitmap.Cut(bp,
imgSet.pendulum_x,imgSet.pendulum_y,
imgSet.pendulum_w,imgSet.pendulum_h);
}
else{
bmp = MyBitmap.Cut(bp,
imgSet.other_x,imgSet.other_y,
imgSet.other_w,imgSet.other_h);
}
MyBitmap.SaveAsJPEG(bmp, savejpg, imgSet.quilty);
}
}
}
public static void ToImg(string img,string saveimg1,string saveimg2){
imgSet.Init();
if(!File.Exists(img))
return;
Bitmap bmp=new Bitmap(img);
MyBitmap.SaveAsJPEG(MyBitmap.Zoom(bmp, imgSet.W, imgSet.H),
saveimg1, imgSet.quilty);
MyBitmap.SaveAsJPEG(MyBitmap.Zoom(bmp, imgSet.w, imgSet.h),
saveimg2, imgSet.quilty);
}
public static void Run(){
switch(nowTask){
case MyTask.CheckUpdate:
bool showNew=false;
if(mArgs!=null && mArgs.Length>=1){
showNew=(mArgs[0]==Boolean.TrueString)?true:false;
}
OnCheckUpdate(showNew);
break;
case MyTask.CopyDataBase:
if(mArgs!=null && mArgs.Length>=2){
string filename=mArgs[0];
bool replace=(mArgs[1]==Boolean.TrueString)?true:false;
DataBase.CopyDB(filename, replace,cardlist);
//
MyMsg.Show(LMSG.copyDBIsOK);
}
break;
case MyTask.CutImages:
if(mArgs!=null && mArgs.Length>=2){
CutImages(mArgs[0],mArgs[1]);
MyMsg.Show(LMSG.CutImageOK);
}
break;
case MyTask.SaveAsMSE:
if(mArgs!=null && mArgs.Length>=2){
MSE.Save(mArgs[0], cardlist, mArgs[1]);
MyMsg.Show(LMSG.SaveMseOK);
}
break;
}
nowTask=MyTask.NONE;
cardlist=null;
mArgs=null;
}
}
}
This diff is collapsed.
This diff is collapsed.
......@@ -56,9 +56,15 @@
<ItemGroup>
<Compile Include="Common\CheckUpdate.cs" />
<Compile Include="Common\DoubleContorl.cs" />
<Compile Include="Common\MyBitmap.cs" />
<Compile Include="Common\ZipStorer.cs" />
<Compile Include="Core\Card.cs" />
<Compile Include="Core\CardType.cs" />
<Compile Include="Core\DataBase.cs" />
<Compile Include="Core\DataManager.cs" />
<Compile Include="Core\ImageSet.cs" />
<Compile Include="Core\MSE.cs" />
<Compile Include="Core\TaskHelper.cs" />
<Compile Include="DataEditForm.cs" />
<Compile Include="DataEditForm.Designer.cs">
<DependentUpon>DataEditForm.cs</DependentUpon>
......@@ -80,6 +86,7 @@
<Folder Include="english" />
<Folder Include="Common" />
<Folder Include="Language" />
<Folder Include="mse" />
</ItemGroup>
<ItemGroup>
<None Include="app.config">
......@@ -145,6 +152,18 @@
<None Include="english\message.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="mse\readme.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="mse\download.bat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="mse\update.exe">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="mse\update.exe.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="readme.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
......
......@@ -49,6 +49,20 @@ public enum LMSG : uint
Author,
CdbType,
ydkType,
Setcode_error,
SelectImage,
ImageType,
RunError,
checkUpdate,
copyCards,
copyDBIsOK,
selectMseset,
MseType,
SaveMse,
SaveMseOK,
CutImage,
CutImageOK,
NoSelectCard,
COUNT,
}
}
......@@ -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("1.4.1.0")]
[assembly: AssemblyVersion("1.5.0.0")]
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<connectionStrings>
<!-- Example connection to a SQL Server Database on localhost. -->
<!-- <add name="ExampleConnectionString"
<connectionStrings>
<!-- Example connection to a SQL Server Database on localhost. -->
<!-- <add name="ExampleConnectionString"
connectionString="Data Source=.;Initial Catalog=DBName;Integrated Security=True"
providerName="System.Data.SqlClient" /> -->
</connectionStrings>
<appSettings>
<!-- access these values via the property:
</connectionStrings>
<appSettings>
<!-- access these values via the property:
System.Configuration.ConfigurationManager.AppSettings[key]
-->
<!-- language directory -->
<add key="language" value="chinese" />
<!-- DataEditorX source code -->
<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" />
</appSettings>
<!-- language directory -->
<add key="language" value="chinese" />
<!-- DataEditorX source code -->
<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 DataBase -->
<add key="cdb" value="cards.cdb" />
<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="13,46,150,120" />
</appSettings>
</configuration>
DataEditForm->btn_add 添加(&A)
DataEditForm->btn_del 删除(&D)
DataEditForm->btn_lua 脚本(&L)
DataEditForm->btn_img 导入卡图(&I)
DataEditForm->btn_undo 撤销(&U)
DataEditForm->btn_mod 修改(&M)
DataEditForm->btn_PageDown 下一页
......@@ -15,15 +16,20 @@ DataEditForm->lb_categorys 效果种类
DataEditForm->lb_pleft_right PScale
DataEditForm->lb_scripttext
DataEditForm->lb_tiptexts 提示文字
DataEditForm->lb_setcode 卡片系列(最多4个)
DataEditForm->lb_types 卡片种类
DataEditForm->lb2 /
DataEditForm->lb4 /
DataEditForm->lb5 /
DataEditForm->lv_cardlist0 卡片密码
DataEditForm->lv_cardlist1 卡片名称
DataEditForm->menuitem_openLastDataBase 最后打开的数据库
DataEditForm->menuitem_cutimages 裁剪列表卡片的图片
DataEditForm->menuitem_saveasmse_select 所选卡片导出MSE存档
DataEditForm->menuitem_saveasmse 当前所有卡片导出MSE存档
DataEditForm->menuitem_about 关于(&A)
DataEditForm->menuitem_checkupdate 检查更新
DataEditForm->menuitem_copyselectto 选中卡片复制到...
DataEditForm->menuitem_copyselectto 所选卡片复制到...
DataEditForm->menuitem_copyto 当前所有卡片复制到...
DataEditForm->menuitem_file 文件(&F)
DataEditForm->menuitem_github 源码主页
......
......@@ -33,4 +33,17 @@
0x20 作者:
0x21 cdb文件(*.cdb)|*.cdb|所有文件(*.*)|*.*
0x22 ydk文件(*.ydk)|*.ydk|所有文件(*.*)|*.*
0x23 COUNT
0x23 系列号输入出错!
0x24 选择卡片图像
0x25 jpg图像(*.jpg)|*.jpg|bmp图像(*.bmp)|*.bmp|png图像(*.png)|*.png|所有文件(*.*)|*.*
0x26 当前有其他任务正在进行
0x27 正在检查更新
0x28 正在复制卡片
0x29 卡片复制完成
0x2a 保存MSE存档
0x2b MSE存档文件(*.mse-set)|*.mse-set|所有文件(*.*)|*.*
0x2c 正在导出MSE存档
0x2d 导出MSE存档完成
0x2e 正在裁剪图片
0x2f 裁剪图片完成
0x30 没有选中一张卡片
\ No newline at end of file
DataEditForm->btn_add Add
DataEditForm->btn_del Delte
DataEditForm->btn_lua Lua
DataEditForm->btn_img Image
DataEditForm->btn_mod Modify
DataEditForm->btn_undo Undo
DataEditForm->btn_PageDown >>
......@@ -15,12 +16,17 @@ DataEditForm->lb_categorys Category
DataEditForm->lb_pleft_right PScale
DataEditForm->lb_scripttext
DataEditForm->lb_tiptexts TipText
DataEditForm->lb_setcode SetCode(Max 4)
DataEditForm->lb_types Card Type
DataEditForm->lb2 /
DataEditForm->lb4 /
DataEditForm->lb5 /
DataEditForm->lv_cardlist0 Card Code
DataEditForm->lv_cardlist1 Card Name
DataEditForm->menuitem_openLastDataBase Open Last DataBase
DataEditForm->menuitem_cutimages Cut Images For Game
DataEditForm->menuitem_saveasmse_select Select Cards Save As...
DataEditForm->menuitem_saveasmse All Now Cards Save As...
DataEditForm->menuitem_about About
DataEditForm->menuitem_checkupdate Check Update
DataEditForm->menuitem_copyselectto Slect Cards Copy To...
......
......@@ -33,3 +33,16 @@
0x20 Author :
0x21 cdb file(*.cdb)|*.cdb|all files(*.*)|*.*
0x22 ydk file(*.ydk)|*.ydk|all files(*.*)|*.*
0x23 SetCode Input Error!
0x24 Select Image For Card
0x25 jpg(*.jpg)|*.jpg|bmp(*.bmp)|*.bmp|png(*.png)|*.png|all files(*.*)|*.*
0x26 The Task is runing.
0x27 Check Update...
0x28 Copy Database...
0x29 Copy Database OK
0x2a Save Mse-set file
0x2b MSE set(*.mse-set)|*.mse-set|all files(*.*)|*.*
0x2c Export Mse-set
0x2d Export Mse-set OK
0x2e Cut Images...
0x2f Cut Images OK
\ No newline at end of file
@echo off
cd /d "%~dp0"
if exist update_new.exe move /y update_new.exe update.exe
start update.exe -d "%~dp0../" "https://github.com/247321453/MagicSetEditor2/raw/master/"
exit
\ No newline at end of file
客户端使用:
注意:
1、更新的时候,请不要打开游戏目录。
2、知道显示更新完成,才能关闭本程序。
3、客户端改名:
例如:
自动更新.exe
自动更新.exe.bat
自动更新.exe.config
设置:
保存的文件夹
key="path" value="D:\ygopro"
如果文件已经存在,则跳过,不存在则下载。
key="ignore1" value="textrue/*"
key="ignore上面的数字+1" value="忽略文件的相对路径,允许通配符*"
下载的地址(最后必须为/)
key="url" value="https://github.com/247321453/ygocore-update/raw/master/"
代理设置(可无视)
useproxy的value为true(小写),则通过代理下载文件
key="useproxy" value="false"
key="proxy" value="127.0.0.1:8080"
服务端使用:
运行update.exe.bat,即可生成对应的文件列表
update.exe -m "【需要更新的文件夹】"
【需要更新的文件夹】后最后不能为\
例如:
错误 update.exe -m "D:\pro files\"
正确 update.exe -m "D:\pro files"
注意:
【需要更新的文件夹】为D:\game
update.exe在D:\game\update 【需要更新的文件夹】的子目录
则可以直接使用update.exe -m
结果保存在 【需要更新的文件夹】\update
然后再修改rename和delete文件的内容
注意:delete先执行
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!-- <startup>
<supportedRuntime version="vv2.0.50727" sku=".NETFramework,Version=vv2.0.50727" />
</startup> -->
<appSettings>
<!-- access these values via the property:
System.Configuration.ConfigurationManager.AppSettings[key]
-->
<add key="url" value="https://github.com/247321453/MagicSetEditor2/raw/master/" />
<!-- game save path -->
<add key="path" value="D:\Magic Set Editor 2" />
<!-- use proxy -->
<add key="useproxy" value="false" />
<add key="proxy" value="127.0.0.1:8080" />
<!-- if file exitis then no download -->
<add key="ignore1" value="update/update.exe" />
</appSettings>
</configuration>
\ No newline at end of file
[DataEditorX]1.4.1.0[DataEditorX]
[DataEditorX]1.5.0.0[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
★支持关联cdb文件,命令参数启动。
关联cdb文件:
请确保DataEditorX的文件夹名固定不变,然后右键随意一个cdb文件,打开方式--浏览--DataEditorX.exe。确定。
......@@ -41,6 +43,10 @@ DataEditorX.exe.config
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
1.5.0.0
修复卡名搜索,读取ydk,读取图片
添加导出MSE存档,裁剪图片
可以记住最后打开数据库
1.4.1.0
添加撤销上一次操作。
1.4.0.0
......
No preview for this file type
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<connectionStrings>
<!-- Example connection to a SQL Server Database on localhost. -->
<!-- <add name="ExampleConnectionString"
<connectionStrings>
<!-- Example connection to a SQL Server Database on localhost. -->
<!-- <add name="ExampleConnectionString"
connectionString="Data Source=.;Initial Catalog=DBName;Integrated Security=True"
providerName="System.Data.SqlClient" /> -->
</connectionStrings>
<appSettings>
<!-- access these values via the property:
</connectionStrings>
<appSettings>
<!-- access these values via the property:
System.Configuration.ConfigurationManager.AppSettings[key]
-->
<!-- language directory -->
<add key="language" value="chinese" />
<!-- DataEditorX source code -->
<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" />
</appSettings>
<!-- language directory -->
<add key="language" value="chinese" />
<!-- DataEditorX source code -->
<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 DataBase -->
<add key="cdb" value="cards.cdb" />
<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="13,46,150,120" />
</appSettings>
</configuration>
0x0 卡片属性
0x1 地
0x2 水
0x4 炎
0x8 风
0x10 光
0x20 暗
0x40 神
\ No newline at end of file
0x1 魔陷破坏
0x2 怪兽破坏
0x4 卡片除外
0x8 送去墓地
0x10 返回手牌
0x20 返回卡组
0x40 手牌破坏
0x80 卡组破坏
0x100 抽卡辅助
0x200 卡组检索
0x400 卡片回收
0x800 表示变更
0x1000 控制权
0x2000 攻守变化
0x4000 贯穿伤害
0x8000 多次攻击
0x10000 攻击限制
0x20000 直接攻击
0x40000 特殊召唤
0x80000 衍生物
0x100000 种族相关
0x200000 属性相关
0x400000 LP伤害
0x800000 LP回复
0x1000000 破坏耐性
0x2000000 效果耐性
0x4000000 指示物
0x8000000 赌博相关
0x10000000 融合相关
0x20000000 同调相关
0x40000000 超量相关
0x80000000 效果无效
\ No newline at end of file
0x0 卡片等级/阶级
0x1 1★
0x2 2★
0x3 3★
0x4 4★
0x5 5★
0x6 6★
0x7 7★
0x8 8★
0x9 9★
0xa 10★
0xb 11★
0xc 12★
0xd 13★
\ No newline at end of file
0x0 卡片种族
0x1 战士
0x2 魔法使
0x4 天使
0x8 恶魔
0x10 不死
0x20 机械
0x40 水
0x80 炎
0x100 岩石
0x200 鸟兽
0x400 植物
0x800 昆虫
0x1000 雷
0x2000 龙
0x4000 兽
0x8000 兽战士
0x10000 恐龙
0x20000 鱼
0x40000 海龙
0x80000 爬虫类
0x100000 念动力
0x200000 幻神兽
0x400000 创造神
0x800000 幻龙
\ No newline at end of file
0x0 卡片规则
0x1 OCG专有
0x2 TCG专有
0x3 OCG&TCG
0x4 Anime/DIY
\ No newline at end of file
0x0 卡片系列
0x1 A·O·J
0x2 ジェネクス
0x1002 レアル·ジェネクス
0x2002 A·ジェネクス
0x4 アマズネス
0x5 アルカナフォース
0x6 暗黑界
0x7 アンティーク・ギア
0x8 HERO
0x3008 E·HERO
0x6008 E-HERO
0xc008 D·HERO
0x5008 V·HERO
0xa008 M·HERO
0x9 ネオス
0xa ヴェルズ
0x100a インヴェルズ
0xb インフェルニティ
0xc エーリアン
0xd セイバー
0x100d X-セイバー
0x300d XX-セイバー
0xe エレキ
0xf オジャマ
0x10 ガスタ
0x11 カラクリ
0x12 ガエル
0x13 機皇
0x3013 機皇帝
0x6013 機皇兵
0x14 ------
0x15 巨大戦艦
0x16 ロイド
0x17 シンクロン
0x18 雲魔物
0x19 剣闘獣
0x1a 黒蠍
0x1b 幻獣
0x101b 幻獣機
0x1c 幻魔
0x1d コアキメイル
0x1e C(コクーン)
0x1f N(ネオスペーシアン)
0x20 紫炎
0x21 地縛神
0x22 ジュラック
0x23 SIN
0x24 スクラップ
0x25 C(チェーン)
0x26 D(ディフォーマー)
0x27 TG(テックジーナス)
0x28 電池メン
0x29 ドラグニティ
0x2a ナチュル
0x2b 忍者
0x102b 機甲忍者
0x2c フレムベル
0x2d ハーピィ
0x2e 墓守
0x2f 氷結界
0x30 ヴァイロン
0x31 フォーチュンレディ
0x32 ヴォルカニック
0x33 BF(ブラックフェザー)
0x34 宝玉獣
0x35 魔轟神
0x1035 魔轟神獣
0x36 マシンナーズ
0x37 霞の谷
0x38 ライトロード
0x39 ラヴァル
0x3a リチュア
0x3b レッドアイズ
0x3c レプティレス
0x3d 六武衆
0x3e ワーム
0x3f セイヴァ
0x40 封印されし
0x41 LV
0x42 極星
0x3042 極星天
0x6042 極星獣
0xa042 極星霊
0x5042 極星宝
0x43 ジャンク
0x44 代行者
0x45 デーモン
0x46 融合/フュージョン
0x47 ジェム
0x1047 ジェムナイト
0x48 NO
0x1048 CNO
0x49 铳士
0x4a 時械神
0x4b 極神
0x4c 落とし穴
0x4e エヴォル
0x304e エヴォルド
0x604e エヴォルダ
0x504e エヴォルカイザー
0x4f バスター
0x104f /バスター
0x50 ヴェノム
0x51 ガジェット
0x52 ガーディアン
0x53 セイクリッド
0x54 ガガガ
0x55 フォトン
0x56 甲虫装機
0x57 リゾネーター
0x58 ゼンマイ
0x59 ゴゴゴ
0x5a ペンギン
0x5b トマボー
0x5c スフィンクス
0x60 竹光
0x61 忍法
0x62 トゥーン
0x63 リアクター
0x64 ハーピィ
0x65 侵略の
0x66 音響戦士
0x67 アイアン
0x68 ブリキ
0x69 聖刻
0x6a 幻蝶の刺客
0x6b バウンサー
0x6c ライトレイ
0x6d 魔人
0x306d 竜魔人
0x606d 儀式魔人
0x6e 魔導
0x106e 魔導書
0x6f ヒロイック
0x106f H・C
0x206f H-C
0x70 先史遺産
0x71 マドルチェ
0x72 ギアギア
0x1072 ギアギアーノ
0x73 エクシーズ
0x1073 CX
0x74 水精鱗
0x75 アビス
0x76 紋章獣
0x77 海皇
0x78 素早い
0x79 炎星
0x7a Nobel
0x107a NobelKnight
0x207a NobelArms
0x7b ギャラクシー
0x107b ギャラクシーアイズ
0x307b 银河眼时空龙
0x7c 炎舞
0x7d ヘイズ
0x107d 陽炎獣
0x7e ZW
0x7f 希望皇ホープ
0x80 ダストン
0x81 炎王
0x1081 炎王獣
0x82 ドドド
0x83 ギミック・パペット
0x84 BK
0x85 SDロボ
0x86 光天使
0x87 アンブラル
0x88 武神
0x1088 武神器
0x89 ホール
0x8a 蟲惑
0x108a 蟲惑魔
0x8b マリスボラス
0x8c ドルイド
0x8d ゴーストリック
0x8e ヴァンパイア
0x8f ズババ
0x90 森羅
0x91 ネクロバレー
0x92 メダリオン
0x93 サイバー
0x1093 サイバー・ドラゴン
0x94 サイバネティック
0x95 RUM
0x96 フィッシュボーグ
0x97 アーティファクト
0x98 「魔术师」
0x99 「异色眼」
0x9a 「超重武者」
0x9b 「幻奏」
0x9c 「テラナイト」
0x9d 「影依」
0x9e 「龙星」
0x100 同调士相关同调怪兽
0x101 奇迹同调融合相关怪兽
0x102 暗黑融合限定怪兽
0x103 电子龙限定素材的融合怪兽
\ No newline at end of file
0x1 怪兽
0x2 魔法
0x4 陷阱
0x8 N/A
0x10 通常
0x20 效果
0x40 融合
0x80 仪式
0x100 N/A
0x200 灵魂
0x400 同盟
0x800 二重
0x1000 调整
0x2000 同调
0x4000 衍生物
0x8000 N/A
0x10000 速攻
0x20000 永续
0x40000 装备
0x80000 场地
0x100000 反击
0x200000 反转
0x400000 卡通
0x800000 超量
0x1000000 摇摆
\ No newline at end of file
DataEditForm->btn_add 添加(&A)
DataEditForm->btn_del 删除(&D)
DataEditForm->btn_lua 脚本(&L)
DataEditForm->btn_img 导入卡图(&I)
DataEditForm->btn_undo 撤销(&U)
DataEditForm->btn_mod 修改(&M)
DataEditForm->btn_PageDown 下一页
DataEditForm->btn_PageUp 上一页
DataEditForm->btn_reset 重置(&R)
DataEditForm->btn_serach 搜索(&S)
DataEditForm->DataEditForm DataEditorX by 247321453
DataEditForm->lb_atkdef ATK/DEF
DataEditForm->lb_cardalias 同名卡
DataEditForm->lb_cardcode 卡片密码
DataEditForm->lb_categorys 效果种类
DataEditForm->lb_pleft_right PScale
DataEditForm->lb_scripttext
DataEditForm->lb_tiptexts 提示文字
DataEditForm->lb_setcode 卡片系列(最多4个)
DataEditForm->lb_types 卡片种类
DataEditForm->lb2 /
DataEditForm->lb4 /
DataEditForm->lb5 /
DataEditForm->lv_cardlist0 卡片密码
DataEditForm->lv_cardlist1 卡片名称
DataEditForm->menuitem_openLastDataBase 最后打开的数据库
DataEditForm->menuitem_cutimages 裁剪列表卡片的图片
DataEditForm->menuitem_saveasmse_select 所选卡片导出MSE存档
DataEditForm->menuitem_saveasmse 当前所有卡片导出MSE存档
DataEditForm->menuitem_about 关于(&A)
DataEditForm->menuitem_checkupdate 检查更新
DataEditForm->menuitem_copyselectto 所选卡片复制到...
DataEditForm->menuitem_copyto 当前所有卡片复制到...
DataEditForm->menuitem_file 文件(&F)
DataEditForm->menuitem_github 源码主页
DataEditForm->menuitem_help 帮助(&H)
DataEditForm->menuitem_new 新建(&N)
DataEditForm->menuitem_open 打开(&O)
DataEditForm->menuitem_quit 退出(&Q)
DataEditForm->menuitem_readimages 从图像文件夹读取
DataEditForm->menuitem_readydk 从ydk文件读取
\ No newline at end of file
0x0 提示
0x1 错误
0x2 警告
0x3 询问
0x4 创建成功!
0x5 创建失败!
0x6 添加成功!
0x7 添加失败!
0x8 密码不能为0!
0x9 已经存在!
0xa 内容没有改变。
0xb 是否删除卡片?
0xc 是否创建脚本文件?
0xd 是否打开数据库?
0xe 是否替换已经存在的卡片?
0xf 已经是最新版本了。/n需要重新下载,请点击“确定”重新下载。
0x10 检查更新失败,请检查网络。
0x11 发现新的版本,是否更新?
0x12 文件不存在!
0x13 没有选择数据库!
0x14 选择数据库文件
0x15 选择ydk文件
0x16 选择图像目录
0x17 下载成功!
0x18 下载失败!
0x19 没有选中脚本文本!
0x1a 删除成功!
0x1b 删除失败!
0x1c 修改成功!
0x1d 修改失败!
0x1e 关于:
0x1f 版本:
0x20 作者:
0x21 cdb文件(*.cdb)|*.cdb|所有文件(*.*)|*.*
0x22 ydk文件(*.ydk)|*.ydk|所有文件(*.*)|*.*
0x23 系列号输入出错!
0x24 选择卡片图像
0x25 jpg图像(*.jpg)|*.jpg|bmp图像(*.bmp)|*.bmp|png图像(*.png)|*.png|所有文件(*.*)|*.*
0x26 当前有其他任务正在进行
0x27 正在检查更新
0x28 正在复制卡片
0x29 卡片复制完成
0x2a 保存MSE存档
0x2b MSE存档文件(*.mse-set)|*.mse-set|所有文件(*.*)|*.*
0x2c 正在导出MSE存档
0x2d 导出MSE存档完成
0x2e 正在裁剪图片
0x2f 裁剪图片完成
0x30 没有选中一张卡片
\ No newline at end of file
0x0 Atribute
0x1 Earth
0x2 Water
0x4 Fire
0x8 Wind
0x10 Light
0x20 Dark
0x40 Divine
\ No newline at end of file
0x1 S/T Destroy
0x2 Destroy Monster
0x4 Banish
0x8 Graveyard
0x10 Back to Hand
0x20 Back to Deck
0x40 Destroy Hand
0x80 Destroy Deck
0x100 Draw
0x200 Search
0x400 Recovery
0x800 Position
0x1000 Control
0x2000 Change ATK/DEF
0x4000 Piercing
0x8000 Repeat Attack
0x10000 Limit Attack
0x20000 Direct Attack
0x40000 Special Summon
0x80000 Token
0x100000 Type-Related
0x200000 Property-Related
0x400000 Damage LP
0x800000 Recover LP
0x1000000 Destroy
0x2000000 Select
0x4000000 Counter
0x8000000 Gamble
0x10000000 Fusion-Related
0x20000000 Tuner-Related
0x40000000 Xyz-Related
0x80000000 Negate Effect
0x0 Level/Rank
0x1 1★
0x2 2★
0x3 3★
0x4 4★
0x5 5★
0x6 6★
0x7 7★
0x8 8★
0x9 9★
0xa 10★
0xb 11★
0xc 12★
0xd 13★
\ No newline at end of file
0x0 Race
0x1 Warrior
0x2 Spellcaster
0x4 Fairy
0x8 Fiend
0x10 Zombie
0x20 Machine
0x40 Aqua
0x80 Pyro
0x100 Rock
0x200 Winged Beast
0x400 Plant
0x800 Insect
0x1000 Thunder
0x2000 Dragon
0x4000 Beast
0x80000 Beast-Warrior
0x10000 Dinosaur
0x20000 Fish
0x40000 Sea Serpent
0x80000 Reptile
0x100000 Psychic
0x200000 Divine-Beast
0x400000 Creator God
0x800000 Wyrm
0x0 Rule
0x1 OCG
0x2 TCG
0x3 OCG&TCG
0x4 Anime/DIY
\ No newline at end of file
0x0 SetName
0x1 A·O·J
0x2 ジェネクス
0x1002 レアル·ジェネクス
0x2002 A·ジェネクス
0x4 アマズネス
0x5 アルカナフォース
0x6 暗黑界
0x7 アンティーク・ギア
0x8 HERO
0x3008 E·HERO
0x6008 E-HERO
0xc008 D·HERO
0x5008 V·HERO
0xa008 M·HERO
0x9 ネオス
0xa ヴェルズ
0x100a インヴェルズ
0xb インフェルニティ
0xc エーリアン
0xd セイバー
0x100d X-セイバー
0x300d XX-セイバー
0xe エレキ
0xf オジャマ
0x10 ガスタ
0x11 カラクリ
0x12 ガエル
0x13 機皇
0x3013 機皇帝
0x6013 機皇兵
0x14 ------
0x15 巨大戦艦
0x16 ロイド
0x17 シンクロン
0x18 雲魔物
0x19 剣闘獣
0x1a 黒蠍
0x1b 幻獣
0x101b 幻獣機
0x1c 幻魔
0x1d コアキメイル
0x1e C(コクーン)
0x1f N(ネオスペーシアン)
0x20 紫炎
0x21 地縛神
0x22 ジュラック
0x23 SIN
0x24 スクラップ
0x25 C(チェーン)
0x26 D(ディフォーマー)
0x27 TG(テックジーナス)
0x28 電池メン
0x29 ドラグニティ
0x2a ナチュル
0x2b 忍者
0x102b 機甲忍者
0x2c フレムベル
0x2d ハーピィ
0x2e 墓守
0x2f 氷結界
0x30 ヴァイロン
0x31 フォーチュンレディ
0x32 ヴォルカニック
0x33 BF(ブラックフェザー)
0x34 宝玉獣
0x35 魔轟神
0x1035 魔轟神獣
0x36 マシンナーズ
0x37 霞の谷
0x38 ライトロード
0x39 ラヴァル
0x3a リチュア
0x3b レッドアイズ
0x3c レプティレス
0x3d 六武衆
0x3e ワーム
0x3f セイヴァ
0x40 封印されし
0x41 LV
0x42 極星
0x3042 極星天
0x6042 極星獣
0xa042 極星霊
0x5042 極星宝
0x43 ジャンク
0x44 代行者
0x45 デーモン
0x46 融合/フュージョン
0x47 ジェム
0x1047 ジェムナイト
0x48 NO
0x1048 CNO
0x49 铳士
0x4a 時械神
0x4b 極神
0x4c 落とし穴
0x4e エヴォル
0x304e エヴォルド
0x604e エヴォルダ
0x504e エヴォルカイザー
0x4f バスター
0x104f /バスター
0x50 ヴェノム
0x51 ガジェット
0x52 ガーディアン
0x53 セイクリッド
0x54 ガガガ
0x55 フォトン
0x56 甲虫装機
0x57 リゾネーター
0x58 ゼンマイ
0x59 ゴゴゴ
0x5a ペンギン
0x5b トマボー
0x5c スフィンクス
0x60 竹光
0x61 忍法
0x62 トゥーン
0x63 リアクター
0x64 ハーピィ
0x65 侵略の
0x66 音響戦士
0x67 アイアン
0x68 ブリキ
0x69 聖刻
0x6a 幻蝶の刺客
0x6b バウンサー
0x6c ライトレイ
0x6d 魔人
0x306d 竜魔人
0x606d 儀式魔人
0x6e 魔導
0x106e 魔導書
0x6f ヒロイック
0x106f H・C
0x206f H-C
0x70 先史遺産
0x71 マドルチェ
0x72 ギアギア
0x1072 ギアギアーノ
0x73 エクシーズ
0x1073 CX
0x74 水精鱗
0x75 アビス
0x76 紋章獣
0x77 海皇
0x78 素早い
0x79 炎星
0x7a Nobel
0x107a NobelKnight
0x207a NobelArms
0x7b ギャラクシー
0x107b ギャラクシーアイズ
0x307b 银河眼时空龙
0x7c 炎舞
0x7d ヘイズ
0x107d 陽炎獣
0x7e ZW
0x7f 希望皇ホープ
0x80 ダストン
0x81 炎王
0x1081 炎王獣
0x82 ドドド
0x83 ギミック・パペット
0x84 BK
0x85 SDロボ
0x86 光天使
0x87 アンブラル
0x88 武神
0x1088 武神器
0x89 ホール
0x8a 蟲惑
0x108a 蟲惑魔
0x8b マリスボラス
0x8c ドルイド
0x8d ゴーストリック
0x8e ヴァンパイア
0x8f ズババ
0x90 森羅
0x91 ネクロバレー
0x92 メダリオン
0x93 サイバー
0x1093 サイバー・ドラゴン
0x94 サイバネティック
0x95 RUM
0x96 フィッシュボーグ
0x97 アーティファクト
0x98 「魔术师」
0x99 「异色眼」
0x9a 「超重武者」
0x9b 「幻奏」
0x9c 「テラナイト」
0x9d 「影依」
0x9e 「龙星」
0x100 同调士相关同调怪兽
0x101 奇迹同调融合相关怪兽
0x102 暗黑融合限定怪兽
0x103 电子龙限定素材的融合怪兽
\ No newline at end of file
0x1 Monster
0x2 Spell
0x4 Trap
0x8 N/A
0x10 Normal
0x20 Effect
0x40 Fusion
0x80 Ritual
0x100 T-Monster
0x200 Spirit
0x400 Union
0x800 Gemini
0x1000 Tuner
0x2000 Synchro
0x4000 Token
0x8000 N/A
0x10000 Quick-Play
0x20000 Continuous
0x40000 Equip
0x80000 Field
0x100000 Counter
0x200000 Flip
0x400000 Toon
0x800000 Xyz
0x1000000 Pendulum
DataEditForm->btn_add Add
DataEditForm->btn_del Delte
DataEditForm->btn_lua Lua
DataEditForm->btn_img Image
DataEditForm->btn_mod Modify
DataEditForm->btn_undo Undo
DataEditForm->btn_PageDown >>
DataEditForm->btn_PageUp <<
DataEditForm->btn_reset Rest
DataEditForm->btn_serach Search
DataEditForm->DataEditForm DataEditorX by 247321453
DataEditForm->lb_atkdef ATK/DEF
DataEditForm->lb_cardalias Alias
DataEditForm->lb_cardcode Card Code
DataEditForm->lb_categorys Category
DataEditForm->lb_pleft_right PScale
DataEditForm->lb_scripttext
DataEditForm->lb_tiptexts TipText
DataEditForm->lb_setcode SetCode(Max 4)
DataEditForm->lb_types Card Type
DataEditForm->lb2 /
DataEditForm->lb4 /
DataEditForm->lb5 /
DataEditForm->lv_cardlist0 Card Code
DataEditForm->lv_cardlist1 Card Name
DataEditForm->menuitem_openLastDataBase Open Last DataBase
DataEditForm->menuitem_cutimages Cut Images For Game
DataEditForm->menuitem_saveasmse_select Select Cards Save As...
DataEditForm->menuitem_saveasmse All Now Cards Save As...
DataEditForm->menuitem_about About
DataEditForm->menuitem_checkupdate Check Update
DataEditForm->menuitem_copyselectto Slect Cards Copy To...
DataEditForm->menuitem_copyto Now All Cards Copy To...
DataEditForm->menuitem_file File
DataEditForm->menuitem_github Github
DataEditForm->menuitem_help Help
DataEditForm->menuitem_new New
DataEditForm->menuitem_open Open
DataEditForm->menuitem_quit Quit
DataEditForm->menuitem_readimages Read for Image Folder
DataEditForm->menuitem_readydk Read for ydk file
\ No newline at end of file
0x0 Info
0x1 Error
0x2 Warning
0x3 Question
0x4 Create succeed!
0x5 Create fail!
0x6 Add succeed!
0x7 Add fail!
0x8 Code can't is 0!
0x9 It's exitis!
0xa It's no changed.
0xb If delete Card(s)?
0xc If create script file?
0xd If open database?
0xe If replace exitis cards?
0xf It's new version./nWhether you need to download again?
0x10 Check update fail,/nPlease Check Network.
0x11 Find a new version,/nIf Download it?
0x12 File is't exitis!
0x13 No select database!
0x14 select database file
0x15 select ydk file
0x16 selcet image folder
0x17 Download succeed!
0x18 Download fail!
0x19 No slect script text!
0x1a Delete succeed!
0x1b Delete fail!
0x1c Modify succeed!
0x1d Modify fail!
0x1e About :
0x1f Version:
0x20 Author :
0x21 cdb file(*.cdb)|*.cdb|all files(*.*)|*.*
0x22 ydk file(*.ydk)|*.ydk|all files(*.*)|*.*
0x23 SetCode Input Error!
0x24 Select Image For Card
0x25 jpg(*.jpg)|*.jpg|bmp(*.bmp)|*.bmp|png(*.png)|*.png|all files(*.*)|*.*
0x26 The Task is runing.
0x27 Check Update...
0x28 Copy Database...
0x29 Copy Database OK
0x2a Save Mse-set file
0x2b MSE set(*.mse-set)|*.mse-set|all files(*.*)|*.*
0x2c Export Mse-set
0x2d Export Mse-set OK
0x2e Cut Images...
0x2f Cut Images OK
\ No newline at end of file
@echo off
cd /d "%~dp0"
if exist update_new.exe move /y update_new.exe update.exe
start update.exe -d "%~dp0../" "https://github.com/247321453/MagicSetEditor2/raw/master/"
exit
\ No newline at end of file
客户端使用:
注意:
1、更新的时候,请不要打开游戏目录。
2、知道显示更新完成,才能关闭本程序。
3、客户端改名:
例如:
自动更新.exe
自动更新.exe.bat
自动更新.exe.config
设置:
保存的文件夹
key="path" value="D:\ygopro"
如果文件已经存在,则跳过,不存在则下载。
key="ignore1" value="textrue/*"
key="ignore上面的数字+1" value="忽略文件的相对路径,允许通配符*"
下载的地址(最后必须为/)
key="url" value="https://github.com/247321453/ygocore-update/raw/master/"
代理设置(可无视)
useproxy的value为true(小写),则通过代理下载文件
key="useproxy" value="false"
key="proxy" value="127.0.0.1:8080"
服务端使用:
运行update.exe.bat,即可生成对应的文件列表
update.exe -m "【需要更新的文件夹】"
【需要更新的文件夹】后最后不能为\
例如:
错误 update.exe -m "D:\pro files\"
正确 update.exe -m "D:\pro files"
注意:
【需要更新的文件夹】为D:\game
update.exe在D:\game\update 【需要更新的文件夹】的子目录
则可以直接使用update.exe -m
结果保存在 【需要更新的文件夹】\update
然后再修改rename和delete文件的内容
注意:delete先执行
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!-- <startup>
<supportedRuntime version="vv2.0.50727" sku=".NETFramework,Version=vv2.0.50727" />
</startup> -->
<appSettings>
<!-- access these values via the property:
System.Configuration.ConfigurationManager.AppSettings[key]
-->
<add key="url" value="https://github.com/247321453/MagicSetEditor2/raw/master/" />
<!-- game save path -->
<add key="path" value="D:\Magic Set Editor 2" />
<!-- use proxy -->
<add key="useproxy" value="false" />
<add key="proxy" value="127.0.0.1:8080" />
<!-- if file exitis then no download -->
<add key="ignore1" value="update/update.exe" />
</appSettings>
</configuration>
\ No newline at end of file
[DataEditorX]1.4.1.0[DataEditorX]
[DataEditorX]1.5.0.0[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
★支持关联cdb文件,命令参数启动。
关联cdb文件:
请确保DataEditorX的文件夹名固定不变,然后右键随意一个cdb文件,打开方式--浏览--DataEditorX.exe。确定。
......@@ -41,6 +43,10 @@ DataEditorX.exe.config
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
1.5.0.0
修复卡名搜索,读取ydk,读取图片
添加导出MSE存档,裁剪图片
可以记住最后打开数据库
1.4.1.0
添加撤销上一次操作。
1.4.0.0
......
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