Commit 53850cb8 authored by keyongyu's avatar keyongyu

2.3.0.1

parent b9be8388
...@@ -216,7 +216,7 @@ public static string GetDesc(string cdesc, string regx) ...@@ -216,7 +216,7 @@ public static string GetDesc(string cdesc, string regx)
if (mc.Success) if (mc.Success)
return ((mc.Groups.Count > 1) ? return ((mc.Groups.Count > 1) ?
mc.Groups[1].Value : mc.Groups[0].Value) mc.Groups[1].Value : mc.Groups[0].Value)
.Replace("\n", "\n\t\t"); .Trim('\n').Replace("\n", "\n\t\t");
return ""; return "";
} }
...@@ -227,7 +227,7 @@ public string ReText(string text) ...@@ -227,7 +227,7 @@ public string ReText(string text)
sb.Replace("\r", "\n"); sb.Replace("\r", "\n");
sb.Replace("\n\n", "\n"); sb.Replace("\n\n", "\n");
sb.Replace("\n", "\n\t\t"); sb.Replace("\n", "\n\t\t");
return sb.ToString(); return sb.ToString().Trim('\n');
} }
//获取星星 //获取星星
public static string GetStar(long level) public static string GetStar(long level)
......
...@@ -131,6 +131,9 @@ ...@@ -131,6 +131,9 @@
<Content Include="data\mse_Chinese-Traditional.txt"> <Content Include="data\mse_Chinese-Traditional.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="readme_english.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="data\constant.lua"> <None Include="data\constant.lua">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
......
...@@ -28,4 +28,4 @@ ...@@ -28,4 +28,4 @@
// //
// You can specify all the values or you can use the default the Revision and // You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below: // Build Numbers by using the '*' as shown below:
[assembly: AssemblyVersion("2.3.0.0")] [assembly: AssemblyVersion("2.3.0.1")]
★更新历史 ★更新历史
2.3.0.1
修复效果描述开头和结尾的换行符
2.3.0.0 2.3.0.0
调整界面 调整界面
2.2.9.9 2.2.9.9
......
[DataEditorX]2.3.0.0[DataEditorX] [DataEditorX]2.3.0.1[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL] [URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★运行环境(Environment) ★运行环境(Environment)
......

★Environment
This program based on .Net2.0/winXP(need .Net2.0)/win7(with.Net2.0)/win8(need.Net3.5 incloud 2.0)
★File association
.lua Notepad++/Sublime text/DataEditorX
.cdb DataEditorX
Click file with right mouse button, Open with, Browse Files, Choose confirm(Yes)
★Feedback
Email:247321453@qq.com
Title:DataEditorX X.X.X.X
Text:
The error message text:If there is a error message box,please press Ctrl+C,then paste in someplace.
please give a detailed description of:card message;antivirus;programe location;the operation that time.
★Setting
DataEditorX.exe.config ★Language,★Image,★CodeEditor
data/language_xxx.txt Interface and prompt message
data/cardinfo_xxx.txt types/series
★Language setting
DataEditorX.exe.config
<add key="language" value="chinese" />Simplified Chinese
<add key="language" value="english" />English
If you want to add a language,you need two file,xxx is a type of language:
data/language_xxx.txt
data/cardinfo_xxx.txt
★Image setting
you need it when you want to add or pendulum.
image_quilty 1-100
image Width/height of image and thumbnail,total four numerical value;
image_other pendulum of other cards
image_xyz pendulum of Xyz monsters
image_pendulum Pendulum
★CodeEditor Setting
IME Input Method Editors
wordwrap
tabisspace tab→space
fontname
fontsize
★DataEditor:
IF you need to input Attack?, you can use anyone of ?/?/-2 instead.
The folder of pics, script and cdb should be in a same folder consistent.
★Read cardlist from ydk and folder pics
Support:png,jpg pics with card number/card number with 0
★Output data
Example:mydiy.cdb
New card:deck/mydiy.ydk
Instruction:mydiy.txt
script
pics
↑ all of them in mydiy.zip,you can use it in expansions of ygopro with sound effect or release it.
★Database comparison
★Lua search
Find lua from C++ Source
Return in parameter type,C++ implement code
★Copy a card:
Copy and Replace:If there's a card with same name, replace it.
Copy without Replace:If there's a card with same name, ignore it.
★Card search
1.Now it can not support search by Pendulum Scale
2.You can search card with card name/effect/Attribute/Types/Level(racnk)/effect type/card number
3.Search by ATK,DEF:
If there is a "0", input"-1"or"."
If there is a "?", input"-2"or"?"
4.Search by card name:
AOJ%% start with AOJ
流%%天 start with“流” and end with“天”
%%战士 end with “战士”
5.Search by card number
--A card(or a card with same name) with card number of 10000000,
card number: 10000000 card with same name: 0
--The same name card with card number:10000000
card number: 0 card with same name: 10000000 .
--Card number over 10000000,less than 20000000
card with same name: 10000000 card number: 10000000
★CodeEditor:
Input keyword in the under text box,press Enter
Ctrl+F Look up
Ctrl+H Replace
Ctrl+left mouse skip to function definition
Ctrl+K List of function
Ctrl+T List of constant
Ctrl+The mouse wheel Zoom in/out
★Magic Set Editor 2
Download/update:"Magic Set Editor 2/download.bat"
Or
https://github.com/247321453/MagicSetEditor2
★MSE pics
Support:png,jpg pics with card number/card number with 0
Tick “Set MSE'Image ”,Import pics will go into pics folder under MSE
★MSE flie making setting
mse_xxx.txt modify\r\n can be newlines,\t will replace for tab
Turn Simplified into traditional,
cn2tw = false
The maxcount of every file,0 stands for unlimited
maxcount = 0
Add image from the folder,pic name:card number(or card name).png/jpg
imagepath = ./Images
Symbol of spell and traps,turn %% into your sign,If you want to use %% ,put the "ST mark is text: yes"
spell = [魔法卡%%]
trap = [陷阱卡%%]
Game name:yugioh,Style:standard,Language:CN,Edition:MSE,pics of pendulum monster don't include the text box in the central
head = mse version: 0.3.8\r\ngame: yugioh\r\nstylesheet: standard\r\nset info:\r\n\tlanguage: CN\r\n\tedition: MSE\r\n\tST mark is text: no\r\n\tpendulum image is small: yes
Read flie text
text =【摇摆效果】\n%ptext%\n【怪兽效果】\n%text%\n
Obtain Pendulum-text
pendulum-text = 】[\s\S]*?\n([\S\s]*?)\n【
Obtain monster-text
monster-text = [果|介|述|報]】\n([\S\s]*)
Replace speical number
replace = ([鮟|鱇|?|·]) <i>$1</i>
Replace blank space with^,(takes a third of a word)
#replace = \s <sym-auto>^</sym-auto>
Change A-Z into another Typeface
#replace = ([A-Z]) <i>$1</i>
\ No newline at end of file
File added
No preview for this file type
★更新历史 ★更新历史
2.3.0.1
修复效果描述开头和结尾的换行符
2.3.0.0 2.3.0.0
调整界面 调整界面
2.2.9.9 2.2.9.9
......
[DataEditorX]2.3.0.0[DataEditorX] [DataEditorX]2.3.0.1[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL] [URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★运行环境(Environment) ★运行环境(Environment)
......

★Environment
This program based on .Net2.0/winXP(need .Net2.0)/win7(with.Net2.0)/win8(need.Net3.5 incloud 2.0)
★File association
.lua Notepad++/Sublime text/DataEditorX
.cdb DataEditorX
Click file with right mouse button, Open with, Browse Files, Choose confirm(Yes)
★Feedback
Email:247321453@qq.com
Title:DataEditorX X.X.X.X
Text:
The error message text:If there is a error message box,please press Ctrl+C,then paste in someplace.
please give a detailed description of:card message;antivirus;programe location;the operation that time.
★Setting
DataEditorX.exe.config ★Language,★Image,★CodeEditor
data/language_xxx.txt Interface and prompt message
data/cardinfo_xxx.txt types/series
★Language setting
DataEditorX.exe.config
<add key="language" value="chinese" />Simplified Chinese
<add key="language" value="english" />English
If you want to add a language,you need two file,xxx is a type of language:
data/language_xxx.txt
data/cardinfo_xxx.txt
★Image setting
you need it when you want to add or pendulum.
image_quilty 1-100
image Width/height of image and thumbnail,total four numerical value;
image_other pendulum of other cards
image_xyz pendulum of Xyz monsters
image_pendulum Pendulum
★CodeEditor Setting
IME Input Method Editors
wordwrap
tabisspace tab→space
fontname
fontsize
★DataEditor:
IF you need to input Attack?, you can use anyone of ?/?/-2 instead.
The folder of pics, script and cdb should be in a same folder consistent.
★Read cardlist from ydk and folder pics
Support:png,jpg pics with card number/card number with 0
★Output data
Example:mydiy.cdb
New card:deck/mydiy.ydk
Instruction:mydiy.txt
script
pics
↑ all of them in mydiy.zip,you can use it in expansions of ygopro with sound effect or release it.
★Database comparison
★Lua search
Find lua from C++ Source
Return in parameter type,C++ implement code
★Copy a card:
Copy and Replace:If there's a card with same name, replace it.
Copy without Replace:If there's a card with same name, ignore it.
★Card search
1.Now it can not support search by Pendulum Scale
2.You can search card with card name/effect/Attribute/Types/Level(racnk)/effect type/card number
3.Search by ATK,DEF:
If there is a "0", input"-1"or"."
If there is a "?", input"-2"or"?"
4.Search by card name:
AOJ%% start with AOJ
流%%天 start with“流” and end with“天”
%%战士 end with “战士”
5.Search by card number
--A card(or a card with same name) with card number of 10000000,
card number: 10000000 card with same name: 0
--The same name card with card number:10000000
card number: 0 card with same name: 10000000 .
--Card number over 10000000,less than 20000000
card with same name: 10000000 card number: 10000000
★CodeEditor:
Input keyword in the under text box,press Enter
Ctrl+F Look up
Ctrl+H Replace
Ctrl+left mouse skip to function definition
Ctrl+K List of function
Ctrl+T List of constant
Ctrl+The mouse wheel Zoom in/out
★Magic Set Editor 2
Download/update:"Magic Set Editor 2/download.bat"
Or
https://github.com/247321453/MagicSetEditor2
★MSE pics
Support:png,jpg pics with card number/card number with 0
Tick “Set MSE'Image ”,Import pics will go into pics folder under MSE
★MSE flie making setting
mse_xxx.txt modify\r\n can be newlines,\t will replace for tab
Turn Simplified into traditional,
cn2tw = false
The maxcount of every file,0 stands for unlimited
maxcount = 0
Add image from the folder,pic name:card number(or card name).png/jpg
imagepath = ./Images
Symbol of spell and traps,turn %% into your sign,If you want to use %% ,put the "ST mark is text: yes"
spell = [魔法卡%%]
trap = [陷阱卡%%]
Game name:yugioh,Style:standard,Language:CN,Edition:MSE,pics of pendulum monster don't include the text box in the central
head = mse version: 0.3.8\r\ngame: yugioh\r\nstylesheet: standard\r\nset info:\r\n\tlanguage: CN\r\n\tedition: MSE\r\n\tST mark is text: no\r\n\tpendulum image is small: yes
Read flie text
text =【摇摆效果】\n%ptext%\n【怪兽效果】\n%text%\n
Obtain Pendulum-text
pendulum-text = 】[\s\S]*?\n([\S\s]*?)\n【
Obtain monster-text
monster-text = [果|介|述|報]】\n([\S\s]*)
Replace speical number
replace = ([鮟|鱇|?|·]) <i>$1</i>
Replace blank space with^,(takes a third of a word)
#replace = \s <sym-auto>^</sym-auto>
Change A-Z into another Typeface
#replace = ([A-Z]) <i>$1</i>
\ No newline at end of file
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