mirror of
https://github.com/suloku/prdse.git
synced 2026-04-25 07:58:01 -05:00
Initial v.01 commit
This commit is contained in:
commit
baaec11828
226
.gitignore
vendored
Normal file
226
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,226 @@
|
|||
## Ignore Visual Studio temporary files, build results, and
|
||||
## files generated by popular Visual Studio add-ons.
|
||||
|
||||
# User-specific files
|
||||
*.suo
|
||||
*.user
|
||||
*.userosscache
|
||||
*.sln.docstates
|
||||
|
||||
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||
*.userprefs
|
||||
|
||||
# Build results
|
||||
[Dd]ebug/
|
||||
[Dd]ebugPublic/
|
||||
[Rr]elease/
|
||||
[Rr]eleases/
|
||||
x64/
|
||||
x86/
|
||||
build/
|
||||
bld/
|
||||
[Bb]in/
|
||||
[Oo]bj/
|
||||
|
||||
# Visual Studio 2015 cache/options directory
|
||||
.vs/
|
||||
# Uncomment if you have tasks that create the project's static files in wwwroot
|
||||
#wwwroot/
|
||||
|
||||
# MSTest test Results
|
||||
[Tt]est[Rr]esult*/
|
||||
[Bb]uild[Ll]og.*
|
||||
|
||||
# NUNIT
|
||||
*.VisualState.xml
|
||||
TestResult.xml
|
||||
|
||||
# Build Results of an ATL Project
|
||||
[Dd]ebugPS/
|
||||
[Rr]eleasePS/
|
||||
dlldata.c
|
||||
|
||||
# DNX
|
||||
project.lock.json
|
||||
artifacts/
|
||||
|
||||
*_i.c
|
||||
*_p.c
|
||||
*_i.h
|
||||
*.ilk
|
||||
*.meta
|
||||
*.obj
|
||||
*.pch
|
||||
*.pdb
|
||||
*.pgc
|
||||
*.pgd
|
||||
*.rsp
|
||||
*.sbr
|
||||
*.tlb
|
||||
*.tli
|
||||
*.tlh
|
||||
*.tmp
|
||||
*.tmp_proj
|
||||
*.log
|
||||
*.vspscc
|
||||
*.vssscc
|
||||
.builds
|
||||
*.pidb
|
||||
*.svclog
|
||||
*.scc
|
||||
|
||||
# Chutzpah Test files
|
||||
_Chutzpah*
|
||||
|
||||
# Visual C++ cache files
|
||||
ipch/
|
||||
*.aps
|
||||
*.ncb
|
||||
*.opensdf
|
||||
*.sdf
|
||||
*.cachefile
|
||||
|
||||
# Visual Studio profiler
|
||||
*.psess
|
||||
*.vsp
|
||||
*.vspx
|
||||
*.sap
|
||||
|
||||
# TFS 2012 Local Workspace
|
||||
$tf/
|
||||
|
||||
# Guidance Automation Toolkit
|
||||
*.gpState
|
||||
|
||||
# ReSharper is a .NET coding add-in
|
||||
_ReSharper*/
|
||||
*.[Rr]e[Ss]harper
|
||||
*.DotSettings.user
|
||||
|
||||
# JustCode is a .NET coding add-in
|
||||
.JustCode
|
||||
|
||||
# TeamCity is a build add-in
|
||||
_TeamCity*
|
||||
|
||||
# DotCover is a Code Coverage Tool
|
||||
*.dotCover
|
||||
|
||||
# NCrunch
|
||||
_NCrunch_*
|
||||
.*crunch*.local.xml
|
||||
nCrunchTemp_*
|
||||
|
||||
# MightyMoose
|
||||
*.mm.*
|
||||
AutoTest.Net/
|
||||
|
||||
# Web workbench (sass)
|
||||
.sass-cache/
|
||||
|
||||
# Installshield output folder
|
||||
[Ee]xpress/
|
||||
|
||||
# DocProject is a documentation generator add-in
|
||||
DocProject/buildhelp/
|
||||
DocProject/Help/*.HxT
|
||||
DocProject/Help/*.HxC
|
||||
DocProject/Help/*.hhc
|
||||
DocProject/Help/*.hhk
|
||||
DocProject/Help/*.hhp
|
||||
DocProject/Help/Html2
|
||||
DocProject/Help/html
|
||||
|
||||
# Click-Once directory
|
||||
publish/
|
||||
|
||||
# Publish Web Output
|
||||
*.[Pp]ublish.xml
|
||||
*.azurePubxml
|
||||
# TODO: Comment the next line if you want to checkin your web deploy settings
|
||||
# but database connection strings (with potential passwords) will be unencrypted
|
||||
*.pubxml
|
||||
*.publishproj
|
||||
|
||||
# NuGet Packages
|
||||
*.nupkg
|
||||
# The packages folder can be ignored because of Package Restore
|
||||
**/packages/*
|
||||
# except build/, which is used as an MSBuild target.
|
||||
!**/packages/build/
|
||||
# Uncomment if necessary however generally it will be regenerated when needed
|
||||
#!**/packages/repositories.config
|
||||
|
||||
# Windows Azure Build Output
|
||||
csx/
|
||||
*.build.csdef
|
||||
|
||||
# Windows Store app package directory
|
||||
AppPackages/
|
||||
|
||||
# Visual Studio cache files
|
||||
# files ending in .cache can be ignored
|
||||
*.[Cc]ache
|
||||
# but keep track of directories ending in .cache
|
||||
!*.[Cc]ache/
|
||||
|
||||
# Others
|
||||
ClientBin/
|
||||
[Ss]tyle[Cc]op.*
|
||||
~$*
|
||||
*~
|
||||
*.dbmdl
|
||||
*.dbproj.schemaview
|
||||
*.pfx
|
||||
*.publishsettings
|
||||
node_modules/
|
||||
orleans.codegen.cs
|
||||
|
||||
# RIA/Silverlight projects
|
||||
Generated_Code/
|
||||
|
||||
# Backup & report files from converting an old project file
|
||||
# to a newer Visual Studio version. Backup files are not needed,
|
||||
# because we have git ;-)
|
||||
_UpgradeReport_Files/
|
||||
Backup*/
|
||||
UpgradeLog*.XML
|
||||
UpgradeLog*.htm
|
||||
|
||||
# SQL Server files
|
||||
*.mdf
|
||||
*.ldf
|
||||
|
||||
# Business Intelligence projects
|
||||
*.rdl.data
|
||||
*.bim.layout
|
||||
*.bim_*.settings
|
||||
|
||||
# Microsoft Fakes
|
||||
FakesAssemblies/
|
||||
|
||||
# GhostDoc plugin setting file
|
||||
*.GhostDoc.xml
|
||||
|
||||
# Node.js Tools for Visual Studio
|
||||
.ntvs_analysis.dat
|
||||
|
||||
# Visual Studio 6 build log
|
||||
*.plg
|
||||
|
||||
# Visual Studio 6 workspace options file
|
||||
*.opt
|
||||
|
||||
# Visual Studio LightSwitch build output
|
||||
**/*.HTMLClient/GeneratedArtifacts
|
||||
**/*.DesktopClient/GeneratedArtifacts
|
||||
**/*.DesktopClient/ModelManifest.xml
|
||||
**/*.Server/GeneratedArtifacts
|
||||
**/*.Server/ModelManifest.xml
|
||||
_Pvt_Extensions
|
||||
|
||||
# Paket dependency manager
|
||||
.paket/paket.exe
|
||||
|
||||
# FAKE - F# Make
|
||||
.fake/
|
||||
18
Pokemon Dream Radar Save Editor.sln
Normal file
18
Pokemon Dream Radar Save Editor.sln
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
# SharpDevelop 5.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pokemon Dream Radar Save Editor", "Pokemon Dream Radar Save Editor\Pokemon Dream Radar Save Editor.csproj", "{DDB14A9D-084C-4C55-9916-6FE0C024473A}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{DDB14A9D-084C-4C55-9916-6FE0C024473A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DDB14A9D-084C-4C55-9916-6FE0C024473A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DDB14A9D-084C-4C55-9916-6FE0C024473A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DDB14A9D-084C-4C55-9916-6FE0C024473A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
539
Pokemon Dream Radar Save Editor/MainForm.Designer.cs
generated
Normal file
539
Pokemon Dream Radar Save Editor/MainForm.Designer.cs
generated
Normal file
|
|
@ -0,0 +1,539 @@
|
|||
/*
|
||||
* Created by SharpDevelop.
|
||||
* User: suloku
|
||||
* Date: 12/10/2015
|
||||
* Time: 20:10
|
||||
*
|
||||
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||
*/
|
||||
namespace Pokemon_Dream_Radar_Save_Editor
|
||||
{
|
||||
partial class MainForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Designer variable used to keep track of non-visual components.
|
||||
/// </summary>
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.TextBox savegamename;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.NumericUpDown orbs_box;
|
||||
private System.Windows.Forms.CheckBox dialga_check;
|
||||
private System.Windows.Forms.CheckBox giratina_check;
|
||||
private System.Windows.Forms.CheckBox hoho_check;
|
||||
private System.Windows.Forms.CheckBox lugia_check;
|
||||
private System.Windows.Forms.CheckBox palkia_check;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.NumericUpDown totalorb_box;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.CheckBox giratina_catch_check;
|
||||
private System.Windows.Forms.CheckBox palkia_catch_check;
|
||||
private System.Windows.Forms.CheckBox lugia_catch_check;
|
||||
private System.Windows.Forms.CheckBox hoho_catch_check;
|
||||
private System.Windows.Forms.CheckBox dialga_catch_check;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown4;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown3;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown2;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||
private System.Windows.Forms.GroupBox groupBox3;
|
||||
private System.Windows.Forms.CheckBox checkBox12;
|
||||
private System.Windows.Forms.CheckBox checkBox11;
|
||||
private System.Windows.Forms.CheckBox checkBox10;
|
||||
private System.Windows.Forms.CheckBox checkBox9;
|
||||
private System.Windows.Forms.CheckBox checkBox8;
|
||||
private System.Windows.Forms.CheckBox checkBox7;
|
||||
private System.Windows.Forms.CheckBox checkBox6;
|
||||
private System.Windows.Forms.CheckBox checkBox5;
|
||||
private System.Windows.Forms.CheckBox checkBox4;
|
||||
private System.Windows.Forms.CheckBox checkBox3;
|
||||
private System.Windows.Forms.CheckBox checkBox2;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.savegamename = new System.Windows.Forms.TextBox();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.totalorb_box = new System.Windows.Forms.NumericUpDown();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.giratina_catch_check = new System.Windows.Forms.CheckBox();
|
||||
this.dialga_catch_check = new System.Windows.Forms.CheckBox();
|
||||
this.palkia_catch_check = new System.Windows.Forms.CheckBox();
|
||||
this.lugia_catch_check = new System.Windows.Forms.CheckBox();
|
||||
this.hoho_catch_check = new System.Windows.Forms.CheckBox();
|
||||
this.giratina_check = new System.Windows.Forms.CheckBox();
|
||||
this.dialga_check = new System.Windows.Forms.CheckBox();
|
||||
this.palkia_check = new System.Windows.Forms.CheckBox();
|
||||
this.lugia_check = new System.Windows.Forms.CheckBox();
|
||||
this.hoho_check = new System.Windows.Forms.CheckBox();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.numericUpDown4 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.orbs_box = new System.Windows.Forms.NumericUpDown();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.checkBox11 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox10 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox9 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox8 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox7 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox5 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox4 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox3 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox2 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox6 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox12 = new System.Windows.Forms.CheckBox();
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(112, 12);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(100, 23);
|
||||
this.button1.TabIndex = 0;
|
||||
this.button1.Text = "Open Save";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.Button1Click);
|
||||
//
|
||||
// savegamename
|
||||
//
|
||||
this.savegamename.Location = new System.Drawing.Point(12, 41);
|
||||
this.savegamename.Name = "savegamename";
|
||||
this.savegamename.Size = new System.Drawing.Size(298, 20);
|
||||
this.savegamename.TabIndex = 1;
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(646, 36);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||
this.button2.TabIndex = 12;
|
||||
this.button2.Text = "Save";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.Button2Click);
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Location = new System.Drawing.Point(316, 41);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(100, 23);
|
||||
this.label3.TabIndex = 13;
|
||||
this.label3.Text = "Total collected orbs";
|
||||
//
|
||||
// totalorb_box
|
||||
//
|
||||
this.totalorb_box.Location = new System.Drawing.Point(422, 39);
|
||||
this.totalorb_box.Maximum = new decimal(new int[] {
|
||||
65535,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.totalorb_box.Name = "totalorb_box";
|
||||
this.totalorb_box.ReadOnly = true;
|
||||
this.totalorb_box.Size = new System.Drawing.Size(120, 20);
|
||||
this.totalorb_box.TabIndex = 14;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.giratina_catch_check);
|
||||
this.groupBox1.Controls.Add(this.dialga_catch_check);
|
||||
this.groupBox1.Controls.Add(this.palkia_catch_check);
|
||||
this.groupBox1.Controls.Add(this.lugia_catch_check);
|
||||
this.groupBox1.Controls.Add(this.hoho_catch_check);
|
||||
this.groupBox1.Controls.Add(this.giratina_check);
|
||||
this.groupBox1.Controls.Add(this.dialga_check);
|
||||
this.groupBox1.Controls.Add(this.palkia_check);
|
||||
this.groupBox1.Controls.Add(this.lugia_check);
|
||||
this.groupBox1.Controls.Add(this.hoho_check);
|
||||
this.groupBox1.Location = new System.Drawing.Point(555, 87);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(247, 124);
|
||||
this.groupBox1.TabIndex = 15;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "Gen IV Extension";
|
||||
//
|
||||
// giratina_catch_check
|
||||
//
|
||||
this.giratina_catch_check.Location = new System.Drawing.Point(127, 55);
|
||||
this.giratina_catch_check.Name = "giratina_catch_check";
|
||||
this.giratina_catch_check.Size = new System.Drawing.Size(114, 24);
|
||||
this.giratina_catch_check.TabIndex = 18;
|
||||
this.giratina_catch_check.Text = "Giratina Catched";
|
||||
this.giratina_catch_check.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// dialga_catch_check
|
||||
//
|
||||
this.dialga_catch_check.Location = new System.Drawing.Point(127, 14);
|
||||
this.dialga_catch_check.Name = "dialga_catch_check";
|
||||
this.dialga_catch_check.Size = new System.Drawing.Size(115, 24);
|
||||
this.dialga_catch_check.TabIndex = 16;
|
||||
this.dialga_catch_check.Text = "Dialga Catched";
|
||||
this.dialga_catch_check.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// palkia_catch_check
|
||||
//
|
||||
this.palkia_catch_check.Location = new System.Drawing.Point(127, 34);
|
||||
this.palkia_catch_check.Name = "palkia_catch_check";
|
||||
this.palkia_catch_check.Size = new System.Drawing.Size(104, 24);
|
||||
this.palkia_catch_check.TabIndex = 17;
|
||||
this.palkia_catch_check.Text = "Palkia Catched";
|
||||
this.palkia_catch_check.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lugia_catch_check
|
||||
//
|
||||
this.lugia_catch_check.Location = new System.Drawing.Point(127, 95);
|
||||
this.lugia_catch_check.Name = "lugia_catch_check";
|
||||
this.lugia_catch_check.Size = new System.Drawing.Size(115, 24);
|
||||
this.lugia_catch_check.TabIndex = 20;
|
||||
this.lugia_catch_check.Text = "Lugia Catched";
|
||||
this.lugia_catch_check.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// hoho_catch_check
|
||||
//
|
||||
this.hoho_catch_check.Location = new System.Drawing.Point(127, 75);
|
||||
this.hoho_catch_check.Name = "hoho_catch_check";
|
||||
this.hoho_catch_check.Size = new System.Drawing.Size(115, 24);
|
||||
this.hoho_catch_check.TabIndex = 19;
|
||||
this.hoho_catch_check.Text = "Ho-Oh Catched";
|
||||
this.hoho_catch_check.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// giratina_check
|
||||
//
|
||||
this.giratina_check.Location = new System.Drawing.Point(6, 55);
|
||||
this.giratina_check.Name = "giratina_check";
|
||||
this.giratina_check.Size = new System.Drawing.Size(123, 24);
|
||||
this.giratina_check.TabIndex = 13;
|
||||
this.giratina_check.Text = "Renegade (Giratina)";
|
||||
this.giratina_check.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// dialga_check
|
||||
//
|
||||
this.dialga_check.Location = new System.Drawing.Point(6, 14);
|
||||
this.dialga_check.Name = "dialga_check";
|
||||
this.dialga_check.Size = new System.Drawing.Size(115, 24);
|
||||
this.dialga_check.TabIndex = 11;
|
||||
this.dialga_check.Text = "Temporal (Dialga)";
|
||||
this.dialga_check.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// palkia_check
|
||||
//
|
||||
this.palkia_check.Location = new System.Drawing.Point(6, 34);
|
||||
this.palkia_check.Name = "palkia_check";
|
||||
this.palkia_check.Size = new System.Drawing.Size(104, 24);
|
||||
this.palkia_check.TabIndex = 12;
|
||||
this.palkia_check.Text = "Spatial (Palkia)";
|
||||
this.palkia_check.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lugia_check
|
||||
//
|
||||
this.lugia_check.Location = new System.Drawing.Point(6, 95);
|
||||
this.lugia_check.Name = "lugia_check";
|
||||
this.lugia_check.Size = new System.Drawing.Size(115, 24);
|
||||
this.lugia_check.TabIndex = 15;
|
||||
this.lugia_check.Text = "Diving (Lugia)";
|
||||
this.lugia_check.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// hoho_check
|
||||
//
|
||||
this.hoho_check.Location = new System.Drawing.Point(6, 75);
|
||||
this.hoho_check.Name = "hoho_check";
|
||||
this.hoho_check.Size = new System.Drawing.Size(115, 24);
|
||||
this.hoho_check.TabIndex = 14;
|
||||
this.hoho_check.Text = "Rainbow (Ho-Oh)";
|
||||
this.hoho_check.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.numericUpDown4);
|
||||
this.groupBox2.Controls.Add(this.label6);
|
||||
this.groupBox2.Controls.Add(this.numericUpDown3);
|
||||
this.groupBox2.Controls.Add(this.label5);
|
||||
this.groupBox2.Controls.Add(this.numericUpDown2);
|
||||
this.groupBox2.Controls.Add(this.label4);
|
||||
this.groupBox2.Controls.Add(this.numericUpDown1);
|
||||
this.groupBox2.Controls.Add(this.label2);
|
||||
this.groupBox2.Controls.Add(this.orbs_box);
|
||||
this.groupBox2.Controls.Add(this.label1);
|
||||
this.groupBox2.Location = new System.Drawing.Point(12, 87);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new System.Drawing.Size(227, 152);
|
||||
this.groupBox2.TabIndex = 24;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "Orbs";
|
||||
//
|
||||
// numericUpDown4
|
||||
//
|
||||
this.numericUpDown4.Location = new System.Drawing.Point(89, 120);
|
||||
this.numericUpDown4.Maximum = new decimal(new int[] {
|
||||
65535,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown4.Name = "numericUpDown4";
|
||||
this.numericUpDown4.ReadOnly = true;
|
||||
this.numericUpDown4.Size = new System.Drawing.Size(120, 20);
|
||||
this.numericUpDown4.TabIndex = 33;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Location = new System.Drawing.Point(35, 122);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(48, 23);
|
||||
this.label6.TabIndex = 32;
|
||||
this.label6.Text = "Blue";
|
||||
//
|
||||
// numericUpDown3
|
||||
//
|
||||
this.numericUpDown3.Location = new System.Drawing.Point(89, 94);
|
||||
this.numericUpDown3.Maximum = new decimal(new int[] {
|
||||
65535,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown3.Name = "numericUpDown3";
|
||||
this.numericUpDown3.ReadOnly = true;
|
||||
this.numericUpDown3.Size = new System.Drawing.Size(120, 20);
|
||||
this.numericUpDown3.TabIndex = 31;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Location = new System.Drawing.Point(35, 96);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(48, 23);
|
||||
this.label5.TabIndex = 30;
|
||||
this.label5.Text = "Orange:";
|
||||
//
|
||||
// numericUpDown2
|
||||
//
|
||||
this.numericUpDown2.Location = new System.Drawing.Point(89, 68);
|
||||
this.numericUpDown2.Maximum = new decimal(new int[] {
|
||||
65535,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown2.Name = "numericUpDown2";
|
||||
this.numericUpDown2.ReadOnly = true;
|
||||
this.numericUpDown2.Size = new System.Drawing.Size(120, 20);
|
||||
this.numericUpDown2.TabIndex = 29;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Location = new System.Drawing.Point(35, 70);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(48, 23);
|
||||
this.label4.TabIndex = 28;
|
||||
this.label4.Text = "Green:";
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(89, 42);
|
||||
this.numericUpDown1.Maximum = new decimal(new int[] {
|
||||
65535,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown1.Name = "numericUpDown1";
|
||||
this.numericUpDown1.ReadOnly = true;
|
||||
this.numericUpDown1.Size = new System.Drawing.Size(120, 20);
|
||||
this.numericUpDown1.TabIndex = 27;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Location = new System.Drawing.Point(35, 44);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(48, 23);
|
||||
this.label2.TabIndex = 26;
|
||||
this.label2.Text = "Pink:";
|
||||
//
|
||||
// orbs_box
|
||||
//
|
||||
this.orbs_box.Location = new System.Drawing.Point(55, 17);
|
||||
this.orbs_box.Maximum = new decimal(new int[] {
|
||||
65535,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.orbs_box.Name = "orbs_box";
|
||||
this.orbs_box.Size = new System.Drawing.Size(120, 20);
|
||||
this.orbs_box.TabIndex = 25;
|
||||
this.orbs_box.ValueChanged += new System.EventHandler(this.Orbs_boxValueChanged);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Location = new System.Drawing.Point(10, 18);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(73, 23);
|
||||
this.label1.TabIndex = 24;
|
||||
this.label1.Text = "Current:";
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.Controls.Add(this.checkBox12);
|
||||
this.groupBox3.Controls.Add(this.checkBox11);
|
||||
this.groupBox3.Controls.Add(this.checkBox10);
|
||||
this.groupBox3.Controls.Add(this.checkBox9);
|
||||
this.groupBox3.Controls.Add(this.checkBox8);
|
||||
this.groupBox3.Controls.Add(this.checkBox7);
|
||||
this.groupBox3.Controls.Add(this.checkBox6);
|
||||
this.groupBox3.Controls.Add(this.checkBox5);
|
||||
this.groupBox3.Controls.Add(this.checkBox4);
|
||||
this.groupBox3.Controls.Add(this.checkBox3);
|
||||
this.groupBox3.Controls.Add(this.checkBox2);
|
||||
this.groupBox3.Controls.Add(this.checkBox1);
|
||||
this.groupBox3.Location = new System.Drawing.Point(245, 87);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Size = new System.Drawing.Size(297, 152);
|
||||
this.groupBox3.TabIndex = 25;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "Extensions (Currently disabled)";
|
||||
//
|
||||
// checkBox11
|
||||
//
|
||||
this.checkBox11.Location = new System.Drawing.Point(160, 116);
|
||||
this.checkBox11.Name = "checkBox11";
|
||||
this.checkBox11.Size = new System.Drawing.Size(131, 24);
|
||||
this.checkBox11.TabIndex = 10;
|
||||
this.checkBox11.Text = "Landorus Catched";
|
||||
this.checkBox11.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox10
|
||||
//
|
||||
this.checkBox10.Location = new System.Drawing.Point(160, 95);
|
||||
this.checkBox10.Name = "checkBox10";
|
||||
this.checkBox10.Size = new System.Drawing.Size(131, 24);
|
||||
this.checkBox10.TabIndex = 9;
|
||||
this.checkBox10.Text = "Thundurus Catched";
|
||||
this.checkBox10.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox9
|
||||
//
|
||||
this.checkBox9.Location = new System.Drawing.Point(160, 75);
|
||||
this.checkBox9.Name = "checkBox9";
|
||||
this.checkBox9.Size = new System.Drawing.Size(131, 24);
|
||||
this.checkBox9.TabIndex = 8;
|
||||
this.checkBox9.Text = "Tornadus Catched";
|
||||
this.checkBox9.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox8
|
||||
//
|
||||
this.checkBox8.Location = new System.Drawing.Point(160, 55);
|
||||
this.checkBox8.Name = "checkBox8";
|
||||
this.checkBox8.Size = new System.Drawing.Size(131, 24);
|
||||
this.checkBox8.TabIndex = 7;
|
||||
this.checkBox8.Text = "Simulator Gamma";
|
||||
this.checkBox8.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox7
|
||||
//
|
||||
this.checkBox7.Location = new System.Drawing.Point(160, 34);
|
||||
this.checkBox7.Name = "checkBox7";
|
||||
this.checkBox7.Size = new System.Drawing.Size(131, 24);
|
||||
this.checkBox7.TabIndex = 6;
|
||||
this.checkBox7.Text = "Simulator Beta";
|
||||
this.checkBox7.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox5
|
||||
//
|
||||
this.checkBox5.Location = new System.Drawing.Point(6, 116);
|
||||
this.checkBox5.Name = "checkBox5";
|
||||
this.checkBox5.Size = new System.Drawing.Size(165, 24);
|
||||
this.checkBox5.TabIndex = 4;
|
||||
this.checkBox5.Text = "Eureka Gamma (Landorus)";
|
||||
this.checkBox5.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox4
|
||||
//
|
||||
this.checkBox4.Location = new System.Drawing.Point(6, 95);
|
||||
this.checkBox4.Name = "checkBox4";
|
||||
this.checkBox4.Size = new System.Drawing.Size(148, 24);
|
||||
this.checkBox4.TabIndex = 3;
|
||||
this.checkBox4.Text = "Eureka Beta (Thundurus)";
|
||||
this.checkBox4.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox3
|
||||
//
|
||||
this.checkBox3.Location = new System.Drawing.Point(6, 55);
|
||||
this.checkBox3.Name = "checkBox3";
|
||||
this.checkBox3.Size = new System.Drawing.Size(148, 24);
|
||||
this.checkBox3.TabIndex = 2;
|
||||
this.checkBox3.Text = "Dowsing";
|
||||
this.checkBox3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox2
|
||||
//
|
||||
this.checkBox2.Location = new System.Drawing.Point(6, 75);
|
||||
this.checkBox2.Name = "checkBox2";
|
||||
this.checkBox2.Size = new System.Drawing.Size(148, 24);
|
||||
this.checkBox2.TabIndex = 1;
|
||||
this.checkBox2.Text = "Eureka Alpha (Tornadus)";
|
||||
this.checkBox2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.Location = new System.Drawing.Point(6, 35);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(148, 24);
|
||||
this.checkBox1.TabIndex = 0;
|
||||
this.checkBox1.Text = "Retrieval";
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox6
|
||||
//
|
||||
this.checkBox6.Location = new System.Drawing.Point(160, 14);
|
||||
this.checkBox6.Name = "checkBox6";
|
||||
this.checkBox6.Size = new System.Drawing.Size(148, 24);
|
||||
this.checkBox6.TabIndex = 5;
|
||||
this.checkBox6.Text = "Simulator Alpha";
|
||||
this.checkBox6.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox12
|
||||
//
|
||||
this.checkBox12.Location = new System.Drawing.Point(6, 14);
|
||||
this.checkBox12.Name = "checkBox12";
|
||||
this.checkBox12.Size = new System.Drawing.Size(148, 24);
|
||||
this.checkBox12.TabIndex = 11;
|
||||
this.checkBox12.Text = "Basic";
|
||||
this.checkBox12.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(814, 250);
|
||||
this.Controls.Add(this.groupBox2);
|
||||
this.Controls.Add(this.totalorb_box);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.button2);
|
||||
this.Controls.Add(this.savegamename);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Controls.Add(this.groupBox3);
|
||||
this.Name = "MainForm";
|
||||
this.Text = "Pokemon Dream Radar Save Editor 0.1 by suloku\'15";
|
||||
this.Load += new System.EventHandler(this.MainFormLoad);
|
||||
((System.ComponentModel.ISupportInitialize)(this.totalorb_box)).EndInit();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.orbs_box)).EndInit();
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
}
|
||||
}
|
||||
}
|
||||
186
Pokemon Dream Radar Save Editor/MainForm.cs
Normal file
186
Pokemon Dream Radar Save Editor/MainForm.cs
Normal file
|
|
@ -0,0 +1,186 @@
|
|||
/*
|
||||
* Created by SharpDevelop.
|
||||
* User: suloku
|
||||
* Date: 12/10/2015
|
||||
* Time: 20:10
|
||||
*
|
||||
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
|
||||
namespace Pokemon_Dream_Radar_Save_Editor
|
||||
{
|
||||
/// <summary>
|
||||
/// Description of MainForm.
|
||||
/// </summary>
|
||||
public partial class MainForm : Form
|
||||
{
|
||||
public MainForm()
|
||||
{
|
||||
//
|
||||
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||
//
|
||||
InitializeComponent();
|
||||
|
||||
|
||||
//
|
||||
// TODO: Add constructor code after the InitializeComponent() call.
|
||||
//
|
||||
}
|
||||
byte[] savebuffer = new byte[692];
|
||||
short orbs;
|
||||
short total_orbs;
|
||||
byte gen4ext;
|
||||
byte gen4ext_captured;
|
||||
public string savegame
|
||||
{
|
||||
get { return savegamename.Text; }
|
||||
}
|
||||
public string orbs_s
|
||||
{
|
||||
get { return orbs.ToString(); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Reads data into a complete array, throwing an EndOfStreamException
|
||||
/// if the stream runs out of data first, or if an IOException
|
||||
/// naturally occurs.
|
||||
/// </summary>
|
||||
/// <param name="stream">The stream to read data from</param>
|
||||
/// <param name="data">The array to read bytes into. The array
|
||||
/// will be completely filled from the stream, so an appropriate
|
||||
/// size must be given.</param>
|
||||
public static void ReadWholeArray (Stream stream, byte[] data)
|
||||
{
|
||||
int offset=0;
|
||||
int remaining = data.Length;
|
||||
while (remaining > 0)
|
||||
{
|
||||
int read = stream.Read(data, offset, remaining);
|
||||
if (read <= 0)
|
||||
throw new EndOfStreamException
|
||||
(String.Format("End of stream reached with {0} bytes left to read", remaining));
|
||||
remaining -= read;
|
||||
offset += read;
|
||||
}
|
||||
}
|
||||
private void PDR_get_data()
|
||||
{
|
||||
OpenFileDialog openFD = new OpenFileDialog();
|
||||
//openFD.InitialDirectory = "c:\\";
|
||||
openFD.Filter = "cygsavedata|*.dat|All Files (*.*)|*.*";
|
||||
if (openFD.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
#region filename
|
||||
savegamename.Text = openFD.FileName;
|
||||
#endregion
|
||||
|
||||
System.IO.FileStream saveFile;
|
||||
saveFile = new FileStream(savegame, FileMode.Open);
|
||||
ReadWholeArray(saveFile, savebuffer);
|
||||
saveFile.Close();
|
||||
total_orbs = BitConverter.ToInt16(savebuffer, 0x6C);
|
||||
orbs = BitConverter.ToInt16(savebuffer, 0x68);
|
||||
gen4ext = savebuffer[0x26E];
|
||||
gen4ext_captured = savebuffer[0x272];;
|
||||
//Set data
|
||||
totalorb_box.Value = total_orbs;
|
||||
orbs_box.Value = orbs;
|
||||
//Parse extension unlocked flags
|
||||
if ((gen4ext & 0x4) >1) dialga_check.Checked = true;
|
||||
else dialga_check.Checked = false;
|
||||
if ((gen4ext & 0x8) >1) palkia_check.Checked = true;
|
||||
else palkia_check.Checked = false;
|
||||
if ((gen4ext & 0x10) >1) giratina_check.Checked = true;
|
||||
else giratina_check.Checked = false;
|
||||
if ((gen4ext & 0x20) >1) hoho_check.Checked = true;
|
||||
else hoho_check.Checked = false;
|
||||
if ((gen4ext & 0x40) >1) lugia_check.Checked = true;
|
||||
else lugia_check.Checked = false;
|
||||
|
||||
//Parse extension pokemon flags
|
||||
if ((gen4ext_captured & 0x10) >1) dialga_catch_check.Checked = true;
|
||||
else dialga_catch_check.Checked = false;
|
||||
if ((gen4ext_captured & 0x20) >1) palkia_catch_check.Checked = true;
|
||||
else palkia_catch_check.Checked = false;
|
||||
if ((gen4ext_captured & 0x40) >1) giratina_catch_check.Checked = true;
|
||||
else giratina_catch_check.Checked = false;
|
||||
if ((gen4ext_captured & 0x80) >1) hoho_catch_check.Checked = true;
|
||||
else hoho_catch_check.Checked = false;
|
||||
//if ((gen4ext_captured & 0x80) >1) lugia_catch_check.Checked = true;
|
||||
//else lugia_catch_check.Checked = false;
|
||||
}
|
||||
|
||||
}
|
||||
private void PDR_save_data()
|
||||
{ if (savegame.Length < 1) return;
|
||||
SaveFileDialog saveFD = new SaveFileDialog();
|
||||
//saveFD.InitialDirectory = "c:\\";
|
||||
saveFD.Filter = "cygsavedata|*.dat|All Files (*.*)|*.*";
|
||||
if (saveFD.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
System.IO.FileStream saveFile;
|
||||
saveFile = new FileStream(saveFD.FileName, FileMode.Create);
|
||||
//Update orbs
|
||||
Array.Copy(BitConverter.GetBytes(orbs), 0, savebuffer, 0x68, 2);
|
||||
//Update extensions
|
||||
if (dialga_check.Checked) gen4ext |= 0x4;
|
||||
else gen4ext &= byte.MaxValue ^ 0x4;
|
||||
if (palkia_check.Checked) gen4ext |= 0x8;
|
||||
else gen4ext &= byte.MaxValue ^ 0x8;
|
||||
if (giratina_check.Checked) gen4ext |= 0x10;
|
||||
else gen4ext &= byte.MaxValue ^ 0x10;
|
||||
if (hoho_check.Checked) gen4ext |= 0x20;
|
||||
else gen4ext &= byte.MaxValue ^ 0x20;
|
||||
if (lugia_check.Checked) gen4ext |= 0x40;
|
||||
else gen4ext &= byte.MaxValue ^ 0x40;
|
||||
savebuffer[0x26E] = gen4ext;
|
||||
//Update catched extension pokemon
|
||||
if (dialga_catch_check.Checked) gen4ext_captured |= 0x10;
|
||||
else gen4ext_captured &= byte.MaxValue ^ 0x10;
|
||||
if (palkia_catch_check.Checked) gen4ext_captured |= 0x20;
|
||||
else gen4ext_captured &= byte.MaxValue ^ 0x20;
|
||||
if (giratina_catch_check.Checked) gen4ext_captured |= 0x40;
|
||||
else gen4ext_captured &= byte.MaxValue ^ 0x40;
|
||||
if (hoho_catch_check.Checked) gen4ext_captured |= 0x80;
|
||||
else gen4ext_captured &= byte.MaxValue ^ 0x80;
|
||||
//if (lugia_catch_check.Checked) gen4ext_captured |= 0x40;
|
||||
//else gen4ext_captured &= byte.MaxValue ^ 0x40;
|
||||
savebuffer[0x272] = gen4ext_captured;
|
||||
//Write file
|
||||
saveFile.Write(savebuffer, 0, savebuffer.Length);
|
||||
saveFile.Close();
|
||||
MessageBox.Show("File Saved.", "Save file");
|
||||
}
|
||||
}
|
||||
void SavegamenameTextChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
void MainFormLoad(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
void Button1Click(object sender, EventArgs e)
|
||||
{
|
||||
PDR_get_data();
|
||||
}
|
||||
void Orbs_boxValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
orbs = Convert.ToInt16(orbs_box.Value);
|
||||
}
|
||||
void Button2Click(object sender, EventArgs e)
|
||||
{
|
||||
PDR_save_data();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
120
Pokemon Dream Radar Save Editor/MainForm.resx
Normal file
120
Pokemon Dream Radar Save Editor/MainForm.resx
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
|
|
@ -0,0 +1,69 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{DDB14A9D-084C-4C55-9916-6FE0C024473A}</ProjectGuid>
|
||||
<ProjectTypeGuids>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>Pokemon_Dream_Radar_Save_Editor</RootNamespace>
|
||||
<AssemblyName>Pokemon Dream Radar Save Editor</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DebugSymbols>True</DebugSymbols>
|
||||
<DebugType>Full</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DebugSymbols>False</DebugSymbols>
|
||||
<DebugType>None</DebugType>
|
||||
<Optimize>True</Optimize>
|
||||
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.CSharp">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Data.DataSetExtensions">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Xml.Linq">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="MainForm.cs" />
|
||||
<Compile Include="MainForm.Designer.cs">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="MainForm.resx">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
31
Pokemon Dream Radar Save Editor/Program.cs
Normal file
31
Pokemon Dream Radar Save Editor/Program.cs
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/*
|
||||
* Created by SharpDevelop.
|
||||
* User: suloku
|
||||
* Date: 12/10/2015
|
||||
* Time: 20:10
|
||||
*
|
||||
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||
*/
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Pokemon_Dream_Radar_Save_Editor
|
||||
{
|
||||
/// <summary>
|
||||
/// Class with program entry point.
|
||||
/// </summary>
|
||||
internal sealed class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// Program entry point.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
private static void Main(string[] args)
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new MainForm());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
31
Pokemon Dream Radar Save Editor/Properties/AssemblyInfo.cs
Normal file
31
Pokemon Dream Radar Save Editor/Properties/AssemblyInfo.cs
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
#region Using directives
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
#endregion
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Pokemon Dream Radar Save Editor")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Pokemon Dream Radar Save Editor")]
|
||||
[assembly: AssemblyCopyright("Copyright 2015")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// This sets the default COM visibility of types in the assembly to invisible.
|
||||
// If you need to expose a type to COM, use [ComVisible(true)] on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The assembly version has following format :
|
||||
//
|
||||
// Major.Minor.Build.Revision
|
||||
//
|
||||
// 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.0.*")]
|
||||
6
Pokemon Dream Radar Save Editor/app.config
Normal file
6
Pokemon Dream Radar Save Editor/app.config
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
|
||||
</startup>
|
||||
</configuration>
|
||||
Loading…
Reference in New Issue
Block a user