Commit 86537d06 authored by keyongyu's avatar keyongyu

1.5.1.1

parent 5f77861f
......@@ -99,5 +99,10 @@ public static string[] GetValues(Dictionary<long, string> dic)
}
return words;
}
public static string GetValue(Dictionary<long, string> dic,long key){
if(dic.ContainsKey(key))
return dic[key];
return key.ToString("x");
}
}
}
......@@ -35,6 +35,7 @@ protected override void Dispose(bool disposing)
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.menuitem_file = new System.Windows.Forms.ToolStripMenuItem();
this.menuitem_open = new System.Windows.Forms.ToolStripMenuItem();
......@@ -105,6 +106,7 @@ private void InitializeComponent()
this.tb_setcode = new System.Windows.Forms.TextBox();
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.menuStrip1.SuspendLayout();
this.SuspendLayout();
//
......@@ -836,6 +838,7 @@ private void InitializeComponent()
this.ResumeLayout(false);
this.PerformLayout();
}
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.ToolStripSeparator tsep2;
private System.Windows.Forms.ToolStripMenuItem menuitem_openLastDataBase;
private System.Windows.Forms.ToolStripMenuItem menuitem_cutimages;
......
......@@ -1073,6 +1073,7 @@ void BackgroundWorker1RunWorkerCompleted(object sender, System.ComponentModel.Ru
}
void setSetcode(long setcode){
string setname="";
string strtip="";
if(setcode<0){
setcode = getSetcodeBySelect();
}
......@@ -1080,23 +1081,47 @@ void BackgroundWorker1RunWorkerCompleted(object sender, System.ComponentModel.Ru
long s2=(setcode>>0x10)&0xffff;
long s3=(setcode>>0x20)&0xffff;
long s4=(setcode>>0x30)&0xffff;
if(s4>0)
if(s4>0){
setname=Add0(s4,4)
+" "+Add0(s3,4)
+" "+Add0(s2,4)
+" "+Add0(s1,4);
else if(s3>0)
strtip=DataManager.GetValue(dicSetnames,s1)
+Environment.NewLine
+DataManager.GetValue(dicSetnames,s2)
+Environment.NewLine
+DataManager.GetValue(dicSetnames,s3)
+Environment.NewLine
+DataManager.GetValue(dicSetnames,s4);
}
else if(s3>0){
setname=Add0(s3,4)
+" "+Add0(s2,4)
+" "+Add0(s1,4);
else if(s2>0)
strtip=DataManager.GetValue(dicSetnames,s1)
+Environment.NewLine
+DataManager.GetValue(dicSetnames,s2)
+Environment.NewLine
+DataManager.GetValue(dicSetnames,s3);
}
else if(s2>0){
setname=Add0(s2,4)
+" "+Add0(s1,4);
else if(s1>0)
strtip=DataManager.GetValue(dicSetnames,s1)
+Environment.NewLine
+DataManager.GetValue(dicSetnames,s2);
}
else if(s1>0){
setname=Add0(s1,4);
else
strtip=DataManager.GetValue(dicSetnames,s1);
}
else{
setname="0";
strtip="N/A";
}
toolTip1.SetToolTip(lb_setcode,strtip);
tb_setcode.Text=setname;
}
long getSetcodeByText(){
long ltemp;
......
......@@ -123,6 +123,9 @@
<metadata name="backgroundWorker1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>130, 17</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>287, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>25</value>
</metadata>
......
......@@ -88,7 +88,8 @@
<Folder Include="english" />
<Folder Include="Common" />
<Folder Include="Language" />
<Folder Include="mse" />
<Folder Include="Magic Set Editor 2" />
<Folder Include="Magic Set Editor 2\update" />
</ItemGroup>
<ItemGroup>
<None Include="app.config">
......@@ -124,6 +125,7 @@
<None Include="chinese\message.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="chinese\mse-set.txt" />
<None Include="english\card-attribute.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
......@@ -154,16 +156,16 @@
<None Include="english\message.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="mse\readme.txt">
<None Include="Magic Set Editor 2\update\download.bat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="mse\download.bat">
<None Include="Magic Set Editor 2\update\readme.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="mse\update.exe">
<None Include="Magic Set Editor 2\update\update.exe">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="mse\update.exe.config">
<None Include="Magic Set Editor 2\update\update.exe.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="readme.txt">
......
@echo off
cd /d "%~dp0"
if exist update_new.exe move /y update_new.exe update.exe
start update.exe -d "%~dp0../Magic Set Editor 2" "https://github.com/247321453/MagicSetEditor2/raw/master/"
start update.exe -d "%~dp0../" "https://github.com/247321453/MagicSetEditor2/raw/master/"
exit
\ No newline at end of file
......@@ -9,7 +9,7 @@
-->
<add key="url" value="https://github.com/247321453/MagicSetEditor2/raw/master/" />
<!-- game save path -->
<add key="path" value="..\Magic Set Editor 2" />
<add key="path" value="..\" />
<!-- use proxy -->
<add key="useproxy" value="false" />
<add key="proxy" value="127.0.0.1:8080" />
......
......@@ -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.1.0")]
[assembly: AssemblyVersion("1.5.1.1")]
......@@ -186,13 +186,38 @@
0x95 RUM
0x96 フィッシュボーグ
0x97 アーティファクト
0x98 「魔术师」
0x99 「异色眼」
0x9a 「超重武者」
0x9b 「幻奏」
0x9c 「テラナイト」
0x9d 「影依」
0x9e 「龙星」
0x98 魔术师
0x99 异色眼
0x9a 超重武者
0x9b 幻奏
0x9c テラナイト
0x9d 影依
0x9e 龙星
0x9f EM
0xa0 伝説の騎士
0xa1 伝説の竜
0xa2 ブラック·マジシャン
0xa3 スターダスト
0xa4 ハネクリボー
0xa5 チェンジ
0xa6 スプラウト
0xa7 アルトリウス
0xa8 ランスロット
0xa9 ファーニマル
0xaa クリフォート
0xab ブンボーグ
0xac ゴブリン
0xad デストーイ
0xae 契約書
0xaf DD
0xb0 ガトムズ
0xb1 Burning Abyss
0xb2 U.A.
0xb3 妖仙獣
0xb4 影霊衣
0xb5 霊獣
0x10b5 霊獣使い
0x20b5 精霊獣
0x100 同调士相关同调怪兽
0x101 奇迹同调融合相关怪兽
0x102 暗黑融合限定怪兽
......
###################################################
# MSE 2.0.0
# only head,line,end use space split,other use tab split.
# other use tab split
# author 菜菜
# Encode UTF-8 have BMOM
# /n/t/space/Space
################################################
############head string
head mse version: 0.3.8
head game: yugioh
head stylesheet: standard
head set info:
head language: CN
head ST mark is text: yes
head pendulum image is small: yes
############card info string
info card:
info card type: normal monster
info name: <i>A・O・J</i>
info attribute: wind
info level: ******
info image:
info type 1: 魔法使い族
info type 2: 効果
info type 3:
info number:
info edition: MEDE IN MSE
info rule text:
info 魔法魔法魔法魔法魔法魔法
info pendulum scale 1: 2
info pendulum scale 2: 3
info attack: ?
info defense: 5000
info gamecode: 123456789
info pendulum: medium
info pendulum text:
info 魔法魔法魔法魔法魔法魔法
# none,big,medium,small
###################card type
type normal monster 通常怪兽
type effect monster 效果怪兽
type fusion monster 融合怪兽
type ritual monster 仪式怪兽
type synchro monster 同调怪兽
type token monster 衍生物
type xyz monster 超量怪兽
type spell card 魔法
type trap card 陷阱
###################spell trap type
type quick-play 速攻魔法
type equip 装备魔法
type field 场地魔法
type ritual 仪式魔法
type continuous 永续魔法
type normal 通常魔法
type normalTrap 通常陷阱
type counterTrap 反击陷阱
type continuousTrap 永续陷阱
###################card attribute
attribute 0 none
attribute 1 地
attribute 2 水
attribute 4 炎
attribute 8 风
attribute 10 光
attribute 20 暗
attribute 40 神
attribute spell 魔
attribute trap 陷
#################level,spell,trap,symbol
level star *
level quick-play $
level equip +
level field &
level ritual #
level continuous %
level normal ^
level normalTrap ^
level counterTrap !
level continuousTrap %
###############effect type words
effect Synchro 同调
effect Xyz 超量
effect Fusion 融合
effect Ritual 仪式
effect Effect 效果
effect Tuner 调整
effect Spirit 灵魂
effect Toon 卡通
effect Gemini 二重
effect Union 同盟
effect Pendulum 灵摆
########################monster race words
race 0
race 1 战士族
race 2 魔法使族
race 4 天使族
race 8 恶魔族
race 10 不死族
race 20 机械族
race 40 水族
race 80 炎族
race 100 岩石族
race 200 鸟兽族
race 400 植物族
race 800 昆虫族
race 1000 雷族
race 2000 龙族
race 4000 兽族
race 8000 兽战士族
race 10000 恐龙族
race 20000 鱼族
race 40000 海龙族
race 80000 爬虫类族
race 100000 念动力族
race 200000 幻神兽族
race 400000 创造神族
race 800000 幻龙族
#######################
text pendulum ^→[\S\s]*?【怪
text normal 果】[\S\s]*?
#######################replace words
name 鮟鱇 <i>鮟鱇</i>
name 璣 <i>璣</i>
desc 鮟鱇 <i>鮟鱇</i>
desc 璣 <i>璣</i>
#desc 。● 。/n●
desc /n /n/t/t
#desc /space /Space
desc /space ^
\ No newline at end of file
[DataEditorX]1.5.1.0[DataEditorX]
[DataEditorX]1.5.1.1[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
★支援Magic Set Editor 2
下载/更新:
Magic Set Editor 2/update/download.bat
★支持关联cdb文件,命令参数启动。
关联cdb文件:
请确保DataEditorX的文件夹名固定不变,然后右键随意一个cdb文件,打开方式--浏览--DataEditorX.exe。确定。
......@@ -43,6 +47,8 @@ DataEditorX.exe.config
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
1.5.1.1
改MSE更新器的默认路径
1.5.1.0
完善系列框,等待导出MSE存档
1.5.0.0
......
No preview for this file type
<?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="14,46,149,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 (2).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="14,46,149,120" />
</appSettings>
</configuration>
@echo off
cd /d "%~dp0"
if exist update_new.exe move /y update_new.exe update.exe
start update.exe -d "%~dp0../Magic Set Editor 2" "https://github.com/247321453/MagicSetEditor2/raw/master/"
start update.exe -d "%~dp0../" "https://github.com/247321453/MagicSetEditor2/raw/master/"
exit
\ No newline at end of file
......@@ -9,7 +9,7 @@
-->
<add key="url" value="https://github.com/247321453/MagicSetEditor2/raw/master/" />
<!-- game save path -->
<add key="path" value="..\Magic Set Editor 2" />
<add key="path" value="..\" />
<!-- use proxy -->
<add key="useproxy" value="false" />
<add key="proxy" value="127.0.0.1:8080" />
......
......@@ -186,13 +186,38 @@
0x95 RUM
0x96 フィッシュボーグ
0x97 アーティファクト
0x98 「魔术师」
0x99 「异色眼」
0x9a 「超重武者」
0x9b 「幻奏」
0x9c 「テラナイト」
0x9d 「影依」
0x9e 「龙星」
0x98 魔术师
0x99 异色眼
0x9a 超重武者
0x9b 幻奏
0x9c テラナイト
0x9d 影依
0x9e 龙星
0x9f EM
0xa0 伝説の騎士
0xa1 伝説の竜
0xa2 ブラック·マジシャン
0xa3 スターダスト
0xa4 ハネクリボー
0xa5 チェンジ
0xa6 スプラウト
0xa7 アルトリウス
0xa8 ランスロット
0xa9 ファーニマル
0xaa クリフォート
0xab ブンボーグ
0xac ゴブリン
0xad デストーイ
0xae 契約書
0xaf DD
0xb0 ガトムズ
0xb1 Burning Abyss
0xb2 U.A.
0xb3 妖仙獣
0xb4 影霊衣
0xb5 霊獣
0x10b5 霊獣使い
0x20b5 精霊獣
0x100 同调士相关同调怪兽
0x101 奇迹同调融合相关怪兽
0x102 暗黑融合限定怪兽
......
......@@ -22,4 +22,5 @@
0x200000 反转
0x400000 卡通
0x800000 超量
0x1000000 摇摆
\ No newline at end of file
0x1000000 摇摆
0x2000000 特殊召唤
\ No newline at end of file
[DataEditorX]1.5.1.0[DataEditorX]
[DataEditorX]1.5.1.1[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★使用前,请关联lua的打开方式,例如记事本,notepad++,等。
★支援Magic Set Editor 2
下载/更新:
Magic Set Editor 2/update/download.bat
★支持关联cdb文件,命令参数启动。
关联cdb文件:
请确保DataEditorX的文件夹名固定不变,然后右键随意一个cdb文件,打开方式--浏览--DataEditorX.exe。确定。
......@@ -43,6 +47,8 @@ DataEditorX.exe.config
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
1.5.1.1
改MSE更新器的默认路径
1.5.1.0
完善系列框,等待导出MSE存档
1.5.0.0
......
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