Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
DataEditorX
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
DataEditorX
Commits
2b1fef05
Commit
2b1fef05
authored
Oct 27, 2014
by
keyongyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.2.6.0
parent
88a6406b
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
314 additions
and
156 deletions
+314
-156
DataEditorX/Core/DataBase.cs
DataEditorX/Core/DataBase.cs
+6
-10
DataEditorX/Core/MSE.cs
DataEditorX/Core/MSE.cs
+12
-1
DataEditorX/Core/MSEConfig.cs
DataEditorX/Core/MSEConfig.cs
+27
-0
DataEditorX/Core/TaskHelper.cs
DataEditorX/Core/TaskHelper.cs
+41
-11
DataEditorX/DataEditForm.Designer.cs
DataEditorX/DataEditForm.Designer.cs
+0
-1
DataEditorX/DataEditForm.cs
DataEditorX/DataEditForm.cs
+9
-17
DataEditorX/DataEditorX.csproj
DataEditorX/DataEditorX.csproj
+3
-0
DataEditorX/MainForm.cs
DataEditorX/MainForm.cs
+3
-8
DataEditorX/Properties/AssemblyInfo.cs
DataEditorX/Properties/AssemblyInfo.cs
+1
-1
DataEditorX/app.config
DataEditorX/app.config
+2
-2
DataEditorX/chinese/mse-config.txt
DataEditorX/chinese/mse-config.txt
+3
-0
DataEditorX/english/mse-config.txt
DataEditorX/english/mse-config.txt
+3
-0
DataEditorX/readme.txt
DataEditorX/readme.txt
+29
-42
DataEditorX/readme_en.txt
DataEditorX/readme_en.txt
+68
-0
win32/DataEditorX.exe
win32/DataEditorX.exe
+0
-0
win32/DataEditorX.exe.config
win32/DataEditorX.exe.config
+2
-2
win32/chinese/history.txt
win32/chinese/history.txt
+2
-2
win32/chinese/mse-config.txt
win32/chinese/mse-config.txt
+3
-0
win32/english/mse-config.txt
win32/english/mse-config.txt
+3
-0
win32/english_readme.txt
win32/english_readme.txt
+0
-17
win32/readme.txt
win32/readme.txt
+29
-42
win32/readme_en.txt
win32/readme_en.txt
+68
-0
win32/win32.zip
win32/win32.zip
+0
-0
No files found.
DataEditorX/Core/DataBase.cs
View file @
2b1fef05
...
...
@@ -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
());
...
...
DataEditorX/Core/MSE.cs
View file @
2b1fef05
...
...
@@ -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
))
{
...
...
DataEditorX/Core/MSEConfig.cs
View file @
2b1fef05
...
...
@@ -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
;
...
...
DataEditorX/Core/TaskHelper.cs
View file @
2b1fef05
...
...
@@ -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
(
savep
ath
,
c
.
id
+
".jpg"
);
string
savejpg
=
MyPath
.
Combine
(
mseHelper
.
ImageP
ath
,
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
);
SaveMSE
s
(
mArgs
[
0
],
cardlist
,
replace
);
}
break
;
case
MyTask
.
ConvertImages
:
...
...
DataEditorX/DataEditForm.Designer.cs
View file @
2b1fef05
...
...
@@ -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
//
...
...
DataEditorX/DataEditForm.cs
View file @
2b1fef05
...
...
@@ -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
);
...
...
DataEditorX/DataEditorX.csproj
View file @
2b1fef05
...
...
@@ -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
DataEditorX/MainForm.cs
View file @
2b1fef05
...
...
@@ -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
();
}
...
...
DataEditorX/Properties/AssemblyInfo.cs
View file @
2b1fef05
...
...
@@ -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"
)]
DataEditorX/app.config
View file @
2b1fef05
...
...
@@ -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
-->
...
...
DataEditorX/chinese/mse-config.txt
View file @
2b1fef05
...
...
@@ -2,6 +2,9 @@
# Magic Set Editor 2
########################### Chs 2 Cht
cn2tw = true
########################### Setting
maxcount = 0
imagepath = ./Images
########################### Spell/Trap
#jp setting
# spell = %%
...
...
DataEditorX/english/mse-config.txt
View file @
2b1fef05
...
...
@@ -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/readme.txt
View file @
2b1fef05
[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
...
...
DataEditorX/readme_en.txt
0 → 100644
View file @
2b1fef05
★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
win32/DataEditorX.exe
View file @
2b1fef05
No preview for this file type
win32/DataEditorX.exe.config
View file @
2b1fef05
...
...
@@ -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
-->
...
...
win32/chinese/history.txt
View file @
2b1fef05
# 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
...
...
win32/chinese/mse-config.txt
View file @
2b1fef05
...
...
@@ -2,6 +2,9 @@
# Magic Set Editor 2
########################### Chs 2 Cht
cn2tw = true
########################### Setting
maxcount = 0
imagepath = ./Images
########################### Spell/Trap
#jp setting
# spell = %%
...
...
win32/english/mse-config.txt
View file @
2b1fef05
...
...
@@ -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%%]
...
...
win32/english_readme.txt
deleted
100644 → 0
View file @
88a6406b
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
win32/readme.txt
View file @
2b1fef05
[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
...
...
win32/readme_en.txt
0 → 100644
View file @
2b1fef05
★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
win32/win32.zip
View file @
2b1fef05
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment