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
1
Issues
1
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
14ca88eb
Commit
14ca88eb
authored
Oct 13, 2014
by
keyongyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mse
parent
137ddbb0
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
113 additions
and
49 deletions
+113
-49
DataEditorX/Core/CardAttribute.cs
DataEditorX/Core/CardAttribute.cs
+25
-0
DataEditorX/Core/CardRace.cs
DataEditorX/Core/CardRace.cs
+42
-0
DataEditorX/Core/CardType.cs
DataEditorX/Core/CardType.cs
+23
-23
DataEditorX/Core/TaskHelper.cs
DataEditorX/Core/TaskHelper.cs
+2
-2
DataEditorX/DataEditorX.csproj
DataEditorX/DataEditorX.csproj
+2
-0
DataEditorX/english/message.txt
DataEditorX/english/message.txt
+2
-1
DataEditorX/mse/download.bat
DataEditorX/mse/download.bat
+1
-1
DataEditorX/mse/update.exe.config
DataEditorX/mse/update.exe.config
+1
-1
win32/DataEditorX.exe
win32/DataEditorX.exe
+0
-0
win32/DataEditorX.exe.config
win32/DataEditorX.exe.config
+11
-18
win32/english/message.txt
win32/english/message.txt
+2
-1
win32/mse/download.bat
win32/mse/download.bat
+1
-1
win32/mse/update.exe.config
win32/mse/update.exe.config
+1
-1
win32/win32.zip
win32/win32.zip
+0
-0
No files found.
DataEditorX/Core/CardAttribute.cs
0 → 100644
View file @
14ca88eb
/*
* 由SharpDevelop创建。
* 用户: Acer
* 日期: 2014-10-13
* 时间: 9:47
*
*/
using
System
;
namespace
DataEditorX.Core
{
/// <summary>
/// Description of CardAttribute.
/// </summary>
public
enum
CardAttribute
:
int
{
ATTRIBUTE_EARTH
=
0x01
,
//--地
ATTRIBUTE_WATER
=
0x02
,
//--水
ATTRIBUTE_FIRE
=
0x04
,
//--炎
ATTRIBUTE_WIND
=
0x08
,
//--风
ATTRIBUTE_LIGHT
=
0x10
,
//--光
ATTRIBUTE_DARK
=
0x20
,
//--暗
ATTRIBUTE_DEVINE
=
0x40
,
//--神
}
}
DataEditorX/Core/CardRace.cs
0 → 100644
View file @
14ca88eb
/*
* 由SharpDevelop创建。
* 用户: Acer
* 日期: 2014-10-13
* 时间: 9:44
*
*/
using
System
;
namespace
DataEditorX.Core
{
/// <summary>
/// Description of CardEffect.
/// </summary>
public
enum
CardRace
:
long
{
RACE_WARRIOR
=
0x1
,
//--战士
RACE_SPELLCASTER
=
0x2
,
//--魔法师
RACE_FAIRY
=
0x4
,
//--天使
RACE_FIEND
=
0x8
,
//--恶魔
RACE_ZOMBIE
=
0x10
,
//--不死
RACE_MACHINE
=
0x20
,
//--机械
RACE_AQUA
=
0x40
,
//--水
RACE_PYRO
=
0x80
,
//--炎
RACE_ROCK
=
0x100
,
//--岩石
RACE_WINDBEAST
=
0x200
,
//--鸟兽
RACE_PLANT
=
0x400
,
//--植物
RACE_INSECT
=
0x800
,
//--昆虫
RACE_THUNDER
=
0x1000
,
//--雷
RACE_DRAGON
=
0x2000
,
//--龙
RACE_BEAST
=
0x4000
,
//--兽
RACE_BEASTWARRIOR
=
0x8000
,
//--兽战士
RACE_DINOSAUR
=
0x10000
,
//--恐龙
RACE_FISH
=
0x20000
,
//--鱼
RACE_SEASERPENT
=
0x40000
,
//--海龙
RACE_REPTILE
=
0x80000
,
//--爬虫
RACE_PSYCHO
=
0x100000
,
//--念动力
RACE_DEVINE
=
0x200000
,
//--幻神兽
RACE_CREATORGOD
=
0x400000
,
//--创造神
RACE_WYRM
=
0x800000
,
//--幻龙
}
}
DataEditorX/Core/CardType.cs
View file @
14ca88eb
...
...
@@ -14,28 +14,28 @@ namespace DataEditorX.Core
/// </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
,
TYPE_MONSTER
=
0x1
,
//--怪兽卡
TYPE_SPELL
=
0x2
,
//--魔法卡
TYPE_TRAP
=
0x4
,
//--陷阱卡
TYPE_NORMAL
=
0x10
,
//--通常
TYPE_EFFECT
=
0x20
,
//--效果
TYPE_FUSION
=
0x40
,
//--融合
TYPE_RITUAL
=
0x80
,
//--仪式
TYPE_TRAPMONSTER
=
0x100
,
//--陷阱怪兽
TYPE_SPIRIT
=
0x200
,
//--灵魂
TYPE_UNION
=
0x400
,
//--同盟
TYPE_DUAL
=
0x800
,
//--二重
TYPE_TUNER
=
0x1000
,
//--调整
TYPE_SYNCHRO
=
0x2000
,
//--同调
TYPE_TOKEN
=
0x4000
,
//--衍生物
TYPE_QUICKPLAY
=
0x10000
,
//--速攻
TYPE_CONTINUOUS
=
0x20000
,
//--永续
TYPE_EQUIP
=
0x40000
,
//--装备
TYPE_FIELD
=
0x80000
,
//--场地
TYPE_COUNTER
=
0x100000
,
//--反击
TYPE_FLIP
=
0x200000
,
//--翻转
TYPE_TOON
=
0x400000
,
//--卡通
TYPE_XYZ
=
0x800000
,
//--超量
TYPE_PENDULUM
=
0x1000000
,
//--摇摆
}
}
DataEditorX/Core/TaskHelper.cs
View file @
14ca88eb
...
...
@@ -86,12 +86,12 @@ public static void CutImages(string imgpath,string savepath)
if
(
File
.
Exists
(
jpg
)){
Bitmap
bp
=
new
Bitmap
(
jpg
);
Bitmap
bmp
=
null
;
if
(
c
.
IsType
(
CardType
.
XYZ
)){
if
(
c
.
IsType
(
CardType
.
TYPE_
XYZ
)){
bmp
=
MyBitmap
.
Cut
(
bp
,
imgSet
.
xyz_x
,
imgSet
.
xyz_y
,
imgSet
.
xyz_w
,
imgSet
.
xyz_h
);
}
else
if
(
c
.
IsType
(
CardType
.
PENDULUM
)){
else
if
(
c
.
IsType
(
CardType
.
TYPE_
PENDULUM
)){
bmp
=
MyBitmap
.
Cut
(
bp
,
imgSet
.
pendulum_x
,
imgSet
.
pendulum_y
,
imgSet
.
pendulum_w
,
imgSet
.
pendulum_h
);
...
...
DataEditorX/DataEditorX.csproj
View file @
14ca88eb
...
...
@@ -59,6 +59,8 @@
<Compile
Include=
"Common\MyBitmap.cs"
/>
<Compile
Include=
"Common\ZipStorer.cs"
/>
<Compile
Include=
"Core\Card.cs"
/>
<Compile
Include=
"Core\CardAttribute.cs"
/>
<Compile
Include=
"Core\CardRace.cs"
/>
<Compile
Include=
"Core\CardType.cs"
/>
<Compile
Include=
"Core\DataBase.cs"
/>
<Compile
Include=
"Core\DataManager.cs"
/>
...
...
DataEditorX/english/message.txt
View file @
14ca88eb
...
...
@@ -45,4 +45,5 @@
0x2c Export Mse-set
0x2d Export Mse-set OK
0x2e Cut Images...
0x2f Cut Images OK
\ No newline at end of file
0x2f Cut Images OK
0x30 No Select Cards
\ No newline at end of file
DataEditorX/mse/download.bat
View file @
14ca88eb
@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/"
start
update
.exe
-d
"
%~dp0
../
Magic Set Editor 2
"
"https://github.com/247321453/MagicSetEditor2/raw/master/"
exit
\ No newline at end of file
DataEditorX/mse/update.exe.config
View file @
14ca88eb
...
...
@@ -9,7 +9,7 @@
-->
<
add
key
=
"url"
value
=
"https://github.com/247321453/MagicSetEditor2/raw/master/"
/>
<!--
game
save
path
-->
<
add
key
=
"path"
value
=
"
D:
\Magic Set Editor 2"
/>
<
add
key
=
"path"
value
=
"
..
\Magic Set Editor 2"
/>
<!--
use
proxy
-->
<
add
key
=
"useproxy"
value
=
"false"
/>
<
add
key
=
"proxy"
value
=
"127.0.0.1:8080"
/>
...
...
win32/DataEditorX.exe
View file @
14ca88eb
No preview for this file type
win32/DataEditorX.exe.config
View file @
14ca88eb
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
connectionStrings
>
<!--
Example
connection
to
a
SQL
Server
Database
on
localhost
. -->
...
...
@@ -7,21 +7,14 @@
providerName
=
"System.Data.SqlClient"
/> -->
</
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"
/>
<!--
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
>
<
add
key
=
"language"
value
=
"chinese"
/>
<
add
key
=
"sourceURL"
value
=
"https://github.com/247321453/DataEditorX"
/>
<
add
key
=
"updateURL"
value
=
"https://github.com/247321453/DataEditorX/tree/master/win32/readme.txt"
/>
<
add
key
=
"cdb"
value
=
"F:\games\ygocore\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
>
win32/english/message.txt
View file @
14ca88eb
...
...
@@ -45,4 +45,5 @@
0x2c Export Mse-set
0x2d Export Mse-set OK
0x2e Cut Images...
0x2f Cut Images OK
\ No newline at end of file
0x2f Cut Images OK
0x30 No Select Cards
\ No newline at end of file
win32/mse/download.bat
View file @
14ca88eb
@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/"
start
update
.exe
-d
"
%~dp0
../
Magic Set Editor 2
"
"https://github.com/247321453/MagicSetEditor2/raw/master/"
exit
\ No newline at end of file
win32/mse/update.exe.config
View file @
14ca88eb
...
...
@@ -9,7 +9,7 @@
-->
<
add
key
=
"url"
value
=
"https://github.com/247321453/MagicSetEditor2/raw/master/"
/>
<!--
game
save
path
-->
<
add
key
=
"path"
value
=
"
D:
\Magic Set Editor 2"
/>
<
add
key
=
"path"
value
=
"
..
\Magic Set Editor 2"
/>
<!--
use
proxy
-->
<
add
key
=
"useproxy"
value
=
"false"
/>
<
add
key
=
"proxy"
value
=
"127.0.0.1:8080"
/>
...
...
win32/win32.zip
View file @
14ca88eb
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