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
0
Issues
0
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
聖園ミカ
DataEditorX
Commits
b1189c20
Commit
b1189c20
authored
Oct 25, 2014
by
keyongyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.2.3.0
parent
1a6cfad1
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
36 additions
and
14 deletions
+36
-14
DataEditorX/Core/MSE.cs
DataEditorX/Core/MSE.cs
+14
-4
DataEditorX/Core/MSEConvert.cs
DataEditorX/Core/MSEConvert.cs
+5
-4
DataEditorX/Core/TaskHelper.cs
DataEditorX/Core/TaskHelper.cs
+1
-0
DataEditorX/Properties/AssemblyInfo.cs
DataEditorX/Properties/AssemblyInfo.cs
+1
-1
DataEditorX/readme.txt
DataEditorX/readme.txt
+6
-1
win32/DataEditorX.exe
win32/DataEditorX.exe
+0
-0
win32/chinese/history.txt
win32/chinese/history.txt
+3
-3
win32/readme.txt
win32/readme.txt
+6
-1
win32/win32.zip
win32/win32.zip
+0
-0
No files found.
DataEditorX/Core/MSE.cs
View file @
b1189c20
...
...
@@ -45,13 +45,23 @@ public string[] WriteSet(string file,Card[] cards,string pic)
{
string
jpg
=
Path
.
Combine
(
pic
,
c
.
id
+
".jpg"
);
string
jpg1
=
Path
.
Combine
(
pic
,
c
.
idString
+
".jpg"
);
if
(
File
.
Exists
(
jpg1
)){
string
jpg2
=
Path
.
Combine
(
pic
,
c
.
name
+
".jpg"
);
if
(
File
.
Exists
(
jpg
)){
list
.
Add
(
jpg
);
jpg
=
Path
.
GetFileName
(
jpg
);
}
else
if
(
File
.
Exists
(
jpg1
)){
list
.
Add
(
jpg1
);
jpg
=
Path
.
GetFileName
(
jpg1
);
}
else
if
(
File
.
Exists
(
jpg
)){
list
.
Add
(
jpg
);
jpg
=
Path
.
GetFileName
(
jpg
);
else
if
(
File
.
Exists
(
jpg2
)){
File
.
Copy
(
jpg2
,
jpg
,
true
);
if
(
File
.
Exists
(
jpg
)){
//复制失败
list
.
Add
(
jpg
);
jpg
=
Path
.
GetFileName
(
jpg
);
}
else
jpg
=
""
;
}
else
jpg
=
""
;
...
...
DataEditorX/Core/MSEConvert.cs
View file @
b1189c20
...
...
@@ -109,6 +109,7 @@ public string[] GetTypes(Card c)
types
[
0
]=
"token card"
;
else
types
[
0
]=
"token monster"
;
types
[
1
]=
GetType
(
CardType
.
TYPE_TOKEN
);
}
else
if
(
c
.
IsType
(
CardType
.
TYPE_RITUAL
)){
types
[
0
]=
"ritual monster"
;
...
...
@@ -159,11 +160,9 @@ public string[] GetTypes(Card c)
}
else
{
//效果怪兽
types
[
2
]=
GetType
(
CardType
.
TYPE_EFFECT
);
if
(
c
.
IsType
(
CardType
.
TYPE_PENDULUM
))
{
types
[
1
]=
GetType
(
CardType
.
TYPE_PENDULUM
);
types
[
2
]=
GetType
(
CardType
.
TYPE_EFFECT
);
}
else
if
(
c
.
IsType
(
CardType
.
TYPE_TUNER
))
types
[
1
]=
GetType
(
CardType
.
TYPE_TUNER
);
else
if
(
c
.
IsType
(
CardType
.
TYPE_SPIRIT
))
...
...
@@ -174,8 +173,10 @@ public string[] GetTypes(Card c)
types
[
1
]=
GetType
(
CardType
.
TYPE_UNION
);
else
if
(
c
.
IsType
(
CardType
.
TYPE_DUAL
))
types
[
1
]=
GetType
(
CardType
.
TYPE_DUAL
);
else
else
{
types
[
1
]=
GetType
(
CardType
.
TYPE_EFFECT
);
types
[
2
]=
""
;
}
}
}
...
...
DataEditorX/Core/TaskHelper.cs
View file @
b1189c20
...
...
@@ -187,6 +187,7 @@ public void ConvertImages(string imgpath,string gamepath,bool isreplace)
int
count
=
images
.
Length
;
using
(
ZipStorer
zips
=
ZipStorer
.
Create
(
file
,
""
))
{
zips
.
EncodeUTF8
=
true
;
zips
.
AddFile
(
setFile
,
"set"
,
""
);
foreach
(
string
img
in
images
)
{
...
...
DataEditorX/Properties/AssemblyInfo.cs
View file @
b1189c20
...
...
@@ -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.
2.2
"
)]
[
assembly
:
AssemblyVersion
(
"2.2.
3.0
"
)]
DataEditorX/readme.txt
View file @
b1189c20
[DataEditorX]2.2.
2.2
[DataEditorX]
[DataEditorX]2.2.
3.0
[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
...
...
@@ -41,6 +41,9 @@ mse-config 设置pendulum文本和普通文本的正则正则表达式,用来
请确保DataEditorX的文件夹名固定不变,然后右键随意一个cdb文件,打开方式--浏览--DataEditorX.exe。确定。
以后双击cdb文件即可打开DataEditorX。
★lua编辑器 函数搜索
在下面的文本框输入关键字,按Enter
★支持 新建文本文档.txt 直接改名 新建文本文档.cdb
★文件夹pics和script和cdb所在文件夹一致。
...
...
@@ -68,6 +71,8 @@ DataEditorX.exe.config
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
2.2.3.0
支持卡片名做为MSE存档的图片名,但是必须哈数据库的一致
2.2.2.2
增加从源码获取Lua的函数,并且自动排序函数
更新cpp的函数库,未包括utility.lua
...
...
win32/DataEditorX.exe
View file @
b1189c20
No preview for this file type
win32/chinese/history.txt
View file @
b1189c20
...
...
@@ -3,7 +3,6 @@ F:\games\ygocore\cards (2).cdb
F:\games\ygopro\script\c126218.lua
F:\games\ygocore\script\c99995595.lua
F:\games\ygopro\script\c32864.lua
F:\games\ygocore\script\c126218.lua
F:\games\ygocore\script\c131182.lua
F:\games\ygocore\script\c900787.lua
F:\games\ygopro\script\c168917.lua
...
...
@@ -11,5 +10,6 @@ F:\games\ygopro\script\c191749.lua
E:\github\DataEditorX\DataEditorX\chinese\constant.lua
F:\games\ygocore\script\constant.lua
F:\games\ygocore\single\[sample]BerserkDragon.lua
F:\games\ygopro\cards.cdb
F:\games\ygocore\script\utility.lua
\ No newline at end of file
F:\games\ygocore\script\utility.lua
F:\games\ygocore\script\c126218.lua
F:\games\ygopro\cards.cdb
\ No newline at end of file
win32/readme.txt
View file @
b1189c20
[DataEditorX]2.2.
2.2
[DataEditorX]
[DataEditorX]2.2.
3.0
[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
...
...
@@ -41,6 +41,9 @@ mse-config 设置pendulum文本和普通文本的正则正则表达式,用来
请确保DataEditorX的文件夹名固定不变,然后右键随意一个cdb文件,打开方式--浏览--DataEditorX.exe。确定。
以后双击cdb文件即可打开DataEditorX。
★lua编辑器 函数搜索
在下面的文本框输入关键字,按Enter
★支持 新建文本文档.txt 直接改名 新建文本文档.cdb
★文件夹pics和script和cdb所在文件夹一致。
...
...
@@ -68,6 +71,8 @@ DataEditorX.exe.config
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
2.2.3.0
支持卡片名做为MSE存档的图片名,但是必须哈数据库的一致
2.2.2.2
增加从源码获取Lua的函数,并且自动排序函数
更新cpp的函数库,未包括utility.lua
...
...
win32/win32.zip
View file @
b1189c20
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