├── BymlEditor ├── Resources │ ├── Syroot.Maths.dll │ ├── Syroot.BinaryData.dll │ ├── Syroot.NintenTools.Yaz0.dll │ └── Syroot.NintenTools.Byaml.dll ├── packages.config ├── App.config ├── Properties │ ├── Settings.settings │ ├── Settings.Designer.cs │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── Program.cs ├── BymlEditor.csproj ├── Form1.resx ├── Form1.cs └── Form1.Designer.cs ├── NintenTools.Byml ├── Class1.cs ├── Properties │ └── AssemblyInfo.cs └── NintenTools.Byml.csproj ├── BymlEditor.sln ├── README.md ├── .gitattributes └── .gitignore /BymlEditor/Resources/Syroot.Maths.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vatuu/BymlEditor/HEAD/BymlEditor/Resources/Syroot.Maths.dll -------------------------------------------------------------------------------- /BymlEditor/Resources/Syroot.BinaryData.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vatuu/BymlEditor/HEAD/BymlEditor/Resources/Syroot.BinaryData.dll -------------------------------------------------------------------------------- /BymlEditor/Resources/Syroot.NintenTools.Yaz0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vatuu/BymlEditor/HEAD/BymlEditor/Resources/Syroot.NintenTools.Yaz0.dll -------------------------------------------------------------------------------- /BymlEditor/Resources/Syroot.NintenTools.Byaml.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vatuu/BymlEditor/HEAD/BymlEditor/Resources/Syroot.NintenTools.Byaml.dll -------------------------------------------------------------------------------- /BymlEditor/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /BymlEditor/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /NintenTools.Byml/Class1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace NintenTools.Byml 8 | { 9 | public class Class1 10 | { 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /BymlEditor/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /BymlEditor/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.IO; 5 | using System.Threading.Tasks; 6 | using System.Windows.Forms; 7 | 8 | namespace BymlEditor 9 | { 10 | static class Program 11 | { 12 | /// 13 | /// The main entry point for the application. 14 | /// 15 | [STAThread] 16 | static void Main() 17 | { 18 | Application.EnableVisualStyles(); 19 | Application.SetCompatibleTextRenderingDefault(false); 20 | Application.Run(new mainForm()); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /BymlEditor.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BymlEditor", "BymlEditor\BymlEditor.csproj", "{1E53A998-603B-4EB5-9973-5478CC1690E5}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {1E53A998-603B-4EB5-9973-5478CC1690E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {1E53A998-603B-4EB5-9973-5478CC1690E5}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {1E53A998-603B-4EB5-9973-5478CC1690E5}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {1E53A998-603B-4EB5-9973-5478CC1690E5}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /BymlEditor/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace BymlEditor.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /BymlEditor/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("BymlEditor")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("BymlEditor")] 13 | [assembly: AssemblyCopyright("Copyright © 2018")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("1e53a998-603b-4eb5-9973-5478cc1690e5")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /NintenTools.Byml/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("NintenTools.Byml")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("NintenTools.Byml")] 13 | [assembly: AssemblyCopyright("Copyright © 2018")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("d38b5f44-7bf1-479e-bfed-81daff345abc")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # BymlEditor 2 | A full-sized editor for Nintendo's Binary YAML File format. 3 | 4 | ### Coming soon: A README.md 5 | 6 | This project is far from done, the current release is **just working**. 7 | 8 | Currently, the tool can only **read** files, and neither edit them, nor import-export them from/to other formats. These features will be 9 | added soon though. 10 | 11 | ### Note 12 | Due to some issues with the used library, the further development of this tool might be delayed a while, since I have to create a custom FileType Library. 13 | 14 | ## TODO List 15 | 16 | |Feature|Description|Priority|Status| 17 | |-------|-----------|--------|------| 18 | |Read Little Endian BYAML| - | TOP | Done | 19 | |-> Read LE Version 1| - | TOP | Done | 20 | |-> Read LE Version 2| - | TOP | Done | 21 | |-> Read LE Version 3?| - | TOP | Done? | 22 | |Write Little Endian BYAML| - | MEDIUM | Not Started | 23 | |-> Write LE Version 1| - | MEDIUM | Not Started | 24 | |-> Write LE Version 2| - | MEDIUM | Not Started | 25 | |-> Write LE Version 3?| - | MEDIUM | Not Started | 26 | |Read Big Endian BYAML| - | TOP | Started | 27 | |-> Read BE Version 1| - | TOP | Started | 28 | |-> Read BE Version 2| - | TOP | Started | 29 | |-> Read BE Version 3?| - | TOP | Started| 30 | |Write Big Endian BYAML| - | MEDIUM | Not Started | 31 | |-> Write BE Version 1| - | MEDIUM | Not Started | 32 | |-> Write BE Version 2| - | MEDIUM | Not Started | 33 | |-> Write BE Version 3?| - | MEDIUM | Not Started | 34 | |Import XML| Import XML Documents and parse them as BYAML. | LOW | Not Started | 35 | |Export XML| Export BYAML File as XML Document. | TOP | Started | 36 | |Import JSON| Import JSON Documents and parse them as BYAML. | LOW | Not Started | 37 | |Export JSON| Export BYAML File as XML Document. | TOP | Started | 38 | |Create new Documents| Create new BYAML Files from scratch. | TOP | Started | 39 | -------------------------------------------------------------------------------- /NintenTools.Byml/NintenTools.Byml.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | d38b5f44-7bf1-479e-bfed-81daff345abc 8 | Library 9 | Properties 10 | NintenTools.Byml 11 | NintenTools.Byml 12 | v4.5.2 13 | 512 14 | 15 | 16 | true 17 | full 18 | false 19 | bin\Debug\ 20 | DEBUG;TRACE 21 | prompt 22 | 4 23 | 24 | 25 | pdbonly 26 | true 27 | bin\Release\ 28 | TRACE 29 | prompt 30 | 4 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /BymlEditor/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace BymlEditor.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// A strongly-typed resource class, for looking up localized strings, etc. 17 | /// 18 | // This class was auto-generated by the StronglyTypedResourceBuilder 19 | // class via a tool like ResGen or Visual Studio. 20 | // To add or remove a member, edit your .ResX file then rerun ResGen 21 | // with the /str option, or rebuild your VS project. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// Returns the cached ResourceManager instance used by this class. 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("BymlEditor.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// Overrides the current thread's CurrentUICulture property for all 51 | /// resource lookups using this strongly typed resource class. 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # User-specific files 5 | *.suo 6 | *.user 7 | *.userosscache 8 | *.sln.docstates 9 | 10 | # User-specific files (MonoDevelop/Xamarin Studio) 11 | *.userprefs 12 | 13 | # Build results 14 | [Dd]ebug/ 15 | [Dd]ebugPublic/ 16 | [Rr]elease/ 17 | [Rr]eleases/ 18 | [Xx]64/ 19 | [Xx]86/ 20 | [Bb]uild/ 21 | bld/ 22 | [Bb]in/ 23 | [Oo]bj/ 24 | 25 | # Visual Studio 2015 cache/options directory 26 | .vs/ 27 | # Uncomment if you have tasks that create the project's static files in wwwroot 28 | #wwwroot/ 29 | 30 | # MSTest test Results 31 | [Tt]est[Rr]esult*/ 32 | [Bb]uild[Ll]og.* 33 | 34 | # NUNIT 35 | *.VisualState.xml 36 | TestResult.xml 37 | 38 | # Build Results of an ATL Project 39 | [Dd]ebugPS/ 40 | [Rr]eleasePS/ 41 | dlldata.c 42 | 43 | # DNX 44 | project.lock.json 45 | artifacts/ 46 | 47 | *_i.c 48 | *_p.c 49 | *_i.h 50 | *.ilk 51 | *.meta 52 | *.obj 53 | *.pch 54 | *.pdb 55 | *.pgc 56 | *.pgd 57 | *.rsp 58 | *.sbr 59 | *.tlb 60 | *.tli 61 | *.tlh 62 | *.tmp 63 | *.tmp_proj 64 | *.log 65 | *.vspscc 66 | *.vssscc 67 | .builds 68 | *.pidb 69 | *.svclog 70 | *.scc 71 | 72 | # Chutzpah Test files 73 | _Chutzpah* 74 | 75 | # Visual C++ cache files 76 | ipch/ 77 | *.aps 78 | *.ncb 79 | *.opendb 80 | *.opensdf 81 | *.sdf 82 | *.cachefile 83 | *.VC.db 84 | 85 | # Visual Studio profiler 86 | *.psess 87 | *.vsp 88 | *.vspx 89 | *.sap 90 | 91 | # TFS 2012 Local Workspace 92 | $tf/ 93 | 94 | # Guidance Automation Toolkit 95 | *.gpState 96 | 97 | # ReSharper is a .NET coding add-in 98 | _ReSharper*/ 99 | *.[Rr]e[Ss]harper 100 | *.DotSettings.user 101 | 102 | # JustCode is a .NET coding add-in 103 | .JustCode 104 | 105 | # TeamCity is a build add-in 106 | _TeamCity* 107 | 108 | # DotCover is a Code Coverage Tool 109 | *.dotCover 110 | 111 | # NCrunch 112 | _NCrunch_* 113 | .*crunch*.local.xml 114 | nCrunchTemp_* 115 | 116 | # MightyMoose 117 | *.mm.* 118 | AutoTest.Net/ 119 | 120 | # Web workbench (sass) 121 | .sass-cache/ 122 | 123 | # Installshield output folder 124 | [Ee]xpress/ 125 | 126 | # DocProject is a documentation generator add-in 127 | DocProject/buildhelp/ 128 | DocProject/Help/*.HxT 129 | DocProject/Help/*.HxC 130 | DocProject/Help/*.hhc 131 | DocProject/Help/*.hhk 132 | DocProject/Help/*.hhp 133 | DocProject/Help/Html2 134 | DocProject/Help/html 135 | 136 | # Click-Once directory 137 | publish/ 138 | 139 | # Publish Web Output 140 | *.[Pp]ublish.xml 141 | *.azurePubxml 142 | 143 | # TODO: Un-comment the next line if you do not want to checkin 144 | # your web deploy settings because they may include unencrypted 145 | # passwords 146 | #*.pubxml 147 | *.publishproj 148 | 149 | # NuGet Packages 150 | *.nupkg 151 | # The packages folder can be ignored because of Package Restore 152 | **/packages/* 153 | # except build/, which is used as an MSBuild target. 154 | !**/packages/build/ 155 | # Uncomment if necessary however generally it will be regenerated when needed 156 | #!**/packages/repositories.config 157 | # NuGet v3's project.json files produces more ignoreable files 158 | *.nuget.props 159 | *.nuget.targets 160 | 161 | # Microsoft Azure Build Output 162 | csx/ 163 | *.build.csdef 164 | 165 | # Microsoft Azure Emulator 166 | ecf/ 167 | rcf/ 168 | 169 | # Windows Store app package directory 170 | AppPackages/ 171 | BundleArtifacts/ 172 | 173 | # Visual Studio cache files 174 | # files ending in .cache can be ignored 175 | *.[Cc]ache 176 | # but keep track of directories ending in .cache 177 | !*.[Cc]ache/ 178 | 179 | # Others 180 | ClientBin/ 181 | [Ss]tyle[Cc]op.* 182 | ~$* 183 | *~ 184 | *.dbmdl 185 | *.dbproj.schemaview 186 | *.pfx 187 | *.publishsettings 188 | node_modules/ 189 | orleans.codegen.cs 190 | 191 | # RIA/Silverlight projects 192 | Generated_Code/ 193 | 194 | # Backup & report files from converting an old project file 195 | # to a newer Visual Studio version. Backup files are not needed, 196 | # because we have git ;-) 197 | _UpgradeReport_Files/ 198 | Backup*/ 199 | UpgradeLog*.XML 200 | UpgradeLog*.htm 201 | 202 | # SQL Server files 203 | *.mdf 204 | *.ldf 205 | 206 | # Business Intelligence projects 207 | *.rdl.data 208 | *.bim.layout 209 | *.bim_*.settings 210 | 211 | # Microsoft Fakes 212 | FakesAssemblies/ 213 | 214 | # GhostDoc plugin setting file 215 | *.GhostDoc.xml 216 | 217 | # Node.js Tools for Visual Studio 218 | .ntvs_analysis.dat 219 | 220 | # Visual Studio 6 build log 221 | *.plg 222 | 223 | # Visual Studio 6 workspace options file 224 | *.opt 225 | 226 | # Visual Studio LightSwitch build output 227 | **/*.HTMLClient/GeneratedArtifacts 228 | **/*.DesktopClient/GeneratedArtifacts 229 | **/*.DesktopClient/ModelManifest.xml 230 | **/*.Server/GeneratedArtifacts 231 | **/*.Server/ModelManifest.xml 232 | _Pvt_Extensions 233 | 234 | # LightSwitch generated files 235 | GeneratedArtifacts/ 236 | ModelManifest.xml 237 | 238 | # Paket dependency manager 239 | .paket/paket.exe 240 | 241 | # FAKE - F# Make 242 | .fake/ 243 | -------------------------------------------------------------------------------- /BymlEditor/BymlEditor.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {1E53A998-603B-4EB5-9973-5478CC1690E5} 8 | WinExe 9 | Properties 10 | BymlEditor 11 | BymlEditor 12 | v4.5.2 13 | 512 14 | true 15 | 16 | 17 | 18 | 19 | AnyCPU 20 | true 21 | full 22 | false 23 | bin\Debug\ 24 | DEBUG;TRACE 25 | prompt 26 | 4 27 | 28 | 29 | AnyCPU 30 | pdbonly 31 | true 32 | bin\Release\ 33 | TRACE 34 | prompt 35 | 4 36 | 37 | 38 | 39 | False 40 | Resources\Syroot.BinaryData.dll 41 | 42 | 43 | False 44 | Resources\Syroot.Maths.dll 45 | 46 | 47 | False 48 | Resources\Syroot.NintenTools.Byaml.dll 49 | 50 | 51 | False 52 | Resources\Syroot.NintenTools.Yaz0.dll 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | Form 69 | 70 | 71 | Form1.cs 72 | 73 | 74 | 75 | 76 | Form1.cs 77 | 78 | 79 | ResXFileCodeGenerator 80 | Resources.Designer.cs 81 | Designer 82 | 83 | 84 | True 85 | Resources.resx 86 | True 87 | 88 | 89 | 90 | SettingsSingleFileGenerator 91 | Settings.Designer.cs 92 | 93 | 94 | True 95 | Settings.settings 96 | True 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 117 | -------------------------------------------------------------------------------- /BymlEditor/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /BymlEditor/Form1.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | 121 | 135, 3 122 | 123 | 124 | 3, 3 125 | 126 | 127 | 65 128 | 129 | -------------------------------------------------------------------------------- /BymlEditor/Form1.cs: -------------------------------------------------------------------------------- 1 | using Syroot.NintenTools.Byaml.Dynamic; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.ComponentModel; 5 | using System.Windows.Forms; 6 | 7 | namespace BymlEditor 8 | { 9 | public partial class mainForm : Form 10 | { 11 | 12 | public mainForm() 13 | { 14 | InitializeComponent(); 15 | } 16 | 17 | private void Form1_Load(object sender, EventArgs e) 18 | { 19 | 20 | } 21 | 22 | private void toXMLToolStripMenuItem_Click(object sender, EventArgs e) 23 | { 24 | 25 | } 26 | 27 | private void openToolStripMenuItem_Click(object sender, EventArgs e) 28 | { 29 | openFileNormal.ShowDialog(); 30 | } 31 | 32 | private void openFileNormal_FileOk(object sender, CancelEventArgs e) 33 | { 34 | tree.Nodes.Clear(); 35 | this.Text = "Binary YAML Editor [" + openFileNormal.SafeFileName + "]"; 36 | generateBymlList(openFileNormal.FileName); 37 | } 38 | 39 | private void aboutToolStripMenuItem_Click(object sender, EventArgs e) 40 | { 41 | 42 | } 43 | 44 | private void boxValue_TextChanged(object sender, EventArgs e) 45 | { 46 | 47 | } 48 | 49 | 50 | private void aboutToolStripMenuItem_Click_1(object sender, EventArgs e) 51 | { 52 | Form f = new Form(); 53 | } 54 | 55 | private void tree_AfterSelect(object sender, TreeViewEventArgs e) 56 | { 57 | if (((NodeDetails)e.Node.Tag) != null) 58 | { 59 | boxId.Text = ((NodeDetails)e.Node.Tag).id; 60 | boxType.Text = ((NodeDetails)e.Node.Tag).type; 61 | boxValue.Text = ((NodeDetails)e.Node.Tag).value; 62 | } 63 | } 64 | 65 | private void expandAllToolStripMenuItem_Click(object sender, EventArgs e) 66 | { 67 | tree.ExpandAll(); 68 | } 69 | 70 | private void collapseAllToolStripMenuItem_Click(object sender, EventArgs e) 71 | { 72 | tree.CollapseAll(); 73 | } 74 | 75 | #region Links 76 | 77 | private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 78 | { 79 | System.Diagnostics.Process.Start("https://github.com/Vatuu/BymlEditor"); 80 | } 81 | 82 | private void bYMLFileFormatToolStripMenuItem_Click(object sender, EventArgs e) 83 | { 84 | System.Diagnostics.Process.Start("http://mk8.tockdom.com/wiki/BYAML_(File_Format)"); 85 | } 86 | 87 | private void sMOModdingHubToolStripMenuItem_Click(object sender, EventArgs e) 88 | { 89 | System.Diagnostics.Process.Start("https://discord.gg/Hapgfny"); 90 | } 91 | 92 | private void zeldaBotWModdingHubToolStripMenuItem_Click(object sender, EventArgs e) 93 | { 94 | System.Diagnostics.Process.Start(" https://discord.gg/68YmVJX"); 95 | } 96 | 97 | #endregion 98 | 99 | #region Methods 100 | 101 | private void generateBymlList(string file) 102 | { 103 | dynamic byml = ByamlFile.Load(file, false, Syroot.BinaryData.ByteOrder.LittleEndian); 104 | tree.Nodes.Add(parseDynamic(byml, "root")); 105 | } 106 | 107 | private TreeNode parseDynamic(dynamic dyn, String name) 108 | { 109 | TreeNode node; 110 | NodeDetails details = new NodeDetails(); 111 | 112 | if(dyn is String) 113 | { 114 | details.id = "STRING"; 115 | details.type = "String"; 116 | details.value = dyn; 117 | node = new TreeNode(name != null ? name : "String"); 118 | }else if(dyn is int) 119 | { 120 | details.id = "INTEGER"; 121 | details.type = "Integer"; 122 | details.value = dyn.ToString(); 123 | node = new TreeNode(name != null ? name : "Integer"); 124 | }else if(dyn is float) 125 | { 126 | details.id = "FLOAT"; 127 | details.type = "Float"; 128 | details.value = dyn.ToString("0.000"); 129 | node = new TreeNode(name != null ? name : "Float"); 130 | }else if(dyn is bool) 131 | { 132 | details.id = "BOOLEAN"; 133 | details.type = "Boolean"; 134 | details.value = dyn.ToString(); 135 | node = new TreeNode(name != null ? name : "Boolean"); 136 | }else if(dyn is IEnumerable) 137 | { 138 | details.id = "ARRAY_LIST"; 139 | details.type = "Array"; 140 | 141 | List list = new List(dyn); 142 | List nodes = new List(); 143 | foreach(var i in list) 144 | { 145 | nodes.Add(parseDynamic(i, null)); 146 | } 147 | 148 | if(list.Count == 0) 149 | { 150 | details.value = "Empty List"; 151 | } 152 | else 153 | { 154 | details.value = list.Count == 1 ? "Contains " + list.Count + " Entry" : "Contains " + list.Count + " Entries"; 155 | } 156 | node = new TreeNode(name != null ? name : "Array", nodes.ToArray()); 157 | }else if(dyn is IDictionary) 158 | { 159 | details.id = "DICTIONARY"; 160 | details.type = "Dictionary"; 161 | 162 | Dictionary dic = new Dictionary(dyn); 163 | List nodes = new List(); 164 | foreach(var i in dic) 165 | { 166 | nodes.Add(parseDynamic(i.Value, i.Key)); 167 | } 168 | 169 | if (dic.Count == 0) 170 | { 171 | details.value = "Empty Dictionary"; 172 | } 173 | else 174 | { 175 | details.value = dic.Count == 1 ? "Contains " + dic.Count + " Entry" : "Contains " + dic.Count + " Entries"; 176 | } 177 | node = new TreeNode(name != null ? name : "Dictionary", nodes.ToArray()); 178 | } 179 | else 180 | { 181 | details.id = "ERROR"; 182 | details.type = "Error"; 183 | details.value = "ERRORED"; 184 | node = new TreeNode(name != null ? name : "Error!"); 185 | } 186 | 187 | node.Tag = details; 188 | return node; 189 | } 190 | 191 | #endregion 192 | 193 | #region Types 194 | 195 | public class NodeDetails 196 | { 197 | public String id { get; internal set; } 198 | public String type { get; set; } 199 | public dynamic value { get; set; } 200 | 201 | public NodeDetails() 202 | { 203 | } 204 | 205 | public NodeDetails(String id, dynamic value) 206 | { 207 | this.id = id; 208 | this.value = value; 209 | } 210 | 211 | } 212 | 213 | #endregion 214 | } 215 | } 216 | -------------------------------------------------------------------------------- /BymlEditor/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace BymlEditor 2 | { 3 | partial class mainForm 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.tree = new System.Windows.Forms.TreeView(); 32 | this.label1 = new System.Windows.Forms.Label(); 33 | this.label2 = new System.Windows.Forms.Label(); 34 | this.boxId = new System.Windows.Forms.TextBox(); 35 | this.boxType = new System.Windows.Forms.TextBox(); 36 | this.boxValue = new System.Windows.Forms.TextBox(); 37 | this.Value = new System.Windows.Forms.Label(); 38 | this.linkGithub = new System.Windows.Forms.LinkLabel(); 39 | this.label3 = new System.Windows.Forms.Label(); 40 | this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 41 | this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 42 | this.soonTMToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 43 | this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 44 | this.importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 45 | this.fromXMLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 46 | this.fromJSONToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 47 | this.exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 48 | this.toXMLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 49 | this.toJSONToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 50 | this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 51 | this.linkByml = new System.Windows.Forms.ToolStripMenuItem(); 52 | this.discordInvitesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 53 | this.discordMarioInvite = new System.Windows.Forms.ToolStripMenuItem(); 54 | this.zeldaDiscordInvite = new System.Windows.Forms.ToolStripMenuItem(); 55 | this.menuStrip1 = new System.Windows.Forms.MenuStrip(); 56 | this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 57 | this.expandAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 58 | this.collapseAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 59 | this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 60 | this.openFileNormal = new System.Windows.Forms.OpenFileDialog(); 61 | this.menuStrip1.SuspendLayout(); 62 | this.SuspendLayout(); 63 | // 64 | // tree 65 | // 66 | this.tree.Location = new System.Drawing.Point(12, 27); 67 | this.tree.Name = "tree"; 68 | this.tree.Size = new System.Drawing.Size(707, 522); 69 | this.tree.TabIndex = 0; 70 | this.tree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tree_AfterSelect); 71 | // 72 | // label1 73 | // 74 | this.label1.AutoSize = true; 75 | this.label1.Location = new System.Drawing.Point(111, 566); 76 | this.label1.Name = "label1"; 77 | this.label1.Size = new System.Drawing.Size(18, 13); 78 | this.label1.TabIndex = 2; 79 | this.label1.Text = "ID"; 80 | this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; 81 | // 82 | // label2 83 | // 84 | this.label2.AutoSize = true; 85 | this.label2.Location = new System.Drawing.Point(98, 592); 86 | this.label2.Name = "label2"; 87 | this.label2.Size = new System.Drawing.Size(31, 13); 88 | this.label2.TabIndex = 3; 89 | this.label2.Text = "Type"; 90 | this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; 91 | // 92 | // boxId 93 | // 94 | this.boxId.Location = new System.Drawing.Point(135, 563); 95 | this.boxId.Name = "boxId"; 96 | this.boxId.ReadOnly = true; 97 | this.boxId.Size = new System.Drawing.Size(458, 20); 98 | this.boxId.TabIndex = 4; 99 | // 100 | // boxType 101 | // 102 | this.boxType.Location = new System.Drawing.Point(135, 589); 103 | this.boxType.Name = "boxType"; 104 | this.boxType.ReadOnly = true; 105 | this.boxType.Size = new System.Drawing.Size(458, 20); 106 | this.boxType.TabIndex = 5; 107 | // 108 | // boxValue 109 | // 110 | this.boxValue.Location = new System.Drawing.Point(135, 615); 111 | this.boxValue.Name = "boxValue"; 112 | this.boxValue.Size = new System.Drawing.Size(458, 20); 113 | this.boxValue.TabIndex = 6; 114 | this.boxValue.TextChanged += new System.EventHandler(this.boxValue_TextChanged); 115 | // 116 | // Value 117 | // 118 | this.Value.AutoSize = true; 119 | this.Value.Location = new System.Drawing.Point(96, 618); 120 | this.Value.Name = "Value"; 121 | this.Value.Size = new System.Drawing.Size(34, 13); 122 | this.Value.TabIndex = 7; 123 | this.Value.Text = "Value"; 124 | this.Value.TextAlign = System.Drawing.ContentAlignment.MiddleRight; 125 | // 126 | // linkGithub 127 | // 128 | this.linkGithub.AutoSize = true; 129 | this.linkGithub.Location = new System.Drawing.Point(604, 658); 130 | this.linkGithub.Name = "linkGithub"; 131 | this.linkGithub.Size = new System.Drawing.Size(115, 13); 132 | this.linkGithub.TabIndex = 8; 133 | this.linkGithub.TabStop = true; 134 | this.linkGithub.Text = "BYML Editor on Github\r\n"; 135 | this.linkGithub.VisitedLinkColor = System.Drawing.Color.Blue; 136 | this.linkGithub.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); 137 | // 138 | // label3 139 | // 140 | this.label3.AutoSize = true; 141 | this.label3.ForeColor = System.Drawing.Color.LightSlateGray; 142 | this.label3.Location = new System.Drawing.Point(9, 658); 143 | this.label3.Name = "label3"; 144 | this.label3.Size = new System.Drawing.Size(60, 13); 145 | this.label3.TabIndex = 9; 146 | this.label3.Text = "Version 0.1"; 147 | // 148 | // fileToolStripMenuItem 149 | // 150 | this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { 151 | this.newToolStripMenuItem, 152 | this.openToolStripMenuItem, 153 | this.importToolStripMenuItem, 154 | this.exportToolStripMenuItem}); 155 | this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; 156 | this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); 157 | this.fileToolStripMenuItem.Text = "File"; 158 | // 159 | // newToolStripMenuItem 160 | // 161 | this.newToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { 162 | this.soonTMToolStripMenuItem}); 163 | this.newToolStripMenuItem.Enabled = false; 164 | this.newToolStripMenuItem.Name = "newToolStripMenuItem"; 165 | this.newToolStripMenuItem.Size = new System.Drawing.Size(155, 22); 166 | this.newToolStripMenuItem.Text = "New..."; 167 | // 168 | // soonTMToolStripMenuItem 169 | // 170 | this.soonTMToolStripMenuItem.Name = "soonTMToolStripMenuItem"; 171 | this.soonTMToolStripMenuItem.Size = new System.Drawing.Size(119, 22); 172 | this.soonTMToolStripMenuItem.Text = "SoonTM"; 173 | // 174 | // openToolStripMenuItem 175 | // 176 | this.openToolStripMenuItem.Name = "openToolStripMenuItem"; 177 | this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); 178 | this.openToolStripMenuItem.Size = new System.Drawing.Size(155, 22); 179 | this.openToolStripMenuItem.Text = "Open..."; 180 | this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click); 181 | // 182 | // importToolStripMenuItem 183 | // 184 | this.importToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { 185 | this.fromXMLToolStripMenuItem, 186 | this.fromJSONToolStripMenuItem}); 187 | this.importToolStripMenuItem.Enabled = false; 188 | this.importToolStripMenuItem.Name = "importToolStripMenuItem"; 189 | this.importToolStripMenuItem.Size = new System.Drawing.Size(155, 22); 190 | this.importToolStripMenuItem.Text = "Import..."; 191 | // 192 | // fromXMLToolStripMenuItem 193 | // 194 | this.fromXMLToolStripMenuItem.Name = "fromXMLToolStripMenuItem"; 195 | this.fromXMLToolStripMenuItem.Size = new System.Drawing.Size(133, 22); 196 | this.fromXMLToolStripMenuItem.Text = "From XML"; 197 | // 198 | // fromJSONToolStripMenuItem 199 | // 200 | this.fromJSONToolStripMenuItem.Name = "fromJSONToolStripMenuItem"; 201 | this.fromJSONToolStripMenuItem.Size = new System.Drawing.Size(133, 22); 202 | this.fromJSONToolStripMenuItem.Text = "From JSON"; 203 | // 204 | // exportToolStripMenuItem 205 | // 206 | this.exportToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { 207 | this.toXMLToolStripMenuItem, 208 | this.toJSONToolStripMenuItem}); 209 | this.exportToolStripMenuItem.Enabled = false; 210 | this.exportToolStripMenuItem.Name = "exportToolStripMenuItem"; 211 | this.exportToolStripMenuItem.Size = new System.Drawing.Size(155, 22); 212 | this.exportToolStripMenuItem.Text = "Export..."; 213 | // 214 | // toXMLToolStripMenuItem 215 | // 216 | this.toXMLToolStripMenuItem.Name = "toXMLToolStripMenuItem"; 217 | this.toXMLToolStripMenuItem.Size = new System.Drawing.Size(119, 22); 218 | this.toXMLToolStripMenuItem.Text = "To XML"; 219 | this.toXMLToolStripMenuItem.Click += new System.EventHandler(this.toXMLToolStripMenuItem_Click); 220 | // 221 | // toJSONToolStripMenuItem 222 | // 223 | this.toJSONToolStripMenuItem.Name = "toJSONToolStripMenuItem"; 224 | this.toJSONToolStripMenuItem.Size = new System.Drawing.Size(119, 22); 225 | this.toJSONToolStripMenuItem.Text = "To JSON"; 226 | // 227 | // helpToolStripMenuItem 228 | // 229 | this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { 230 | this.linkByml, 231 | this.discordInvitesToolStripMenuItem}); 232 | this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; 233 | this.helpToolStripMenuItem.Size = new System.Drawing.Size(46, 20); 234 | this.helpToolStripMenuItem.Text = "Links"; 235 | // 236 | // linkByml 237 | // 238 | this.linkByml.Name = "linkByml"; 239 | this.linkByml.Size = new System.Drawing.Size(175, 22); 240 | this.linkByml.Text = "BYAML File Format"; 241 | this.linkByml.Click += new System.EventHandler(this.bYMLFileFormatToolStripMenuItem_Click); 242 | // 243 | // discordInvitesToolStripMenuItem 244 | // 245 | this.discordInvitesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { 246 | this.discordMarioInvite, 247 | this.zeldaDiscordInvite}); 248 | this.discordInvitesToolStripMenuItem.Name = "discordInvitesToolStripMenuItem"; 249 | this.discordInvitesToolStripMenuItem.Size = new System.Drawing.Size(167, 22); 250 | this.discordInvitesToolStripMenuItem.Text = "Discord Invites"; 251 | // 252 | // discordMarioInvite 253 | // 254 | this.discordMarioInvite.Name = "discordMarioInvite"; 255 | this.discordMarioInvite.Size = new System.Drawing.Size(213, 22); 256 | this.discordMarioInvite.Text = "SMO Modding Hub"; 257 | this.discordMarioInvite.Click += new System.EventHandler(this.sMOModdingHubToolStripMenuItem_Click); 258 | // 259 | // zeldaDiscordInvite 260 | // 261 | this.zeldaDiscordInvite.Name = "zeldaDiscordInvite"; 262 | this.zeldaDiscordInvite.Size = new System.Drawing.Size(213, 22); 263 | this.zeldaDiscordInvite.Text = "Zelda BotW Modding Hub"; 264 | this.zeldaDiscordInvite.Click += new System.EventHandler(this.zeldaBotWModdingHubToolStripMenuItem_Click); 265 | // 266 | // menuStrip1 267 | // 268 | this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { 269 | this.fileToolStripMenuItem, 270 | this.helpToolStripMenuItem, 271 | this.viewToolStripMenuItem, 272 | this.aboutToolStripMenuItem}); 273 | this.menuStrip1.Location = new System.Drawing.Point(0, 0); 274 | this.menuStrip1.Name = "menuStrip1"; 275 | this.menuStrip1.Size = new System.Drawing.Size(731, 24); 276 | this.menuStrip1.TabIndex = 1; 277 | this.menuStrip1.Text = "menuStrip1"; 278 | // 279 | // viewToolStripMenuItem 280 | // 281 | this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { 282 | this.expandAllToolStripMenuItem, 283 | this.collapseAllToolStripMenuItem}); 284 | this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; 285 | this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20); 286 | this.viewToolStripMenuItem.Text = "View"; 287 | // 288 | // expandAllToolStripMenuItem 289 | // 290 | this.expandAllToolStripMenuItem.Name = "expandAllToolStripMenuItem"; 291 | this.expandAllToolStripMenuItem.Size = new System.Drawing.Size(152, 22); 292 | this.expandAllToolStripMenuItem.Text = "Expand all"; 293 | this.expandAllToolStripMenuItem.Click += new System.EventHandler(this.expandAllToolStripMenuItem_Click); 294 | // 295 | // collapseAllToolStripMenuItem 296 | // 297 | this.collapseAllToolStripMenuItem.Name = "collapseAllToolStripMenuItem"; 298 | this.collapseAllToolStripMenuItem.Size = new System.Drawing.Size(152, 22); 299 | this.collapseAllToolStripMenuItem.Text = "Collapse all"; 300 | this.collapseAllToolStripMenuItem.Click += new System.EventHandler(this.collapseAllToolStripMenuItem_Click); 301 | // 302 | // aboutToolStripMenuItem 303 | // 304 | this.aboutToolStripMenuItem.Enabled = false; 305 | this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; 306 | this.aboutToolStripMenuItem.Size = new System.Drawing.Size(61, 20); 307 | this.aboutToolStripMenuItem.Text = "About..."; 308 | this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click_1); 309 | // 310 | // openFileNormal 311 | // 312 | this.openFileNormal.DefaultExt = "byml"; 313 | this.openFileNormal.Filter = "Binary YAML Files|*.byml"; 314 | this.openFileNormal.Title = "Open BYML..."; 315 | this.openFileNormal.FileOk += new System.ComponentModel.CancelEventHandler(this.openFileNormal_FileOk); 316 | // 317 | // mainForm 318 | // 319 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 320 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 321 | this.ClientSize = new System.Drawing.Size(731, 681); 322 | this.Controls.Add(this.label3); 323 | this.Controls.Add(this.linkGithub); 324 | this.Controls.Add(this.Value); 325 | this.Controls.Add(this.boxValue); 326 | this.Controls.Add(this.boxType); 327 | this.Controls.Add(this.boxId); 328 | this.Controls.Add(this.label2); 329 | this.Controls.Add(this.label1); 330 | this.Controls.Add(this.tree); 331 | this.Controls.Add(this.menuStrip1); 332 | this.MainMenuStrip = this.menuStrip1; 333 | this.Name = "mainForm"; 334 | this.Text = "Binary YAML Editor"; 335 | this.Load += new System.EventHandler(this.Form1_Load); 336 | this.menuStrip1.ResumeLayout(false); 337 | this.menuStrip1.PerformLayout(); 338 | this.ResumeLayout(false); 339 | this.PerformLayout(); 340 | 341 | } 342 | 343 | #endregion 344 | 345 | private System.Windows.Forms.TreeView tree; 346 | private System.Windows.Forms.Label label1; 347 | private System.Windows.Forms.Label label2; 348 | private System.Windows.Forms.TextBox boxId; 349 | private System.Windows.Forms.TextBox boxType; 350 | private System.Windows.Forms.TextBox boxValue; 351 | private System.Windows.Forms.Label Value; 352 | private System.Windows.Forms.LinkLabel linkGithub; 353 | private System.Windows.Forms.Label label3; 354 | private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; 355 | private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem; 356 | private System.Windows.Forms.ToolStripMenuItem soonTMToolStripMenuItem; 357 | private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem; 358 | private System.Windows.Forms.ToolStripMenuItem importToolStripMenuItem; 359 | private System.Windows.Forms.ToolStripMenuItem fromXMLToolStripMenuItem; 360 | private System.Windows.Forms.ToolStripMenuItem fromJSONToolStripMenuItem; 361 | private System.Windows.Forms.ToolStripMenuItem exportToolStripMenuItem; 362 | private System.Windows.Forms.ToolStripMenuItem toXMLToolStripMenuItem; 363 | private System.Windows.Forms.ToolStripMenuItem toJSONToolStripMenuItem; 364 | private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem; 365 | private System.Windows.Forms.ToolStripMenuItem discordInvitesToolStripMenuItem; 366 | private System.Windows.Forms.ToolStripMenuItem discordMarioInvite; 367 | private System.Windows.Forms.ToolStripMenuItem zeldaDiscordInvite; 368 | private System.Windows.Forms.ToolStripMenuItem linkByml; 369 | private System.Windows.Forms.MenuStrip menuStrip1; 370 | private System.Windows.Forms.OpenFileDialog openFileNormal; 371 | private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem; 372 | private System.Windows.Forms.ToolStripMenuItem viewToolStripMenuItem; 373 | private System.Windows.Forms.ToolStripMenuItem expandAllToolStripMenuItem; 374 | private System.Windows.Forms.ToolStripMenuItem collapseAllToolStripMenuItem; 375 | } 376 | } 377 | 378 | --------------------------------------------------------------------------------