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
96d6ddde
Commit
96d6ddde
authored
Oct 14, 2014
by
keyongyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.5.3.0
parent
1c6b771b
Changes
17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
513 additions
and
457 deletions
+513
-457
DataEditorX/Core/DataBase.cs
DataEditorX/Core/DataBase.cs
+444
-425
DataEditorX/DataEditForm.Designer.cs
DataEditorX/DataEditForm.Designer.cs
+24
-6
DataEditorX/DataEditForm.cs
DataEditorX/DataEditForm.cs
+23
-19
DataEditorX/Language/LMsg.cs
DataEditorX/Language/LMsg.cs
+1
-0
DataEditorX/Properties/AssemblyInfo.cs
DataEditorX/Properties/AssemblyInfo.cs
+1
-1
DataEditorX/chinese/language.txt
DataEditorX/chinese/language.txt
+1
-0
DataEditorX/chinese/message.txt
DataEditorX/chinese/message.txt
+2
-1
DataEditorX/english/language.txt
DataEditorX/english/language.txt
+2
-0
DataEditorX/english/message.txt
DataEditorX/english/message.txt
+2
-1
DataEditorX/readme.txt
DataEditorX/readme.txt
+3
-1
win32/DataEditorX.exe
win32/DataEditorX.exe
+0
-0
win32/chinese/language.txt
win32/chinese/language.txt
+1
-0
win32/chinese/message.txt
win32/chinese/message.txt
+2
-1
win32/english/language.txt
win32/english/language.txt
+2
-0
win32/english/message.txt
win32/english/message.txt
+2
-1
win32/readme.txt
win32/readme.txt
+3
-1
win32/win32.zip
win32/win32.zip
+0
-0
No files found.
DataEditorX/Core/DataBase.cs
View file @
96d6ddde
This diff is collapsed.
Click to expand it.
DataEditorX/DataEditForm.Designer.cs
View file @
96d6ddde
...
...
@@ -46,6 +46,7 @@ private void InitializeComponent()
this
.
menuitem_saveasmse
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
tsep4
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
menuitem_cutimages
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
menuitem_convertimage
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
tsep1
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
menuitem_readydk
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
menuitem_readimages
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
...
...
@@ -107,7 +108,8 @@ private void InitializeComponent()
this
.
lb_setcode
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btn_img
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
toolTip1
=
new
System
.
Windows
.
Forms
.
ToolTip
(
this
.
components
);
this
.
menuitem_convertimage
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
tsep5
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
menuitem_compdb
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
menuStrip1
.
SuspendLayout
();
this
.
SuspendLayout
();
//
...
...
@@ -127,6 +129,8 @@ private void InitializeComponent()
this
.
menuitem_file
.
DropDownItems
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
menuitem_open
,
this
.
menuitem_new
,
this
.
menuitem_compdb
,
this
.
tsep5
,
this
.
menuitem_copyselectto
,
this
.
menuitem_saveasmse_select
,
this
.
menuitem_copyto
,
...
...
@@ -203,6 +207,13 @@ private void InitializeComponent()
this
.
menuitem_cutimages
.
Text
=
"Cut Images"
;
this
.
menuitem_cutimages
.
Click
+=
new
System
.
EventHandler
(
this
.
Menuitem_cutimagesClick
);
//
// menuitem_convertimage
//
this
.
menuitem_convertimage
.
Name
=
"menuitem_convertimage"
;
this
.
menuitem_convertimage
.
Size
=
new
System
.
Drawing
.
Size
(
232
,
22
);
this
.
menuitem_convertimage
.
Text
=
"Inport Images"
;
this
.
menuitem_convertimage
.
Click
+=
new
System
.
EventHandler
(
this
.
Menuitem_convertimageClick
);
//
// tsep1
//
this
.
tsep1
.
Name
=
"tsep1"
;
...
...
@@ -775,12 +786,17 @@ private void InitializeComponent()
this
.
btn_img
.
UseVisualStyleBackColor
=
true
;
this
.
btn_img
.
Click
+=
new
System
.
EventHandler
(
this
.
Btn_imgClick
);
//
//
menuitem_convertimage
//
tsep5
//
this
.
menuitem_convertimage
.
Name
=
"menuitem_convertimage"
;
this
.
menuitem_convertimage
.
Size
=
new
System
.
Drawing
.
Size
(
232
,
22
);
this
.
menuitem_convertimage
.
Text
=
"Convert Images"
;
this
.
menuitem_convertimage
.
Click
+=
new
System
.
EventHandler
(
this
.
Menuitem_convertimageClick
);
this
.
tsep5
.
Name
=
"tsep5"
;
this
.
tsep5
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
6
);
//
// menuitem_compdb
//
this
.
menuitem_compdb
.
Name
=
"menuitem_compdb"
;
this
.
menuitem_compdb
.
Size
=
new
System
.
Drawing
.
Size
(
232
,
22
);
this
.
menuitem_compdb
.
Text
=
"Compression DataBase"
;
this
.
menuitem_compdb
.
Click
+=
new
System
.
EventHandler
(
this
.
Menuitem_compdbClick
);
//
// DataEditForm
//
...
...
@@ -847,6 +863,8 @@ private void InitializeComponent()
this
.
ResumeLayout
(
false
);
this
.
PerformLayout
();
}
private
System
.
Windows
.
Forms
.
ToolStripSeparator
tsep5
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
menuitem_compdb
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
menuitem_convertimage
;
private
System
.
Windows
.
Forms
.
ToolTip
toolTip1
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
tsep2
;
...
...
DataEditorX/DataEditForm.cs
View file @
96d6ddde
...
...
@@ -983,7 +983,29 @@ void Menuitem_newClick(object sender, EventArgs e)
}
}
}
void
Menuitem_compdbClick
(
object
sender
,
EventArgs
e
)
{
if
(!
Check
())
return
;
DataBase
.
Compression
(
nowCdbFile
);
MyMsg
.
Show
(
LMSG
.
CompDBOK
);
}
void
Menuitem_convertimageClick
(
object
sender
,
EventArgs
e
)
{
if
(
isRun
())
return
;
using
(
FolderBrowserDialog
fdlg
=
new
FolderBrowserDialog
())
{
fdlg
.
Description
=
LANG
.
GetMsg
(
LMSG
.
SelectImagePath
);
if
(
fdlg
.
ShowDialog
()==
DialogResult
.
OK
)
{
bool
isreplace
=
MyMsg
.
Question
(
LMSG
.
IfReplaceExistingImage
);
TaskHelper
.
SetTask
(
MyTask
.
ConvertImages
,
null
,
fdlg
.
SelectedPath
,
GAMEPATH
,
isreplace
.
ToString
());
Run
(
LANG
.
GetMsg
(
LMSG
.
ConvertImage
));
}
}
}
void
Menuitem_readydkClick
(
object
sender
,
EventArgs
e
)
{
if
(!
Check
())
...
...
@@ -1281,23 +1303,5 @@ void Menuitem_saveasmseClick(object sender, EventArgs e)
}
#
endregion
#
region
Convert
images
void
Menuitem_convertimageClick
(
object
sender
,
EventArgs
e
)
{
if
(
isRun
())
return
;
using
(
FolderBrowserDialog
fdlg
=
new
FolderBrowserDialog
())
{
fdlg
.
Description
=
LANG
.
GetMsg
(
LMSG
.
SelectImagePath
);
if
(
fdlg
.
ShowDialog
()==
DialogResult
.
OK
)
{
bool
isreplace
=
MyMsg
.
Question
(
LMSG
.
IfReplaceExistingImage
);
TaskHelper
.
SetTask
(
MyTask
.
ConvertImages
,
null
,
fdlg
.
SelectedPath
,
GAMEPATH
,
isreplace
.
ToString
());
Run
(
LANG
.
GetMsg
(
LMSG
.
ConvertImage
));
}
}
}
#
endregion
}
}
DataEditorX/Language/LMsg.cs
View file @
96d6ddde
...
...
@@ -66,6 +66,7 @@ public enum LMSG : uint
IfReplaceExistingImage
,
ConvertImage
,
ConvertImageOK
,
CompDBOK
,
COUNT
,
}
}
DataEditorX/Properties/AssemblyInfo.cs
View file @
96d6ddde
...
...
@@ -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.5.
2.1
"
)]
[
assembly
:
AssemblyVersion
(
"1.5.
3.0
"
)]
DataEditorX/chinese/language.txt
View file @
96d6ddde
...
...
@@ -23,6 +23,7 @@ DataEditForm->lb4 /
DataEditForm->lb5 /
DataEditForm->lv_cardlist0 卡片密码
DataEditForm->lv_cardlist1 卡片名称
DataEditForm->menuitem_compdb 压缩当前数据库
DataEditForm->menuitem_convertimage 批量导入卡图
DataEditForm->menuitem_openLastDataBase 最后打开的数据库
DataEditForm->menuitem_cutimages 裁剪列表卡片的图片
...
...
DataEditorX/chinese/message.txt
View file @
96d6ddde
...
...
@@ -49,4 +49,5 @@
0x30 没有选中一张卡片
0x31 是否替换存在的图片?
0x32 正在转换图片
0x33 转换图片完成
\ No newline at end of file
0x33 转换图片完成
0x34 压缩数据库完成
\ No newline at end of file
DataEditorX/english/language.txt
View file @
96d6ddde
...
...
@@ -23,6 +23,8 @@ DataEditForm->lb4 /
DataEditForm->lb5 /
DataEditForm->lv_cardlist0 Card Code
DataEditForm->lv_cardlist1 Card Name
DataEditForm->menuitem_compdb Compression DataBase
DataEditForm->menuitem_convertimage Inport Images
DataEditForm->menuitem_openLastDataBase Open Last DataBase
DataEditForm->menuitem_cutimages Cut Images For Game
DataEditForm->menuitem_saveasmse_select Select Cards Save As...
...
...
DataEditorX/english/message.txt
View file @
96d6ddde
...
...
@@ -49,4 +49,5 @@
0x30 No Select Cards
0x31 If Replace Iamge When it's exisit?
0x32 Converting Images
0x33 Convert Images OK
\ No newline at end of file
0x33 Convert Images OK
0x34 Compression DataBase OK
\ No newline at end of file
DataEditorX/readme.txt
View file @
96d6ddde
[DataEditorX]1.5.
2.1
[DataEditorX]
[DataEditorX]1.5.
3.0
[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
...
...
@@ -47,6 +47,8 @@ DataEditorX.exe.config
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
1.5.3.0
增加压缩数据库
1.5.2.1
导入卡图的路径改为cdb的目录的pics
1.5.2.0
...
...
win32/DataEditorX.exe
View file @
96d6ddde
No preview for this file type
win32/chinese/language.txt
View file @
96d6ddde
...
...
@@ -23,6 +23,7 @@ DataEditForm->lb4 /
DataEditForm->lb5 /
DataEditForm->lv_cardlist0 卡片密码
DataEditForm->lv_cardlist1 卡片名称
DataEditForm->menuitem_compdb 压缩当前数据库
DataEditForm->menuitem_convertimage 批量导入卡图
DataEditForm->menuitem_openLastDataBase 最后打开的数据库
DataEditForm->menuitem_cutimages 裁剪列表卡片的图片
...
...
win32/chinese/message.txt
View file @
96d6ddde
...
...
@@ -49,4 +49,5 @@
0x30 没有选中一张卡片
0x31 是否替换存在的图片?
0x32 正在转换图片
0x33 转换图片完成
\ No newline at end of file
0x33 转换图片完成
0x34 压缩数据库完成
\ No newline at end of file
win32/english/language.txt
View file @
96d6ddde
...
...
@@ -23,6 +23,8 @@ DataEditForm->lb4 /
DataEditForm->lb5 /
DataEditForm->lv_cardlist0 Card Code
DataEditForm->lv_cardlist1 Card Name
DataEditForm->menuitem_compdb Compression DataBase
DataEditForm->menuitem_convertimage Inport Images
DataEditForm->menuitem_openLastDataBase Open Last DataBase
DataEditForm->menuitem_cutimages Cut Images For Game
DataEditForm->menuitem_saveasmse_select Select Cards Save As...
...
...
win32/english/message.txt
View file @
96d6ddde
...
...
@@ -49,4 +49,5 @@
0x30 No Select Cards
0x31 If Replace Iamge When it's exisit?
0x32 Converting Images
0x33 Convert Images OK
\ No newline at end of file
0x33 Convert Images OK
0x34 Compression DataBase OK
\ No newline at end of file
win32/readme.txt
View file @
96d6ddde
[DataEditorX]1.5.
2.1
[DataEditorX]
[DataEditorX]1.5.
3.0
[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
...
...
@@ -47,6 +47,8 @@ DataEditorX.exe.config
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
1.5.3.0
增加压缩数据库
1.5.2.1
导入卡图的路径改为cdb的目录的pics
1.5.2.0
...
...
win32/win32.zip
View file @
96d6ddde
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