Copy disabled (too large)
Download .txt
Showing preview only (10,197K chars total). Download the full file to get everything.
Repository: AdAstra-LD/DS-Pokemon-Rom-Editor
Branch: main
Commit: f95ab36b4290
Files: 294
Total size: 9.7 MB
Directory structure:
gitextract_awlkqn2b/
├── .gitattributes
├── .github/
│ └── workflows/
│ └── base-build-nightly.yaml
├── .gitignore
├── DS_Map/
│ ├── App.config
│ ├── BuildingEditor.Designer.cs
│ ├── BuildingEditor.cs
│ ├── BuildingEditor.resx
│ ├── DSPRE.csproj
│ ├── DSUtils/
│ │ ├── ARM9.cs
│ │ ├── DSUtils.cs
│ │ ├── ModelUtils.cs
│ │ ├── NSBUtils.cs
│ │ └── OverlayUtils.cs
│ ├── DVCalculator/
│ │ ├── DVCalc.Designer.cs
│ │ ├── DVCalc.cs
│ │ ├── DVCalc.resx
│ │ ├── DVCalcNatureViewerForm.Designer.cs
│ │ ├── DVCalcNatureViewerForm.cs
│ │ ├── DVCalcNatureViewerForm.resx
│ │ └── DVCalculator.cs
│ ├── EditorPanels.cs
│ ├── Editors/
│ │ ├── EncountersEditor.Designer.cs
│ │ ├── EncountersEditor.cs
│ │ ├── EncountersEditor.resx
│ │ ├── HeadbuttEncounterEditor.Designer.cs
│ │ ├── HeadbuttEncounterEditor.cs
│ │ ├── HeadbuttEncounterEditor.resx
│ │ ├── HeadbuttEncounterEditorTab.Designer.cs
│ │ ├── HeadbuttEncounterEditorTab.cs
│ │ ├── HeadbuttEncounterEditorTab.resx
│ │ ├── LevelScriptEditor.Designer.cs
│ │ ├── LevelScriptEditor.cs
│ │ ├── LevelScriptEditor.resx
│ │ ├── MoveDataEditor.Designer.cs
│ │ ├── MoveDataEditor.cs
│ │ ├── MoveDataEditor.resx
│ │ ├── SafariZoneEditor.Designer.cs
│ │ ├── SafariZoneEditor.cs
│ │ ├── SafariZoneEditor.resx
│ │ ├── SafariZoneEncounterEditorTab.Designer.cs
│ │ ├── SafariZoneEncounterEditorTab.cs
│ │ ├── SafariZoneEncounterEditorTab.resx
│ │ ├── SafariZoneEncounterGroupEditor.Designer.cs
│ │ ├── SafariZoneEncounterGroupEditor.cs
│ │ ├── SafariZoneEncounterGroupEditor.resx
│ │ ├── ScriptEditor.Designer.cs
│ │ ├── ScriptEditor.cs
│ │ └── ScriptEditor.resx
│ ├── EventFileImport.Designer.cs
│ ├── EventFileImport.cs
│ ├── EventFileImport.resx
│ ├── EvolutionsEditor.cs
│ ├── EvolutionsEditor.designer.cs
│ ├── EvolutionsEditor.resx
│ ├── ExtensionMethods.cs
│ ├── Extensions.cs
│ ├── Filesystem.cs
│ ├── GameCamera.cs
│ ├── HeaderSearch.Designer.cs
│ ├── HeaderSearch.cs
│ ├── HeaderSearch.resx
│ ├── Helpers.cs
│ ├── InputComboBox.cs
│ ├── LearnsetEditor.Designer.cs
│ ├── LearnsetEditor.cs
│ ├── LearnsetEditor.resx
│ ├── LibNDSFormats/
│ │ ├── EndianBinaryReader.cs
│ │ ├── Export3DTools/
│ │ │ ├── Face.cs
│ │ │ ├── Group.cs
│ │ │ ├── OBJWriter.cs
│ │ │ ├── Polygon.cs
│ │ │ ├── PolygonType.cs
│ │ │ ├── Quad.cs
│ │ │ ├── QuadStrip.cs
│ │ │ ├── Triangle.cs
│ │ │ └── TriangleStrip.cs
│ │ ├── Helper.cs
│ │ ├── NSBCA/
│ │ │ ├── NSBCA.cs
│ │ │ └── NSBCALoader.cs
│ │ ├── NSBMD/
│ │ │ ├── MTX44.cs
│ │ │ ├── NSBMD.cs
│ │ │ ├── NSBMDAnimation.cs
│ │ │ ├── NSBMDGlRenderer.cs
│ │ │ ├── NSBMDLoader.cs
│ │ │ ├── NSBMDMaterial.cs
│ │ │ ├── NSBMDModel.cs
│ │ │ ├── NSBMDObject.cs
│ │ │ ├── NSBMDPalette.cs
│ │ │ ├── NSBMDPolygon.cs
│ │ │ └── NSBMDTexture.cs
│ │ ├── NSBTA.cs
│ │ ├── NSBTP.cs
│ │ ├── NSBTX/
│ │ │ ├── File.cs
│ │ │ ├── Filepallete.cs
│ │ │ ├── NSBTXLoader.cs
│ │ │ ├── Rom.cs
│ │ │ ├── bytearrayinputstream.cs
│ │ │ ├── directory.cs
│ │ │ ├── externalfilesystemsource.cs
│ │ │ ├── filesystem2.cs
│ │ │ ├── filesystemsource.cs
│ │ │ ├── image3d.cs
│ │ │ ├── image3dformat5.cs
│ │ │ ├── imageindexer.cs
│ │ │ ├── imagetexeler.cs
│ │ │ ├── imagetiler.cs
│ │ │ ├── inlinefile.cs
│ │ │ ├── nsbmetileset.cs
│ │ │ ├── nsbtx.cs
│ │ │ ├── palettedimage.cs
│ │ │ ├── pallete2.cs
│ │ │ └── pixelpalletedimage.cs
│ │ ├── StreamExt.cs
│ │ ├── Utils.cs
│ │ ├── bytearrayoutputstream.cs
│ │ ├── convertir.cs
│ │ └── nclr_e.cs
│ ├── Main Window.Designer.cs
│ ├── Main Window.cs
│ ├── Main Window.resx
│ ├── MessageEnc/
│ │ └── EncryptText.cs
│ ├── Narc.cs
│ ├── OffsetPictureBox.cs
│ ├── OverlayEditor.Designer.cs
│ ├── OverlayEditor.cs
│ ├── OverlayEditor.resx
│ ├── PatchToolboxDialog.Designer.cs
│ ├── PatchToolboxDialog.cs
│ ├── PatchToolboxDialog.resx
│ ├── PersonalDataEditor.Designer.cs
│ ├── PersonalDataEditor.cs
│ ├── PersonalDataEditor.resx
│ ├── PokemonEditor.Designer.cs
│ ├── PokemonEditor.cs
│ ├── PokemonEditor.resx
│ ├── Program.cs
│ ├── Properties/
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── ROMFiles/
│ │ ├── AreaData.cs
│ │ ├── EncounterFile.cs
│ │ ├── EventFile.cs
│ │ ├── EvolutionFile.cs
│ │ ├── GameMatrix.cs
│ │ ├── HeadbuttEncounter.cs
│ │ ├── HeadbuttEncounterFile.cs
│ │ ├── HeadbuttEncounterMap.cs
│ │ ├── HeadbuttTree.cs
│ │ ├── HeadbuttTreeGroup.cs
│ │ ├── LearnsetData.cs
│ │ ├── LevelScriptFile.cs
│ │ ├── LevelScriptTrigger.cs
│ │ ├── MapFile.cs
│ │ ├── MapHeader.cs
│ │ ├── MapScreenLoadTrigger.cs
│ │ ├── MoveData.cs
│ │ ├── PokemonPersonalData.cs
│ │ ├── RomFile.cs
│ │ ├── SafariZoneEncounter.cs
│ │ ├── SafariZoneEncounterFile.cs
│ │ ├── SafariZoneEncounterGroup.cs
│ │ ├── SafariZoneObjectRequirement.cs
│ │ ├── ScriptAction.cs
│ │ ├── ScriptActionContainer.cs
│ │ ├── ScriptCommand.cs
│ │ ├── ScriptCommandContainer.cs
│ │ ├── ScriptFile.cs
│ │ ├── ScriptReference.cs
│ │ ├── SpeciesFile.cs
│ │ ├── TextArchive.cs
│ │ ├── TrainerFile.cs
│ │ └── VariableValueTrigger.cs
│ ├── Resources/
│ │ ├── ColorTable.txt
│ │ ├── CommandsDatabase.Designer.cs
│ │ ├── CommandsDatabase.cs
│ │ ├── CommandsDatabase.resx
│ │ ├── HGSSCommands.md
│ │ ├── MovementNamesW.Designer.cs
│ │ ├── MovementNamesW.resx
│ │ ├── PokeDatabase.cs
│ │ ├── ROMToolboxDB/
│ │ │ ├── BDHCAMPatchDB.Designer.cs
│ │ │ ├── BDHCAMPatchDB.resx
│ │ │ ├── CustomScrCmdDB.resx
│ │ │ └── ToolboxDB.cs
│ │ ├── ScriptDatabase.cs
│ │ ├── ScriptsV/
│ │ │ ├── ScriptNamesB2W2.Designer.cs
│ │ │ ├── ScriptNamesB2W2.resx
│ │ │ ├── ScriptNamesB2W2J.Designer.cs
│ │ │ ├── ScriptNamesB2W2J.resx
│ │ │ ├── ScriptNamesBW.Designer.cs
│ │ │ ├── ScriptNamesBW.resx
│ │ │ ├── ScriptNamesBWJ.Designer.cs
│ │ │ ├── ScriptNamesBWJ.resx
│ │ │ ├── ScriptNamesWBW.Designer.cs
│ │ │ ├── ScriptNamesWBW.resx
│ │ │ ├── ScriptNamesWBWJ.Designer.cs
│ │ │ ├── ScriptNamesWBWJ.resx
│ │ │ ├── ScriptsB2W2.Designer.cs
│ │ │ ├── ScriptsB2W2.resx
│ │ │ ├── ScriptsB2W2J.Designer.cs
│ │ │ ├── ScriptsB2W2J.resx
│ │ │ ├── ScriptsBW.Designer.cs
│ │ │ ├── ScriptsBW.resx
│ │ │ ├── ScriptsBWJ.Designer.cs
│ │ │ └── ScriptsBWJ.resx
│ │ ├── TextDatabase.cs
│ │ ├── writeText.Designer.cs
│ │ └── writeText.resx
│ ├── RomInfo.cs
│ ├── ScintillaUtils/
│ │ ├── HotKeyManager.cs
│ │ ├── ScriptTooltip.Designer.cs
│ │ ├── ScriptTooltip.cs
│ │ ├── ScriptTooltip.resx
│ │ └── SearchManager.cs
│ ├── SpawnEditor.Designer.cs
│ ├── SpawnEditor.cs
│ ├── SpawnEditor.resx
│ ├── Themes/
│ │ └── .gitkeep
│ ├── UniqueList.cs
│ ├── WildEditorDPPt.Designer.cs
│ ├── WildEditorDPPt.cs
│ ├── WildEditorDPPt.resx
│ ├── WildEditorHGSS.Designer.cs
│ ├── WildEditorHGSS.cs
│ └── WildEditorHGSS.resx
├── DS_Map.sln
├── Ekona/
│ ├── Ekona.csproj
│ ├── EkonaLang.xml
│ ├── Helper/
│ │ ├── BinaryReaderBE.cs
│ │ ├── BinaryWriterBE.cs
│ │ ├── BitsConverter.cs
│ │ ├── CRC.cs
│ │ ├── IOutil.cs
│ │ ├── LNK.cs
│ │ └── Translation.cs
│ ├── IGamePlugin.cs
│ ├── IPlugin.cs
│ ├── IPluginHost.cs
│ ├── Images/
│ │ ├── Actions.cs
│ │ ├── Dialogs/
│ │ │ ├── OAMEditor.Designer.cs
│ │ │ ├── OAMEditor.cs
│ │ │ └── OAMEditor.resx
│ │ ├── Formats/
│ │ │ ├── ACO.cs
│ │ │ ├── APNG.cs
│ │ │ ├── Bitmap.cs
│ │ │ └── PaletteWin.cs
│ │ ├── ImageBase.cs
│ │ ├── ImageControl.cs
│ │ ├── ImageControl.designer.cs
│ │ ├── ImageControl.resx
│ │ ├── MapBase.cs
│ │ ├── NitroTextureCompressor.cs
│ │ ├── PaletteBase.cs
│ │ ├── PaletteControl.cs
│ │ ├── PaletteControl.designer.cs
│ │ ├── PaletteControl.resx
│ │ ├── RawData.cs
│ │ ├── SpriteBase.cs
│ │ ├── SpriteControl.cs
│ │ ├── SpriteControl.designer.cs
│ │ └── SpriteControl.resx
│ ├── Licence.txt
│ ├── Mathematics/
│ │ ├── NvMath.cs
│ │ └── Vector3.cs
│ ├── Properties/
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ └── Resources.resx
│ └── Structures.cs
├── Images/
│ ├── Images/
│ │ ├── AnimationControl.cs
│ │ ├── AnimationControl.designer.cs
│ │ ├── AnimationControl.resx
│ │ ├── DSIG.cs
│ │ ├── Images.csproj
│ │ ├── Images.xml
│ │ ├── ImagesLang.xml
│ │ ├── Licence.txt
│ │ ├── Main.cs
│ │ ├── NANR.cs
│ │ ├── NCCG.cs
│ │ ├── NCCL.cs
│ │ ├── NCE.cs
│ │ ├── NCER.cs
│ │ ├── NCGR.cs
│ │ ├── NCLR.cs
│ │ ├── NCOB.cs
│ │ ├── NCSC.cs
│ │ ├── NSCR.cs
│ │ └── Properties/
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ └── Resources.resx
│ └── Images.sln
└── README.md
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitattributes
================================================
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
================================================
FILE: .github/workflows/base-build-nightly.yaml
================================================
name: DSPRE Canary Build
on:
push:
branches:
- main # Trigger only on pushes to the main branch
permissions:
contents: write
env:
SOLUTION_FILE_PATH: DS_Map.sln
BUILD_CONFIGURATION: Release
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
- name: Build DSPRE
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
- name: Zip Release Files
run: Compress-Archive -Path ${{env.GITHUB_WORKSPACE}}DS_Map\bin\Release -DestinationPath DSPRE-canary.zip
- name: Fetch tags
run: git fetch --prune --unshallow --tags
- name: Delete previous release
run: |
gh release delete --yes canary
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Create new release
uses: softprops/action-gh-release@v2
with:
tag_name: canary
name: DSPRE Canary Build ${{ steps.date.outputs.date }}
files: DSPRE-canary.zip
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true
generate_release_notes: true
================================================
FILE: .gitignore
================================================
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# 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
# Note: 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
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# 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/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# 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
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# 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
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
================================================
FILE: DS_Map/App.config
================================================
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="DSPRE.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin\DLLs" />
</assemblyBinding>
</runtime>
<userSettings>
<DSPRE.Properties.Settings>
<setting name="menuLayout" serializeAs="String">
<value>2</value>
</setting>
<setting name="lastColorTablePath" serializeAs="String">
<value />
</setting>
<setting name="textEditorPreferHex" serializeAs="String">
<value>False</value>
</setting>
<setting name="scriptEditorFormatPreference" serializeAs="String">
<value>0</value>
</setting>
<setting name="renderSpawnables" serializeAs="String">
<value>True</value>
</setting>
<setting name="renderOverworlds" serializeAs="String">
<value>True</value>
</setting>
<setting name="renderWarps" serializeAs="String">
<value>True</value>
</setting>
<setting name="renderTriggers" serializeAs="String">
<value>True</value>
</setting>
</DSPRE.Properties.Settings>
</userSettings>
</configuration>
================================================
FILE: DS_Map/BuildingEditor.Designer.cs
================================================
namespace DSPRE
{
partial class BuildingEditor
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.textureComboBox = new System.Windows.Forms.ComboBox();
this.importButton = new System.Windows.Forms.Button();
this.exportButton = new System.Windows.Forms.Button();
this.buildingOpenGLControl = new Tao.Platform.Windows.SimpleOpenGlControl();
this.interiorCheckBox = new System.Windows.Forms.CheckBox();
this.buildingEditorBldListBox = new System.Windows.Forms.ListBox();
this.panel1 = new System.Windows.Forms.Panel();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.label1 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
this.SuspendLayout();
//
// textureComboBox
//
this.textureComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.textureComboBox.FormattingEnabled = true;
this.textureComboBox.Location = new System.Drawing.Point(657, 520);
this.textureComboBox.Name = "textureComboBox";
this.textureComboBox.Size = new System.Drawing.Size(158, 21);
this.textureComboBox.TabIndex = 25;
this.textureComboBox.SelectedIndexChanged += new System.EventHandler(this.textureComboBox_SelectedIndexChanged);
//
// importButton
//
this.importButton.Image = global::DSPRE.Properties.Resources.importArrow;
this.importButton.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.importButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.importButton.Location = new System.Drawing.Point(12, 505);
this.importButton.Name = "importButton";
this.importButton.Size = new System.Drawing.Size(111, 36);
this.importButton.TabIndex = 23;
this.importButton.Text = "Import NSBMD";
this.importButton.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.importButton.UseVisualStyleBackColor = true;
this.importButton.Click += new System.EventHandler(this.importButton_Click);
//
// exportButton
//
this.exportButton.Image = global::DSPRE.Properties.Resources.exportArrow;
this.exportButton.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.exportButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.exportButton.Location = new System.Drawing.Point(124, 505);
this.exportButton.Name = "exportButton";
this.exportButton.Size = new System.Drawing.Size(111, 36);
this.exportButton.TabIndex = 22;
this.exportButton.Text = "Export NSBMD";
this.exportButton.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.exportButton.UseVisualStyleBackColor = true;
this.exportButton.Click += new System.EventHandler(this.exportButton_Click);
//
// buildingOpenGLControl
//
this.buildingOpenGLControl.AccumBits = ((byte)(0));
this.buildingOpenGLControl.AutoCheckErrors = false;
this.buildingOpenGLControl.AutoFinish = false;
this.buildingOpenGLControl.AutoMakeCurrent = true;
this.buildingOpenGLControl.AutoSwapBuffers = true;
this.buildingOpenGLControl.BackColor = System.Drawing.Color.Black;
this.buildingOpenGLControl.ColorBits = ((byte)(32));
this.buildingOpenGLControl.DepthBits = ((byte)(24));
this.buildingOpenGLControl.Location = new System.Drawing.Point(3, 7);
this.buildingOpenGLControl.Name = "buildingOpenGLControl";
this.buildingOpenGLControl.Size = new System.Drawing.Size(500, 500);
this.buildingOpenGLControl.StencilBits = ((byte)(0));
this.buildingOpenGLControl.TabIndex = 21;
this.buildingOpenGLControl.KeyUp += new System.Windows.Forms.KeyEventHandler(this.buildingOpenGLControl_KeyUp);
this.buildingOpenGLControl.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.buildingOpenGLControl_PreviewKeyDown);
//
// interiorCheckBox
//
this.interiorCheckBox.AutoSize = true;
this.interiorCheckBox.Enabled = false;
this.interiorCheckBox.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.interiorCheckBox.Location = new System.Drawing.Point(312, 522);
this.interiorCheckBox.Name = "interiorCheckBox";
this.interiorCheckBox.Size = new System.Drawing.Size(114, 17);
this.interiorCheckBox.TabIndex = 20;
this.interiorCheckBox.Text = "Interior Models List";
this.interiorCheckBox.UseVisualStyleBackColor = true;
this.interiorCheckBox.CheckedChanged += new System.EventHandler(this.interiorCheckBox_CheckedChanged);
//
// buildingEditorBldListBox
//
this.buildingEditorBldListBox.FormattingEnabled = true;
this.buildingEditorBldListBox.Location = new System.Drawing.Point(12, 12);
this.buildingEditorBldListBox.Name = "buildingEditorBldListBox";
this.buildingEditorBldListBox.Size = new System.Drawing.Size(291, 485);
this.buildingEditorBldListBox.TabIndex = 19;
this.buildingEditorBldListBox.SelectedIndexChanged += new System.EventHandler(this.buildingEditorListBox_SelectedIndexChanged);
//
// panel1
//
this.panel1.Controls.Add(this.buildingOpenGLControl);
this.panel1.Location = new System.Drawing.Point(309, 4);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(507, 512);
this.panel1.TabIndex = 26;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(538, 524);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(113, 13);
this.label1.TabIndex = 27;
this.label1.Text = "Texture Pack Selector";
//
// button1
//
this.button1.Image = global::DSPRE.Properties.Resources.exportArrow;
this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.button1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.button1.Location = new System.Drawing.Point(236, 505);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(67, 36);
this.button1.TabIndex = 28;
this.button1.Text = "DAE";
this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.bldExportDAEbutton_Click);
//
// BuildingEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(825, 545);
this.Controls.Add(this.button1);
this.Controls.Add(this.label1);
this.Controls.Add(this.panel1);
this.Controls.Add(this.textureComboBox);
this.Controls.Add(this.importButton);
this.Controls.Add(this.exportButton);
this.Controls.Add(this.interiorCheckBox);
this.Controls.Add(this.buildingEditorBldListBox);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.Name = "BuildingEditor";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Building Editor";
this.panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ComboBox textureComboBox;
private System.Windows.Forms.Button importButton;
private System.Windows.Forms.Button exportButton;
private Tao.Platform.Windows.SimpleOpenGlControl buildingOpenGLControl;
private System.Windows.Forms.CheckBox interiorCheckBox;
private System.Windows.Forms.ListBox buildingEditorBldListBox;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button1;
}
}
================================================
FILE: DS_Map/BuildingEditor.cs
================================================
using System;
using System.IO;
using System.Text;
using System.Windows.Forms;
using LibNDSFormats.NSBMD;
using LibNDSFormats.NSBTX;
using Microsoft.WindowsAPICodePack.Dialogs;
using Tao.OpenGl;
using static DSPRE.RomInfo;
namespace DSPRE {
public partial class BuildingEditor : Form {
#region Variables
public static string temp_btxname = "BLDtexture.nsbtx";
private readonly string folder;
bool disableHandlers = new bool();
readonly RomInfo rom;
NSBMD currentNSBMD;
byte[] currentModelData;
readonly NSBMDGlRenderer renderer = new NSBMDGlRenderer();
public static float ang = 0.0f;
public static float dist = 12.8f;
public static float elev = 50.0f;
public static float tempAng = 0.0f;
public static float tempDist = 0.0f;
public static float tempElev = 0.0f;
public float perspective = 45f;
/* Bld Rotation vars */
public bool lRot;
public bool rRot;
public bool uRot;
public bool dRot;
#endregion
public BuildingEditor(RomInfo romInfo) {
InitializeComponent();
rom = romInfo;
buildingOpenGLControl.InitializeContexts();
buildingOpenGLControl.MakeCurrent();
buildingOpenGLControl.MouseWheel += new MouseEventHandler(buildingOpenGLControl_MouseWheel);
Gl.glEnable(Gl.GL_TEXTURE_2D);
if (RomInfo.gameFamily == GameFamilies.HGSS) {
interiorCheckBox.Enabled = true;
}
Helpers.DisableHandlers();
FillListBox(false);
FillTexturesBox();
textureComboBox.SelectedIndex = 0;
Helpers.EnableHandlers();
buildingEditorBldListBox.SelectedIndex = 0;
}
#region Subroutines
private void CreateEmbeddedTexturesFile(int modelID, bool interior) {
string readingPath = folder + rom.GetBuildingModelsDirPath(interior) + "\\" + modelID.ToString("D4");
byte[] txFile = File.ReadAllBytes(readingPath);
byte[] texData = NSBUtils.GetTexturesFromTexturedNSBMD(txFile);
if (texData.Length <= 4) {
Console.WriteLine("No textures found");
return;
}
DSUtils.WriteToFile(Path.GetTempPath() + temp_btxname, texData, fmode: FileMode.Create);
}
private void FillListBox(bool interior) {
int modelCount = Directory.GetFiles(folder + rom.GetBuildingModelsDirPath(interior)).Length;
for (int currentIndex = 0; currentIndex < modelCount; currentIndex++) {
string filePath = folder + rom.GetBuildingModelsDirPath(interior) + "\\" + currentIndex.ToString("D4");
using (DSUtils.EasyReader reader = new DSUtils.EasyReader(filePath, 0x14)) {
string nsbmdName = NSBUtils.ReadNSBMDname(reader);
buildingEditorBldListBox.Items.Add("[" + currentIndex.ToString("D3") + "] " + nsbmdName);
}
}
}
private void FillTexturesBox() {
int texturesCount = Directory.GetFiles(folder + RomInfo.gameDirs[DirNames.buildingTextures].unpackedDir).Length;
textureComboBox.Items.Add("Embedded textures");
for (int i = 0; i < texturesCount; i++) {
textureComboBox.Items.Add("Texture " + i);
}
}
private void LoadModelTextures(int fileID) {
string path;
if (fileID > -1) {
path = folder + RomInfo.gameDirs[RomInfo.DirNames.buildingTextures].unpackedDir + "\\" + fileID.ToString("D4");
} else {
path = Path.GetTempPath() + temp_btxname; // Load Embedded textures if the argument passed to this function is -1
}
try {
currentNSBMD.materials = NSBTXLoader.LoadNsbtx(new MemoryStream(File.ReadAllBytes(path)), out currentNSBMD.Textures, out currentNSBMD.Palettes);
currentNSBMD.MatchTextures();
} catch { }
}
private void RenderModel() {
MKDS_Course_Editor.NSBTA.NSBTA.NSBTA_File bta = new MKDS_Course_Editor.NSBTA.NSBTA.NSBTA_File();
MKDS_Course_Editor.NSBTP.NSBTP.NSBTP_File btp = new MKDS_Course_Editor.NSBTP.NSBTP.NSBTP_File();
MKDS_Course_Editor.NSBCA.NSBCA.NSBCA_File bca = new MKDS_Course_Editor.NSBCA.NSBCA.NSBCA_File();
int[] aniframeS = new int[0];
buildingOpenGLControl.Invalidate(); // Invalidate drawing surface
SetupRenderer(ang, dist, elev, perspective); // Adjust rendering settings
/* Render the building model */
renderer.Model = currentNSBMD.models[0];
Gl.glScalef(currentNSBMD.models[0].modelScale / 32, currentNSBMD.models[0].modelScale / 32, currentNSBMD.models[0].modelScale / 32);
renderer.RenderModel("", bta, aniframeS, aniframeS, aniframeS, aniframeS, aniframeS, bca, false, -1, 0.0f, 0.0f, dist, elev, ang, true, btp, currentNSBMD);
}
private void SetupRenderer(float ang, float dist, float elev, float perspective) {
Gl.glEnable(Gl.GL_RESCALE_NORMAL);
Gl.glEnable(Gl.GL_COLOR_MATERIAL);
Gl.glEnable(Gl.GL_DEPTH_TEST);
Gl.glEnable(Gl.GL_NORMALIZE);
Gl.glDisable(Gl.GL_CULL_FACE);
Gl.glFrontFace(Gl.GL_CCW);
Gl.glClearDepth(1);
Gl.glEnable(Gl.GL_ALPHA_TEST);
Gl.glBlendFunc(Gl.GL_SRC_ALPHA, Gl.GL_ONE_MINUS_SRC_ALPHA);
Gl.glEnable(Gl.GL_BLEND);
Gl.glAlphaFunc(Gl.GL_GREATER, 0f);
Gl.glClearColor(51f / 255f, 51f / 255f, 51f / 255f, 1f);
float aspect;
Gl.glViewport(0, 0, buildingOpenGLControl.Width, buildingOpenGLControl.Height);
aspect = buildingOpenGLControl.Width / buildingOpenGLControl.Height;//(vp[2] - vp[0]) / (vp[3] - vp[1]);
Gl.glMatrixMode(Gl.GL_PROJECTION);
Gl.glLoadIdentity();
Glu.gluPerspective(perspective, aspect, 0.2f, 500.0f);//0.02f, 32.0f);
Gl.glTranslatef(0, 0, -dist);
Gl.glRotatef(elev, 1, 0, 0);
Gl.glRotatef(ang, 0, 1, 0);
Gl.glMatrixMode(Gl.GL_MODELVIEW);
Gl.glLoadIdentity();
Gl.glTranslatef(0, 0, -dist);
Gl.glRotatef(elev, 1, 0, 0);
Gl.glRotatef(-ang, 0, 1, 0);
Gl.glLightfv(Gl.GL_LIGHT0, Gl.GL_POSITION, new float[] { 1, 1, 1, 0 });
Gl.glLightfv(Gl.GL_LIGHT1, Gl.GL_POSITION, new float[] { 1, 1, 1, 0 });
Gl.glLightfv(Gl.GL_LIGHT2, Gl.GL_POSITION, new float[] { 1, 1, 1, 0 });
Gl.glLightfv(Gl.GL_LIGHT3, Gl.GL_POSITION, new float[] { 1, 1, 1, 0 });
Gl.glLoadIdentity();
Gl.glBindTexture(Gl.GL_TEXTURE_2D, 0);
Gl.glColor3f(1.0f, 1.0f, 1.0f);
Gl.glDepthMask(Gl.GL_TRUE);
Gl.glClear(Gl.GL_COLOR_BUFFER_BIT | Gl.GL_DEPTH_BUFFER_BIT);
}
#endregion
private void buildingOpenGLControl_MouseWheel(object sender, MouseEventArgs e) { // Zoom In/Out
float val = (float)e.Delta / 200;
if ((Control.ModifierKeys & Keys.Shift) == Keys.Shift) {
dist += val;
} else {
dist -= val;
}
RenderModel();
}
private void buildingEditorListBox_SelectedIndexChanged(object sender, EventArgs e) {
if (Helpers.HandlersDisabled || buildingEditorBldListBox.SelectedIndex < 0) {
return;
}
string path = folder + rom.GetBuildingModelsDirPath(interiorCheckBox.Checked) + "\\" + buildingEditorBldListBox.SelectedIndex.ToString("D4");
currentModelData = File.ReadAllBytes(path);
currentNSBMD = NSBMDLoader.LoadNSBMD(new MemoryStream(currentModelData));
CreateEmbeddedTexturesFile(buildingEditorBldListBox.SelectedIndex, interiorCheckBox.Checked);
LoadModelTextures(textureComboBox.SelectedIndex - 1);
RenderModel();
}
private void exportButton_Click(object sender, EventArgs e) {
SaveFileDialog em = new SaveFileDialog {
Filter = "NSBMD model (*.nsbmd)|*.nsbmd",
FileName = buildingEditorBldListBox.SelectedItem.ToString()
};
if (em.ShowDialog(this) != DialogResult.OK) {
return;
}
File.Copy(folder + rom.GetBuildingModelsDirPath(interiorCheckBox.Checked) + "\\" + buildingEditorBldListBox.SelectedIndex.ToString("D4"), em.FileName, true);
}
private void importButton_Click(object sender, EventArgs e) {
OpenFileDialog im = new OpenFileDialog {
Filter = "NSBMD model (*.nsbmd)|*.nsbmd"
};
if (im.ShowDialog(this) != DialogResult.OK) {
return;
}
using (DSUtils.EasyReader reader = new DSUtils.EasyReader(im.FileName)) {
if (reader.ReadUInt32() != NSBMD.NDS_TYPE_BMD0) {
MessageBox.Show("Please select an NSBMD file.", "Invalid File", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
} else {
int currentIndex = buildingEditorBldListBox.SelectedIndex;
File.Copy(im.FileName, folder + rom.GetBuildingModelsDirPath(interiorCheckBox.Checked) + "\\" + currentIndex.ToString("D4"), true);
buildingEditorBldListBox.Items[currentIndex] = "[" + currentIndex.ToString("D3") + "] " + NSBUtils.ReadNSBMDname(reader, 0x14);
buildingEditorListBox_SelectedIndexChanged(null, null);
}
}
}
private void interiorCheckBox_CheckedChanged(object sender, EventArgs e) {
Helpers.DisableHandlers();
buildingEditorBldListBox.Items.Clear();
FillListBox(interiorCheckBox.Checked);
Helpers.EnableHandlers();
buildingEditorBldListBox.SelectedIndex = 0;
}
private void textureComboBox_SelectedIndexChanged(object sender, EventArgs e) {
if (Helpers.HandlersDisabled) {
return;
}
LoadModelTextures(textureComboBox.SelectedIndex - 1);
RenderModel();
}
private void buildingOpenGLControl_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e) {
byte multiplier = 2;
if (e.Modifiers == Keys.Shift) {
multiplier = 1;
} else if (e.Modifiers == Keys.Control) {
multiplier = 4;
}
switch (e.KeyCode) {
case Keys.Right:
rRot = true;
lRot = false;
break;
case Keys.Left:
rRot = false;
lRot = true;
break;
case Keys.Up:
dRot = false;
uRot = true;
break;
case Keys.Down:
dRot = true;
uRot = false;
break;
}
if (rRot ^ lRot) {
if (rRot) {
ang += 1 * multiplier;
} else if (lRot) {
ang -= 1 * multiplier;
}
}
if (uRot ^ dRot) {
if (uRot) {
elev -= 1 * multiplier;
} else if (dRot) {
elev += 1 * multiplier;
}
}
RenderModel();
}
private void bldExportDAEbutton_Click(object sender, EventArgs e) {
ModelUtils.ModelToDAE(
modelName: buildingEditorBldListBox.SelectedItem.ToString().TrimEnd('\0'),
modelData: currentModelData,
textureData: textureComboBox.SelectedIndex < 1 ? null : File.ReadAllBytes(RomInfo.gameDirs[DirNames.buildingTextures].unpackedDir + "\\" + (textureComboBox.SelectedIndex - 1).ToString("D4"))
);
}
private void buildingOpenGLControl_KeyUp(object sender, KeyEventArgs e) {
switch (e.KeyCode) {
case Keys.Right:
rRot = false;
break;
case Keys.Left:
lRot = false;
break;
case Keys.Up:
uRot = false;
break;
case Keys.Down:
dRot = false;
break;
}
}
}
}
================================================
FILE: DS_Map/BuildingEditor.resx
================================================
<?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>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>25</value>
</metadata>
</root>
================================================
FILE: DS_Map/DSPRE.csproj
================================================
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{E3C66521-EE89-4406-92C4-FC1D40DC4200}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>DSPRE</RootNamespace>
<AssemblyName>DSPRE</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<IsWebBootstrapper>false</IsWebBootstrapper>
<TargetFrameworkProfile />
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.4.1.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Prefer32Bit>false</Prefer32Bit>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Prefer32Bit>true</Prefer32Bit>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>app.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="HelixToolkit, Version=2011.10.1.0, Culture=neutral, PublicKeyToken=52aa3500039caf0d, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>.\HelixToolkit.dll</HintPath>
</Reference>
<Reference Include="OpenTK, Version=1.0.0.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\Desktop\sdsme\Map_Editor\OpenTK.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.DirectoryServices" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Tao.OpenGl, Version=2.1.0.12, Culture=neutral, PublicKeyToken=1ca010269a4501ef, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\Desktop\sdsme\Map_Editor\Tao.OpenGl.dll</HintPath>
</Reference>
<Reference Include="Tao.Platform.Windows, Version=1.0.0.5, Culture=neutral, PublicKeyToken=701104b2da67a104, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\Desktop\sdsme\Map_Editor\Tao.Platform.Windows.dll</HintPath>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="WindowsFormsIntegration" />
</ItemGroup>
<ItemGroup>
<Compile Include="DSUtils\ARM9.cs" />
<Compile Include="DSUtils\DSUtils.cs" />
<Compile Include="DSUtils\ModelUtils.cs" />
<Compile Include="DSUtils\NSBUtils.cs" />
<Compile Include="DSUtils\OverlayUtils.cs" />
<Compile Include="DVCalculator\DVCalc.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DVCalculator\DVCalc.Designer.cs" />
<Compile Include="DVCalculator\DVCalcNatureViewerForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DVCalculator\DVCalcNatureViewerForm.Designer.cs" />
<Compile Include="DVCalculator\DVCalculator.cs" />
<Compile Include="EditorPanels.cs" />
<Compile Include="Editors\EncountersEditor.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Editors\EncountersEditor.Designer.cs">
<DependentUpon>EncountersEditor.cs</DependentUpon>
</Compile>
<Compile Include="Editors\HeadbuttEncounterEditor.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Editors\HeadbuttEncounterEditor.Designer.cs">
<DependentUpon>HeadbuttEncounterEditor.cs</DependentUpon>
</Compile>
<Compile Include="Editors\HeadbuttEncounterEditorTab.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Editors\HeadbuttEncounterEditorTab.Designer.cs">
<DependentUpon>HeadbuttEncounterEditorTab.cs</DependentUpon>
</Compile>
<Compile Include="Editors\LevelScriptEditor.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Editors\LevelScriptEditor.Designer.cs">
<DependentUpon>LevelScriptEditor.cs</DependentUpon>
</Compile>
<Compile Include="Editors\MoveDataEditor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Editors\MoveDataEditor.designer.cs">
<DependentUpon>MoveDataEditor.cs</DependentUpon>
</Compile>
<Compile Include="Editors\SafariZoneEditor.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Editors\SafariZoneEditor.Designer.cs">
<DependentUpon>SafariZoneEditor.cs</DependentUpon>
</Compile>
<Compile Include="Editors\SafariZoneEncounterEditorTab.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Editors\SafariZoneEncounterEditorTab.Designer.cs">
<DependentUpon>SafariZoneEncounterEditorTab.cs</DependentUpon>
</Compile>
<Compile Include="Editors\SafariZoneEncounterGroupEditor.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Editors\SafariZoneEncounterGroupEditor.Designer.cs">
<DependentUpon>SafariZoneEncounterGroupEditor.cs</DependentUpon>
</Compile>
<Compile Include="Editors\ScriptEditor.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Editors\ScriptEditor.Designer.cs">
<DependentUpon>ScriptEditor.cs</DependentUpon>
</Compile>
<Compile Include="EventFileImport.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EventFileImport.designer.cs">
<DependentUpon>EventFileImport.cs</DependentUpon>
</Compile>
<Compile Include="EvolutionsEditor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EvolutionsEditor.designer.cs">
<DependentUpon>EvolutionsEditor.cs</DependentUpon>
</Compile>
<Compile Include="ExtensionMethods.cs" />
<Compile Include="Extensions.cs" />
<Compile Include="Filesystem.cs" />
<Compile Include="GameCamera.cs" />
<Compile Include="Helpers.cs" />
<Compile Include="InputComboBox.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="LearnsetEditor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="LearnsetEditor.designer.cs">
<DependentUpon>LearnsetEditor.cs</DependentUpon>
</Compile>
<Compile Include="MessageEnc\EncryptText.cs" />
<Compile Include="OverlayEditor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="OverlayEditor.Designer.cs">
<DependentUpon>OverlayEditor.cs</DependentUpon>
</Compile>
<Compile Include="PersonalDataEditor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="PersonalDataEditor.designer.cs">
<DependentUpon>PersonalDataEditor.cs</DependentUpon>
</Compile>
<Compile Include="PokemonEditor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="PokemonEditor.Designer.cs">
<DependentUpon>PokemonEditor.cs</DependentUpon>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Resources\ROMToolboxDB\ToolboxDB.cs" />
<Compile Include="Resources\ScriptDatabase.cs" />
<Compile Include="ROMFiles\AreaData.cs" />
<Compile Include="Resources\CommandsDatabase.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Resources\CommandsDatabase.Designer.cs">
<DependentUpon>CommandsDatabase.cs</DependentUpon>
</Compile>
<Compile Include="Resources\PokeDatabase.cs" />
<Compile Include="Resources\ROMToolboxDB\BDHCAMPatchDB.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>BDHCAMPatchDB.resx</DependentUpon>
</Compile>
<Compile Include="HeaderSearch.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="HeaderSearch.Designer.cs">
<DependentUpon>HeaderSearch.cs</DependentUpon>
</Compile>
<Compile Include="Resources\TextDatabase.cs" />
<Compile Include="OffsetPictureBox.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="ROMFiles\EvolutionFile.cs" />
<Compile Include="ROMFiles\HeadbuttEncounter.cs" />
<Compile Include="ROMFiles\HeadbuttEncounterFile.cs" />
<Compile Include="ROMFiles\HeadbuttEncounterMap.cs" />
<Compile Include="ROMFiles\HeadbuttTree.cs" />
<Compile Include="ROMFiles\HeadbuttTreeGroup.cs" />
<Compile Include="ROMFiles\LearnsetData.cs" />
<Compile Include="ROMFiles\LevelScriptFile.cs" />
<Compile Include="ROMFiles\LevelScriptTrigger.cs" />
<Compile Include="ROMFiles\MapScreenLoadTrigger.cs" />
<Compile Include="ROMFiles\MoveData.cs" />
<Compile Include="ROMFiles\PokemonPersonalData.cs" />
<Compile Include="ROMFiles\RomFile.cs" />
<Compile Include="ROMFiles\SafariZoneEncounter.cs" />
<Compile Include="ROMFiles\SafariZoneEncounterFile.cs" />
<Compile Include="ROMFiles\SafariZoneEncounterGroup.cs" />
<Compile Include="ROMFiles\SafariZoneObjectRequirement.cs" />
<Compile Include="ROMFiles\ScriptAction.cs" />
<Compile Include="ROMFiles\ScriptActionContainer.cs" />
<Compile Include="ROMFiles\ScriptCommandContainer.cs" />
<Compile Include="ROMFiles\ScriptReference.cs" />
<Compile Include="ROMFiles\SpeciesFile.cs" />
<Compile Include="ROMFiles\TrainerFile.cs" />
<Compile Include="ROMFiles\VariableValueTrigger.cs" />
<Compile Include="PatchToolboxDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="PatchToolboxDialog.Designer.cs">
<DependentUpon>PatchToolboxDialog.cs</DependentUpon>
</Compile>
<Compile Include="BuildingEditor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="BuildingEditor.Designer.cs">
<DependentUpon>BuildingEditor.cs</DependentUpon>
</Compile>
<Compile Include="RomInfo.cs" />
<Compile Include="ROMFiles\ScriptCommand.cs" />
<Compile Include="ScintillaUtils\HotKeyManager.cs" />
<Compile Include="ScintillaUtils\ScriptTooltip.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ScintillaUtils\ScriptTooltip.Designer.cs">
<DependentUpon>ScriptTooltip.cs</DependentUpon>
</Compile>
<Compile Include="ScintillaUtils\SearchManager.cs" />
<Compile Include="SpawnEditor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="SpawnEditor.Designer.cs">
<DependentUpon>SpawnEditor.cs</DependentUpon>
</Compile>
<Compile Include="UniqueList.cs" />
<Compile Include="WildEditorHGSS.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="WildEditorHGSS.Designer.cs">
<DependentUpon>WildEditorHGSS.cs</DependentUpon>
</Compile>
<Compile Include="WildEditorDPPt.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="WildEditorDPPt.Designer.cs">
<DependentUpon>WildEditorDPPt.cs</DependentUpon>
</Compile>
<Compile Include="ROMFiles\EncounterFile.cs" />
<Compile Include="ROMFiles\TextArchive.cs" />
<Compile Include="ROMFiles\MapHeader.cs" />
<Compile Include="ROMFiles\ScriptFile.cs" />
<Compile Include="ROMFiles\GameMatrix.cs" />
<Compile Include="ROMFiles\EventFile.cs" />
<Compile Include="LibNDSFormats\bytearrayoutputstream.cs" />
<Compile Include="LibNDSFormats\convertir.cs" />
<Compile Include="LibNDSFormats\EndianBinaryReader.cs" />
<Compile Include="LibNDSFormats\Export3DTools\Face.cs" />
<Compile Include="LibNDSFormats\Export3DTools\Group.cs" />
<Compile Include="LibNDSFormats\Export3DTools\OBJWriter.cs" />
<Compile Include="LibNDSFormats\Export3DTools\Polygon.cs" />
<Compile Include="LibNDSFormats\Export3DTools\PolygonType.cs" />
<Compile Include="LibNDSFormats\Export3DTools\Quad.cs" />
<Compile Include="LibNDSFormats\Export3DTools\QuadStrip.cs" />
<Compile Include="LibNDSFormats\Export3DTools\Triangle.cs" />
<Compile Include="LibNDSFormats\Export3DTools\TriangleStrip.cs" />
<Compile Include="LibNDSFormats\Helper.cs" />
<Compile Include="LibNDSFormats\nclr_e.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="LibNDSFormats\NSBCA\NSBCA.cs" />
<Compile Include="LibNDSFormats\NSBCA\NSBCALoader.cs" />
<Compile Include="LibNDSFormats\NSBMD\MTX44.cs" />
<Compile Include="LibNDSFormats\NSBMD\NSBMD.cs" />
<Compile Include="LibNDSFormats\NSBMD\NSBMDAnimation.cs" />
<Compile Include="LibNDSFormats\NSBMD\NSBMDGlRenderer.cs" />
<Compile Include="LibNDSFormats\NSBMD\NSBMDLoader.cs" />
<Compile Include="LibNDSFormats\NSBMD\NSBMDMaterial.cs" />
<Compile Include="LibNDSFormats\NSBMD\NSBMDModel.cs" />
<Compile Include="LibNDSFormats\NSBMD\NSBMDObject.cs" />
<Compile Include="LibNDSFormats\NSBMD\NSBMDPalette.cs" />
<Compile Include="LibNDSFormats\NSBMD\NSBMDPolygon.cs" />
<Compile Include="LibNDSFormats\NSBMD\NSBMDTexture.cs" />
<Compile Include="LibNDSFormats\NSBTA.cs" />
<Compile Include="LibNDSFormats\NSBTP.cs" />
<Compile Include="LibNDSFormats\NSBTX\bytearrayinputstream.cs" />
<Compile Include="LibNDSFormats\NSBTX\directory.cs" />
<Compile Include="LibNDSFormats\NSBTX\externalfilesystemsource.cs" />
<Compile Include="LibNDSFormats\NSBTX\File.cs" />
<Compile Include="LibNDSFormats\NSBTX\Filepallete.cs" />
<Compile Include="LibNDSFormats\NSBTX\filesystem2.cs" />
<Compile Include="LibNDSFormats\NSBTX\filesystemsource.cs" />
<Compile Include="LibNDSFormats\NSBTX\image3d.cs" />
<Compile Include="LibNDSFormats\NSBTX\image3dformat5.cs" />
<Compile Include="LibNDSFormats\NSBTX\imageindexer.cs" />
<Compile Include="LibNDSFormats\NSBTX\imagetexeler.cs" />
<Compile Include="LibNDSFormats\NSBTX\imagetiler.cs" />
<Compile Include="LibNDSFormats\NSBTX\inlinefile.cs" />
<Compile Include="LibNDSFormats\NSBTX\nsbmetileset.cs" />
<Compile Include="LibNDSFormats\NSBTX\nsbtx.cs" />
<Compile Include="LibNDSFormats\NSBTX\NSBTXLoader.cs" />
<Compile Include="LibNDSFormats\NSBTX\palettedimage.cs" />
<Compile Include="LibNDSFormats\NSBTX\pallete2.cs" />
<Compile Include="LibNDSFormats\NSBTX\pixelpalletedimage.cs" />
<Compile Include="LibNDSFormats\NSBTX\Rom.cs" />
<Compile Include="LibNDSFormats\StreamExt.cs" />
<Compile Include="LibNDSFormats\Utils.cs" />
<Compile Include="Main Window.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Main Window.Designer.cs">
<DependentUpon>Main Window.cs</DependentUpon>
</Compile>
<Compile Include="Narc.cs" />
<Compile Include="ROMFiles\MapFile.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Resources\writeText.Designer.cs" />
<EmbeddedResource Include="DVCalculator\DVCalc.resx" />
<EmbeddedResource Include="DVCalculator\DVCalcNatureViewerForm.resx" />
<EmbeddedResource Include="Editors\EncountersEditor.resx">
<DependentUpon>EncountersEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Editors\HeadbuttEncounterEditor.resx">
<DependentUpon>HeadbuttEncounterEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Editors\HeadbuttEncounterEditorTab.resx">
<DependentUpon>HeadbuttEncounterEditorTab.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Editors\LevelScriptEditor.resx">
<DependentUpon>LevelScriptEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Editors\MoveDataEditor.resx">
<DependentUpon>MoveDataEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Editors\SafariZoneEditor.resx">
<DependentUpon>SafariZoneEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Editors\SafariZoneEncounterEditorTab.resx">
<DependentUpon>SafariZoneEncounterEditorTab.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Editors\SafariZoneEncounterGroupEditor.resx">
<DependentUpon>SafariZoneEncounterGroupEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Editors\ScriptEditor.resx">
<DependentUpon>ScriptEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="EventFileImport.resx">
<DependentUpon>EventFileImport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="EvolutionsEditor.resx">
<DependentUpon>EvolutionsEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="HeaderSearch.resx">
<DependentUpon>HeaderSearch.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="LearnsetEditor.resx">
<DependentUpon>LearnsetEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OverlayEditor.resx">
<DependentUpon>OverlayEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="PersonalDataEditor.resx">
<DependentUpon>PersonalDataEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="PokemonEditor.resx">
<DependentUpon>PokemonEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Resources\ROMToolboxDB\BDHCAMPatchDB.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>BDHCAMPatchDB.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Resources\ROMToolboxDB\CustomScrCmdDB.resx" />
<EmbeddedResource Include="Resources\CommandsDatabase.resx">
<DependentUpon>CommandsDatabase.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="PatchToolboxDialog.resx">
<DependentUpon>PatchToolboxDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="BuildingEditor.resx">
<DependentUpon>BuildingEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ScintillaUtils\ScriptTooltip.resx">
<DependentUpon>ScriptTooltip.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SpawnEditor.resx">
<DependentUpon>SpawnEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WildEditorHGSS.resx">
<DependentUpon>WildEditorHGSS.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Main Window.resx">
<DependentUpon>Main Window.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<SubType>Designer</SubType>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Resources\writeText.resx" />
<EmbeddedResource Include="WildEditorDPPt.resx">
<DependentUpon>WildEditorDPPt.cs</DependentUpon>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<None Include="Resources\HGSSCommands.md" />
<None Include="Resources\ROMToolboxDB\CPUE_cam.bin" />
<None Include="Resources\ROMToolboxDB\CPUS_cam.bin" />
<None Include="Resources\ROMToolboxDB\IPGE_cam.bin" />
<None Include="Resources\ROMToolboxDB\IPGS_cam.bin" />
<None Include="Resources\ROMToolboxDB\IPKE_cam.bin" />
<None Include="Resources\ROMToolboxDB\IPKS_cam.bin" />
<None Include="Themes\.gitkeep" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Graphics\Program Icons\open_file.png" />
<None Include="Resources\Graphics\Program Icons\save_rom.png" />
<None Include="Resources\Graphics\Program Icons\map_editor.png" />
<None Include="Resources\Graphics\Program Icons\arrowdown.png" />
<None Include="Resources\Graphics\Program Icons\arrowleft.png" />
<None Include="Resources\Graphics\Program Icons\arrowright.png" />
<None Include="Resources\Graphics\Program Icons\arrowup.png" />
<None Include="Resources\Graphics\Event Icons\overworld.png" />
<None Include="Resources\Graphics\Event Icons\sign.png" />
<None Include="Resources\Graphics\Event Icons\trigger.png" />
<None Include="Resources\Graphics\Event Icons\warp.png" />
<None Include="Resources\Graphics\Event Icons\brown_sign.png" />
<None Include="Resources\Graphics\Event Icons\gray_sign.png" />
<None Include="Resources\Graphics\Event Icons\red_sign.png" />
<None Include="Resources\Graphics\Event Icons\route_sign.png" />
<None Include="Resources\Graphics\Event Icons\dawn_platinum.png" />
<None Include="Resources\Graphics\Event Icons\dppt_suitcase.png" />
<None Include="Resources\Graphics\Event Icons\blue_sign.png" />
<None Include="Resources\Graphics\Area Icons\hgsscave.png" />
<None Include="Resources\Graphics\Area Icons\hgssfield.png" />
<None Include="Resources\Graphics\Area Icons\hgssforest.png" />
<None Include="Resources\Graphics\Area Icons\hgssgray.png" />
<None Include="Resources\Graphics\Area Icons\hgsstown.png" />
<None Include="Resources\Graphics\Area Icons\hgsswall.png" />
<None Include="Resources\Graphics\Area Icons\hgsswater.png" />
<None Include="Resources\Graphics\Area Icons\hgsswood.png" />
<None Include="Resources\Graphics\Weather\HGSS\hgssdark.png" />
<None Include="Resources\Graphics\Weather\HGSS\hgssfog.png" />
<None Include="Resources\Graphics\Weather\HGSS\hgsshail.gif" />
<None Include="Resources\Graphics\Weather\DPPt\dpblizzard.gif" />
<None Include="Resources\Graphics\Weather\DPPt\dpcloudy.png" />
<None Include="Resources\Graphics\Weather\DPPt\dpdark.png" />
<None Include="Resources\Graphics\Weather\DPPt\dpdiamondsnow.gif" />
<None Include="Resources\Graphics\Weather\DPPt\dpfog.png" />
<None Include="Resources\Graphics\Weather\DPPt\dphail.gif" />
<None Include="Resources\Graphics\Weather\DPPt\dpheavyrain.gif" />
<None Include="Resources\Graphics\Weather\DPPt\dplightning.gif" />
<None Include="Resources\Graphics\Weather\DPPt\dplightsandstorm.gif" />
<None Include="Resources\Graphics\Weather\DPPt\dpnormal.png" />
<None Include="Resources\Graphics\Weather\DPPt\dprain.gif" />
<None Include="Resources\Graphics\Weather\DPPt\dprocksascending.gif" />
<None Include="Resources\Graphics\Weather\DPPt\dpsandfall.gif" />
<None Include="Resources\Graphics\Weather\DPPt\dpsandstorm.gif" />
<None Include="Resources\Graphics\Weather\DPPt\dpsnowslow.gif" />
<None Include="Resources\Graphics\Weather\DPPt\dpthunderstorm.gif" />
<None Include="Resources\Graphics\Weather\DPPt\ptblizzard.gif" />
<None Include="Resources\Graphics\Weather\DPPt\ptdark.png" />
<None Include="Resources\Graphics\Weather\DPPt\ptdiamondsnow.gif" />
<None Include="Resources\Graphics\Weather\DPPt\pthail.gif" />
<None Include="Resources\Graphics\Weather\DPPt\ptheavyrain.gif" />
<None Include="Resources\Graphics\Weather\DPPt\ptnormal.png" />
<None Include="Resources\Graphics\Weather\DPPt\ptrain.gif" />
<None Include="Resources\Graphics\Weather\DPPt\ptsandfall.gif" />
<None Include="Resources\Graphics\Weather\DPPt\ptsandstorm.gif" />
<None Include="Resources\Graphics\Weather\DPPt\ptsnowslow.gif" />
<None Include="Resources\Graphics\Weather\DPPt\ptthunderstorm.gif" />
<None Include="Resources\Graphics\Weather\DPPt\ptcloudy.png" />
<None Include="Resources\Graphics\Weather\DPPt\ptfog.png" />
<None Include="Resources\Graphics\Weather\DPPt\ptforestweather.gif" />
<None Include="Resources\Graphics\Weather\DPPt\ptlightning.gif" />
<None Include="Resources\Graphics\Weather\DPPt\ptlightsandstorm.gif" />
<None Include="Resources\Graphics\Weather\DPPt\ptrocksascending.gif" />
<None Include="Resources\Graphics\Weather\DPPt\ptspotlight.gif" />
<None Include="Resources\Graphics\Weather\HGSS\hgssdark2.png" />
<Content Include="app.ico" />
<None Include="Resources\Graphics\Program Icons\exploreKit.Image.png" />
<None Include="Resources\Graphics\Program Icons\goToWarp.png" />
<None Include="Resources\Graphics\Program Icons\goToTrigger.png" />
<None Include="Resources\Graphics\Program Icons\warpGo.png" />
<None Include="Resources\Graphics\Program Icons\goToSpawnable.png" />
<None Include="Resources\Graphics\Program Icons\goToOW.png" />
<None Include="Resources\Graphics\Program Icons\LeftClick.png" />
<None Include="Resources\Graphics\Program Icons\WheelClick.png" />
<None Include="Resources\Graphics\Program Icons\RightClick.png" />
<None Include="Resources\Graphics\Program Icons\unpackAllIcon.png" />
<None Include="Resources\Graphics\Program Icons\SurfIcon.png" />
<None Include="Resources\Graphics\Program Icons\exploreKit.png" />
<None Include="Resources\Graphics\Program Icons\buildingEditorButton.png" />
<None Include="Resources\alphabgCheckerboard.png" />
<Content Include="Resources\Graphics\Area Icons\hgsslake.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera0.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera1.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera10.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera11.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera12.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera13.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera14.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera15.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera2.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera3.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera4.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera5.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera6.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera7.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera8.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\dpcamera9.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera0.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera1.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera10.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera11.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera12.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera13.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera14.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera15.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera2.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera3.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera4.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera5.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera6.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera7.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera8.png" />
<Content Include="Resources\Graphics\Camera Angles\DPPt\ptcamera9.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera00.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera01.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera02.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera03.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera04.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera05.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera06.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera07.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera08.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera09.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera10.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera11.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera12.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera13.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera14.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera15.png" />
<None Include="Resources\Graphics\Weather\HGSS\hgssrain.gif" />
<None Include="Resources\Graphics\Weather\HGSS\hgssdiamond.gif" />
<None Include="Resources\Graphics\Weather\HGSS\hgsssnow.gif" />
<None Include="Resources\Graphics\Weather\HGSS\hgssArcade.gif" />
<None Include="Resources\Graphics\Weather\HGSS\hgssnormal.gif" />
<None Include="Resources\Graphics\Program Icons\copyIcon.png" />
<None Include="Resources\Graphics\Program Icons\pasteIcon.png" />
<None Include="Resources\Graphics\Weather\HGSS\hgssfog.gif" />
<None Include="Resources\Graphics\Program Icons\exportArrow.png" />
<None Include="Resources\Graphics\Program Icons\importArrow.png" />
<None Include="Resources\Graphics\Program Icons\unpackBuildingNarcsIcon.png" />
<None Include="Resources\Graphics\Program Icons\deleteIcon.png" />
<None Include="Resources\Graphics\Event Icons\overworldUnreadable.png" />
<Content Include="Resources\Graphics\Camera Angles\HGSS\hgsscamera16.png" />
<Content Include="Resources\Graphics\Event Icons\warpCollision.png" />
<Content Include="Resources\Graphics\Program Icons\addIcon.png" />
<None Include="Resources\Graphics\Program Icons\copyIcon_small.png" />
<None Include="Resources\Graphics\Program Icons\checkmark.png" />
<None Include="Resources\Graphics\Program Icons\dawnSpawn.png" />
<None Include="Resources\Graphics\Program Icons\addTextureToNSBMD.png" />
<None Include="Resources\Graphics\Program Icons\destroyLevelScript.png" />
<None Include="Resources\Graphics\Program Icons\cameraIcon.png" />
<None Include="Resources\Graphics\Program Icons\lens.png" />
<None Include="Resources\Graphics\Program Icons\expandArrow.png" />
<None Include="Resources\Graphics\Program Icons\compressArrow.png" />
<None Include="Resources\Graphics\Program Icons\contentbasedRenameIcon.png" />
<None Include="Resources\Graphics\Program Icons\folderToNarcIcon.png" />
<None Include="Resources\Graphics\Program Icons\folderToListIcon.png" />
<None Include="Resources\Graphics\Program Icons\enumToListIcon.png" />
<Content Include="Resources\Graphics\Program Icons\IconItem.png" />
<Content Include="Resources\Graphics\Program Icons\IconPokeball.png" />
<Content Include="Resources\Graphics\Program Icons\IconPokeballNot.png" />
<None Include="Resources\Graphics\Program Icons\listbasedRenameIcon.png" />
<Content Include="Resources\Graphics\Program Icons\loadColorTable.png" />
<None Include="Resources\Graphics\Program Icons\removeTextureNSBMD.png" />
<None Include="Resources\Graphics\Program Icons\open_rom.png" />
<None Include="Resources\Graphics\Program Icons\questionMark.png" />
<None Include="Resources\Graphics\Program Icons\narcToFolderIcon.png" />
<Content Include="Resources\Graphics\Program Icons\resetColorTable.png" />
<None Include="Resources\Graphics\Program Icons\wideLensImage.png" />
<None Include="Resources\Graphics\Program Icons\wideLensImageTransp.png" />
<None Include="Resources\Graphics\Program Icons\scriptDBIcon.png" />
<None Include="Resources\Graphics\Program Icons\resetIcon.png" />
<None Include="Resources\Graphics\Program Icons\spawnCoordsMatrixeditorIcon.png" />
<None Include="Resources\Graphics\Program Icons\resetListIcon.png" />
<None Include="Resources\Graphics\Program Icons\saveTextureFromNSBMD.png" />
<None Include="Resources\Graphics\Program Icons\trainer_editor.png" />
<None Include="Resources\Graphics\Program Icons\saveButton.png" />
<None Include="Resources\Graphics\Program Icons\selectBldWithMouse.png" />
<None Include="Resources\Graphics\Program Icons\wrenchIcon.png" />
<None Include="Resources\Graphics\Program Icons\scriptDBIconPt.png" />
<None Include="Resources\Graphics\Program Icons\scriptDBIconDP.png" />
<None Include="Resources\Graphics\Program Icons\scriptDBIconHGSS.png" />
<Content Include="Resources\Graphics\Program Icons\sortAscending.png" />
<Content Include="Resources\Graphics\Program Icons\sortDescending.png" />
<Content Include="Resources\Graphics\Program Icons\tableEditor.png" />
<Content Include="Resources\Graphics\Weather\DPPt\ptblueish.png" />
<Content Include="Resources\Graphics\Weather\DPPt\ptdarkfog.png" />
<Content Include="Resources\Graphics\Weather\DPPt\ptdim.png" />
<Content Include="Resources\Graphics\Weather\DPPt\ptgreenish.png" />
<Content Include="Resources\Graphics\Weather\DPPt\ptheavyfog.png" />
<Content Include="Resources\Graphics\Weather\DPPt\ptlightfog.png" />
<Content Include="Resources\Graphics\Weather\DPPt\ptredish.png" />
<None Include="Resources\Graphics\Program Icons\wildEditorButton.png" />
<None Include="Resources\Graphics\Program Icons\muteIcon.png" />
<None Include="Resources\Graphics\Program Icons\SearchMiniIcon.png" />
<None Include="Resources\Graphics\Program Icons\sortAscending.png" />
<None Include="Resources\Graphics\Program Icons\sortDescending.png" />
<None Include="Resources\RenameIcon.png" />
<Content Include="Tools\apicula.exe">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Tools\blz.exe">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Tools\ndstool.exe">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Resources\DLLs\HelixToolkit.dll" />
<Content Include="Resources\DLLs\OpenTK.dll" />
<Content Include="Resources\DLLs\Tao.OpenGl.dll" />
<Content Include="Resources\DLLs\Tao.Platform.Windows.dll" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5.2">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.5.2 %28x86 e x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Connected Services\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Ekona\Ekona.csproj">
<Project>{736010d3-f72f-4c56-b8d2-2edd1b8f3a87}</Project>
<Name>Ekona</Name>
</ProjectReference>
<ProjectReference Include="..\Images\Images\Images.csproj">
<Project>{8bb5da4b-5b71-4993-8941-4f38d4e6c81b}</Project>
<Name>Images</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="jacobslusser.ScintillaNET">
<Version>3.6.3</Version>
</PackageReference>
<PackageReference Include="Microsoft.WindowsAPICodePack-Core">
<Version>1.1.0.2</Version>
</PackageReference>
<PackageReference Include="Microsoft.WindowsAPICodePack-Shell">
<Version>1.1.0</Version>
</PackageReference>
<PackageReference Include="System.Collections.Specialized">
<Version>4.3.0</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
================================================
FILE: DS_Map/DSUtils/ARM9.cs
================================================
using System;
using System.Diagnostics;
using System.IO;
using static DSPRE.RomInfo;
namespace DSPRE {
public static class ARM9 {
private const int MAX_SIZE = 0xBC000;
public static readonly uint address = 0x02000000;
public class Reader : DSUtils.EasyReader {
public Reader(long pos = 0) : base(arm9Path, pos) {
this.BaseStream.Position = pos;
}
}
public class Writer : DSUtils.EasyWriter {
public Writer(long pos = 0) : base(arm9Path, pos) {
this.BaseStream.Position = pos;
}
}
public static void EditSize(int increment) {
using (Writer w = new Writer()) {
w.EditSize(increment);
}
}
public static bool Decompress(string path) {
Process decompress = DSUtils.CreateDecompressProcess(path);
decompress.Start();
decompress.WaitForExit();
return new FileInfo(path).Length > MAX_SIZE;
}
public static bool Compress(string path) {
Process compress = new Process();
compress.StartInfo.FileName = @"Tools\blz.exe";
compress.StartInfo.Arguments = @" -en9 " + '"' + path + '"';
compress.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
compress.StartInfo.CreateNoWindow = true;
compress.Start();
compress.WaitForExit();
return new FileInfo(path).Length <= MAX_SIZE;
}
public static bool CheckCompressionMark() {
return BitConverter.ToInt32(ReadBytes((uint)(RomInfo.gameFamily == GameFamilies.DP ? 0xB7C : 0xBB4), 4), 0) != 0;
}
public static byte[] ReadBytes(uint startOffset, long numberOfBytes = 0) {
return DSUtils.ReadFromFile(RomInfo.arm9Path, startOffset, numberOfBytes);
}
public static void WriteBytes(byte[] bytesToWrite, uint destOffset, int indexFirstByteToWrite = 0, int? indexLastByteToWrite = null) {
DSUtils.WriteToFile(RomInfo.arm9Path, bytesToWrite, destOffset, indexFirstByteToWrite, indexLastByteToWrite);
}
public static byte ReadByte(uint startOffset) {
return DSUtils.ReadFromFile(RomInfo.arm9Path, startOffset, 1)[0];
}
public static void WriteByte(byte value, uint destOffset) {
DSUtils.WriteToFile(RomInfo.arm9Path, BitConverter.GetBytes(value), destOffset, 0);
}
}
}
================================================
FILE: DS_Map/DSUtils/DSUtils.cs
================================================
using Ekona.Images;
using Images;
using LibNDSFormats.NSBMD;
using Microsoft.WindowsAPICodePack.Dialogs;
using NarcAPI;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using static DSPRE.RomInfo;
namespace DSPRE {
public static class DSUtils {
public const int ERR_OVERLAY_NOTFOUND = -1;
public const int ERR_OVERLAY_ALREADY_UNCOMPRESSED = -2;
public const string backupSuffix = ".backup";
public static readonly string NDSRomFilter = "NDS File (*.nds)|*.nds";
public class EasyReader : BinaryReader {
public EasyReader(string path, long pos = 0) : base(File.OpenRead(path)) {
this.BaseStream.Position = pos;
}
}
public class EasyWriter : BinaryWriter {
public EasyWriter(string path, long pos = 0, FileMode fmode = FileMode.OpenOrCreate) : base(new FileStream(path, fmode, FileAccess.Write, FileShare.None)) {
this.BaseStream.Position = pos;
}
public void EditSize(int increment) {
this.BaseStream.SetLength(this.BaseStream.Length + increment);
}
}
public static void WriteToFile(string filepath, byte[] toOutput, uint writeAt = 0, int indexFirstByteToWrite = 0, int? indexLastByteToWrite = null, FileMode fmode = FileMode.OpenOrCreate) {
using (EasyWriter writer = new EasyWriter(filepath, writeAt, fmode)) {
writer.Write(toOutput, indexFirstByteToWrite, indexLastByteToWrite is null ? toOutput.Length - indexFirstByteToWrite : (int)indexLastByteToWrite);
}
}
public static byte[] ReadFromFile(string filepath, long startOffset = 0, long numberOfBytes = 0) {
byte[] buffer = null;
using (EasyReader reader = new EasyReader(filepath, startOffset)) {
try {
buffer = reader.ReadBytes(numberOfBytes == 0 ? (int)(reader.BaseStream.Length - reader.BaseStream.Position) : (int)numberOfBytes);
} catch (EndOfStreamException) {
Console.WriteLine("Stream ended");
}
}
return buffer;
}
public static byte[] ReadFromByteArray(byte[] input, long readFrom = 0, long numberOfBytes = 0) {
byte[] buffer = null;
using (BinaryReader reader = new BinaryReader(new MemoryStream(input))) {
reader.BaseStream.Position = readFrom;
try {
if (numberOfBytes == 0) {
buffer = reader.ReadBytes((int)(input.Length - reader.BaseStream.Position));
} else {
buffer = reader.ReadBytes((int)numberOfBytes);
}
} catch (EndOfStreamException) {
Console.WriteLine("Stream ended");
}
}
return buffer;
}
public static Process CreateDecompressProcess(string path) {
Process decompress = new Process();
decompress.StartInfo.FileName = @"Tools\blz.exe";
decompress.StartInfo.Arguments = @" -d " + '"' + path + '"';
decompress.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
decompress.StartInfo.CreateNoWindow = true;
return decompress;
}
public static void RepackROM(string ndsFileName) {
Process repack = new Process();
repack.StartInfo.FileName = @"Tools\ndstool.exe";
repack.StartInfo.Arguments = "-c " + '"' + ndsFileName + '"'
+ " -9 " + '"' + RomInfo.arm9Path + '"'
+ " -7 " + '"' + RomInfo.workDir + "arm7.bin" + '"'
+ " -y9 " + '"' + RomInfo.workDir + "y9.bin" + '"'
+ " -y7 " + '"' + RomInfo.workDir + "y7.bin" + '"'
+ " -d " + '"' + RomInfo.workDir + "data" + '"'
+ " -y " + '"' + RomInfo.workDir + "overlay" + '"'
+ " -t " + '"' + RomInfo.workDir + "banner.bin" + '"'
+ " -h " + '"' + RomInfo.workDir + "header.bin" + '"';
Application.DoEvents();
repack.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
repack.StartInfo.CreateNoWindow = true;
repack.Start();
repack.WaitForExit();
}
public static byte[] StringToByteArray(String hex) {
//Ummm what?
int NumberChars = hex.Length;
byte[] bytes = new byte[NumberChars / 2];
for (int i = 0; i < NumberChars; i += 2)
bytes[i / 2] = Convert.ToByte(hex.Substring(i, 2), 16);
return bytes;
}
public static byte[] HexStringToByteArray(string hexString) {
//FC B5 05 48 C0 46 41 21
//09 22 02 4D A8 47 00 20
//03 21 FC BD F1 64 00 02
//00 80 3C 02
if (hexString is null)
return null;
hexString = hexString.Trim();
byte[] b = new byte[hexString.Length / 3 + 1];
for (int i = 0; i < hexString.Length; i += 2) {
if (hexString[i] == ' ') {
hexString = hexString.Substring(1, hexString.Length - 1);
}
b[i / 2] = Convert.ToByte(hexString.Substring(i, 2), 16);
}
return b;
}
public static void TryUnpackNarcs(List<DirNames> IDs) {
if (gameDirs == null || gameDirs.Count == 0) {
return;
}
Parallel.ForEach(IDs, id => {
if (gameDirs.TryGetValue(id, out (string packedPath, string unpackedPath) paths)) {
DirectoryInfo di = new DirectoryInfo(paths.unpackedPath);
if (!di.Exists || di.GetFiles().Length == 0) {
Narc opened = Narc.Open(paths.packedPath) ?? throw new NullReferenceException();
opened.ExtractToFolder(paths.unpackedPath);
}
}
});
}
public static void ForceUnpackNarcs(List<DirNames> IDs) {
Parallel.ForEach(IDs, id => {
if (gameDirs.TryGetValue(id, out (string packedPath, string unpackedPath) paths)) {
Narc opened = Narc.Open(paths.packedPath);
if (opened is null) {
throw new NullReferenceException();
}
opened.ExtractToFolder(paths.unpackedPath);
}
});
}
public static Image GetPokePic(int species, int w, int h) {
PaletteBase paletteBase;
bool fiveDigits = false; // some extreme future proofing
string filename = "0000";
try {
paletteBase = new NCLR(gameDirs[DirNames.monIcons].unpackedDir + "\\" + filename, 0, filename);
} catch (FileNotFoundException) {
filename += '0';
paletteBase = new NCLR(gameDirs[DirNames.monIcons].unpackedDir + "\\" + filename, 0, filename);
fiveDigits = true;
}
// read arm9 table to grab pal ID
int paletteId = 0;
string iconTablePath;
int iconPalTableOffsetFromFileStart;
string ov129path = OverlayUtils.GetPath(129);
if (File.Exists(ov129path)) {
// if overlay 129 exists, read it from there
iconPalTableOffsetFromFileStart = (int)(RomInfo.monIconPalTableAddress - OverlayUtils.OverlayTable.GetRAMAddress(129));
iconTablePath = ov129path;
} else if ((int)(RomInfo.monIconPalTableAddress - RomInfo.synthOverlayLoadAddress) >= 0) {
// if there is a synthetic overlay, read it from there
iconPalTableOffsetFromFileStart = (int)(RomInfo.monIconPalTableAddress - RomInfo.synthOverlayLoadAddress);
iconTablePath = gameDirs[DirNames.synthOverlay].unpackedDir + "\\" + PatchToolboxDialog.expandedARMfileID.ToString("D4");
} else {
// default handling
iconPalTableOffsetFromFileStart = (int)(RomInfo.monIconPalTableAddress - ARM9.address);
iconTablePath = RomInfo.arm9Path;
}
using (DSUtils.EasyReader idReader = new DSUtils.EasyReader(iconTablePath, iconPalTableOffsetFromFileStart + species)) {
paletteId = idReader.ReadByte();
}
if (paletteId != 0) {
paletteBase.Palette[0] = paletteBase.Palette[paletteId]; // update pal 0 to be the new pal
}
// grab tiles
int spriteFileID = species + 7;
string spriteFilename = spriteFileID.ToString("D" + (fiveDigits ? "5" : "4"));
ImageBase imageBase = new NCGR(gameDirs[DirNames.monIcons].unpackedDir + "\\" + spriteFilename, spriteFileID, spriteFilename);
// grab sprite
int ncerFileId = 2;
string ncerFileName = ncerFileId.ToString("D" + (fiveDigits ? "5" : "4"));
SpriteBase spriteBase = new NCER(gameDirs[DirNames.monIcons].unpackedDir + "\\" + ncerFileName, 2, ncerFileName);
// copy this from the trainer
int bank0OAMcount = spriteBase.Banks[0].oams.Length;
int[] OAMenabled = new int[bank0OAMcount];
for (int i = 0; i < OAMenabled.Length; i++) {
OAMenabled[i] = i;
}
// finally compose image
try {
return spriteBase.Get_Image(imageBase, paletteBase, 0, w, h, false, false, false, true, true, -1, OAMenabled);
} catch (FormatException) {
return Properties.Resources.IconPokeball;
}
}
}
}
================================================
FILE: DS_Map/DSUtils/ModelUtils.cs
================================================
using Microsoft.WindowsAPICodePack.Dialogs;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
namespace DSPRE {
public static class ModelUtils {
public static void ModelToDAE(string modelName, byte[] modelData, byte[] textureData) {
MessageBox.Show("Choose output folder.\nDSPRE will automatically create a sub-folder in it.", "Awaiting user input", MessageBoxButtons.OK, MessageBoxIcon.Information);
CommonOpenFileDialog cofd = new CommonOpenFileDialog {
IsFolderPicker = true,
Multiselect = false
};
if (cofd.ShowDialog() != CommonFileDialogResult.Ok) {
return;
}
string outDir = Path.Combine(cofd.FileName, modelName);
if (Directory.Exists(outDir)) {
if (Directory.GetFiles(outDir).Length > 0) {
DialogResult d = MessageBox.Show($"Directory \"{outDir}\" already exists and is not empty.\nIts contents will be lost.\n\nDo you want to proceed?", "Directory not empty", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (d.Equals(DialogResult.No)) {
return;
} else {
Directory.Delete(outDir, recursive: true);
}
} else {
Directory.Delete(outDir, recursive: true);
}
}
string tempNSBMDPath = outDir + "_temp.nsbmd";
if (textureData != null && textureData.Length > 0) {
modelData = NSBUtils.BuildNSBMDwithTextures(modelData, textureData);
}
File.WriteAllBytes(tempNSBMDPath, modelData);
/* Check correct creation of temp NSBMD file*/
if (!File.Exists(tempNSBMDPath)) {
MessageBox.Show("Expected NSBMD file could not be found.\nAborting", "Error", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
Process apicula = new Process();
apicula.StartInfo.FileName = @"Tools\apicula.exe";
apicula.StartInfo.Arguments = $" convert \"{tempNSBMDPath}\" --output \"{outDir}\"";
apicula.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
apicula.StartInfo.CreateNoWindow = true;
apicula.Start();
apicula.WaitForExit();
if (File.Exists(tempNSBMDPath)) {
File.Delete(tempNSBMDPath);
if (File.Exists(tempNSBMDPath)) {
MessageBox.Show("Temporary NSBMD file deletion failed.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
} else {
MessageBox.Show("Temporary NSBMD file corresponding to this map disappeared.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
if (apicula.ExitCode == 0) {
MessageBox.Show("NSBMD was exported and converted successfully!", "Operation successful", MessageBoxButtons.OK, MessageBoxIcon.Information);
} else {
MessageBox.Show("NSBMD to DAE conversion failed.", "Apicula error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
public static void ModelToGLB(string modelName, byte[] modelData, byte[] textureData) {
MessageBox.Show("Choose output folder.\nDSPRE will automatically create a sub-folder in it.", "Awaiting user input", MessageBoxButtons.OK, MessageBoxIcon.Information);
CommonOpenFileDialog cofd = new CommonOpenFileDialog {
IsFolderPicker = true,
Multiselect = false
};
if (cofd.ShowDialog() != CommonFileDialogResult.Ok) {
return;
}
string outDir = Path.Combine(cofd.FileName, modelName);
if (Directory.Exists(outDir)) {
if (Directory.GetFiles(outDir).Length > 0) {
DialogResult d = MessageBox.Show($"Directory \"{outDir}\" already exists and is not empty.\nIts contents will be lost.\n\nDo you want to proceed?", "Directory not empty", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (d.Equals(DialogResult.No)) {
return;
} else {
Directory.Delete(outDir, recursive: true);
}
} else {
Directory.Delete(outDir, recursive: true);
}
}
string tempNSBMDPath = outDir + "_temp.nsbmd";
if (textureData != null && textureData.Length > 0) {
modelData = NSBUtils.BuildNSBMDwithTextures(modelData, textureData);
}
File.WriteAllBytes(tempNSBMDPath, modelData);
/* Check correct creation of temp NSBMD file*/
if (!File.Exists(tempNSBMDPath)) {
MessageBox.Show("NSBMD file corresponding to this map could not be found.\nAborting", "Error", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
Process apicula = new Process();
apicula.StartInfo.FileName = @"Tools\apicula.exe";
apicula.StartInfo.Arguments = $" convert \"{tempNSBMDPath}\" -f glb --output \"{outDir}\"";
apicula.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
apicula.StartInfo.CreateNoWindow = true;
apicula.Start();
apicula.WaitForExit();
if (File.Exists(tempNSBMDPath)) {
File.Delete(tempNSBMDPath);
if (File.Exists(tempNSBMDPath)) {
MessageBox.Show("Temporary NSBMD file deletion failed.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
} else {
MessageBox.Show("Temporary NSBMD file corresponding to this map disappeared.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
if (apicula.ExitCode == 0) {
MessageBox.Show("NSBMD was exported and converted successfully!", "Operation successful", MessageBoxButtons.OK, MessageBoxIcon.Information);
} else {
MessageBox.Show("NSBMD to GLB conversion failed.", "Apicula error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
}
================================================
FILE: DS_Map/DSUtils/NSBUtils.cs
================================================
using LibNDSFormats.NSBMD;
using System;
using System.IO;
using System.Text;
using System.Windows.Forms;
namespace DSPRE {
public static class NSBUtils {
public const int NSBMD_DOESNTHAVE_TEXTURE = 0;
public const int NSBMD_HAS_TEXTURE = 1;
public static string ReadNSBMDname(BinaryReader reader, long? startPos = null) {
if (startPos != null) {
reader.BaseStream.Position = (long)startPos;
}
if (reader.ReadUInt32() == NSBMD.NDS_TYPE_MDL0) { //MDL0
reader.BaseStream.Position += 0x1c;
} else {
reader.BaseStream.Position += 0x1c + 4;
}
return Encoding.UTF8.GetString(reader.ReadBytes(16));
}
public static byte[] BuildNSBMDwithTextures(byte[] nsbmd, byte[] nsbtx) {
byte[] wholeMDL0 = GetFirstBlock(nsbmd);
byte[] wholeTEX0 = GetFirstBlock(nsbtx);
MemoryStream ms = new MemoryStream();
using (BinaryWriter msWriter = new BinaryWriter(ms)) {
msWriter.Write(NSBMD.NDS_TYPE_BMD0);
msWriter.Write(NSBMD.NDS_TYPE_BYTEORDER);
msWriter.Write(NSBMD.NDS_TYPE_UNK2);
ushort nBlocks = 2;
uint modelLength = (uint)(wholeMDL0.Length + NSBMD.HEADERSIZE + 4 * nBlocks);
msWriter.Write((uint)(modelLength + wholeTEX0.Length));
msWriter.Write(NSBMD.HEADERSIZE); //Header size, always 16
msWriter.Write(nBlocks); //Number of blocks, now it's 2 because we are inserting textures
msWriter.Write((uint)(msWriter.BaseStream.Position + 4 * nBlocks)); //Absolute offset to model data. We are gonna have to write two offsets
msWriter.Write(modelLength); //Copy offset to TEX0
msWriter.Write(wholeMDL0);
msWriter.Write(wholeTEX0);
}
return ms.ToArray();
}
public static byte[] BuildNSBTXHeader(uint texturesSize) {
MemoryStream ms = new MemoryStream();
using (BinaryWriter bw = new BinaryWriter(ms)) {
bw.Write(Encoding.UTF8.GetBytes("BTX0")); // Write magic code BTX0
bw.Write((ushort)0xFEFF); // Byte order
bw.Write((ushort)0x0001); // ???
bw.Write(texturesSize); // Write size of textures block
bw.Write((short)0x10); //Header size
bw.Write((short)0x01); //Number of sub-files???
bw.Write((uint)0x14); // Offset to sub-file
}
return ms.ToArray();
}
public static int CheckNSBMDHeader(byte[] modelFile) {
using (BinaryReader byteArrReader = new BinaryReader(new MemoryStream(modelFile))) {
if (byteArrReader.ReadUInt32() != NSBMD.NDS_TYPE_BMD0) {
MessageBox.Show("Please select an NSBMD file.", "Invalid File", MessageBoxButtons.OK, MessageBoxIcon.Error);
return -1;
}
byteArrReader.BaseStream.Position = 0xE;
return byteArrReader.ReadInt16() >= 2 ? NSBMD_HAS_TEXTURE : NSBMD_DOESNTHAVE_TEXTURE;
}
}
public static byte[] GetModelWithoutTextures(byte[] modelFile) {
byte[] nsbmdHeaderData;
uint mdl0Size;
byte[] mdl0Data;
using (BinaryReader modelReader = new BinaryReader(new MemoryStream(modelFile))) {
modelReader.BaseStream.Position = 0x0;
nsbmdHeaderData = modelReader.ReadBytes(0x8);
modelReader.BaseStream.Position = 0x1C;
mdl0Size = modelReader.ReadUInt32(); // Read mdl0 file size
modelReader.BaseStream.Position = 0x18;
mdl0Data = modelReader.ReadBytes((int)mdl0Size);
}
MemoryStream output = new MemoryStream();
using (BinaryWriter writer = new BinaryWriter(output)) {
writer.Write(nsbmdHeaderData); // Write first header bytes, same for all NSBMD.
writer.Write(mdl0Size + 0x14);
writer.Write((short)0x10); // Writes BMD0 header size (always 16)
writer.Write((short)0x1); // Write new number of sub-files, since embedded textures are removed
writer.Write((uint)0x14); // Writes new start offset of MDL0
writer.Write(mdl0Data); // Writes MDL0;
}
return output.ToArray();
}
public static byte[] GetTexturesFromTexturedNSBMD(byte[] modelFile) {
using (BinaryReader byteArrReader = new BinaryReader(new MemoryStream(modelFile))) {
byteArrReader.BaseStream.Position = 14;
if (byteArrReader.ReadUInt16() < 2) //No textures
return new byte[0];
byteArrReader.BaseStream.Position = 20;
int texAbsoluteOffset = byteArrReader.ReadInt32();
byteArrReader.BaseStream.Position = texAbsoluteOffset + 4;
uint textureSize = byteArrReader.ReadUInt32();
byte[] nsbtxHeader = NSBUtils.BuildNSBTXHeader(20 + textureSize);
byte[] texData = DSUtils.ReadFromByteArray(modelFile, readFrom: texAbsoluteOffset);
byte[] output = new byte[nsbtxHeader.Length + texData.Length];
Buffer.BlockCopy(nsbtxHeader, 0, output, 0, nsbtxHeader.Length);
Buffer.BlockCopy(texData, 0, output, nsbtxHeader.Length, texData.Length);
return output;
}
}
private static byte[] GetFirstBlock(byte[] NSBFile) {
int blockSize;
uint offsetToMainBlock;
using (BinaryReader reader = new BinaryReader(new MemoryStream(NSBFile))) {
reader.BaseStream.Position = 16;
offsetToMainBlock = reader.ReadUInt32();
reader.BaseStream.Position = offsetToMainBlock + 4;
blockSize = reader.ReadInt32();
}
byte[] blockData = new byte[blockSize];
Buffer.BlockCopy(NSBFile, (int)offsetToMainBlock, blockData, 0, blockSize);
return blockData;
}
}
}
================================================
FILE: DS_Map/DSUtils/OverlayUtils.cs
================================================
using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
using static DSPRE.DSUtils;
using static DSPRE.RomInfo;
namespace DSPRE {
public static class OverlayUtils {
public static class OverlayTable {
private const int ENTRY_LEN = 32;
/**
* Only checks if the overlay is CONFIGURED as compressed
**/
public static bool IsDefaultCompressed(int ovNumber) {
using (DSUtils.EasyReader f = new EasyReader(RomInfo.overlayTablePath, ovNumber * ENTRY_LEN + 31)) {
return (f.ReadByte() & 1) == 1;
}
}
public static void SetDefaultCompressed(int ovNumber, bool compressStatus) {
DSUtils.WriteToFile(RomInfo.overlayTablePath, new byte[] { compressStatus ? (byte)1 : (byte)0 }, (uint)(ovNumber * ENTRY_LEN + 31)); //overlayNumber * size of entry + offset
}
public static uint GetRAMAddress(int ovNumber) {
using (DSUtils.EasyReader f = new EasyReader(RomInfo.overlayTablePath, ovNumber * ENTRY_LEN + 4)) {
return f.ReadUInt32();
}
}
public static uint GetUncompressedSize(int ovNumber) {
using (DSUtils.EasyReader f = new EasyReader(RomInfo.overlayTablePath, ovNumber * ENTRY_LEN + 8)) {
return f.ReadUInt32();
}
}
/**
* Gets number of overlays
**/
public static int GetNumberOfOverlays() {
using (FileStream fileStream = File.OpenRead(RomInfo.overlayTablePath))
{
// Get the length of the file in bytes
return (int)(fileStream.Length / ENTRY_LEN);
}
}
}
public static string GetPath(int overlayNumber) {
return $"{workDir}overlay\\overlay_{overlayNumber:D4}.bin";
}
/**
* Checks the actual size of the overlay file
**/
public static bool IsCompressed(int ovNumber) {
return (new FileInfo(GetPath(ovNumber)).Length < OverlayTable.GetUncompressedSize(ovNumber));
}
public static void RestoreFromCompressedBackup(int overlayNumber, bool eventEditorIsReady) {
String overlayFilePath = GetPath(overlayNumber);
if (File.Exists(overlayFilePath + DSUtils.backupSuffix)) {
if (new FileInfo(overlayFilePath).Length <= new FileInfo(overlayFilePath + DSUtils.backupSuffix).Length) { //if overlay is bigger than its backup
Console.WriteLine($"Overlay {overlayNumber} is already compressed.");
return;
} else {
File.Delete(overlayFilePath);
File.Move(overlayFilePath + DSUtils.backupSuffix, overlayFilePath);
}
} else {
string msg = $"Overlay File {overlayFilePath}{DSUtils.backupSuffix} couldn't be found and restored.";
Console.WriteLine(msg);
if (eventEditorIsReady) {
MessageBox.Show(msg, "Can't restore overlay from backup", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
public static int Compress(int overlayNumber) {
string overlayFilePath = GetPath(overlayNumber);
if (!File.Exists(overlayFilePath)) {
MessageBox.Show("Overlay to decompress #" + overlayNumber + " doesn't exist",
"Overlay not found", MessageBoxButtons.OK, MessageBoxIcon.Error);
return ERR_OVERLAY_NOTFOUND;
}
Process compress = new Process();
compress.StartInfo.FileName = @"Tools\blz.exe";
compress.StartInfo.Arguments = "-en " + '"' + overlayFilePath + '"';
Application.DoEvents();
compress.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
compress.StartInfo.CreateNoWindow = true;
compress.Start();
compress.WaitForExit();
return compress.ExitCode;
}
public static int Decompress(string overlayFilePath, bool makeBackup = true) {
if (!File.Exists(overlayFilePath)) {
MessageBox.Show($"File to decompress \"{overlayFilePath}\" doesn't exist",
"Overlay not found", MessageBoxButtons.OK, MessageBoxIcon.Error);
return ERR_OVERLAY_NOTFOUND;
}
if (makeBackup) {
if (File.Exists(overlayFilePath + backupSuffix)) {
File.Delete(overlayFilePath + backupSuffix);
}
File.Copy(overlayFilePath, overlayFilePath + backupSuffix);
}
Process decompress = DSUtils.CreateDecompressProcess(overlayFilePath);
decompress.Start();
decompress.WaitForExit();
return decompress.ExitCode;
}
public static int Decompress(int overlayNumber, bool makeBackup = true) {
return Decompress(GetPath(overlayNumber), makeBackup);
}
}
}
================================================
FILE: DS_Map/DVCalculator/DVCalc.Designer.cs
================================================
using System.Windows.Forms;
namespace DSPRE
{
partial class DVCalc
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
#endregion
private Label poke_label;
private Label trainerClassIdx_label;
private Label trainerIdx_label;
private Label pokeLVL_label;
private NumericUpDown pokeLevel;
private NumericUpDown trainerClassIdx;
private NumericUpDown trainerIdx;
private ComboBox natureSelect;
private Label nature_label;
private Label DV_label;
private Button calcButton;
private CheckBox maleCheck;
private Label maxDVNature_label;
private Label IV_label;
private ComboBox pokemonSelector;
private Button showAllButton;
private Button helpButton;
}
}
================================================
FILE: DS_Map/DVCalculator/DVCalc.cs
================================================
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Xml.Linq;
namespace DSPRE
{
public partial class DVCalc : Form
{
public DVCalc(int TrainerIndex, int TrainerClassIndex)
{
InitializeComponent();
PopulateComboBox();
SetTrainerData(TrainerIndex, TrainerClassIndex);
//make Pokemon searchable
pokemonSelector.TextChanged += PokemonSelector_TextChanged;
pokemonSelector.AutoCompleteMode = AutoCompleteMode.Suggest;
pokemonSelector.AutoCompleteSource = AutoCompleteSource.CustomSource;
AutoCompleteStringCollection autoCompleteSource = new AutoCompleteStringCollection();
foreach (KeyValuePair<int, string> item in pokemonSelector.Items)
{
autoCompleteSource.Add(item.Value);
}
pokemonSelector.AutoCompleteCustomSource = autoCompleteSource;
}
private void MainForm_Load(object sender, EventArgs e)
{
}
private void InitializeComponent()
{
this.poke_label = new System.Windows.Forms.Label();
this.trainerClassIdx_label = new System.Windows.Forms.Label();
this.trainerIdx_label = new System.Windows.Forms.Label();
this.pokeLVL_label = new System.Windows.Forms.Label();
this.pokeLevel = new System.Windows.Forms.NumericUpDown();
this.trainerClassIdx = new System.Windows.Forms.NumericUpDown();
this.trainerIdx = new System.Windows.Forms.NumericUpDown();
this.natureSelect = new System.Windows.Forms.ComboBox();
this.nature_label = new System.Windows.Forms.Label();
this.DV_label = new System.Windows.Forms.Label();
this.calcButton = new System.Windows.Forms.Button();
this.maleCheck = new System.Windows.Forms.CheckBox();
this.maxDVNature_label = new System.Windows.Forms.Label();
this.IV_label = new System.Windows.Forms.Label();
this.pokemonSelector = new System.Windows.Forms.ComboBox();
this.showAllButton = new System.Windows.Forms.Button();
this.helpButton = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.pokeLevel)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.trainerClassIdx)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.trainerIdx)).BeginInit();
this.SuspendLayout();
//
// poke_label
//
this.poke_label.AutoSize = true;
this.poke_label.Location = new System.Drawing.Point(28, 154);
this.poke_label.Name = "poke_label";
this.poke_label.Size = new System.Drawing.Size(65, 16);
this.poke_label.TabIndex = 3;
this.poke_label.Text = "Pokmon";
//
// trainerClassIdx_label
//
this.trainerClassIdx_label.AutoSize = true;
this.trainerClassIdx_label.Location = new System.Drawing.Point(28, 87);
this.trainerClassIdx_label.Name = "trainerClassIdx_label";
this.trainerClassIdx_label.Size = new System.Drawing.Size(122, 16);
this.trainerClassIdx_label.TabIndex = 4;
this.trainerClassIdx_label.Text = "Trainer Class Index";
//
// trainerIdx_label
//
this.trainerIdx_label.AutoSize = true;
this.trainerIdx_label.Location = new System.Drawing.Point(28, 21);
this.trainerIdx_label.Name = "trainerIdx_label";
this.trainerIdx_label.Size = new System.Drawing.Size(85, 16);
this.trainerIdx_label.TabIndex = 5;
this.trainerIdx_label.Text = "Trainer Index";
//
// pokeLVL_label
//
this.pokeLVL_label.AutoSize = true;
this.pokeLVL_label.Location = new System.Drawing.Point(278, 179);
this.pokeLVL_label.Name = "pokeLVL_label";
this.pokeLVL_label.Size = new System.Drawing.Size(33, 16);
this.pokeLVL_label.TabIndex = 6;
this.pokeLVL_label.Text = "LVL.";
//
// pokeLevel
//
this.pokeLevel.Location = new System.Drawing.Point(318, 177);
this.pokeLevel.Minimum = new decimal(new int[] {
1,
0,
0,
0});
this.pokeLevel.Name = "pokeLevel";
this.pokeLevel.Size = new System.Drawing.Size(46, 22);
this.pokeLevel.TabIndex = 7;
this.pokeLevel.Value = new decimal(new int[] {
50,
0,
0,
0});
//
// trainerClassIdx
//
this.trainerClassIdx.Location = new System.Drawing.Point(28, 110);
this.trainerClassIdx.Maximum = new decimal(new int[] {
120,
0,
0,
0});
this.trainerClassIdx.Name = "trainerClassIdx";
this.trainerClassIdx.Size = new System.Drawing.Size(125, 22);
this.trainerClassIdx.TabIndex = 9;
//
// trainerIdx
//
this.trainerIdx.Location = new System.Drawing.Point(28, 44);
this.trainerIdx.Maximum = new decimal(new int[] {
1000,
0,
0,
0});
this.trainerIdx.Name = "trainerIdx";
this.trainerIdx.Size = new System.Drawing.Size(125, 22);
this.trainerIdx.TabIndex = 10;
//
// natureSelect
//
this.natureSelect.FormattingEnabled = true;
this.natureSelect.Location = new System.Drawing.Point(192, 44);
this.natureSelect.Name = "natureSelect";
this.natureSelect.Size = new System.Drawing.Size(207, 24);
this.natureSelect.TabIndex = 11;
//
// nature_label
//
this.nature_label.AutoSize = true;
this.nature_label.Location = new System.Drawing.Point(192, 21);
this.nature_label.Name = "nature_label";
this.nature_label.Size = new System.Drawing.Size(47, 16);
this.nature_label.TabIndex = 12;
this.nature_label.Text = "Nature";
//
// DV_label
//
this.DV_label.AutoSize = true;
this.DV_label.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.DV_label.Location = new System.Drawing.Point(443, 44);
this.DV_label.Name = "DV_label";
this.DV_label.Size = new System.Drawing.Size(162, 25);
this.DV_label.TabIndex = 13;
this.DV_label.Text = "Difficulty Value: 0";
//
// calcButton
//
this.calcButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.calcButton.Location = new System.Drawing.Point(491, 179);
this.calcButton.Name = "calcButton";
this.calcButton.Size = new System.Drawing.Size(114, 51);
this.calcButton.TabIndex = 14;
this.calcButton.Text = "Calculate";
this.calcButton.UseVisualStyleBackColor = true;
this.calcButton.Click += new System.EventHandler(this.CalcButton_Click);
//
// maleCheck
//
this.maleCheck.AutoSize = true;
this.maleCheck.Checked = true;
this.maleCheck.CheckState = System.Windows.Forms.CheckState.Checked;
this.maleCheck.Location = new System.Drawing.Point(192, 111);
this.maleCheck.Name = "maleCheck";
this.maleCheck.Size = new System.Drawing.Size(112, 20);
this.maleCheck.TabIndex = 15;
this.maleCheck.Text = "Trainer Male?";
this.maleCheck.UseVisualStyleBackColor = true;
//
// maxDVNature_label
//
this.maxDVNature_label.AutoSize = true;
this.maxDVNature_label.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.maxDVNature_label.Location = new System.Drawing.Point(323, 127);
this.maxDVNature_label.Name = "maxDVNature_label";
this.maxDVNature_label.Size = new System.Drawing.Size(125, 20);
this.maxDVNature_label.TabIndex = 16;
this.maxDVNature_label.Text = "DV 255 Nature:";
//
// IV_label
//
this.IV_label.AutoSize = true;
this.IV_label.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.IV_label.Location = new System.Drawing.Point(323, 87);
this.IV_label.Name = "IV_label";
this.IV_label.Size = new System.Drawing.Size(113, 20);
this.IV_label.TabIndex = 17;
this.IV_label.Text = "Resulting IVs:";
//
// pokemonSelector
//
this.pokemonSelector.FormattingEnabled = true;
this.pokemonSelector.Location = new System.Drawing.Point(28, 176);
this.pokemonSelector.Name = "pokemonSelector";
this.pokemonSelector.Size = new System.Drawing.Size(244, 24);
this.pokemonSelector.TabIndex = 18;
//
// showAllButton
//
this.showAllButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.showAllButton.Location = new System.Drawing.Point(391, 192);
this.showAllButton.Name = "showAllButton";
this.showAllButton.Size = new System.Drawing.Size(94, 29);
this.showAllButton.TabIndex = 19;
this.showAllButton.Text = "Show All";
this.showAllButton.UseVisualStyleBackColor = true;
this.showAllButton.Click += new System.EventHandler(this.ShowAllButton_Click);
//
// helpButton
//
this.helpButton.Location = new System.Drawing.Point(541, 2);
this.helpButton.Name = "helpButton";
this.helpButton.Size = new System.Drawing.Size(75, 23);
this.helpButton.TabIndex = 20;
this.helpButton.Text = "Help";
this.helpButton.UseVisualStyleBackColor = true;
this.helpButton.Click += new System.EventHandler(this.buttonHelp_Click);
//
// DVCalc
//
this.ClientSize = new System.Drawing.Size(628, 242);
this.Controls.Add(this.helpButton);
this.Controls.Add(this.showAllButton);
this.Controls.Add(this.pokemonSelector);
this.Controls.Add(this.IV_label);
this.Controls.Add(this.maxDVNature_label);
this.Controls.Add(this.maleCheck);
this.Controls.Add(this.calcButton);
this.Controls.Add(this.DV_label);
this.Controls.Add(this.nature_label);
this.Controls.Add(this.natureSelect);
this.Controls.Add(this.trainerIdx);
this.Controls.Add(this.trainerClassIdx);
this.Controls.Add(this.pokeLevel);
this.Controls.Add(this.pokeLVL_label);
this.Controls.Add(this.trainerIdx_label);
this.Controls.Add(this.trainerClassIdx_label);
this.Controls.Add(this.poke_label);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.Name = "DVCalc";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "DVCalc";
((System.ComponentModel.ISupportInitialize)(this.pokeLevel)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.trainerClassIdx)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.trainerIdx)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
private void PopulateComboBox()
{
// Populate Nature ComboBox (static readonly List)
natureSelect.DataSource = DVCalculator.Natures;
// Fill the pokemon selector combo box with pokemon names from the ROM
string[] pokeNames = RomInfo.GetPokemonNames();
pokemonSelector.Items.Clear();
for (int id = 0; id < pokeNames.Length; id++)
{
pokemonSelector.Items.Add(new KeyValuePair<int, string>(id, pokeNames[id]));
}
pokemonSelector.SelectedIndex = 0;
}
private void SetTrainerData(int TrainerIndex, int TrainerClassIndex)
{
trainerIdx.Value = TrainerIndex;
trainerClassIdx.Value = TrainerClassIndex;
}
private void CalcButton_Click(object sender, EventArgs e)
{
// Natures are sorted by their index so this works
uint nature = (uint)natureSelect.SelectedIndex;
int pokemonIndex = 1;
if (pokemonSelector.SelectedItem != null)
{
KeyValuePair<int, string> selectedPokemon = (KeyValuePair<int, string>)pokemonSelector.SelectedItem;
pokemonIndex = (int)selectedPokemon.Key;
}
int DV = DVCalculator.findHighestDV((int)trainerIdx.Value, (int)trainerClassIdx.Value, maleCheck.Checked, pokemonIndex, (int)pokeLevel.Value, nature);
// Determine nature for max DV (max IV) for convenience
uint maxDVNature = DVCalculator.getNatureFromPID(DVCalculator.generatePID((int)trainerIdx.Value, (int)trainerClassIdx.Value, maleCheck.Checked, pokemonIndex, (int)pokeLevel.Value, 255));
// Display results
DV_label.Text = "Difficulty Value: " + DV;
IV_label.Text = "Resulting IVs: " + (DV * 31 / 255);
maxDVNature_label.Text = "DV 255 Nature: " + DVCalculator.Natures[(int)maxDVNature];
}
private void ShowAllButton_Click(object sender, EventArgs e)
{
int pokemonIndex = 1;
if (pokemonSelector.SelectedItem != null)
{
KeyValuePair<int, string> selectedPokemon = (KeyValuePair<int, string>)pokemonSelector.SelectedItem;
pokemonIndex = (int)selectedPokemon.Key;
}
// Create a list of DV-IV-Nature Triplets
List<DVIVNatureTriplet> natureDict = DVCalculator.getAllNatures((int)trainerIdx.Value, (int)trainerClassIdx.Value, maleCheck.Checked, pokemonIndex, (int)pokeLevel.Value);
// Create an instance of the view form and pass the data
// There might be a better way to do this?
DVCalcNatureViewerForm natureViewer = new DVCalcNatureViewerForm(natureDict);
natureViewer.ShowDialog();
}
private void PokemonSelector_TextChanged(object sender, EventArgs e)
{
if (sender == null || !(sender is ComboBox)){ { return; } }
ComboBox comboBox = (ComboBox)sender;
string enteredText = comboBox.Text.ToLower();
// If name of pokemon is typed select that item
foreach (KeyValuePair<int, string> item in comboBox.Items)
{
if (item.Value.ToLower().Equals(enteredText))
{
comboBox.SelectedItem = item;
return;
}
}
}
private void buttonHelp_Click(object sender, EventArgs e)
{
MessageBox.Show("DV, or \"Difficulty Value\", is used by the game engine to calculate how tough an opponent Pokemon should be.\n" +
"The DV affects a Pokemon's Nature and IVs - the higher the value, the stronger the Pokemon.\n" +
"DVs will go from 0 (0 IVs) to 255 (31 IVs). Natures are chosen semi-randomly." +
"\nIVs will be the same value for all Stats at any DV, so Hidden Power will only be Fighting or Dark Type." +
"\nThis calculator allows you to choose a desired Nature and then find the highest possible DV that will yield that Nature." +
"\nIf you want a specific combination of IVs and Nature instead, please click the \"Show All\" button and find the one you want."
, "Difficulty Value", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}
================================================
FILE: DS_Map/DVCalculator/DVCalc.resx
================================================
<?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>
================================================
FILE: DS_Map/DVCalculator/DVCalcNatureViewerForm.Designer.cs
================================================
using System.Drawing;
using System.Windows.Forms;
namespace DSPRE
{
partial class DVCalcNatureViewerForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.natureGridView = new System.Windows.Forms.DataGridView();
((System.ComponentModel.ISupportInitialize)(this.natureGridView)).BeginInit();
this.SuspendLayout();
//
// natureGridView
//
this.natureGridView.AllowUserToAddRows = false;
this.natureGridView.AllowUserToDeleteRows = false;
this.natureGridView.AllowUserToOrderColumns = true;
this.natureGridView.AllowUserToResizeRows = false;
this.natureGridView.BackgroundColor = System.Drawing.SystemColors.Menu;
this.natureGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.natureGridView.ColumnHeadersHeight = 29;
this.natureGridView.Location = new System.Drawing.Point(16, 10);
this.natureGridView.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.natureGridView.Name = "natureGridView";
this.natureGridView.ReadOnly = true;
this.natureGridView.RowHeadersWidth = 51;
this.natureGridView.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.natureGridView.Size = new System.Drawing.Size(387, 333);
this.natureGridView.TabIndex = 0;
//
// DVCalcNatureViewerForm
//
this.AllowDrop = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(415, 352);
this.Controls.Add(this.natureGridView);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.MaximizeBox = false;
this.Name = "DVCalcNatureViewerForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Full List";
((System.ComponentModel.ISupportInitialize)(this.natureGridView)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DataGridView natureGridView;
}
}
================================================
FILE: DS_Map/DVCalculator/DVCalcNatureViewerForm.cs
================================================
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows.Forms;
namespace DSPRE
{
public partial class DVCalcNatureViewerForm : Form
{
private List<DVIVNatureTriplet> data;
public DVCalcNatureViewerForm(List<DVIVNatureTriplet> data)
{
InitializeComponent();
this.data = data;
PopulateDataGridView();
}
private void PopulateDataGridView()
{
// Create a BindingList to bind to the DataGridView
var bindingList = new BindingList<DVIVNatureTriplet>(data.ToList());
// Set the DataSource of the DataGridView
natureGridView.DataSource = bindingList;
// Set the columns
natureGridView.Columns[0].HeaderText = "IV";
natureGridView.Columns[0].DataPropertyName = "IV";
natureGridView.Columns[1].HeaderText = "Nature";
natureGridView.Columns[1].DataPropertyName = "Nature";
natureGridView.Columns[2].HeaderText = "DV";
natureGridView.Columns[2].DataPropertyName = "DV";
// Adjust column widths
natureGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
}
}
}
================================================
FILE: DS_Map/DVCalculator/DVCalcNatureViewerForm.resx
================================================
<?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>
================================================
FILE: DS_Map/DVCalculator/DVCalculator.cs
================================================
using System.Collections.Generic;
namespace DSPRE
{
// Putting this class here is bad practice, however it's just a really small utility class
public class DVIVNatureTriplet
{
public int DV { get; set; }
public int IV { get; set; }
public string Nature { get; set; }
public DVIVNatureTriplet(int DV, int IV, string Nature)
{
this.DV = DV;
this.IV = IV;
this.Nature = Nature;
}
}
internal static class DVCalculator
{
private static long seed;
public static void setSeed(long seed)
{
DVCalculator.seed = seed;
}
public static long getSeed()
{
return DVCalculator.seed;
}
// This function is lifted from turtleisaac's Pokeditor (with permission)
// See https://github.com/turtleisaac/PokEditor-v2/blob/72ca6ab641f616b8be9a87624b81896baa45f947/src/com/turtleisaac/pokeditor/utilities/TrainerPersonalityCalculator.java
public static long getNextRandom()
{
long random = 0x41c64e6d * seed + 0x6073;
//last 32 bits is new seed
seed = random & 0xFFFFFFFFL;
return random;
}
public static int findHighestDV(int trainerIdx, int trainerClassIdx, bool trainerClassMale, int pokeIdx, int pokeLevel, uint nature)
{
int DV;
// Iterate over all possible PIDs and return highest DV that yields the desired nature
for (DV = 255; DV >= 0; DV--)
{
if (getNatureFromPID(generatePID(trainerIdx, trainerClassIdx, trainerClassMale, pokeIdx, pokeLevel, DV)) == nature)
{ return DV; }
}
return -1;
}
// this function is lifted from turtleisaac's Pokeditor (with permission)
// See https://github.com/turtleisaac/PokEditor-v2/blob/72ca6ab641f616b8be9a87624b81896baa45f947/src/com/turtleisaac/pokeditor/utilities/TrainerPersonalityCalculator.java
public static uint generatePID(int trainerIdx, int trainerClassIdx, bool trainerClassMale, int pokeIdx, int pokeLevel, int difficultyValue)
{
long newSeed = trainerIdx + pokeIdx + pokeLevel + difficultyValue;
long random = 0;
setSeed(newSeed);
while (trainerClassIdx > 0)
{
trainerClassIdx--;
random = getNextRandom();
}
// Don't really get this part? Why are we shifting to the right then left again?
long PID = (random >> 16) & 0xffff;
PID = PID * 256;
// This seems super arbitrary (wtf GameFreak?)
PID += trainerClassMale ? 136 : 120;
return (uint)PID;
}
public static uint getNatureFromPID(uint PID)
{
return (PID % 100) % 25;
}
public static List<DVIVNatureTriplet> getAllNatures(int trainerIdx, int trainerClassIdx, bool trainerClassMale, int pokeIdx, int pokeLevel)
{
List<DVIVNatureTriplet> natureList = new List<DVIVNatureTriplet>();
int DV;
uint natureIdx;
// Iterate over all possible PIDs and store the DV IV and Nature String in the custom data type
for (DV = 255; DV >= 0; DV--)
{
natureIdx = getNatureFromPID(generatePID(trainerIdx, trainerClassIdx, trainerClassMale, pokeIdx, pokeLevel, DV));
natureList.Add(new DVIVNatureTriplet(DV, DV*31/255 , Natures[(int)natureIdx]));
}
return natureList;
}
public static readonly List<string> Natures = new List<string>
{
"Hardy: Neutral",
"Lonely: +Atk, -Def",
"Brave: +Atk, -Spe",
"Adamant: +Atk, -SpA",
"Naughty: +Atk, -SpD",
"Bold: +Def, -Atk",
"Docile: Neutral",
"Relaxed: +Def, -Spe",
"Impish: +Def, -SpA",
"Lax: +Def, -SpD",
"Timid: +Spe, -Atk",
"Hasty: +Spe, -Def",
"Serious: Neutral",
"Jolly: +Spe, -SpA",
"Naive: +Spe, -SpD",
"Modest: +SpA, -Atk",
"Mild: +SpA, -Def",
"Quiet: +SpA, -Spe",
"Bashful: Neutral",
"Rash: +SpA, -SpD",
"Calm: +SpD, -Atk",
"Gentle: +SpD, -Def",
"Sassy: +SpD, -Spe",
"Careful: +SpD, -SpA",
"Quirky: Neutral"
};
}
}
================================================
FILE: DS_Map/EditorPanels.cs
================================================
using System.Windows.Forms;
using DSPRE.Editors;
namespace DSPRE {
public static class EditorPanels {
public static MainProgram MainProgram;
public static void Initialize(MainProgram mainProgram) {
MainProgram = mainProgram;
}
public static TabControl mainTabControl { get { return MainProgram.mainTabControl; } }
public static ScriptEditor scriptEditor { get { return MainProgram.scriptEditor; } }
public static LevelScriptEditor levelScriptEditor { get { return MainProgram.levelScriptEditor; } }
public static EncountersEditor encountersEditor { get { return MainProgram.encountersEditor; } }
public static TabPage scriptEditorTabPage { get { return MainProgram.tabPageScriptEditor; } }
public static TabPage levelScriptEditorTabPage { get { return MainProgram.tabPageLevelScriptEditor; } }
public static TabPage tabPageEncountersEditor { get { return MainProgram.tabPageEncountersEditor; } }
}
}
================================================
FILE: DS_Map/Editors/EncountersEditor.Designer.cs
================================================
namespace DSPRE.Editors
{
partial class EncountersEditor
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.tabControl = new System.Windows.Forms.TabControl();
this.tabPageHeadbuttEditor = new System.Windows.Forms.TabPage();
this.headbuttEncounterEditor = new DSPRE.Editors.HeadbuttEncounterEditor();
this.tabPageSafariZoneEditor = new System.Windows.Forms.TabPage();
this.safariZoneEditor = new DSPRE.Editors.SafariZoneEditor();
this.tabControl.SuspendLayout();
this.tabPageHeadbuttEditor.SuspendLayout();
this.tabPageSafariZoneEditor.SuspendLayout();
this.SuspendLayout();
//
// tabControl
//
this.tabControl.Controls.Add(this.tabPageHeadbuttEditor);
this.tabControl.Controls.Add(this.tabPageSafariZoneEditor);
this.tabControl.Location = new System.Drawing.Point(4, 4);
this.tabControl.Name = "tabControl";
this.tabControl.SelectedIndex = 0;
this.tabControl.Size = new System.Drawing.Size(1103, 654);
this.tabControl.TabIndex = 2;
//
// tabPageHeadbuttEditor
//
this.tabPageHeadbuttEditor.Controls.Add(this.headbuttEncounterEditor);
this.tabPageHeadbuttEditor.Location = new System.Drawing.Point(4, 22);
this.tabPageHeadbuttEditor.Name = "tabPageHeadbuttEditor";
this.tabPageHeadbuttEditor.Padding = new System.Windows.Forms.Padding(3);
this.tabPageHeadbuttEditor.Size = new System.Drawing.Size(1095, 628);
this.tabPageHeadbuttEditor.TabIndex = 0;
this.tabPageHeadbuttEditor.Text = "Headbutt";
this.tabPageHeadbuttEditor.UseVisualStyleBackColor = true;
this.tabPageHeadbuttEditor.Enter += new System.EventHandler(this.tabPageHeadbuttEditor_Enter);
//
// headbuttEncounterEditor
//
this.headbuttEncounterEditor.BackColor = System.Drawing.SystemColors.Control;
this.headbuttEncounterEditor.headbuttEncounterEditorIsReady = false;
this.headbuttEncounterEditor.Location = new System.Drawing.Point(6, 6);
this.headbuttEncounterEditor.Name = "headbuttEncounterEditor";
this.headbuttEncounterEditor.Size = new System.Drawing.Size(1081, 621);
this.headbuttEncounterEditor.TabIndex = 1;
//
// tabPageSafariZoneEditor
//
this.tabPageSafariZoneEditor.Controls.Add(this.safariZoneEditor);
this.tabPageSafariZoneEditor.Location = new System.Drawing.Point(4, 22);
this.tabPageSafariZoneEditor.Name = "tabPageSafariZoneEditor";
this.tabPageSafariZoneEditor.Padding = new System.Windows.Forms.Padding(3);
this.tabPageSafariZoneEditor.Size = new System.Drawing.Size(1095, 628);
this.tabPageSafariZoneEditor.TabIndex = 1;
this.tabPageSafariZoneEditor.Text = "Safari Zone";
this.tabPageSafariZoneEditor.UseVisualStyleBackColor = true;
this.tabPageSafariZoneEditor.Enter += new System.EventHandler(this.tabPageSafariZoneEditor_Enter);
//
// safariZoneEditor
//
this.safariZoneEditor.Location = new System.Drawing.Point(6, 6);
this.safariZoneEditor.Name = "safariZoneEditor";
this.safariZoneEditor.safariZoneEditorIsReady = false;
this.safariZoneEditor.Size = new System.Drawing.Size(996, 341);
this.safariZoneEditor.TabIndex = 1;
//
// EncountersEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.tabControl);
this.Name = "EncountersEditor";
this.Size = new System.Drawing.Size(1111, 664);
this.tabControl.ResumeLayout(false);
this.tabPageHeadbuttEditor.ResumeLayout(false);
this.tabPageSafariZoneEditor.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
public HeadbuttEncounterEditor headbuttEncounterEditor;
private System.Windows.Forms.TabControl tabControl;
private System.Windows.Forms.TabPage tabPageHeadbuttEditor;
private System.Windows.Forms.TabPage tabPageSafariZoneEditor;
public SafariZoneEditor safariZoneEditor;
}
}
================================================
FILE: DS_Map/Editors/EncountersEditor.cs
================================================
using System.Windows.Forms;
namespace DSPRE.Editors
{
public partial class EncountersEditor : UserControl
{
public EncountersEditor()
{
InitializeComponent();
}
public void SetupEncountersEditor() {
tabPageHeadbuttEditor_Enter(null, null);
}
private void tabPageHeadbuttEditor_Enter(object sender, System.EventArgs e)
{
headbuttEncounterEditor.SetupHeadbuttEncounterEditor();
headbuttEncounterEditor.makeCurrent();
}
private void tabPageSafariZoneEditor_Enter(object sender, System.EventArgs e)
{
safariZoneEditor.SetupSafariZoneEditor();
}
}
}
================================================
FILE: DS_Map/Editors/EncountersEditor.resx
================================================
<?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>
================================================
FILE: DS_Map/Editors/HeadbuttEncounterEditor.Designer.cs
================================================
using System.ComponentModel;
namespace DSPRE.Editors {
partial class HeadbuttEncounterEditor {
/// <summary>
/// Required designer variable.
/// </summary>
private IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing) {
if (disposing && (components != null)) {
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent() {
this.buttonSaveAs = new System.Windows.Forms.Button();
this.buttonSave = new System.Windows.Forms.Button();
this.tabControl = new System.Windows.Forms.TabControl();
this.tabPageNormal = new System.Windows.Forms.TabPage();
this.headbuttEncounterEditorTabNormal = new DSPRE.Editors.HeadbuttEncounterEditorTab();
this.tabPageSpecial = new System.Windows.Forms.TabPage();
this.headbuttEncounterEditorTabSpecial = new DSPRE.Editors.HeadbuttEncounterEditorTab();
this.mapRenderPanel = new System.Windows.Forms.Panel();
this.openGlPictureBox = new System.Windows.Forms.PictureBox();
this.mapScreenshotButton = new System.Windows.Forms.Button();
this.headbuttFileComboBox = new System.Windows.Forms.ComboBox();
this.comboBoxMapFile = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.labelLocationName = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.numericUpDownTreeGlobalX = new System.Windows.Forms.NumericUpDown();
this.numericUpDownTreeGlobalY = new System.Windows.Forms.NumericUpDown();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.numericUpDownTreeMatrixX = new System.Windows.Forms.NumericUpDown();
this.numericUpDownTreeMatrixY = new System.Windows.Forms.NumericUpDown();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.numericUpDownTreeMapX = new System.Windows.Forms.NumericUpDown();
this.numericUpDownTreeMapY = new System.Windows.Forms.NumericUpDown();
this.RightClickLabel = new System.Windows.Forms.Label();
this.LeftClickLabel = new System.Windows.Forms.Label();
this.LeftClickPicture = new System.Windows.Forms.PictureBox();
this.rightClickPicture = new System.Windows.Forms.PictureBox();
this.buttonImport = new System.Windows.Forms.Button();
this.tabControl.SuspendLayout();
this.tabPageNormal.SuspendLayout();
this.tabPageSpecial.SuspendLayout();
this.mapRenderPanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.openGlPictureBox)).BeginInit();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownTreeGlobalX)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownTreeGlobalY)).BeginInit();
this.groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownTreeMatrixX)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownTreeMatrixY)).BeginInit();
this.groupBox3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownTreeMapX)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownTreeMapY)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.LeftClickPicture)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rightClickPicture)).BeginInit();
this.SuspendLayout();
//
// buttonSaveAs
//
this.buttonSaveAs.Image = global::DSPRE.Properties.Resources.exportArrow;
this.buttonSaveAs.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.buttonSaveAs.Location = new System.Drawing.Point(278, 3);
this.buttonSaveAs.Name = "buttonSaveAs";
this.buttonSaveAs.Size = new System.Drawing.Size(71, 23);
this.buttonSaveAs.TabIndex = 9;
this.buttonSaveAs.Text = "Export";
this.buttonSaveAs.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.buttonSaveAs.UseVisualStyleBackColor = true;
this.buttonSaveAs.Click += new System.EventHandler(this.buttonSaveAs_Click);
//
// buttonSave
//
this.buttonSave.Image = global::DSPRE.Properties.Resources.saveButton;
this.buttonSave.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.buttonSave.Location = new System.Drawing.Point(215, 3);
this.buttonSave.Name = "buttonSave";
this.buttonSave.Size = new System.Drawing.Size(62, 23);
this.buttonSave.TabIndex = 10;
this.buttonSave.Text = "Save";
this.buttonSave.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.buttonSave.UseVisualStyleBackColor = true;
this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
//
// tabControl
//
this.tabControl.Controls.Add(this.tabPageNormal);
this.tabControl.Controls.Add(this.tabPageSpecial);
this.tabControl.Location = new System.Drawing.Point(3, 71);
this.tabControl.Name = "tabControl";
this.tabControl.SelectedIndex = 0;
this.tabControl.Size = new System.Drawing.Size(274, 544);
this.tabControl.TabIndex = 21;
//
// tabPageNormal
//
this.tabPageNormal.Controls.Add(this.headbuttEncounterEditorTabNormal);
this.tabPageNormal.Location = new System.Drawing.Point(4, 22);
this.tabPageNormal.Name = "tabPageNormal";
this.tabPageNormal.Padding = new System.Windows.Forms.Padding(3);
this.tabPageNormal.Size = new System.Drawing.Size(266, 518);
this.tabPageNormal.TabIndex = 0;
this.tabPageNormal.Text = "Normal";
this.tabPageNormal.UseVisualStyleBackColor = true;
//
// headbuttEncounterEditorTabNormal
//
this.headbuttEncounterEditorTabNormal.Location = new System.Drawing.Point(2, 2);
this.headbuttEncounterEditorTabNormal.Name = "headbuttEncounterEditorTabNormal";
this.headbuttEncounterEditorTabNormal.Size = new System.Drawing.Size(264, 519);
this.headbuttEncounterEditorTabNormal.TabIndex = 0;
//
// tabPageSpecial
//
this.tabPageSpecial.Controls.Add(this.headbuttEncounterEditorTabSpecial);
this.tabPageSpecial.Location = new System.Drawing.Point(4, 22);
this.tabPageSpecial.Name = "tabPageSpecial";
this.tabPageSpecial.Padding = new System.Windows.Forms.Padding(3);
this.tabPageSpecial.Size = new System.Drawing.Size(266, 518);
this.tabPageSpecial.TabIndex = 1;
this.tabPageSpecial.Text = "Special";
this.tabPageSpecial.UseVisualStyleBackColor = true;
//
// headbuttEncounterEditorTabSpecial
//
this.headbuttEncounterEditorTabSpecial.Location = new System.Drawing.Point(2, 2);
this.headbuttEncounterEditorTabSpecial.Name = "headbuttEncounterEditorTabSpecial";
this.headbuttEncounterEditorTabSpecial.Size = new System.Drawing.Size(402, 518);
this.headbuttEncounterEditorTabSpecial.TabIndex = 0;
//
// mapRenderPanel
//
this.mapRenderPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.mapRenderPanel.Controls.Add(this.openGlPictureBox);
this.mapRenderPanel.Location = new System.Drawing.Point(423, 4);
this.mapRenderPanel.Name = "mapRenderPanel";
this.mapRenderPanel.Size = new System.Drawing.Size(610, 610);
this.mapRenderPanel.TabIndex = 24;
//
// openGlPictureBox
//
this.openGlPictureBox.BackColor = System.Drawing.Color.White;
this.openGlPictureBox.Location = new System.Drawing.Point(0, 0);
this.openGlPictureBox.Name = "openGlPictureBox";
this.openGlPictureBox.Size = new System.Drawing.Size(608, 608);
this.openGlPictureBox.TabIndex = 3;
this.openGlPictureBox.TabStop = false;
this.openGlPictureBox.Click += new System.EventHandler(this.openGlPictureBox_Click);
//
// mapScreenshotButton
//
this.mapScreenshotButton.Image = global::DSPRE.Properties.Resources.cameraIcon;
this.mapScreenshotButton.Location = new System.Drawing.Point(1036, 574);
this.mapScreenshotButton.Name = "mapScreenshotButton";
this.mapScreenshotButton.Size = new System.Drawing.Size(41, 40);
this.mapScreenshotButton.TabIndex = 39;
this.mapScreenshotButton.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.mapScreenshotButton.UseVisualStyleBackColor = true;
this.mapScreenshotButton.Click += new System.EventHandler(this.mapScreenshotButton_Click);
//
// headbuttFileComboBox
//
this.headbuttFileComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.headbuttFileComboBox.FormattingEnabled = true;
this.headbuttFileComboBox.Location = new System.Drawing.Point(45, 4);
this.headbuttFileComboBox.Name = "headbuttFileComboBox";
this.headbuttFileComboBox.Size = new System.Drawing.Size(168, 21);
this.headbuttFileComboBox.TabIndex = 40;
this.headbuttFileComboBox.SelectedIndexChanged += new System.EventHandler(this.comboBoxMapHeader_SelectedIndexChanged);
//
// comboBoxMapFile
//
this.comboBoxMapFile.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxMapFile.FormattingEnabled = true;
this.comboBoxMapFile.Location = new System.Drawing.Point(45, 31);
this.comboBoxMapFile.Name = "comboBoxMapFile";
this.comboBoxMapFile.Size = new System.Drawing.Size(168, 21);
this.comboBoxMapFile.TabIndex = 40;
this.comboBoxMapFile.SelectedIndexChanged += new System.EventHandler(this.comboBoxMapFile_SelectedIndexChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(3, 7);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(42, 13);
this.label1.TabIndex = 41;
this.label1.Text = "Header";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(14, 35);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(28, 13);
this.label2.TabIndex = 41;
this.label2.Text = "Map";
//
// labelLocationName
//
this.labelLocationName.AutoSize = true;
this.labelLocationName.Location = new System.Drawing.Point(219, 35);
this.labelLocationName.Name = "labelLocationName";
this.labelLocationName.Size = new System.Drawing.Size(35, 13);
this.labelLocationName.TabIndex = 42;
this.labelLocationName.Text = "label3";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.numericUpDownTreeGlobalX);
this.groupBox1.Controls.Add(this.numericUpDownTreeGlobalY);
this.groupBox1.Location = new System.Drawing.Point(279, 452);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(134, 49);
this.groupBox1.TabIndex = 16;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Global";
//
// numericUpDownTreeGlobalX
//
this.numericUpDownTreeGlobalX.Location = new System.Drawing.Point(6, 19);
this.numericUpDownTreeGlobalX.Maximum = new decimal(new int[] {
65535,
0,
0,
0});
this.numericUpDownTreeGlobalX.Name = "numericUpDownTreeGlobalX";
this.numericUpDownTreeGlobalX.Size = new System.Drawing.Size(58, 20);
this.numericUpDownTreeGlobalX.TabIndex = 15;
this.numericUpDownTreeGlobalX.ValueChanged += new System.EventHandler(this.numericUpDownTreeGlobalX_ValueChanged);
//
// numericUpDownTreeGlobalY
//
this.numericUpDownTreeGlobalY.Location = new System.Drawing.Point(70, 19);
this.numericUpDownTreeGlobalY.Maximum = new decimal(new int[] {
65535,
0,
0,
0});
this.numericUpDownTreeGlobalY.Name = "numericUpDownTreeGlobalY";
this.numericUpDownTreeGlobalY.Size = new System.Drawing.Size(58, 20);
this.numericUpDownTreeGlobalY.TabIndex = 15;
this.numericUpDownTreeGlobalY.ValueChanged += new System.EventHandler(this.numericUpDownTreeGlobalY_ValueChanged);
//
// groupBox2
//
this.groupBox2.Controls.Add(this.numericUpDownTreeMatrixX);
this.groupBox2.Controls.Add(this.numericUpDownTreeMatrixY);
this.groupBox2.Location = new System.Drawing.Point(279, 507);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(134, 49);
this.groupBox2.TabIndex = 16;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Matrix";
//
// numericUpDownTreeMatrixX
//
this.numericUpDownTreeMatrixX.Location = new System.Drawing.Point(6, 19);
this.numericUpDownTreeMatrixX.Maximum = new decimal(new int[] {
65535,
0,
0,
0});
this.numericUpDownTreeMatrixX.Name = "numericUpDownTreeMatrixX";
this.numericUpDownTreeMatrixX.Size = new System.Drawing.Size(58, 20);
this.numericUpDownTreeMatrixX.TabIndex = 15;
this.numericUpDownTreeMatrixX.ValueChanged += new System.EventHandler(this.numericUpDownTreeMatrixX_ValueChanged);
//
// numericUpDownTreeMatrixY
//
this.numericUpDownTreeMatrixY.Location = new System.Drawing.Point(70, 19);
this.numericUpDownTreeMatrixY.Maximum = new decimal(new int[] {
65535,
0,
0,
0});
this.numericUpDownTreeMatrixY.Name = "numericUpDownTreeMatrixY";
this.numericUpDownTreeMatrixY.Size = new System.Drawing.Size(58, 20);
this.numericUpDownTreeMatrixY.TabIndex = 15;
this.numericUpDownTreeMatrixY.ValueChanged += new System.EventHandler(this.numericUpDownTreeMatrixY_ValueChanged);
//
// groupBox3
//
this.groupBox3.Controls.Add(this.numericUpDownTreeMapX);
this.groupBox3.Controls.Add(this.numericUpDownTreeMapY);
this.groupBox3.Location = new System.Drawing.Point(279, 562);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(134, 49);
this.groupBox3.TabIndex = 16;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Local";
//
// numericUpDownTreeMapX
//
this.numericUpDownTreeMapX.Location = new System.Drawing.Point(6, 19);
this.numericUpDownTreeMapX.Maximum = new decimal(new int[] {
31,
0,
0,
0});
this.numericUpDownTreeMapX.Name = "numericUpDownTreeMapX";
this.numericUpDownTreeMapX.Size = new System.Drawing.Size(58, 20);
this.numericUpDownTreeMapX.TabIndex = 15;
this.numericUpDownTreeMapX.ValueChanged += new System.EventHandler(this.numericUpDownTreeMapX_ValueChanged);
//
// numericUpDownTreeMapY
//
this.numericUpDownTreeMapY.Location = new System.Drawing.Point(70, 19);
this.numericUpDownTreeMapY.Maximum = new decimal(new int[] {
31,
0,
0,
0});
this.numericUpDownTreeMapY.Name = "numericUpDownTreeMapY";
this.numericUpDownTreeMapY.Size = new System.Drawing.Size(58, 20);
this.numericUpDownTreeMapY.TabIndex = 15;
this.numericUpDownTreeMapY.ValueChanged += new System.EventHandler(this.numericUpDownTreeMapY_ValueChanged);
//
// RightClickLabel
//
this.RightClickLabel.AutoSize = true;
this.RightClickLabel.Location = new System.Drawing.Point(308, 425);
this.RightClickLabel.Name = "RightClickLabel";
this.RightClickLabel.Size = new System.Drawing.Size(37, 13);
this.RightClickLabel.TabIndex = 66;
this.RightClickLabel.Text = "Select";
//
// LeftClickLabel
//
this.LeftClickLabel.AutoSize = true;
this.LeftClickLabel.Location = new System.Drawing.Point(352, 425);
this.LeftClickLabel.Name = "LeftClickLabel";
this.LeftClickLabel.Size = new System.Drawing.Size(34, 13);
this.LeftClickLabel.TabIndex = 63;
this.LeftClickLabel.Text = "Move";
//
// LeftClickPicture
//
this.LeftClickPicture.Image = global::DSPRE.Properties.Resources.LeftClick;
this.LeftClickPicture.ImageLocation = "";
this.LeftClickPicture.Location = new System.Drawing.Point(349, 387);
this.LeftClickPicture.Name = "LeftClickPicture";
this.LeftClickPicture.Size = new System.Drawing.Size(38, 38);
this.LeftClickPicture.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.LeftClickPicture.TabIndex = 61;
this.LeftClickPicture.TabStop = false;
//
// rightClickPicture
//
this.rightClickPicture.Image = global::DSPRE.Properties.Resources.RightClick;
this.rightClickPicture.ImageLocation = "";
this.rightClickPicture.Location = new System.Drawing.Point(307, 387);
this.rightClickPicture.Name = "rightClickPicture";
this.rightClickPicture.Size = new System.Drawing.Size(38, 38);
this.rightClickPicture.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.rightClickPicture.TabIndex = 65;
this.rightClickPicture.TabStop = false;
//
// buttonImport
//
this.buttonImport.Image = global::DSPRE.Properties.Resources.importArrow;
this.buttonImport.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.buttonImport.Location = new System.Drawing.Point(350, 3);
this.buttonImport.Name = "buttonImport";
this.buttonImport.Size = new System.Drawing.Size(71, 23);
this.buttonImport.TabIndex = 9;
this.buttonImport.Text = "Import";
this.buttonImport.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.buttonImport.UseVisualStyleBackColor = true;
this.buttonImport.Click += new System.EventHandler(this.buttonImport_Click);
//
// HeadbuttEncounterEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.Controls.Add(this.RightClickLabel);
this.Controls.Add(this.LeftClickLabel);
this.Controls.Add(this.LeftClickPicture);
this.Controls.Add(this.rightClickPicture);
this.Controls.Add(this.labelLocationName);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.comboBoxMapFile);
this.Controls.Add(this.headbuttFileComboBox);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.mapRenderPanel);
this.Controls.Add(this.tabControl);
this.Controls.Add(this.mapScreenshotButton);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.buttonImport);
this.Controls.Add(this.buttonSaveAs);
this.Controls.Add(this.buttonSave);
this.Controls.Add(this.groupBox1);
this.Location = new System.Drawing.Point(15, 15);
this.Name = "HeadbuttEncounterEditor";
this.Size = new System.Drawing.Size(1080, 620);
this.tabControl.ResumeLayout(false);
this.tabPageNormal.ResumeLayout(false);
this.tabPageSpecial.ResumeLayout(false);
this.mapRenderPanel.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.openGlPictureBox)).EndInit();
this.groupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.numericUpDownTreeGlobalX)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownTreeGlobalY)).EndInit();
this.groupBox2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.numericUpDownTreeMatrixX)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownTreeMatrixY)).EndInit();
this.groupBox3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.numericUpDownTreeMapX)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownTreeMapY)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.LeftClickPicture)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rightClickPicture)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
private System.Windows.Forms.Button buttonSaveAs;
private System.Windows.Forms.Button buttonSave;
#endregion
private System.Windows.Forms.TabControl tabControl;
private System.Windows.Forms.TabPage tabPageNormal;
private System.Windows.Forms.TabPage tabPageSpecial;
private HeadbuttEncounterEditorTab headbuttEncounterEditorTabNormal;
private HeadbuttEncounterEditorTab headbuttEncounterEditorTabSpecial;
private System.Windows.Forms.Panel mapRenderPanel;
private System.Windows.Forms.PictureBox openGlPictureBox;
private System.Windows.Forms.Button mapScreenshotButton;
private System.Windows.Forms.ComboBox headbuttFileComboBox;
private System.Windows.Forms.ComboBox comboBoxMapFile;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label labelLocationName;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.NumericUpDown numericUpDownTreeGlobalX;
private System.Windows.Forms.NumericUpDown numericUpDownTreeGlobalY;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.NumericUpDown numericUpDownTreeMatrixX;
private System.Windows.Forms.NumericUpDown numericUpDownTreeMatrixY;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.NumericUpDown numericUpDownTreeMapX;
private System.Windows.Forms.NumericUpDown numericUpDownTreeMapY;
private System.Windows.Forms.Label RightClickLabel;
private System.Windows.Forms.Label LeftClickLabel;
private System.Windows.Forms.PictureBox LeftClickPicture;
private System.Windows.Forms.PictureBox rightClickPicture;
private System.Windows.Forms.Button buttonImport;
}
}
================================================
FILE: DS_Map/Editors/HeadbuttEncounterEditor.cs
================================================
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.IO;
using System.Windows.Forms;
using DSPRE.ROMFiles;
namespace DSPRE.Editors {
public partial class HeadbuttEncounterEditor : UserControl {
public bool headbuttEncounterEditorIsReady { get; set; } = false;
private ListBox2 listBoxTrees;
private HeadbuttTree headbuttTree;
private HeaderHGSS mapHeader;
private HeadbuttEncounterFile headbuttEncounterFile;
private HeadbuttEncounterMap headbuttEncounterMap;
private GameMatrix gameMatrix;
private AreaData areaData;
private MapFile mapFile;
private string locationName;
private int width;
private int height;
static SimpleOpenGlControl2 openGlControl;
private Pen selectedPen;
private Pen normalPen;
private SolidBrush normalBrush;
private Pen specialPen;
private SolidBrush specialBrush;
private static float perspective;
private static float ang;
private static float dist;
private static float elev;
public HeadbuttEncounterEditor() {
InitializeComponent();
}
//TODO: refresh headers list if a header is added
public void SetupHeadbuttEncounterEditor(bool force = false) {
if (headbuttEncounterEditorIsReady && !force) {
return;
}
headbuttEncounterEditorIsReady = true;
DSUtils.TryUnpackNarcs(new List<RomInfo.DirNames>() {
RomInfo.DirNames.dynamicHeaders,
RomInfo.DirNames.matrices,
RomInfo.DirNames.textArchives,
RomInfo.DirNames.areaData,
RomInfo.DirNames.headbutt,
RomInfo.DirNames.maps,
RomInfo.DirNames.mapTextures,
RomInfo.DirNames.exteriorBuildingModels,
RomInfo.DirNames.interiorBuildingModels, //No trees in interior maps, but fixes exceptions. @AdAstra - 11.06.2024
RomInfo.DirNames.buildingTextures,
});
width = openGlPictureBox.Width;
height = openGlPictureBox.Height;
openGlControl = new SimpleOpenGlControl2();
openGlControl.InitializeContexts();
openGlControl.Width = width;
openGlControl.Height = height;
openGlControl.Invalidate();
openGlControl.MakeCurrent();
List<string> headerListBoxNames = Helpers.getHeaderListBoxNames();
Color selectedColor = Color.FromArgb(255, Color.White);
selectedPen = new Pen(selectedColor);
Color normalColor = Color.FromArgb(128, Color.DarkBlue);
normalPen = new Pen(normalColor);
normalBrush = new SolidBrush(normalColor);
Color specialColor = Color.FromArgb(128, Color.DarkRed);
specialPen = new Pen(specialColor);
specialBrush = new SolidBrush(specialColor);
Helpers.DisableHandlers();
for (int i = 0; i < Filesystem.GetHeadbuttCount(); i++) {
if (i < headerListBoxNames.Count) {
headbuttFileComboBox.Items.Add(headerListBoxNames[i]);
} else {
i.ToString("D4");
}
}
string[] pokemonNames = RomInfo.GetPokemonNames();
headbuttEncounterEditorTabNormal.comboBoxPokemon.Items.AddRange(pokemonNames);
headbuttEncounterEditorTabNormal.comboBoxPokemon.SelectedIndex = 0;
headbuttEncounterEditorTabNormal.listBoxTrees.SelectedIndexChanged += ListBoxTrees_SelectedIndexChanged;
headbuttEncounterEditorTabSpecial.comboBoxPokemon.Items.AddRange(pokemonNames);
headbuttEncounterEditorTabSpecial.comboBoxPokemon.SelectedIndex = 0;
headbuttEncounterEditorTabSpecial.listBoxTrees.SelectedIndexChanged += ListBoxTrees_SelectedIndexChanged;
openGlPictureBox.BringToFront();
SetCam2DValues();
Helpers.EnableHandlers();
if (headbuttFileComboBox.Items.Count > 0) {
headbuttFileComboBox.SelectedIndex = 0;
}
}
public void makeCurrent() {
openGlControl.MakeCurrent();
}
private void comboBoxMapHeader_SelectedIndexChanged(object sender, EventArgs e) {
ushort headbuttID = (ushort)headbuttFileComboBox.SelectedIndex;
this.headbuttEncounterFile = new HeadbuttEncounterFile(headbuttID);
setCurrentMap(headbuttEncounterFile);
}
public void setCurrentMap(HeadbuttEncounterFile headbuttEncounterFile) {
this.mapFile = null;
this.headbuttEncounterMap = null;
comboBoxMapFile.Items.Clear();
labelLocationName.Text = "";
listBoxTrees = null;
if (headbuttTree != null) { headbuttTree.picked = false; }
headbuttTree = null;
headbuttEncounterEditorTabNormal.Reset();
headbuttEncounterEditorTabSpecial.Reset();
numericUpDownTreeGlobalX.Value = 0;
numericUpDownTreeGlobalY.Value = 0;
numericUpDownTreeMatrixX.Value = 0;
numericUpDownTreeMatrixY.Value = 0;
numericUpDownTreeMapX.Value = 0;
numericUpDownTreeMapY.Value = 0;
RenderBackground();
try {
if (headbuttEncounterFile.ID == GameMatrix.EMPTY) { return; }
this.mapHeader = (HeaderHGSS)MapHeader.GetMapHeader(headbuttEncounterFile.ID);
} catch (Exception ex) {
//most likely more headbutt files than map headers
//there should be the same amount
Console.WriteLine(ex);
return;
}
this.gameMatrix = new GameMatrix(mapHeader.matrixID);
this.areaData = new AreaData(mapHeader.areaDataID);
TextArchive currentTextArchive = new TextArchive(RomInfo.locationNamesTextNumber);
this.locationName = currentTextArchive.messages[mapHeader.locationName];
labelLocationName.Text = locationName;
headbuttEncounterEditorTabNormal.SetHeadbuttEncounter(headbuttEncounterFile.normalEncounters, headbuttEncounterFile.normalTreeGroups);
headbuttEncounterEditorTabSpecial.SetHeadbuttEncounter(headbuttEncounterFile.specialEncounters, headbuttEncounterFile.specialTreeGroups);
List<HeadbuttEncounterMap> mapHeaderMapsIDsList = new List<HeadbuttEncounterMap>();
if (gameMatrix.hasHeadersSection) {
for (int y = 0; y < gameMatrix.height; y++) {
for (int x = 0; x < gameMatrix.width; x++) {
if (gameMatrix.headers[y, x] == mapHeader.ID) {
int mapID = gameMatrix.maps[y, x];
if (mapID != GameMatrix.EMPTY) {
HeadbuttEncounterMap map = new HeadbuttEncounterMap(mapID, x, y);
if (!mapHeaderMapsIDsList.Contains(map)) {
mapHeaderMapsIDsList.Add(map);
}
}
}
}
}
} else {
for (int y = 0; y < gameMatrix.height; y++) {
for (int x = 0; x < gameMatrix.width; x++) {
int mapID = gameMatrix.maps[y, x];
if (mapID != GameMatrix.EMPTY) {
HeadbuttEncounterMap map = new HeadbuttEncounterMap(mapID, x, y);
if (!mapHeaderMapsIDsList.Contains(map)) {
mapHeaderMapsIDsList.Add(map);
}
}
}
}
}
foreach (HeadbuttTreeGroup treeGroup in headbuttEncounterFile.normalTreeGroups) {
foreach (HeadbuttTree tree in treeGroup.trees) {
if (!tree.IsUnused && tree.matrixX < gameMatrix.width && tree.matrixY < gameMatrix.height) {
int mapID = gameMatrix.maps[tree.matrixY, tree.matrixX];
if (mapID != GameMatrix.EMPTY) {
HeadbuttEncounterMap map = new HeadbuttEncounterMap(mapID, tree.matrixX, tree.matrixY);
if (!mapHeaderMapsIDsList.Contains(map)) {
mapHeaderMapsIDsList.Add(map);
}
}
}
}
}
foreach (HeadbuttTreeGroup treeGroup in headbuttEncounterFile.specialTreeGroups) {
foreach (HeadbuttTree tree in treeGroup.trees) {
if (!tree.IsUnused && tree.matrixX < gameMatrix.width && tree.matrixY < gameMatrix.height) {
int mapID = gameMatrix.maps[tree.matrixY, tree.matrixX];
if (mapID != GameMatrix.EMPTY) {
HeadbuttEncounterMap map = new HeadbuttEncounterMap(mapID, tree.matrixX, tree.matrixY);
if (!mapHeaderMapsIDsList.Contains(map)) {
mapHeaderMapsIDsList.Add(map);
}
}
}
}
}
mapHeaderMapsIDsList.Sort((first, second) => {
int ret = first.mapID.CompareTo(second.mapID);
return ret == 0 ? first.x.CompareTo(second.x) : ret;
});
foreach (HeadbuttEncounterMap map in mapHeaderMapsIDsList) {
gitextract_awlkqn2b/ ├── .gitattributes ├── .github/ │ └── workflows/ │ └── base-build-nightly.yaml ├── .gitignore ├── DS_Map/ │ ├── App.config │ ├── BuildingEditor.Designer.cs │ ├── BuildingEditor.cs │ ├── BuildingEditor.resx │ ├── DSPRE.csproj │ ├── DSUtils/ │ │ ├── ARM9.cs │ │ ├── DSUtils.cs │ │ ├── ModelUtils.cs │ │ ├── NSBUtils.cs │ │ └── OverlayUtils.cs │ ├── DVCalculator/ │ │ ├── DVCalc.Designer.cs │ │ ├── DVCalc.cs │ │ ├── DVCalc.resx │ │ ├── DVCalcNatureViewerForm.Designer.cs │ │ ├── DVCalcNatureViewerForm.cs │ │ ├── DVCalcNatureViewerForm.resx │ │ └── DVCalculator.cs │ ├── EditorPanels.cs │ ├── Editors/ │ │ ├── EncountersEditor.Designer.cs │ │ ├── EncountersEditor.cs │ │ ├── EncountersEditor.resx │ │ ├── HeadbuttEncounterEditor.Designer.cs │ │ ├── HeadbuttEncounterEditor.cs │ │ ├── HeadbuttEncounterEditor.resx │ │ ├── HeadbuttEncounterEditorTab.Designer.cs │ │ ├── HeadbuttEncounterEditorTab.cs │ │ ├── HeadbuttEncounterEditorTab.resx │ │ ├── LevelScriptEditor.Designer.cs │ │ ├── LevelScriptEditor.cs │ │ ├── LevelScriptEditor.resx │ │ ├── MoveDataEditor.Designer.cs │ │ ├── MoveDataEditor.cs │ │ ├── MoveDataEditor.resx │ │ ├── SafariZoneEditor.Designer.cs │ │ ├── SafariZoneEditor.cs │ │ ├── SafariZoneEditor.resx │ │ ├── SafariZoneEncounterEditorTab.Designer.cs │ │ ├── SafariZoneEncounterEditorTab.cs │ │ ├── SafariZoneEncounterEditorTab.resx │ │ ├── SafariZoneEncounterGroupEditor.Designer.cs │ │ ├── SafariZoneEncounterGroupEditor.cs │ │ ├── SafariZoneEncounterGroupEditor.resx │ │ ├── ScriptEditor.Designer.cs │ │ ├── ScriptEditor.cs │ │ └── ScriptEditor.resx │ ├── EventFileImport.Designer.cs │ ├── EventFileImport.cs │ ├── EventFileImport.resx │ ├── EvolutionsEditor.cs │ ├── EvolutionsEditor.designer.cs │ ├── EvolutionsEditor.resx │ ├── ExtensionMethods.cs │ ├── Extensions.cs │ ├── Filesystem.cs │ ├── GameCamera.cs │ ├── HeaderSearch.Designer.cs │ ├── HeaderSearch.cs │ ├── HeaderSearch.resx │ ├── Helpers.cs │ ├── InputComboBox.cs │ ├── LearnsetEditor.Designer.cs │ ├── LearnsetEditor.cs │ ├── LearnsetEditor.resx │ ├── LibNDSFormats/ │ │ ├── EndianBinaryReader.cs │ │ ├── Export3DTools/ │ │ │ ├── Face.cs │ │ │ ├── Group.cs │ │ │ ├── OBJWriter.cs │ │ │ ├── Polygon.cs │ │ │ ├── PolygonType.cs │ │ │ ├── Quad.cs │ │ │ ├── QuadStrip.cs │ │ │ ├── Triangle.cs │ │ │ └── TriangleStrip.cs │ │ ├── Helper.cs │ │ ├── NSBCA/ │ │ │ ├── NSBCA.cs │ │ │ └── NSBCALoader.cs │ │ ├── NSBMD/ │ │ │ ├── MTX44.cs │ │ │ ├── NSBMD.cs │ │ │ ├── NSBMDAnimation.cs │ │ │ ├── NSBMDGlRenderer.cs │ │ │ ├── NSBMDLoader.cs │ │ │ ├── NSBMDMaterial.cs │ │ │ ├── NSBMDModel.cs │ │ │ ├── NSBMDObject.cs │ │ │ ├── NSBMDPalette.cs │ │ │ ├── NSBMDPolygon.cs │ │ │ └── NSBMDTexture.cs │ │ ├── NSBTA.cs │ │ ├── NSBTP.cs │ │ ├── NSBTX/ │ │ │ ├── File.cs │ │ │ ├── Filepallete.cs │ │ │ ├── NSBTXLoader.cs │ │ │ ├── Rom.cs │ │ │ ├── bytearrayinputstream.cs │ │ │ ├── directory.cs │ │ │ ├── externalfilesystemsource.cs │ │ │ ├── filesystem2.cs │ │ │ ├── filesystemsource.cs │ │ │ ├── image3d.cs │ │ │ ├── image3dformat5.cs │ │ │ ├── imageindexer.cs │ │ │ ├── imagetexeler.cs │ │ │ ├── imagetiler.cs │ │ │ ├── inlinefile.cs │ │ │ ├── nsbmetileset.cs │ │ │ ├── nsbtx.cs │ │ │ ├── palettedimage.cs │ │ │ ├── pallete2.cs │ │ │ └── pixelpalletedimage.cs │ │ ├── StreamExt.cs │ │ ├── Utils.cs │ │ ├── bytearrayoutputstream.cs │ │ ├── convertir.cs │ │ └── nclr_e.cs │ ├── Main Window.Designer.cs │ ├── Main Window.cs │ ├── Main Window.resx │ ├── MessageEnc/ │ │ └── EncryptText.cs │ ├── Narc.cs │ ├── OffsetPictureBox.cs │ ├── OverlayEditor.Designer.cs │ ├── OverlayEditor.cs │ ├── OverlayEditor.resx │ ├── PatchToolboxDialog.Designer.cs │ ├── PatchToolboxDialog.cs │ ├── PatchToolboxDialog.resx │ ├── PersonalDataEditor.Designer.cs │ ├── PersonalDataEditor.cs │ ├── PersonalDataEditor.resx │ ├── PokemonEditor.Designer.cs │ ├── PokemonEditor.cs │ ├── PokemonEditor.resx │ ├── Program.cs │ ├── Properties/ │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings │ ├── ROMFiles/ │ │ ├── AreaData.cs │ │ ├── EncounterFile.cs │ │ ├── EventFile.cs │ │ ├── EvolutionFile.cs │ │ ├── GameMatrix.cs │ │ ├── HeadbuttEncounter.cs │ │ ├── HeadbuttEncounterFile.cs │ │ ├── HeadbuttEncounterMap.cs │ │ ├── HeadbuttTree.cs │ │ ├── HeadbuttTreeGroup.cs │ │ ├── LearnsetData.cs │ │ ├── LevelScriptFile.cs │ │ ├── LevelScriptTrigger.cs │ │ ├── MapFile.cs │ │ ├── MapHeader.cs │ │ ├── MapScreenLoadTrigger.cs │ │ ├── MoveData.cs │ │ ├── PokemonPersonalData.cs │ │ ├── RomFile.cs │ │ ├── SafariZoneEncounter.cs │ │ ├── SafariZoneEncounterFile.cs │ │ ├── SafariZoneEncounterGroup.cs │ │ ├── SafariZoneObjectRequirement.cs │ │ ├── ScriptAction.cs │ │ ├── ScriptActionContainer.cs │ │ ├── ScriptCommand.cs │ │ ├── ScriptCommandContainer.cs │ │ ├── ScriptFile.cs │ │ ├── ScriptReference.cs │ │ ├── SpeciesFile.cs │ │ ├── TextArchive.cs │ │ ├── TrainerFile.cs │ │ └── VariableValueTrigger.cs │ ├── Resources/ │ │ ├── ColorTable.txt │ │ ├── CommandsDatabase.Designer.cs │ │ ├── CommandsDatabase.cs │ │ ├── CommandsDatabase.resx │ │ ├── HGSSCommands.md │ │ ├── MovementNamesW.Designer.cs │ │ ├── MovementNamesW.resx │ │ ├── PokeDatabase.cs │ │ ├── ROMToolboxDB/ │ │ │ ├── BDHCAMPatchDB.Designer.cs │ │ │ ├── BDHCAMPatchDB.resx │ │ │ ├── CustomScrCmdDB.resx │ │ │ └── ToolboxDB.cs │ │ ├── ScriptDatabase.cs │ │ ├── ScriptsV/ │ │ │ ├── ScriptNamesB2W2.Designer.cs │ │ │ ├── ScriptNamesB2W2.resx │ │ │ ├── ScriptNamesB2W2J.Designer.cs │ │ │ ├── ScriptNamesB2W2J.resx │ │ │ ├── ScriptNamesBW.Designer.cs │ │ │ ├── ScriptNamesBW.resx │ │ │ ├── ScriptNamesBWJ.Designer.cs │ │ │ ├── ScriptNamesBWJ.resx │ │ │ ├── ScriptNamesWBW.Designer.cs │ │ │ ├── ScriptNamesWBW.resx │ │ │ ├── ScriptNamesWBWJ.Designer.cs │ │ │ ├── ScriptNamesWBWJ.resx │ │ │ ├── ScriptsB2W2.Designer.cs │ │ │ ├── ScriptsB2W2.resx │ │ │ ├── ScriptsB2W2J.Designer.cs │ │ │ ├── ScriptsB2W2J.resx │ │ │ ├── ScriptsBW.Designer.cs │ │ │ ├── ScriptsBW.resx │ │ │ ├── ScriptsBWJ.Designer.cs │ │ │ └── ScriptsBWJ.resx │ │ ├── TextDatabase.cs │ │ ├── writeText.Designer.cs │ │ └── writeText.resx │ ├── RomInfo.cs │ ├── ScintillaUtils/ │ │ ├── HotKeyManager.cs │ │ ├── ScriptTooltip.Designer.cs │ │ ├── ScriptTooltip.cs │ │ ├── ScriptTooltip.resx │ │ └── SearchManager.cs │ ├── SpawnEditor.Designer.cs │ ├── SpawnEditor.cs │ ├── SpawnEditor.resx │ ├── Themes/ │ │ └── .gitkeep │ ├── UniqueList.cs │ ├── WildEditorDPPt.Designer.cs │ ├── WildEditorDPPt.cs │ ├── WildEditorDPPt.resx │ ├── WildEditorHGSS.Designer.cs │ ├── WildEditorHGSS.cs │ └── WildEditorHGSS.resx ├── DS_Map.sln ├── Ekona/ │ ├── Ekona.csproj │ ├── EkonaLang.xml │ ├── Helper/ │ │ ├── BinaryReaderBE.cs │ │ ├── BinaryWriterBE.cs │ │ ├── BitsConverter.cs │ │ ├── CRC.cs │ │ ├── IOutil.cs │ │ ├── LNK.cs │ │ └── Translation.cs │ ├── IGamePlugin.cs │ ├── IPlugin.cs │ ├── IPluginHost.cs │ ├── Images/ │ │ ├── Actions.cs │ │ ├── Dialogs/ │ │ │ ├── OAMEditor.Designer.cs │ │ │ ├── OAMEditor.cs │ │ │ └── OAMEditor.resx │ │ ├── Formats/ │ │ │ ├── ACO.cs │ │ │ ├── APNG.cs │ │ │ ├── Bitmap.cs │ │ │ └── PaletteWin.cs │ │ ├── ImageBase.cs │ │ ├── ImageControl.cs │ │ ├── ImageControl.designer.cs │ │ ├── ImageControl.resx │ │ ├── MapBase.cs │ │ ├── NitroTextureCompressor.cs │ │ ├── PaletteBase.cs │ │ ├── PaletteControl.cs │ │ ├── PaletteControl.designer.cs │ │ ├── PaletteControl.resx │ │ ├── RawData.cs │ │ ├── SpriteBase.cs │ │ ├── SpriteControl.cs │ │ ├── SpriteControl.designer.cs │ │ └── SpriteControl.resx │ ├── Licence.txt │ ├── Mathematics/ │ │ ├── NvMath.cs │ │ └── Vector3.cs │ ├── Properties/ │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ └── Resources.resx │ └── Structures.cs ├── Images/ │ ├── Images/ │ │ ├── AnimationControl.cs │ │ ├── AnimationControl.designer.cs │ │ ├── AnimationControl.resx │ │ ├── DSIG.cs │ │ ├── Images.csproj │ │ ├── Images.xml │ │ ├── ImagesLang.xml │ │ ├── Licence.txt │ │ ├── Main.cs │ │ ├── NANR.cs │ │ ├── NCCG.cs │ │ ├── NCCL.cs │ │ ├── NCE.cs │ │ ├── NCER.cs │ │ ├── NCGR.cs │ │ ├── NCLR.cs │ │ ├── NCOB.cs │ │ ├── NCSC.cs │ │ ├── NSCR.cs │ │ └── Properties/ │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ └── Resources.resx │ └── Images.sln └── README.md
Showing preview only (309K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (3091 symbols across 224 files)
FILE: DS_Map/BuildingEditor.Designer.cs
class BuildingEditor (line 3) | partial class BuildingEditor
method Dispose (line 14) | protected override void Dispose(bool disposing)
method InitializeComponent (line 29) | private void InitializeComponent()
FILE: DS_Map/BuildingEditor.cs
class BuildingEditor (line 12) | public partial class BuildingEditor : Form {
method BuildingEditor (line 39) | public BuildingEditor(RomInfo romInfo) {
method CreateEmbeddedTexturesFile (line 61) | private void CreateEmbeddedTexturesFile(int modelID, bool interior) {
method FillListBox (line 73) | private void FillListBox(bool interior) {
method FillTexturesBox (line 84) | private void FillTexturesBox() {
method LoadModelTextures (line 92) | private void LoadModelTextures(int fileID) {
method RenderModel (line 105) | private void RenderModel() {
method SetupRenderer (line 119) | private void SetupRenderer(float ang, float dist, float elev, float pe...
method buildingOpenGLControl_MouseWheel (line 158) | private void buildingOpenGLControl_MouseWheel(object sender, MouseEven...
method buildingEditorListBox_SelectedIndexChanged (line 169) | private void buildingEditorListBox_SelectedIndexChanged(object sender,...
method exportButton_Click (line 183) | private void exportButton_Click(object sender, EventArgs e) {
method importButton_Click (line 194) | private void importButton_Click(object sender, EventArgs e) {
method interiorCheckBox_CheckedChanged (line 215) | private void interiorCheckBox_CheckedChanged(object sender, EventArgs ...
method textureComboBox_SelectedIndexChanged (line 225) | private void textureComboBox_SelectedIndexChanged(object sender, Event...
method buildingOpenGLControl_PreviewKeyDown (line 232) | private void buildingOpenGLControl_PreviewKeyDown(object sender, Previ...
method bldExportDAEbutton_Click (line 277) | private void bldExportDAEbutton_Click(object sender, EventArgs e) {
method buildingOpenGLControl_KeyUp (line 285) | private void buildingOpenGLControl_KeyUp(object sender, KeyEventArgs e) {
FILE: DS_Map/DSUtils/ARM9.cs
class ARM9 (line 7) | public static class ARM9 {
class Reader (line 10) | public class Reader : DSUtils.EasyReader {
method Reader (line 11) | public Reader(long pos = 0) : base(arm9Path, pos) {
class Writer (line 15) | public class Writer : DSUtils.EasyWriter {
method Writer (line 16) | public Writer(long pos = 0) : base(arm9Path, pos) {
method EditSize (line 20) | public static void EditSize(int increment) {
method Decompress (line 25) | public static bool Decompress(string path) {
method Compress (line 33) | public static bool Compress(string path) {
method CheckCompressionMark (line 44) | public static bool CheckCompressionMark() {
method ReadBytes (line 48) | public static byte[] ReadBytes(uint startOffset, long numberOfBytes = ...
method WriteBytes (line 51) | public static void WriteBytes(byte[] bytesToWrite, uint destOffset, in...
method ReadByte (line 55) | public static byte ReadByte(uint startOffset) {
method WriteByte (line 58) | public static void WriteByte(byte value, uint destOffset) {
FILE: DS_Map/DSUtils/DSUtils.cs
class DSUtils (line 18) | public static class DSUtils {
class EasyReader (line 26) | public class EasyReader : BinaryReader {
method EasyReader (line 27) | public EasyReader(string path, long pos = 0) : base(File.OpenRead(pa...
class EasyWriter (line 31) | public class EasyWriter : BinaryWriter {
method EasyWriter (line 32) | public EasyWriter(string path, long pos = 0, FileMode fmode = FileMo...
method EditSize (line 35) | public void EditSize(int increment) {
method WriteToFile (line 40) | public static void WriteToFile(string filepath, byte[] toOutput, uint ...
method ReadFromFile (line 45) | public static byte[] ReadFromFile(string filepath, long startOffset = ...
method ReadFromByteArray (line 58) | public static byte[] ReadFromByteArray(byte[] input, long readFrom = 0...
method CreateDecompressProcess (line 76) | public static Process CreateDecompressProcess(string path) {
method RepackROM (line 86) | public static void RepackROM(string ndsFileName) {
method StringToByteArray (line 106) | public static byte[] StringToByteArray(String hex) {
method HexStringToByteArray (line 114) | public static byte[] HexStringToByteArray(string hexString) {
method TryUnpackNarcs (line 135) | public static void TryUnpackNarcs(List<DirNames> IDs) {
method ForceUnpackNarcs (line 150) | public static void ForceUnpackNarcs(List<DirNames> IDs) {
method GetPokePic (line 164) | public static Image GetPokePic(int species, int w, int h) {
FILE: DS_Map/DSUtils/ModelUtils.cs
class ModelUtils (line 7) | public static class ModelUtils {
method ModelToDAE (line 9) | public static void ModelToDAE(string modelName, byte[] modelData, byte...
method ModelToGLB (line 74) | public static void ModelToGLB(string modelName, byte[] modelData, byte...
FILE: DS_Map/DSUtils/NSBUtils.cs
class NSBUtils (line 8) | public static class NSBUtils {
method ReadNSBMDname (line 12) | public static string ReadNSBMDname(BinaryReader reader, long? startPos...
method BuildNSBMDwithTextures (line 25) | public static byte[] BuildNSBMDwithTextures(byte[] nsbmd, byte[] nsbtx) {
method BuildNSBTXHeader (line 49) | public static byte[] BuildNSBTXHeader(uint texturesSize) {
method CheckNSBMDHeader (line 63) | public static int CheckNSBMDHeader(byte[] modelFile) {
method GetModelWithoutTextures (line 75) | public static byte[] GetModelWithoutTextures(byte[] modelFile) {
method GetTexturesFromTexturedNSBMD (line 105) | public static byte[] GetTexturesFromTexturedNSBMD(byte[] modelFile) {
method GetFirstBlock (line 126) | private static byte[] GetFirstBlock(byte[] NSBFile) {
FILE: DS_Map/DSUtils/OverlayUtils.cs
class OverlayUtils (line 9) | public static class OverlayUtils {
class OverlayTable (line 10) | public static class OverlayTable {
method IsDefaultCompressed (line 16) | public static bool IsDefaultCompressed(int ovNumber) {
method SetDefaultCompressed (line 21) | public static void SetDefaultCompressed(int ovNumber, bool compressS...
method GetRAMAddress (line 25) | public static uint GetRAMAddress(int ovNumber) {
method GetUncompressedSize (line 30) | public static uint GetUncompressedSize(int ovNumber) {
method GetNumberOfOverlays (line 39) | public static int GetNumberOfOverlays() {
method GetPath (line 49) | public static string GetPath(int overlayNumber) {
method IsCompressed (line 56) | public static bool IsCompressed(int ovNumber) {
method RestoreFromCompressedBackup (line 60) | public static void RestoreFromCompressedBackup(int overlayNumber, bool...
method Compress (line 80) | public static int Compress(int overlayNumber) {
method Decompress (line 100) | public static int Decompress(string overlayFilePath, bool makeBackup =...
method Decompress (line 119) | public static int Decompress(int overlayNumber, bool makeBackup = true) {
FILE: DS_Map/DVCalculator/DVCalc.Designer.cs
class DVCalc (line 5) | partial class DVCalc
method Dispose (line 16) | protected override void Dispose(bool disposing)
FILE: DS_Map/DVCalculator/DVCalc.cs
class DVCalc (line 8) | public partial class DVCalc : Form
method DVCalc (line 10) | public DVCalc(int TrainerIndex, int TrainerClassIndex)
method MainForm_Load (line 31) | private void MainForm_Load(object sender, EventArgs e)
method InitializeComponent (line 36) | private void InitializeComponent()
method PopulateComboBox (line 270) | private void PopulateComboBox()
method SetTrainerData (line 289) | private void SetTrainerData(int TrainerIndex, int TrainerClassIndex)
method CalcButton_Click (line 295) | private void CalcButton_Click(object sender, EventArgs e)
method ShowAllButton_Click (line 322) | private void ShowAllButton_Click(object sender, EventArgs e)
method PokemonSelector_TextChanged (line 343) | private void PokemonSelector_TextChanged(object sender, EventArgs e)
method buttonHelp_Click (line 361) | private void buttonHelp_Click(object sender, EventArgs e)
FILE: DS_Map/DVCalculator/DVCalcNatureViewerForm.Designer.cs
class DVCalcNatureViewerForm (line 6) | partial class DVCalcNatureViewerForm
method Dispose (line 17) | protected override void Dispose(bool disposing)
method InitializeComponent (line 32) | private void InitializeComponent()
FILE: DS_Map/DVCalculator/DVCalcNatureViewerForm.cs
class DVCalcNatureViewerForm (line 8) | public partial class DVCalcNatureViewerForm : Form
method DVCalcNatureViewerForm (line 13) | public DVCalcNatureViewerForm(List<DVIVNatureTriplet> data)
method PopulateDataGridView (line 20) | private void PopulateDataGridView()
FILE: DS_Map/DVCalculator/DVCalculator.cs
class DVIVNatureTriplet (line 6) | public class DVIVNatureTriplet
method DVIVNatureTriplet (line 12) | public DVIVNatureTriplet(int DV, int IV, string Nature)
class DVCalculator (line 20) | internal static class DVCalculator
method setSeed (line 24) | public static void setSeed(long seed)
method getSeed (line 29) | public static long getSeed()
method getNextRandom (line 37) | public static long getNextRandom()
method findHighestDV (line 47) | public static int findHighestDV(int trainerIdx, int trainerClassIdx, b...
method generatePID (line 64) | public static uint generatePID(int trainerIdx, int trainerClassIdx, bo...
method getNatureFromPID (line 88) | public static uint getNatureFromPID(uint PID)
method getAllNatures (line 93) | public static List<DVIVNatureTriplet> getAllNatures(int trainerIdx, in...
FILE: DS_Map/EditorPanels.cs
class EditorPanels (line 5) | public static class EditorPanels {
method Initialize (line 8) | public static void Initialize(MainProgram mainProgram) {
FILE: DS_Map/Editors/EncountersEditor.Designer.cs
class EncountersEditor (line 4) | partial class EncountersEditor
method Dispose (line 15) | protected override void Dispose(bool disposing)
method InitializeComponent (line 30) | private void InitializeComponent()
FILE: DS_Map/Editors/EncountersEditor.cs
class EncountersEditor (line 5) | public partial class EncountersEditor : UserControl
method EncountersEditor (line 7) | public EncountersEditor()
method SetupEncountersEditor (line 12) | public void SetupEncountersEditor() {
method tabPageHeadbuttEditor_Enter (line 16) | private void tabPageHeadbuttEditor_Enter(object sender, System.EventAr...
method tabPageSafariZoneEditor_Enter (line 22) | private void tabPageSafariZoneEditor_Enter(object sender, System.Event...
FILE: DS_Map/Editors/HeadbuttEncounterEditor.Designer.cs
class HeadbuttEncounterEditor (line 4) | partial class HeadbuttEncounterEditor {
method Dispose (line 14) | protected override void Dispose(bool disposing) {
method InitializeComponent (line 28) | private void InitializeComponent() {
FILE: DS_Map/Editors/HeadbuttEncounterEditor.cs
class HeadbuttEncounterEditor (line 11) | public partial class HeadbuttEncounterEditor : UserControl {
method HeadbuttEncounterEditor (line 40) | public HeadbuttEncounterEditor() {
method SetupHeadbuttEncounterEditor (line 45) | public void SetupHeadbuttEncounterEditor(bool force = false) {
method makeCurrent (line 117) | public void makeCurrent() {
method comboBoxMapHeader_SelectedIndexChanged (line 121) | private void comboBoxMapHeader_SelectedIndexChanged(object sender, Eve...
method setCurrentMap (line 127) | public void setCurrentMap(HeadbuttEncounterFile headbuttEncounterFile) {
method buttonSave_Click (line 243) | private void buttonSave_Click(object sender, EventArgs e) {
method buttonSaveAs_Click (line 248) | private void buttonSaveAs_Click(object sender, EventArgs e) {
method buttonImport_Click (line 265) | private void buttonImport_Click(object sender, EventArgs e) {
method comboBoxMapFile_SelectedIndexChanged (line 284) | private void comboBoxMapFile_SelectedIndexChanged(object sender, Event...
method GetMapBitmap (line 292) | private Bitmap GetMapBitmap() {
method RenderBackground (line 298) | private void RenderBackground() {
method RenderMap (line 313) | private Bitmap RenderMap() {
method MarkTrees (line 342) | private void MarkTrees(Graphics g, BindingList<HeadbuttTreeGroup> tree...
method MarkTree (line 355) | private void MarkTree(Graphics g, HeadbuttTree tree, HeadbuttTree.Type...
method ListBoxTrees_SelectedIndexChanged (line 381) | private void ListBoxTrees_SelectedIndexChanged(object sender, EventArg...
method openGlPictureBox_Click (line 395) | private void openGlPictureBox_Click(object sender, EventArgs e) {
method FindTreeFromMap (line 431) | private bool FindTreeFromMap(ListBox2 listBoxTreeGroups, ListBox2 list...
method numericUpDownTreeGlobalX_ValueChanged (line 446) | private void numericUpDownTreeGlobalX_ValueChanged(object sender, Even...
method numericUpDownTreeGlobalY_ValueChanged (line 452) | private void numericUpDownTreeGlobalY_ValueChanged(object sender, Even...
method numericUpDownTreeMatrixX_ValueChanged (line 458) | private void numericUpDownTreeMatrixX_ValueChanged(object sender, Even...
method numericUpDownTreeMatrixY_ValueChanged (line 464) | private void numericUpDownTreeMatrixY_ValueChanged(object sender, Even...
method numericUpDownTreeMapX_ValueChanged (line 470) | private void numericUpDownTreeMapX_ValueChanged(object sender, EventAr...
method numericUpDownTreeMapY_ValueChanged (line 476) | private void numericUpDownTreeMapY_ValueChanged(object sender, EventAr...
method mapScreenshotButton_Click (line 482) | private void mapScreenshotButton_Click(object sender, EventArgs e) {
method SetCam2DValues (line 493) | private void SetCam2DValues() {
FILE: DS_Map/Editors/HeadbuttEncounterEditorTab.Designer.cs
class HeadbuttEncounterEditorTab (line 4) | partial class HeadbuttEncounterEditorTab
method Dispose (line 15) | protected override void Dispose(bool disposing)
method InitializeComponent (line 30) | private void InitializeComponent() {
FILE: DS_Map/Editors/HeadbuttEncounterEditorTab.cs
class HeadbuttEncounterEditorTab (line 8) | public partial class HeadbuttEncounterEditorTab : UserControl {
method HeadbuttEncounterEditorTab (line 12) | public HeadbuttEncounterEditorTab() {
method Reset (line 16) | public void Reset() {
method SetHeadbuttEncounter (line 27) | public void SetHeadbuttEncounter(List<HeadbuttEncounter> encounters, B...
method listBoxEncounters_SelectedIndexChanged (line 38) | private void listBoxEncounters_SelectedIndexChanged(object sender, Eve...
method comboBoxPokemon_SelectedIndexChanged (line 47) | private void comboBoxPokemon_SelectedIndexChanged(object sender, Event...
method numericUpDownMinLevel_ValueChanged (line 55) | private void numericUpDownMinLevel_ValueChanged(object sender, EventAr...
method numericUpDownMaxLevel_ValueChanged (line 63) | private void numericUpDownMaxLevel_ValueChanged(object sender, EventAr...
method listBoxTreeGroups_SelectedIndexChanged (line 71) | private void listBoxTreeGroups_SelectedIndexChanged(object sender, Eve...
method buttonAddTreeGroup_Click (line 78) | private void buttonAddTreeGroup_Click(object sender, EventArgs e) {
method buttonRemoveTreeGroup_Click (line 82) | private void buttonRemoveTreeGroup_Click(object sender, EventArgs e) {
method buttonDuplicateTreeGroup_Click (line 88) | private void buttonDuplicateTreeGroup_Click(object sender, EventArgs e) {
FILE: DS_Map/Editors/LevelScriptEditor.Designer.cs
class LevelScriptEditor (line 4) | partial class LevelScriptEditor {
method Dispose (line 14) | protected override void Dispose(bool disposing) {
method InitializeComponent (line 28) | private void InitializeComponent() {
FILE: DS_Map/Editors/LevelScriptEditor.cs
class LevelScriptEditor (line 8) | public partial class LevelScriptEditor : UserControl {
method LevelScriptEditor (line 13) | public LevelScriptEditor() {
method SetUpLevelScriptEditor (line 18) | public void SetUpLevelScriptEditor(MainProgram parent, bool force = fa...
method OpenLevelScriptEditor (line 26) | public void OpenLevelScriptEditor(MainProgram parent, int levelScriptI...
method populate_selectScriptFileComboBox (line 34) | private void populate_selectScriptFileComboBox(int selectedIndex = 0) {
method disableButtons (line 46) | void disableButtons() {
method enableButtons (line 78) | void enableButtons() {
method buttonAdd_logic (line 98) | void buttonAdd_logic() {
method selectScriptFileComboBox_SelectedIndexChanged (line 112) | private void selectScriptFileComboBox_SelectedIndexChanged(object send...
method listBoxTriggers_SelectedValueChanged (line 138) | void listBoxTriggers_SelectedValueChanged(object sender, EventArgs e) {
method buttonAdd_Click (line 166) | private void buttonAdd_Click(object sender, EventArgs e) {
method buttonRemove_Click (line 206) | private void buttonRemove_Click(object sender, EventArgs e) {
method buttonOpenHeaderScript_Click (line 210) | private void buttonOpenHeaderScript_Click(object sender, EventArgs e) {
method buttonOpenSelectedScript_Click (line 214) | private void buttonOpenSelectedScript_Click(object sender, EventArgs e) {
method buttonLocate_Click (line 218) | void buttonLocate_Click(object sender, EventArgs e) {
method buttonImport_Click (line 224) | void buttonImport_Click(object sender, EventArgs e) {
method buttonSave_Click (line 240) | private void buttonSave_Click(object sender, EventArgs e) {
method buttonExport_Click (line 245) | private void buttonExport_Click(object sender, EventArgs e) {
method saveFile (line 260) | void saveFile(string path) {
method handleAutoFormat (line 273) | private void handleAutoFormat() {
method handleHexFormat (line 289) | private void handleHexFormat() {
method handleDecimalFormat (line 305) | private void handleDecimalFormat() {
method radioButtonAuto_CheckedChanged (line 321) | private void radioButtonAuto_CheckedChanged(object sender, EventArgs e) {
method radioButtonHex_CheckedChanged (line 325) | private void radioButtonHex_CheckedChanged(object sender, EventArgs e) {
method radioButtonDecimal_CheckedChanged (line 329) | private void radioButtonDecimal_CheckedChanged(object sender, EventArg...
method AssignGroupBoxScriptText (line 332) | private void AssignGroupBoxScriptText() {
method radioButtonVariableValue_CheckedChanged (line 340) | private void radioButtonVariableValue_CheckedChanged(object sender, Ev...
method radioButtonMapChange_CheckedChanged (line 347) | private void radioButtonMapChange_CheckedChanged(object sender, EventA...
method radioButtonScreenReset_CheckedChanged (line 354) | private void radioButtonScreenReset_CheckedChanged(object sender, Even...
method radioButtonLoadGame_CheckedChanged (line 361) | private void radioButtonLoadGame_CheckedChanged(object sender, EventAr...
method textBoxScriptID_TextChanged (line 368) | void textBoxScriptID_TextChanged(object sender, EventArgs e) {
method textBoxVariableName_TextChanged (line 372) | void textBoxVariableName_TextChanged(object sender, EventArgs e) {
method textBoxVariableValue_TextChanged (line 376) | void textBoxVariableValue_TextChanged(object sender, EventArgs e) {
FILE: DS_Map/Editors/MoveDataEditor.Designer.cs
class MoveDataEditor (line 2) | partial class MoveDataEditor {
method Dispose (line 12) | protected override void Dispose(bool disposing) {
method InitializeComponent (line 25) | private void InitializeComponent() {
FILE: DS_Map/Editors/MoveDataEditor.cs
class MoveDataEditor (line 12) | public partial class MoveDataEditor : Form {
method MoveDataEditor (line 24) | public MoveDataEditor(string[] fileNames, string[] moveDescriptions) {
method setDirty (line 72) | private void setDirty(bool status) {
method CheckDiscardChanges (line 81) | private bool CheckDiscardChanges() {
method ChangeLoadedFile (line 97) | private void ChangeLoadedFile(int toLoad) {
method PopulateAllFromCurrentFile (line 103) | private void PopulateAllFromCurrentFile() {
method saveDataButton_Click (line 132) | private void saveDataButton_Click(object sender, EventArgs e) {
method FlagsCheckBox_CheckedChanged (line 137) | private void FlagsCheckBox_CheckedChanged(object sender, EventArgs e) {
method AttackRangeCheckBox_CheckedChanged (line 155) | private void AttackRangeCheckBox_CheckedChanged(object sender, EventAr...
method moveNameInputComboBox_SelectedIndexChanged (line 173) | private void moveNameInputComboBox_SelectedIndexChanged(object sender,...
method moveNumberNumericUpDown_ValueChanged (line 189) | private void moveNumberNumericUpDown_ValueChanged(object sender, Event...
method saveToFileToolStripMenuItem_Click (line 205) | private void saveToFileToolStripMenuItem_Click(object sender, EventArg...
method ppUpDown_ValueChanged (line 210) | private void ppUpDown_ValueChanged(object sender, EventArgs e) {
method moveSplitComboBox_SelectedIndexChanged (line 219) | private void moveSplitComboBox_SelectedIndexChanged(object sender, Eve...
method moveTypeComboBox_SelectedIndexChanged (line 228) | private void moveTypeComboBox_SelectedIndexChanged(object sender, Even...
method battleSeqComboBox_SelectedIndexChanged (line 237) | private void battleSeqComboBox_SelectedIndexChanged(object sender, Eve...
method contestConditionComboBox_SelectedIndexChanged (line 246) | private void contestConditionComboBox_SelectedIndexChanged(object send...
method contestAppealNumericUpDown_ValueChanged (line 254) | private void contestAppealNumericUpDown_ValueChanged(object sender, Ev...
method powerNumericUpDown_ValueChanged (line 263) | private void powerNumericUpDown_ValueChanged(object sender, EventArgs ...
method accuracyNumericUpDown_ValueChanged (line 272) | private void accuracyNumericUpDown_ValueChanged(object sender, EventAr...
method priorityNumericUpDown_ValueChanged (line 281) | private void priorityNumericUpDown_ValueChanged(object sender, EventAr...
method sideEffectUpDown_ValueChanged (line 298) | private void sideEffectUpDown_ValueChanged(object sender, EventArgs e) {
FILE: DS_Map/Editors/SafariZoneEditor.Designer.cs
class SafariZoneEditor (line 4) | partial class SafariZoneEditor
method Dispose (line 15) | protected override void Dispose(bool disposing)
method InitializeComponent (line 30) | private void InitializeComponent()
FILE: DS_Map/Editors/SafariZoneEditor.cs
class SafariZoneEditor (line 8) | public partial class SafariZoneEditor : UserControl {
method SafariZoneEditor (line 12) | public SafariZoneEditor() {
method SetupSafariZoneEditor (line 16) | public void SetupSafariZoneEditor(bool force = false) {
method comboBoxFileID_SelectedIndexChanged (line 42) | private void comboBoxFileID_SelectedIndexChanged(object sender, EventA...
method buttonSave_Click (line 61) | private void buttonSave_Click(object sender, EventArgs e) {
method buttonSaveAs_Click (line 66) | private void buttonSaveAs_Click(object sender, EventArgs e) {
method buttonImport_Click (line 83) | private void buttonImport_Click(object sender, EventArgs e) {
FILE: DS_Map/Editors/SafariZoneEncounterEditorTab.Designer.cs
class SafariZoneEncounterEditorTab (line 4) | partial class SafariZoneEncounterEditorTab
method Dispose (line 15) | protected override void Dispose(bool disposing)
method InitializeComponent (line 30) | private void InitializeComponent()
FILE: DS_Map/Editors/SafariZoneEncounterEditorTab.cs
class SafariZoneEncounterEditorTab (line 6) | public partial class SafariZoneEncounterEditorTab : UserControl {
method SafariZoneEncounterEditorTab (line 7) | public SafariZoneEncounterEditorTab() {
method listBoxEncounters_SelectedIndexChanged (line 11) | private void listBoxEncounters_SelectedIndexChanged(object sender, Eve...
method comboBoxPokemon_SelectedIndexChanged (line 19) | private void comboBoxPokemon_SelectedIndexChanged(object sender, Event...
method numericUpDownLevel_ValueChanged (line 27) | private void numericUpDownLevel_ValueChanged(object sender, EventArgs ...
method listBoxEncountersObject_SelectedIndexChanged (line 35) | private void listBoxEncountersObject_SelectedIndexChanged(object sende...
method comboBoxPokemonObject_SelectedIndexChanged (line 45) | private void comboBoxPokemonObject_SelectedIndexChanged(object sender,...
method numericUpDownLevelObject_ValueChanged (line 54) | private void numericUpDownLevelObject_ValueChanged(object sender, Even...
FILE: DS_Map/Editors/SafariZoneEncounterGroupEditor.Designer.cs
class SafariZoneEncounterGroupEditor (line 4) | partial class SafariZoneEncounterGroupEditor
method Dispose (line 15) | protected override void Dispose(bool disposing)
method InitializeComponent (line 30) | private void InitializeComponent()
FILE: DS_Map/Editors/SafariZoneEncounterGroupEditor.cs
class SafariZoneEncounterGroupEditor (line 6) | public partial class SafariZoneEncounterGroupEditor : UserControl {
method SafariZoneEncounterGroupEditor (line 9) | public SafariZoneEncounterGroupEditor() {
method ListBoxEncountersObject_SelectedIndexChanged (line 18) | private void ListBoxEncountersObject_SelectedIndexChanged(object sende...
method SetPokemonNames (line 31) | public void SetPokemonNames() {
method Reset (line 46) | public void Reset() {
method SetData (line 59) | public void SetData(SafariZoneEncounterGroup safariZoneEncounterGroup) {
method listBoxObjectRequirements_SelectedIndexChanged (line 72) | private void listBoxObjectRequirements_SelectedIndexChanged(object sen...
method comboBoxObjectRequirementType_SelectedIndexChanged (line 80) | private void comboBoxObjectRequirementType_SelectedIndexChanged(object...
method numericUpDownObjectRequirementQty_ValueChanged (line 89) | private void numericUpDownObjectRequirementQty_ValueChanged(object sen...
method listBoxObjectOptionalRequirements_SelectedIndexChanged (line 97) | private void listBoxObjectOptionalRequirements_SelectedIndexChanged(ob...
method comboBoxOptionalObjectRequirementType_SelectedIndexChanged (line 105) | private void comboBoxOptionalObjectRequirementType_SelectedIndexChange...
method numericUpDownObjectOptionalRequirementQty_ValueChanged (line 113) | private void numericUpDownObjectOptionalRequirementQty_ValueChanged(ob...
method buttonAddObjectEncounter_Click (line 121) | private void buttonAddObjectEncounter_Click(object sender, EventArgs e) {
method buttonRemoveObjectEncounter_Click (line 132) | private void buttonRemoveObjectEncounter_Click(object sender, EventArg...
FILE: DS_Map/Editors/ScriptEditor.Designer.cs
class ScriptEditor (line 4) | partial class ScriptEditor
method Dispose (line 15) | protected override void Dispose(bool disposing)
method InitializeComponent (line 30) | private void InitializeComponent() {
FILE: DS_Map/Editors/ScriptEditor.cs
class ScriptEditor (line 14) | public partial class ScriptEditor : UserControl {
method ScriptEditor (line 75) | public ScriptEditor() {
method SetupScriptEditor (line 100) | public void SetupScriptEditor(MainProgram parent, bool force = false) {
method OpenScriptEditor (line 121) | public void OpenScriptEditor(MainProgram parent, int scriptFileID) {
method SetupScriptEditorTextAreas (line 129) | private void SetupScriptEditorTextAreas() {
method populate_selectScriptFileComboBox (line 210) | private void populate_selectScriptFileComboBox(int selectedIndex = 0) {
method InitialViewConfig (line 222) | private void InitialViewConfig(Scintilla textArea) {
method InitSyntaxColoring (line 232) | private void InitSyntaxColoring(Scintilla textArea) {
method InitNumberMargin (line 257) | private void InitNumberMargin(Scintilla textArea, EventHandler<MarginC...
method InitBookmarkMargin (line 271) | private void InitBookmarkMargin(Scintilla textArea) {
method InitCodeFolding (line 288) | private void InitCodeFolding(Scintilla textArea) {
method InitHotkeys (line 321) | private void InitHotkeys(Scintilla scintillaTb, SearchManager sm) {
method Uppercase (line 339) | private void Uppercase(Scintilla textArea) {
method Lowercase (line 351) | private void Lowercase(Scintilla textArea) {
method ZoomIn (line 363) | private void ZoomIn(Scintilla textArea) {
method ZoomOut (line 367) | private void ZoomOut(Scintilla textArea) {
method ZoomDefault (line 371) | private void ZoomDefault(Scintilla textArea) {
method ScriptEditorSetClean (line 375) | private void ScriptEditorSetClean() {
method OnTextChangedScript (line 386) | private void OnTextChangedScript(object sender, EventArgs e) {
method OnTextChangedFunction (line 392) | private void OnTextChangedFunction(object sender, EventArgs e) {
method OnTextChangedAction (line 398) | private void OnTextChangedAction(object sender, EventArgs e) {
method ScriptTextArea_MarginClick (line 404) | private void ScriptTextArea_MarginClick(object sender, MarginClickEven...
method FunctionTextArea_MarginClick (line 408) | private void FunctionTextArea_MarginClick(object sender, MarginClickEv...
method ActionTextArea_MarginClick (line 412) | private void ActionTextArea_MarginClick(object sender, MarginClickEven...
method MarginClick (line 416) | private void MarginClick(Scintilla textArea, MarginClickEventArgs e) {
method selectScriptFileComboBox_SelectedIndexChanged (line 431) | private void selectScriptFileComboBox_SelectedIndexChanged(object send...
method UpdateScriptNumberCheckBox (line 435) | public void UpdateScriptNumberCheckBox(NumberStyles toSet) {
method UpdateScriptNumberFormat (line 455) | private void UpdateScriptNumberFormat(NumberStyles numberStyle) {
method UpdateScriptNumberFormatNoPref (line 466) | private void UpdateScriptNumberFormatNoPref(object sender, EventArgs e) {
method UpdateScriptNumberFormatDec (line 470) | private void UpdateScriptNumberFormatDec(object sender, EventArgs e) {
method UpdateScriptNumberFormatHex (line 474) | private void UpdateScriptNumberFormatHex(object sender, EventArgs e) {
method DisplayScript (line 478) | private bool DisplayScript() {
method displayScriptFile (line 564) | static void displayScriptFile(ScriptFile.ContainerTypes containerType,...
method displayScriptFileActions (line 594) | static void displayScriptFileActions(ScriptFile.ContainerTypes contain...
method scriptEditorZoomInButton_Click (line 618) | private void scriptEditorZoomInButton_Click(object sender, EventArgs e) {
method scriptEditorZoomOutButton_Click (line 622) | private void scriptEditorZoomOutButton_Click(object sender, EventArgs ...
method scriptEditorZoomResetButton_Click (line 626) | private void scriptEditorZoomResetButton_Click(object sender, EventArg...
method scriptEditorTabControl_TabIndexChanged (line 630) | private void scriptEditorTabControl_TabIndexChanged(object sender, Eve...
method removeScriptFileButton_Click (line 644) | private void removeScriptFileButton_Click(object sender, EventArgs e) {
method addScriptFileButton_Click (line 662) | private void addScriptFileButton_Click(object sender, EventArgs e) {
method saveScriptFileButton_Click (line 681) | private void saveScriptFileButton_Click(object sender, EventArgs e) {
method exportScriptFileButton_Click (line 704) | private void exportScriptFileButton_Click(object sender, EventArgs e) {
method importScriptFileButton_Click (line 708) | private void importScriptFileButton_Click(object sender, EventArgs e) {
method viewLevelScriptButton_Click (line 731) | private void viewLevelScriptButton_Click(object sender, EventArgs e) {
method locateCurrentScriptFile_Click (line 735) | private void locateCurrentScriptFile_Click(object sender, EventArgs e) {
method findNext (line 740) | private void findNext(SearchManager searchManager) {
method findPrev (line 745) | private void findPrev(SearchManager searchManager) {
method findCurrent (line 750) | private void findCurrent(SearchManager searchManager) {
method TxtFindKeyDown (line 755) | private void TxtFindKeyDown(SearchManager searchManager, KeyEventArgs ...
method BtnNextFindScript_Click (line 765) | private void BtnNextFindScript_Click(object sender, EventArgs e) {
method BtnPrevFindScript_Click (line 769) | private void BtnPrevFindScript_Click(object sender, EventArgs e) {
method panelFindScriptTextBox_TextChanged (line 773) | private void panelFindScriptTextBox_TextChanged(object sender, EventAr...
method scriptTxtFind_KeyDown (line 777) | private void scriptTxtFind_KeyDown(object sender, KeyEventArgs e) {
method BtnCloseFindScript_Click (line 781) | private void BtnCloseFindScript_Click(object sender, EventArgs e) {
method BtnNextFindFunc_Click (line 785) | private void BtnNextFindFunc_Click(object sender, EventArgs e) {
method BtnPrevFindFunc_Click (line 789) | private void BtnPrevFindFunc_Click(object sender, EventArgs e) {
method panelFindFunctionTextBox_TextChanged (line 793) | private void panelFindFunctionTextBox_TextChanged(object sender, Event...
method functionTxtFind_KeyDown (line 797) | private void functionTxtFind_KeyDown(object sender, KeyEventArgs e) {
method BtnCloseFindFunc_Click (line 801) | private void BtnCloseFindFunc_Click(object sender, EventArgs e) {
method BtnNextFindActions_Click (line 805) | private void BtnNextFindActions_Click(object sender, EventArgs e) {
method BtnPrevFindActions_Click (line 809) | private void BtnPrevFindActions_Click(object sender, EventArgs e) {
method panelFindActionTextBox_TextChanged (line 813) | private void panelFindActionTextBox_TextChanged(object sender, EventAr...
method actionTxtFind_KeyDown (line 817) | private void actionTxtFind_KeyDown(object sender, KeyEventArgs e) {
method BtnCloseFindActions_Click (line 821) | private void BtnCloseFindActions_Click(object sender, EventArgs e) {
method scrollResultToTop (line 825) | void scrollResultToTop(SearchManager searchManager) {
method NavigatorGoTo (line 830) | private void NavigatorGoTo(ListBox listBox, TabPage tabPage, SearchMan...
method scriptsNavListbox_SelectedIndexChanged (line 843) | private void scriptsNavListbox_SelectedIndexChanged(object sender, Eve...
method functionsNavListbox_SelectedIndexChanged (line 847) | private void functionsNavListbox_SelectedIndexChanged(object sender, E...
method actionsNavListbox_SelectedIndexChanged (line 851) | private void actionsNavListbox_SelectedIndexChanged(object sender, Eve...
method openFindScriptEditorButton_Click (line 855) | private void openFindScriptEditorButton_Click(object sender, EventArgs...
method ScriptEditorExpandButton_Click (line 859) | private void ScriptEditorExpandButton_Click(object sender, EventArgs e) {
method ScriptEditorCollapseButton_Click (line 863) | private void ScriptEditorCollapseButton_Click(object sender, EventArgs...
method scriptEditorWordWrapCheckbox_CheckedChanged (line 867) | private void scriptEditorWordWrapCheckbox_CheckedChanged(object sender...
method viewWhiteSpacesButton_Click (line 873) | private void viewWhiteSpacesButton_Click(object sender, EventArgs e) {
method searchInScriptsTextBox_KeyDown (line 879) | private void searchInScriptsTextBox_KeyDown(object sender, KeyEventArg...
method getScriptsToSearch (line 885) | public List<ScriptFile> getScriptsToSearch() {
method searchInScriptsButton_Click (line 916) | private void searchInScriptsButton_Click(object sender, EventArgs e) {
method SearchInScripts (line 954) | private List<ScriptEditorSearchResult> SearchInScripts(ScriptFile scri...
method searchInScriptsResultListBox_KeyDown (line 973) | private void searchInScriptsResultListBox_KeyDown(object sender, KeyEv...
method searchInScripts_GoToEntryResult (line 979) | private void searchInScripts_GoToEntryResult(object sender, MouseEvent...
method goToSearchResult (line 983) | private void goToSearchResult() {
method displaySearchResult (line 1001) | private void displaySearchResult(TabPage tabPage, SearchManager search...
class ScriptEditorSearchResult (line 1020) | public class ScriptEditorSearchResult {
method ScriptEditorSearchResult (line 1028) | public ScriptEditorSearchResult(ScriptFile scriptFile, ScriptFile.Cont...
method ToString (line 1037) | public override string ToString() {
FILE: DS_Map/EventFileImport.Designer.cs
class EventFileImport (line 2) | partial class EventFileImport {
method Dispose (line 12) | protected override void Dispose(bool disposing) {
method InitializeComponent (line 25) | private void InitializeComponent() {
FILE: DS_Map/EventFileImport.cs
class EventFileImport (line 10) | public partial class EventFileImport : Form {
method EventFileImport (line 24) | public EventFileImport(EventFile ef) {
method confirmButton_Click (line 64) | private void confirmButton_Click(object sender, EventArgs e) {
method importCheckBoxChanged (line 83) | private void importCheckBoxChanged(object sender, EventArgs e) {
method checkAllButtonClicked (line 95) | private void checkAllButtonClicked(object sender, EventArgs e) {
method uncheckAllButtonClicked (line 98) | private void uncheckAllButtonClicked(object sender, EventArgs e) {
method blankCurrentEventFileCheckbox_CheckedChanged (line 102) | private void blankCurrentEventFileCheckbox_CheckedChanged(object sende...
FILE: DS_Map/EvolutionsEditor.cs
class EvolutionsEditor (line 8) | public partial class EvolutionsEditor : Form {
method EvolutionsEditor (line 23) | public EvolutionsEditor(Control parent, PokemonEditor pokeEditor) {
method pokemonNameInputComboBox_SelectedIndexChanged (line 68) | private void pokemonNameInputComboBox_SelectedIndexChanged(object send...
method monNumberNumericUpDown_ValueChanged (line 83) | private void monNumberNumericUpDown_ValueChanged(object sender, EventA...
method ChangeLoadedFile (line 98) | public void ChangeLoadedFile(int toLoad) {
method saveDataButton_Click (line 122) | private void saveDataButton_Click(object sender, EventArgs e) {
method EvolutionDataFromGUI (line 143) | private EvolutionData EvolutionDataFromGUI(int i) {
method CheckDiscardChanges (line 160) | public bool CheckDiscardChanges() {
method setDirty (line 176) | private void setDirty(bool status) {
method evoMethodComboBox1_SelectedIndexChanged (line 186) | private void evoMethodComboBox1_SelectedIndexChanged(object sender, Ev...
method evoMethodComboBox2_SelectedIndexChanged (line 190) | private void evoMethodComboBox2_SelectedIndexChanged(object sender, Ev...
method evoMethodComboBox3_SelectedIndexChanged (line 194) | private void evoMethodComboBox3_SelectedIndexChanged(object sender, Ev...
method evoMethodComboBox4_SelectedIndexChanged (line 198) | private void evoMethodComboBox4_SelectedIndexChanged(object sender, Ev...
method evoMethodComboBox5_SelectedIndexChanged (line 202) | private void evoMethodComboBox5_SelectedIndexChanged(object sender, Ev...
method evoMethodComboBox6_SelectedIndexChanged (line 206) | private void evoMethodComboBox6_SelectedIndexChanged(object sender, Ev...
method evoMethodComboBox7_SelectedIndexChanged (line 210) | private void evoMethodComboBox7_SelectedIndexChanged(object sender, Ev...
method ResetGUIRow (line 215) | private void ResetGUIRow(int index) {
method UpdateDescriptionLabel (line 224) | private void UpdateDescriptionLabel(int index) {
method evoParamUpDown1_ValueChanged (line 301) | private void evoParamUpDown1_ValueChanged(object sender, EventArgs e) {
method evoParamUpDown2_ValueChanged (line 305) | private void evoParamUpDown2_ValueChanged(object sender, EventArgs e) {
method evoParamUpDown3_ValueChanged (line 309) | private void evoParamUpDown3_ValueChanged(object sender, EventArgs e) {
method evoParamUpDown4_ValueChanged (line 313) | private void evoParamUpDown4_ValueChanged(object sender, EventArgs e) {
method evoParamUpDown5_ValueChanged (line 317) | private void evoParamUpDown5_ValueChanged(object sender, EventArgs e) {
method evoParamUpDown6_ValueChanged (line 321) | private void evoParamUpDown6_ValueChanged(object sender, EventArgs e) {
method evoParamUpDown7_ValueChanged (line 325) | private void evoParamUpDown7_ValueChanged(object sender, EventArgs e) {
FILE: DS_Map/EvolutionsEditor.designer.cs
class EvolutionsEditor (line 2) | partial class EvolutionsEditor {
method Dispose (line 12) | protected override void Dispose(bool disposing) {
method InitializeComponent (line 25) | private void InitializeComponent() {
FILE: DS_Map/ExtensionMethods.cs
class ExtensionMethods (line 5) | public static class ExtensionMethods {
method IncrementNoAnimation (line 9) | public static void IncrementNoAnimation(this ProgressBar pb, int amoun...
method SetProgressNoAnimation (line 19) | public static void SetProgressNoAnimation(this ProgressBar pb, int val...
method UIThread (line 62) | public static void UIThread(this Control control, Action code) {
FILE: DS_Map/Extensions.cs
class Extensions (line 14) | public static class Extensions {
method SetAllItemsChecked (line 15) | public static void SetAllItemsChecked(this CheckedListBox clb, bool st...
method IndexOfFirstNumber (line 20) | public static int IndexOfFirstNumber(this string str) {
method ContainsNumber (line 23) | public static bool ContainsNumber(this string str) {
method SubArray (line 26) | public static T[] SubArray<T>(this T[] array, int offset, int length) {
method Move (line 31) | public static void Move<T>(this IList<T> l, int currentIndex, int newI...
method Reverse (line 36) | public static Dictionary<string, ushort> Reverse (this Dictionary<usho...
method FadeIn (line 46) | public static void FadeIn(this Form o, int framelength = 16, int frame...
method FadeOut (line 55) | public static void FadeOut(this Form o, int framelength = 16, int fram...
method ToByteArrayChooseSize (line 65) | public static byte[] ToByteArrayChooseSize(this int num, byte size) {
method PurgeSpecial (line 78) | public static string PurgeSpecial(this string str, char[] special) {
method GetNumberStyle (line 87) | public static NumberStyles GetNumberStyle(this string s) {
method IgnoreCaseEquals (line 105) | public static bool IgnoreCaseEquals(this string str, string other) {
method ToStringsList (line 108) | public static List<string> ToStringsList (this ScintillaNET.LineCollec...
method Resize (line 132) | public static Bitmap Resize(this Bitmap source, int width, int height) {
method Resize (line 145) | public static Bitmap Resize(this Bitmap source, float factor) => sourc...
class ListBox2 (line 148) | public class ListBox2 : ListBox {
method RefreshItem (line 149) | public new void RefreshItem(int index) {
class SimpleOpenGlControl2 (line 154) | public class SimpleOpenGlControl2 : SimpleOpenGlControl {
method SimpleOpenGlControl2 (line 157) | public SimpleOpenGlControl2() : base() {
method OnPaint (line 163) | protected override void OnPaint(PaintEventArgs e) {
FILE: DS_Map/Filesystem.cs
class Filesystem (line 4) | public static class Filesystem {
method GetBuildingModelsDirPath (line 28) | public static string GetBuildingModelsDirPath(bool interior) {
method GetPath (line 38) | public static string GetPath(string path, int id, string format = "D4") {
method GetPath (line 42) | public static string GetPath(string path, string prefix, int id, strin...
method GetBuildingModelFiles (line 46) | static string[] GetBuildingModelFiles(bool interior) {
method GetBuildingModelPath (line 50) | public static string GetBuildingModelPath(bool interior, int id) {
method GetBuildingCount (line 54) | public static int GetBuildingCount(bool interior) {
method GetAreaDataFiles (line 58) | public static string[] GetAreaDataFiles() {
method GetAreaDataPath (line 62) | public static string GetAreaDataPath(int id) {
method GetAreaDataCount (line 66) | public static int GetAreaDataCount() {
method GetTexturePath (line 70) | public static string GetTexturePath(bool useMapTiles, int textureID) {
method GetMapTextureFiles (line 77) | static string[] GetMapTextureFiles() {
method GetMapTexturePath (line 81) | public static string GetMapTexturePath(int id) {
method GetMapTexturesCount (line 85) | public static int GetMapTexturesCount() {
method GetBuildingTextureFiles (line 89) | static string[] GetBuildingTextureFiles() {
method GetBuildingTexturePath (line 93) | public static string GetBuildingTexturePath(int id) {
method GetBuildingTexturesCount (line 97) | public static int GetBuildingTexturesCount() {
method GetMatrixFiles (line 101) | static string[] GetMatrixFiles() {
method GetMatrixPath (line 105) | public static string GetMatrixPath(int id) {
method GetMatrixCount (line 109) | public static int GetMatrixCount() {
method GetTextArchiveFiles (line 113) | static string[] GetTextArchiveFiles() {
method GetTextArchivePath (line 117) | public static string GetTextArchivePath(int id) {
method GetTextArchivesCount (line 121) | public static int GetTextArchivesCount() {
method GetMapFiles (line 125) | static string[] GetMapFiles() {
method GetMapPath (line 129) | public static string GetMapPath(int id) {
method GetMapCount (line 133) | public static int GetMapCount() {
method GetScriptFiles (line 137) | static string[] GetScriptFiles() {
method GetScriptPath (line 141) | public static string GetScriptPath(int id) {
method GetScriptCount (line 145) | public static int GetScriptCount() {
method GetEventFiles (line 149) | static string[] GetEventFiles() {
method GetEventPath (line 153) | public static string GetEventPath(int id) {
method GetEventFileCount (line 157) | public static int GetEventFileCount() {
method GetTrainerPropertiesFiles (line 161) | static string[] GetTrainerPropertiesFiles() {
method GetTrainerPropertiesPath (line 165) | public static string GetTrainerPropertiesPath(int id) {
method GetTrainerPropertiesCount (line 169) | public static int GetTrainerPropertiesCount() {
method GetDynamicHeaderFiles (line 173) | static string[] GetDynamicHeaderFiles() {
method GetDynamicHeaderPath (line 177) | public static string GetDynamicHeaderPath(int id) {
method GetDynamicHeadersCount (line 181) | public static int GetDynamicHeadersCount() {
method GetEncounterFiles (line 185) | static string[] GetEncounterFiles() {
method GetEncounterPath (line 189) | public static string GetEncounterPath(int id) {
method GetEncountersCount (line 193) | public static int GetEncountersCount() {
method GetSafariZoneFiles (line 197) | static string[] GetSafariZoneFiles() {
method GetSafariZonePath (line 201) | public static string GetSafariZonePath(int id) {
method GetSafariZoneCount (line 205) | public static int GetSafariZoneCount() {
method GetHeadbuttFiles (line 209) | static string[] GetHeadbuttFiles() {
method GetHeadbuttPath (line 213) | public static string GetHeadbuttPath(int id) {
method GetHeadbuttCount (line 217) | public static int GetHeadbuttCount() {
method GetOWSpritePath (line 221) | public static string GetOWSpritePath(int id) {
method GetBuildingConfigPath (line 225) | public static string GetBuildingConfigPath(int id) {
method GetTrainerPartyPath (line 229) | public static string GetTrainerPartyPath(int id) {
method GetTrainerGraphicsPath (line 233) | public static string GetTrainerGraphicsPath(int id) {
method GetMonIconPath (line 237) | public static string GetMonIconPath(int id, string format = "D4") {
method GetSynthOerlayPath (line 241) | public static string GetSynthOerlayPath(int id) {
FILE: DS_Map/GameCamera.cs
class GameCamera (line 7) | public class GameCamera {
method GameCamera (line 106) | public GameCamera(uint distance = 0x29AEC1, short vertRot = 0xD62, sho...
method GameCamera (line 129) | public GameCamera(byte[] camData) {
method ToByteArray (line 159) | public byte[] ToByteArray() {
method ShowInGridView (line 191) | public void ShowInGridView(DataGridView dgv, int rowIndex) {
FILE: DS_Map/HeaderSearch.Designer.cs
class HeaderSearch (line 2) | partial class HeaderSearch {
method Dispose (line 12) | protected override void Dispose(bool disposing) {
method InitializeComponent (line 25) | private void InitializeComponent() {
FILE: DS_Map/HeaderSearch.cs
class HeaderSearch (line 12) | public partial class HeaderSearch : Form {
type NumOperators (line 28) | public enum NumOperators : byte {
type TextOperators (line 38) | public enum TextOperators : byte {
method HeaderSearch (line 72) | public HeaderSearch(ref List<string> internalNames, ListBox headerList...
method UpdateOperators (line 88) | private void UpdateOperators(ComboBox operatorComboBox, ComboBox field...
method ResetResults (line 106) | public static void ResetResults(ListBox headerListBox, List<string> in...
method AdvancedSearch (line 122) | public static HashSet<string> AdvancedSearch(ushort startID, ushort fi...
method startSearchButton_Click (line 231) | private void startSearchButton_Click(object sender, EventArgs e) {
method StartSearch (line 235) | private void StartSearch(bool showDialog = true) {
method valueTextBox_KeyUp (line 277) | private void valueTextBox_KeyUp(object sender, KeyEventArgs e) {
method headerSearchResetButton_Click (line 284) | private void headerSearchResetButton_Click(object sender, EventArgs e) {
method fieldToSearch1ComboBox_SelectedIndexChanged (line 289) | private void fieldToSearch1ComboBox_SelectedIndexChanged(object sender...
method operator1ComboBox_SelectedIndexChanged (line 295) | private void operator1ComboBox_SelectedIndexChanged(object sender, Eve...
FILE: DS_Map/Helpers.cs
class Helpers (line 20) | public static class Helpers {
method Initialize (line 30) | public static void Initialize(MainProgram mainProgram) {
method BackUpDisableHandler (line 41) | public static void BackUpDisableHandler() {
method RestoreDisableHandler (line 45) | public static void RestoreDisableHandler() {
method DisableHandlers (line 49) | public static void DisableHandlers() {
method EnableHandlers (line 53) | public static void EnableHandlers() {
method statusLabelMessage (line 57) | public static void statusLabelMessage(string msg = "Ready") {
method statusLabelError (line 65) | public static void statusLabelError(string errorMsg, bool severe = tru...
method ExplorerSelect (line 74) | public static void ExplorerSelect(string path) {
method GetTrainerNames (line 80) | public static string[] GetTrainerNames() {
method MW_LoadModelTextures (line 105) | public static void MW_LoadModelTextures(NSBMD model, string textureFol...
method MW_LoadModelTextures (line 118) | public static void MW_LoadModelTextures(MapFile mapFile, int fileID) {
method MW_LoadModelTextures (line 122) | public static void MW_LoadModelTextures(Building building, int fileID) {
method SetupRenderer (line 126) | public static void SetupRenderer(float ang, float dist, float elev, fl...
method RenderMap (line 164) | public static void RenderMap(ref MapFile mapFile, int width, int heigh...
method GrabMapScreenshot (line 218) | public static Bitmap GrabMapScreenshot(int width, int height) {
method ScaleTranslateRotateBuilding (line 227) | private static void ScaleTranslateRotateBuilding(Building building) {
method GetPokePic (line 242) | public static Image GetPokePic(int species, int w, int h, PaletteBase ...
method GenerateKeystrokes (line 328) | public static void GenerateKeystrokes(string keys, Scintilla textArea) {
method PictureBoxDisable (line 337) | public static void PictureBoxDisable(object sender, PaintEventArgs e) {
method getHeaderListBoxNames (line 345) | public static List<string> getHeaderListBoxNames() {
method getInternalNames (line 364) | public static List<string> getInternalNames() {
FILE: DS_Map/InputComboBox.cs
class InputComboBox (line 7) | public partial class InputComboBox : ComboBox {
method InputComboBox (line 10) | public InputComboBox() {
method UpdateText (line 18) | private void UpdateText() {
method OnKeyDown (line 28) | protected override void OnKeyDown(KeyEventArgs e) {
method OnLeave (line 35) | protected override void OnLeave(EventArgs e) {
FILE: DS_Map/LearnsetEditor.Designer.cs
class LearnsetEditor (line 2) | partial class LearnsetEditor {
method Dispose (line 12) | protected override void Dispose(bool disposing) {
method InitializeComponent (line 25) | private void InitializeComponent() {
FILE: DS_Map/LearnsetEditor.cs
class LearnsetEditor (line 11) | public partial class LearnsetEditor : Form {
method LearnsetEditor (line 34) | public LearnsetEditor(string[] moveNames, Control parent, PokemonEdito...
method setDirty (line 74) | private void setDirty(bool status) {
method CheckDiscardChanges (line 83) | public bool CheckDiscardChanges() {
method ElemToString (line 99) | private string ElemToString((ushort level, ushort move) elem) {
method ChangeLoadedFile (line 102) | public void ChangeLoadedFile(int toLoad) {
method PopulateAllFromCurrentFile (line 121) | private void PopulateAllFromCurrentFile() {
method saveDataButton_Click (line 133) | private void saveDataButton_Click(object sender, EventArgs e) {
method pokemonNameInputComboBox_SelectedIndexChanged (line 138) | private void pokemonNameInputComboBox_SelectedIndexChanged(object send...
method monNumberNumericUpDown_ValueChanged (line 153) | private void monNumberNumericUpDown_ValueChanged(object sender, EventA...
method moveInputComboBox_SelectedIndexChanged (line 168) | private void moveInputComboBox_SelectedIndexChanged(object sender, Eve...
method CheckValidEntry (line 176) | private bool CheckValidEntry() {
method levelNumericUpDown_ValueChanged (line 180) | private void levelNumericUpDown_ValueChanged(object sender, EventArgs ...
method UpdateAddEditStatus (line 187) | private void UpdateAddEditStatus() {
method addMoveButton_Click (line 214) | private void addMoveButton_Click(object sender, EventArgs e) {
method deleteMoveButton_Click (line 225) | private void deleteMoveButton_Click(object sender, EventArgs e) {
method editMoveButton_Click (line 251) | private void editMoveButton_Click(object sender, EventArgs e) {
method UpdateByEditMode (line 294) | private void UpdateByEditMode() {
method UpdateButtonNames (line 298) | private void UpdateButtonNames(bool editMode) {
method movesListBox_SelectedIndexChanged (line 304) | private void movesListBox_SelectedIndexChanged(object sender, EventArg...
method UpdateButtonsOnMoveSelection (line 308) | private void UpdateButtonsOnMoveSelection() {
method UpdateEntryCountLabel (line 320) | private void UpdateEntryCountLabel(){
FILE: DS_Map/LibNDSFormats/EndianBinaryReader.cs
class EndianBinaryReader (line 21) | public sealed class EndianBinaryReader : IDisposable {
method EndianBinaryReader (line 31) | public EndianBinaryReader(Stream baseStream)
method EndianBinaryReader (line 34) | public EndianBinaryReader(Stream baseStream, Endianness endianness) {
method FillBuffer (line 46) | private void FillBuffer(int bytes, int stride) {
method ReadByte (line 58) | public byte ReadByte() {
method ReadBytes (line 64) | public byte[] ReadBytes(int count) {
method ReadSByte (line 73) | public sbyte ReadSByte() {
method ReadSBytes (line 81) | public sbyte[] ReadSBytes(int count) {
method ReadChar (line 96) | public char ReadChar(Encoding encoding) {
method ReadChars (line 104) | public char[] ReadChars(Encoding encoding, int count) {
method GetEncodingSize (line 112) | private static int GetEncodingSize(Encoding encoding) {
method ReadStringNT (line 121) | public string ReadStringNT(Encoding encoding) {
method ReadString (line 133) | public string ReadString(Encoding encoding, int count) {
method ReadDouble (line 137) | public double ReadDouble() {
method ReadDoubles (line 143) | public double[] ReadDoubles(int count) {
method ReadSingle (line 156) | public Single ReadSingle() {
method ReadSingles (line 162) | public Single[] ReadSingles(int count) {
method ReadInt32 (line 175) | public Int32 ReadInt32() {
method ReadInt32s (line 181) | public Int32[] ReadInt32s(int count) {
method ReadInt64 (line 194) | public Int64 ReadInt64() {
method ReadInt64s (line 200) | public Int64[] ReadInt64s(int count) {
method ReadInt16 (line 213) | public Int16 ReadInt16() {
method ReadInt16s (line 219) | public Int16[] ReadInt16s(int count) {
method ReadUInt16 (line 232) | public ushort ReadUInt16() {
method ReadUInt16s (line 238) | public ushort[] ReadUInt16s(int count) {
method ReadUInt32 (line 251) | public UInt32 ReadUInt32() {
method ReadUInt32s (line 257) | public UInt32[] ReadUInt32s(int count) {
method ReadUInt64 (line 270) | public UInt64 ReadUInt64() {
method ReadUInt64s (line 276) | public UInt64[] ReadUInt64s(int count) {
method Close (line 289) | public void Close() {
method Dispose (line 293) | public void Dispose() {
method Dispose (line 298) | private void Dispose(bool disposing) {
type Endianness (line 313) | public enum Endianness {
FILE: DS_Map/LibNDSFormats/Export3DTools/Face.cs
class Face (line 5) | public class Face
FILE: DS_Map/LibNDSFormats/Export3DTools/Group.cs
class Group (line 7) | public class Group
method Add (line 11) | public void Add(Polygon g)
method GetEnumerator (line 16) | public IEnumerator<Polygon> GetEnumerator()
FILE: DS_Map/LibNDSFormats/Export3DTools/OBJWriter.cs
class OBJWriter (line 7) | public class OBJWriter
method AddTriangle (line 13) | public void AddTriangle(Vector3[] Vertice)
method AddTriangle (line 18) | public void AddTriangle(Vector3[] Vertice, Vector2 TexCoord)
method AddTriangle (line 24) | public void AddTriangle(Vector3[] Vertice, Vector3 Normal)
method AddTriangle (line 30) | public void AddTriangle(Vector3[] Vertice, Vector2 TexCoord, Vector3 N...
FILE: DS_Map/LibNDSFormats/Export3DTools/Polygon.cs
class Polygon (line 6) | public class Polygon
method Polygon (line 13) | public Polygon(PolygonType PolyType, Vector3[] Normals, Vector2[] TexC...
FILE: DS_Map/LibNDSFormats/Export3DTools/PolygonType.cs
type PolygonType (line 5) | public enum PolygonType
FILE: DS_Map/LibNDSFormats/Export3DTools/Quad.cs
class Quad (line 6) | public class Quad : Face
FILE: DS_Map/LibNDSFormats/Export3DTools/QuadStrip.cs
class QuadStrip (line 7) | public class QuadStrip : Face
FILE: DS_Map/LibNDSFormats/Export3DTools/Triangle.cs
class Triangle (line 6) | public class Triangle : Face
FILE: DS_Map/LibNDSFormats/Export3DTools/TriangleStrip.cs
class TriangleStrip (line 7) | public class TriangleStrip : Face
FILE: DS_Map/LibNDSFormats/Helper.cs
class Helper (line 9) | static class Helper {
method ColorToBGR15 (line 10) | public static ushort ColorToBGR15(Color color) {
method BGR15ToColor (line 17) | public static Color BGR15ToColor(ushort bgr15) {
method BlendColorsBGR15 (line 24) | public static ushort BlendColorsBGR15(ushort c1, int w1, ushort c2, in...
method VectorsEqual (line 38) | public static bool VectorsEqual(Vector3 a, Vector3 b) {
FILE: DS_Map/LibNDSFormats/NSBCA/NSBCA.cs
class NSBCA (line 8) | public class NSBCA {
type NSBCA_File (line 9) | public struct NSBCA_File {
type header (line 11) | public struct header {
type jnt0 (line 20) | public struct jnt0 //Scale Rotation and Translation
type UnknownBlock (line 32) | public struct UnknownBlock {
type Info (line 40) | public struct Info {
type info (line 46) | public struct info {
type J_AC (line 52) | public struct J_AC {
type objInfo (line 66) | public struct objInfo {
method Read (line 205) | public static NSBCA_File Read(string Filename) {
FILE: DS_Map/LibNDSFormats/NSBCA/NSBCALoader.cs
class NSBCALoader (line 12) | public static class NSBCALoader {
method LoadNsbca (line 22) | public static IEnumerable<NSBMDAnimation> LoadNsbca(Stream stream) {
method LoadNsbca (line 53) | public static IEnumerable<NSBMDAnimation> LoadNsbca(FileInfo fileInfo) {
method ReadJnt0 (line 66) | public static IEnumerable<NSBMDAnimation> ReadJnt0(Stream stream, int ...
method getdword (line 182) | static Int32 getdword(byte[] b) {
method getword (line 190) | static Int32 getword(byte[] b) {
FILE: DS_Map/LibNDSFormats/NSBMD/MTX44.cs
class MTX44 (line 11) | internal class MTX44 {
method SetValues (line 33) | public void SetValues(float[] array) {
method Clone (line 64) | public MTX44 Clone() {
method translate (line 72) | public void translate(float x, float y, float z) {
method LoadIdentity (line 84) | public void LoadIdentity() {
method MultMatrix (line 97) | public MTX44 MultMatrix(MTX44 b) {
method mtx_Rotate (line 112) | public static MTX44 mtx_Rotate(int pivot, int neg, float a, float b) {
method MultVector (line 266) | public float[] MultVector(float[] v) {
method MTX44 (line 289) | public MTX44() {
method Scale (line 299) | public void Scale(float x, float y, float z) {
method Zero (line 313) | public void Zero() {
method CopyValuesTo (line 323) | public void CopyValuesTo(MTX44 m) {
FILE: DS_Map/LibNDSFormats/NSBMD/NSBMD.cs
class NSBMD (line 15) | public class NSBMD {
method MatchTextures (line 50) | public void MatchTextures() {
method MatchTextures_org (line 107) | public void MatchTextures_org() {
method ClearTextures (line 216) | public void ClearTextures() {
method DecodeCode (line 226) | public static bool DecodeCode(Stream stream, uint codeoffset, uint cod...
method ReadMdl0 (line 406) | private static NSBMDModel[] ReadMdl0(Stream stream, int blockoffset) {
method getFixed (line 808) | public static float getFixed(int value, int sign, int var, int frac) {
method GetSizeOfObject (line 817) | public static int GetSizeOfObject(object obj) {
method ParseNsbmdObject (line 833) | private static void ParseNsbmdObject(EndianBinaryReader reader, NSBMDO...
method mtxPivot (line 909) | public static float[] mtxPivot(float[] ab, int pv, int neg) {
method getdword (line 1058) | static Int32 getdword(byte[] b) {
method getword (line 1066) | static Int32 getword(byte[] b) {
method FromStream (line 1075) | internal static NSBMD FromStream(Stream stream) {
type RGBA (line 1138) | public struct RGBA {
method fromColor (line 1151) | public static RGBA fromColor(System.Drawing.Color c) {
method ToColor (line 1197) | public Color ToColor() {
FILE: DS_Map/LibNDSFormats/NSBMD/NSBMDAnimation.cs
class NSBMDAnimation (line 11) | public class NSBMDAnimation
FILE: DS_Map/LibNDSFormats/NSBMD/NSBMDGlRenderer.cs
class NSBMDGlRenderer (line 19) | public class NSBMDGlRenderer {
method NSBMDGlRenderer (line 68) | public NSBMDGlRenderer() {
method NSBMDGlRenderer (line 77) | public NSBMDGlRenderer(int matstart) {
type RenderMode (line 109) | public enum RenderMode {
method Rotate (line 114) | public static float[] Rotate(float[] a, float x, float y, float z) {
method RenderModel (line 134) | public void RenderModel(string file2, MKDS_Course_Editor.NSBTA.NSBTA.N...
method RenderModel (line 137) | public void RenderModel(string file2, MKDS_Course_Editor.NSBTA.NSBTA.N...
method RenderModel (line 163) | public void RenderModel(string file2, MKDS_Course_Editor.NSBTA.NSBTA.N...
method RenderModel (line 478) | public void RenderModel(float elev, float ang) {
method DoJointAnimation (line 646) | public bool DoJointAnimation(MKDS_Course_Editor.NSBCA.NSBCA.NSBCA_File...
method Translate (line 878) | public static float[] Translate(float[] a, float x, float y, float z) {
method loadIdentity (line 885) | public static float[] loadIdentity() {
method scale (line 893) | public static float[] scale(float[] a, float x, float y, float z) {
method setColor (line 901) | private void setColor(int drawMode, float[] color) {
method multMatrix (line 999) | public static float[] multMatrix(float[] a, float[] b) {
method loadMatrix (line 1013) | public static float[] loadMatrix(float[] fmatrix, int stack) {
method pullVector (line 1025) | public float[] pullVector(float[] fmatrix, int offset) {
method multVector (line 1035) | public float[] multVector(float[] cmatrix, float[] vtxState) {
method convert_4x4texel (line 1053) | private bool convert_4x4texel(uint[] tex, int width, int height, ushor...
method convert_4x4texel_b (line 1127) | private void convert_4x4texel_b(byte[] tex, int width, int height, byt...
method MakeTexture (line 1143) | private void MakeTexture(NSBMDModel mod) {
method MakeTexture (line 1345) | private void MakeTexture(int i, NSBMDMaterial m) {
method DeleteObject (line 1492) | [System.Runtime.InteropServices.DllImport("gdi32.dll")]
method CreateBitmapSourceFromBitmap (line 1495) | public static System.Windows.Media.Imaging.BitmapSource CreateBitmapSo...
method Bitmap2BitmapImage (line 1512) | private System.Windows.Media.Imaging.BitmapImage Bitmap2BitmapImage(Sy...
method Process3DCommand (line 1526) | private void Process3DCommand(byte[] polydata, NSBMDMaterial m, int jo...
method Sign (line 2284) | public static int Sign(int data, int size) {
method ClearOBJ (line 2294) | public void ClearOBJ() {
method RipModel (line 2298) | public void RipModel(string file) {
method Process3DCommandRipper (line 2488) | private Group Process3DCommandRipper(byte[] polydata, NSBMDMaterial m,...
FILE: DS_Map/LibNDSFormats/NSBMD/NSBMDLoader.cs
class NSBMDLoader (line 11) | public static class NSBMDLoader
method LoadNSBMD (line 18) | public static NSBMD LoadNSBMD(Stream stream)
FILE: DS_Map/LibNDSFormats/NSBMD/NSBMDMaterial.cs
class NSBMDMaterial (line 10) | public class NSBMDMaterial
method CopyTo (line 61) | public NSBMDMaterial CopyTo(NSBMDMaterial other1)
FILE: DS_Map/LibNDSFormats/NSBMD/NSBMDModel.cs
class NSBMDModel (line 11) | public class NSBMDModel
FILE: DS_Map/LibNDSFormats/NSBMD/NSBMDObject.cs
class NSBMDObject (line 12) | public class NSBMDObject
FILE: DS_Map/LibNDSFormats/NSBMD/NSBMDPalette.cs
class NSBMDPalette (line 8) | public class NSBMDPalette
FILE: DS_Map/LibNDSFormats/NSBMD/NSBMDPolygon.cs
class NSBMDPolygon (line 11) | public class NSBMDPolygon
FILE: DS_Map/LibNDSFormats/NSBMD/NSBMDTexture.cs
class NSBMDTexture (line 8) | public class NSBMDTexture
FILE: DS_Map/LibNDSFormats/NSBTA.cs
class NSBTA (line 9) | public class NSBTA {
type NSBTA_File (line 10) | public struct NSBTA_File {
type header (line 12) | public struct header {
type srt0 (line 21) | public struct srt0 //Scale Rotation and Translation
type UnknownBlock (line 33) | public struct UnknownBlock {
type Info (line 41) | public struct Info {
type info (line 47) | public struct info {
type M_AT (line 53) | public struct M_AT {
type UnknownBlock (line 66) | public struct UnknownBlock {
type Info (line 74) | public struct Info {
type info (line 80) | public struct info {
type srtData (line 90) | public struct srtData {
method Read (line 99) | public static NSBTA_File Read(string Filename) {
FILE: DS_Map/LibNDSFormats/NSBTP.cs
class NSBTP (line 9) | public class NSBTP {
type NSBTP_File (line 10) | public struct NSBTP_File {
type header (line 12) | public struct header {
type pat0 (line 21) | public struct pat0 //Scale Rotation and Translation
type UnknownBlock (line 33) | public struct UnknownBlock {
type Info (line 41) | public struct Info {
type info (line 47) | public struct info {
type M_PT (line 53) | public struct M_PT {
type UnknownBlock (line 68) | public struct UnknownBlock {
type Info (line 76) | public struct Info {
type info (line 83) | public struct info {
type animData (line 91) | public struct animData {
type keyFrame (line 93) | public struct keyFrame {
method Read (line 102) | public static NSBTP_File Read(string Filename) {
FILE: DS_Map/LibNDSFormats/NSBTX/File.cs
class File (line 25) | public class File : IComparable
method File (line 63) | public File(Filesystem parent, Directory parentDir, string name)
method File (line 73) | public File(Filesystem parent, Directory parentDir, bool systemFile, i...
method File (line 87) | public File(Filesystem parent, Directory parentDir, bool systemFile, i...
method File (line 102) | public File(Filesystem parent, Directory parentDir, bool systemFile, i...
method getContents (line 114) | public virtual byte[] getContents()
method dumpFile (line 123) | public void dumpFile(int ind)
method refreshOffsets (line 131) | public virtual void refreshOffsets()
method saveOffsets (line 146) | public virtual void saveOffsets()
method getUintAt (line 158) | public uint getUintAt(int offset)
method setUintAt (line 173) | public void setUintAt(int offset, uint val)
method getUshortAt (line 186) | public ushort getUshortAt(int offset)
method setUshortAt (line 202) | public void setUshortAt(int offset, ushort val)
method getByteAt (line 215) | public byte getByteAt(int offs)
method setByteAt (line 225) | public void setByteAt(int offs, byte val)
method isAGoodEditor (line 234) | public bool isAGoodEditor(object editor)
method replace (line 247) | public virtual void replace(byte[] newFile, object editor)
method moveTo (line 300) | public void moveTo(int newOffs)
method CompareTo (line 311) | public int CompareTo(object obj)
method beginEdit (line 319) | public virtual void beginEdit(Object editor)
method endEdit (line 327) | public virtual void endEdit(Object editor)
method beingEditedBy (line 337) | public bool beingEditedBy(Object ed)
method isAddrInFile (line 343) | public bool isAddrInFile(int addr)
method beginEditInline (line 350) | public void beginEditInline(InlineFile f)
method endEditInline (line 358) | public void endEditInline(InlineFile f)
method enableEdition (line 369) | public virtual void enableEdition() { }
method getPath (line 372) | public string getPath()
FILE: DS_Map/LibNDSFormats/NSBTX/Filepallete.cs
class FilePalette (line 9) | public class FilePalette : Palette
method FilePalette (line 14) | public FilePalette(File f)
method FilePalette (line 19) | public FilePalette(File f, string name)
method arrayToPalette (line 32) | public static Color[] arrayToPalette(byte[] data)
method save (line 43) | public override void save()
method getRawData (line 52) | public override byte[] getRawData()
method close (line 62) | public override void close()
method ToString (line 67) | public override string ToString()
FILE: DS_Map/LibNDSFormats/NSBTX/NSBTXLoader.cs
class NSBTXLoader (line 16) | public static class NSBTXLoader
method LoadNsbtx (line 28) | public static IEnumerable<NSBMDMaterial> LoadNsbtx(Stream stream, out ...
method LoadNsbtx (line 66) | public static IEnumerable<NSBMDMaterial> LoadNsbtx(FileInfo fileInfo, ...
method ReadTex0 (line 83) | public static IEnumerable<NSBMDMaterial> ReadTex0(Stream stream, int b...
FILE: DS_Map/LibNDSFormats/NSBTX/Rom.cs
class ROM (line 53) | public static class ROM
method LoadDescriptions (line 122) | public static void LoadDescriptions()
type Origin (line 158) | public enum Origin
type Data (line 165) | public enum Data : int
method GetFileIDFromTable (line 215) | public static ushort GetFileIDFromTable(int id, Data datatype)
method GetFileIDFromTable (line 220) | public static ushort GetFileIDFromTable(int id, int tableoffset)
method GetClassIDFromTable (line 226) | public static ushort GetClassIDFromTable(int id)
method SetFileIDFromTable (line 232) | public static void SetFileIDFromTable(int id, Data datatype, ushort fid)
method getDataForSprite (line 237) | public static string getDataForSprite(int id)
method SetFileIDFromTable (line 248) | public static void SetFileIDFromTable(int id, int tableoffset, ushort ...
method GetOffset (line 256) | public static int GetOffset(Data datatype)
method GetInlineFile (line 261) | public static byte[] GetInlineFile(Data datatype)
method decompressOverlay (line 274) | public static byte[] decompressOverlay(byte[] sourcedata)
method SubS (line 350) | private static void SubS(out uint dest, uint v1, uint v2, out bool N, ...
method Search (line 357) | static private unsafe int[] Search(byte* source, int position, int len...
method LZ77_Compress (line 399) | static public unsafe byte[] LZ77_Compress(byte[] source, bool header =...
method Compress (line 407) | static public unsafe byte[] Compress(byte* source, int lenght, bool he...
method LZ77_FastCompress (line 460) | public static byte[] LZ77_FastCompress(byte[] source)
method LZ77_Decompress (line 491) | public static byte[] LZ77_Decompress(byte[] source)
method LZ77_DecompressWithHeader (line 554) | public static byte[] LZ77_DecompressWithHeader(byte[] source)
method CalcCRC16 (line 653) | public static ushort CalcCRC16(byte[] data)
FILE: DS_Map/LibNDSFormats/NSBTX/bytearrayinputstream.cs
class ByteArrayInputStream (line 24) | public class ByteArrayInputStream
method ByteArrayInputStream (line 30) | public ByteArrayInputStream(byte[] array)
method setOrigin (line 36) | public void setOrigin(uint o)
method savePos (line 41) | public void savePos()
method loadPos (line 46) | public void loadPos()
method lengthAvailable (line 59) | public bool lengthAvailable(int len)
method readByte (line 64) | public byte readByte()
method dumpAsciiData (line 69) | public void dumpAsciiData()
method write (line 79) | public void write(byte[] data)
method writeByte (line 85) | public void writeByte(byte b)
method seek (line 90) | public void seek(uint pos)
method seek (line 94) | public void seek(int pos)
method skip (line 99) | public void skip(uint bytes)
method getData (line 104) | public byte[] getData()
method skipback (line 108) | public void skipback(uint bytes)
method getPos (line 114) | public uint getPos()
method ReadUInt16 (line 119) | public ushort ReadUInt16()
method readUInt (line 125) | public uint readUInt()
method readInt (line 134) | public int readInt()
method readLong (line 144) | public long readLong()
method read (line 154) | public void read(byte[] dest)
method end (line 160) | public bool end()
method ReadString (line 165) | public string ReadString(int l)
FILE: DS_Map/LibNDSFormats/NSBTX/directory.cs
class Directory (line 24) | public class Directory
method Directory (line 43) | public Directory(Filesystem parent, Directory parentDir, bool system, ...
method dumpFiles (line 52) | public void dumpFiles()
method dumpFiles (line 57) | public void dumpFiles(int ind)
method getPath (line 68) | public string getPath()
FILE: DS_Map/LibNDSFormats/NSBTX/externalfilesystemsource.cs
class ExternalFilesystemSource (line 25) | public class ExternalFilesystemSource : FilesystemSource
method ExternalFilesystemSource (line 29) | public ExternalFilesystemSource(string n)
method load (line 34) | public override Stream load()
method save (line 40) | public override void save()
method close (line 46) | public override void close()
method getDescription (line 51) | public override string getDescription()
FILE: DS_Map/LibNDSFormats/NSBTX/filesystem2.cs
class Filesystem (line 25) | public class Filesystem
method Filesystem (line 41) | public Filesystem(FilesystemSource fs)
method getFileById (line 47) | public File getFileById(int id)
method getFileByName (line 54) | public File getFileByName(string name)
method getDirByPath (line 63) | public Directory getDirByPath(string path)
method addFile (line 83) | protected void addFile(File f)
method addDir (line 93) | protected void addDir(Directory d)
method findFreeSpace (line 102) | public int findFreeSpace(int len, int align)
method findErrors (line 142) | public bool findErrors()
method close (line 163) | public void close()
method save (line 168) | public void save()
method dumpFilesOrdered (line 173) | public void dumpFilesOrdered(TextWriter outs)
method fileMoved (line 180) | public virtual void fileMoved(File f)
method getFilesystemEnd (line 184) | public int getFilesystemEnd()
method readUInt (line 194) | public uint readUInt(Stream s)
method moveAllFiles (line 205) | public void moveAllFiles(File first, int firstOffs)
FILE: DS_Map/LibNDSFormats/NSBTX/filesystemsource.cs
class FilesystemSource (line 25) | public abstract class FilesystemSource
method load (line 29) | public abstract Stream load();
method save (line 30) | public abstract void save();
method close (line 31) | public abstract void close();
method getDescription (line 32) | public abstract string getDescription();
FILE: DS_Map/LibNDSFormats/NSBTX/image3d.cs
class Image3D (line 8) | public class Image3D : PixelPalettedImage
method Image3D (line 34) | public Image3D(InlineFile f, bool color0, int width, int height, int f...
method getPixelVal (line 47) | private int getPixelVal(int x, int y)
method setPixelVal (line 69) | private void setPixelVal(int x, int y, int v)
method getPixel (line 97) | public override int getPixel(int x, int y)
method setPixel (line 107) | public override void setPixel(int x, int y, int c)
method getWidth (line 125) | public override int getWidth()
method getHeight (line 130) | public override int getHeight()
method getRawData (line 135) | public override byte[] getRawData()
method getRawData5 (line 139) | public override byte[] getRawData5()
method setRawData (line 143) | public override void setRawData(byte[] data)
method save (line 148) | public override void save()
method close (line 153) | public override void close()
method ToString (line 159) | public override string ToString()
FILE: DS_Map/LibNDSFormats/NSBTX/image3dformat5.cs
class Image3Dformat5 (line 10) | public class Image3Dformat5 : PalettedImage
method Image3Dformat5 (line 19) | public Image3Dformat5(InlineFile f, InlineFile f5, int width, int height)
method getWidth (line 34) | public override int getWidth()
method getHeight (line 39) | public override int getHeight()
method render (line 44) | public override Bitmap render(Palette p)
method close (line 91) | public override void close()
method replaceWithPal (line 97) | public override void replaceWithPal(Bitmap b, Palette p)
method replaceImgAndPal (line 102) | public override void replaceImgAndPal(Bitmap b, Palette p)
method save (line 115) | public override void save()
method getRawData (line 120) | public override byte[] getRawData()
method getRawData5 (line 124) | public override byte[] getRawData5()
method setRawData (line 129) | public override void setRawData(byte[] data)
method ToString (line 133) | public override string ToString()
FILE: DS_Map/LibNDSFormats/NSBTX/imageindexer.cs
class ImageIndexer (line 36) | public class ImageIndexer {
method ImageIndexer (line 48) | public ImageIndexer(List<Bitmap> bl, bool useAlpha)
method ImageIndexer (line 52) | public ImageIndexer(List<Bitmap> bl)
method ImageIndexer (line 56) | public ImageIndexer(List<Bitmap> bl, int paletteCount, bool useAlpha, ...
method getTiledImageData (line 196) | public byte[] getTiledImageData() {
method getTiledImageDataPart (line 212) | public byte[] getTiledImageDataPart(int px, int py, int ptx, int pty) {
method previewImage (line 229) | public Bitmap previewImage(int i) {
method closestMultiColor (line 243) | private byte closestMultiColor(MultiColor mc) {
method split (line 260) | private void split(Box b) {
method median (line 290) | private byte median(List<byteint> values, int total) {
method getDominantBox (line 311) | private Box getDominantBox() {
method shrinkBox (line 325) | private Box shrinkBox(Box b) {
method reduce (line 348) | public static byte reduce(int c) {
class MultiColor (line 357) | private class MultiColor {
method MultiColor (line 361) | public MultiColor(int count) {
method setColor (line 367) | public void setColor(int i, Color c) {
method merge (line 382) | public void merge(MultiColor b) {
method getColor (line 391) | public Color getColor(int i) {
method allTransparent (line 396) | public bool allTransparent() {
method someTransparent (line 401) | public bool someTransparent() {
method calcHash (line 408) | public void calcHash() {
method GetHashCode (line 428) | public override int GetHashCode() {
method Equals (line 432) | public override bool Equals(object obj) {
method diff (line 446) | public float diff(MultiColor b) {
method removeAllTransparent (line 456) | internal void removeAllTransparent() {
class Box (line 465) | private class Box {
method Box (line 469) | public Box(byte[] min, byte[] max) {
method Box (line 474) | public Box(int count) {
method Box (line 483) | public Box(Box b) {
method inside (line 488) | public bool inside(MultiColor c) {
method dominantDimension (line 497) | public int dominantDimension(Dictionary<MultiColor, int> freqTable) {
method dominantDimensionNum (line 503) | public byte dominantDimensionNum(Dictionary<MultiColor, int> freqTab...
method setDimMin (line 516) | public void setDimMin(byte d, byte a) {
method setDimMax (line 520) | public void setDimMax(byte d, byte a) {
method canSplitInDim (line 525) | public bool canSplitInDim(int i, Dictionary<MultiColor, int> freqTab...
method canSplit (line 546) | public bool canSplit(Dictionary<MultiColor, int> freqTable) {
method canSplit2 (line 554) | public bool canSplit2(Dictionary<MultiColor, int> freqTable) {
method center (line 579) | public MultiColor center() {
method ToString (line 586) | public override string ToString() {
method arr2str (line 591) | private string arr2str(byte[] a) {
class byteint (line 599) | private class byteint : IComparable {
method byteint (line 602) | public byteint(byte b, int i) {
method CompareTo (line 607) | public int CompareTo(object obj) {
method ToString (line 619) | public override string ToString() {
method createPaletteForImage (line 629) | public static Color[] createPaletteForImage(Bitmap b) {
method createPaletteForImage (line 633) | public static Color[] createPaletteForImage(Bitmap b, int palLen) {
method createPaletteForImage (line 637) | public static Color[] createPaletteForImage(Bitmap b, int palLen, bool...
method indexImageWithPalette (line 646) | public static byte[] indexImageWithPalette(Bitmap b, Color[] palette) {
method indexImageWithPalette2 (line 669) | public static byte[] indexImageWithPalette2(Bitmap b, Color[] palette) {
method colorDifference (line 692) | public static float colorDifference(Color a, Color b) {
method colorDifferenceWithoutAlpha (line 706) | public static float colorDifferenceWithoutAlpha(Color a, Color b) {
method closest (line 719) | public static byte closest(Color c, Color[] palette) {
FILE: DS_Map/LibNDSFormats/NSBTX/imagetexeler.cs
class ImageTexeler (line 9) | public class ImageTexeler
method ImageTexeler (line 161) | public ImageTexeler(Bitmap img, int paletteMaxNum, ref System.Componen...
class LockBitmap (line 390) | public class LockBitmap
method LockBitmap (line 401) | public LockBitmap(Bitmap source)
method LockBits (line 409) | public void LockBits()
method UnlockBits (line 453) | public void UnlockBits()
method GetPixel (line 475) | public Color GetPixel(int x, int y)
method SetPixel (line 518) | public void SetPixel(int x, int y, Color color)
method contains (line 546) | public int contains(Color[][] c, Color[] a)
method transparentToTheEnd (line 580) | private void transparentToTheEnd(Color[] pal)
method calcPaletteDiffs (line 597) | public int calcPaletteDiffs(int pal)
method countUsedPalettes (line 616) | public int countUsedPalettes()
method palDif (line 626) | public float palDif(Color[] a, Color[] b)
method palDifUni (line 631) | public float palDifUni(Color[] a, Color[] b)
method palMerge (line 665) | public Color[] palMerge(Color[] a, Color[] b)
method getClosestColor (line 726) | public int getClosestColor(Color c, Color[] pal)
method getClosestColorWithAlpha (line 743) | public int getClosestColorWithAlpha(Color c, Color[] pal)
FILE: DS_Map/LibNDSFormats/NSBTX/imagetiler.cs
class ImageTiler (line 26) | class ImageTiler
method ImageTiler (line 38) | public ImageTiler(Bitmap b, int tilenr)
method mergeTiles (line 182) | private void mergeTiles(int t1, int t2)
method countUsedTiles (line 196) | private int countUsedTiles()
method fillDiffs (line 212) | private int fillDiffs(int tile)
method colorDifference (line 233) | private static float colorDifference(Color a, Color b)
method colorMatrixDiff (line 249) | private static float colorMatrixDiff(Color[,] a, Color[,] b)
method colorMatrixBorderDiff (line 260) | private static float colorMatrixBorderDiff(Color[,] a, Color[,] b)
method colorMatrixReduce (line 275) | private static Color[,] colorMatrixReduce(Color[,] m)
method mean (line 288) | private static int mean(int a, int b, int wa, int wb)
method colorMean (line 293) | public static Color colorMean(Color a, Color b, int wa, int wb)
class TileDiff (line 303) | private class TileDiff : IComparable<TileDiff>
method CompareTo (line 308) | public int CompareTo(TileDiff t)
class Tile (line 315) | private class Tile
method Tile (line 320) | public Tile(Bitmap b, int xp, int yp)
method makeReductions (line 335) | private void makeReductions()
method difference (line 340) | public float difference(Tile b)
method merge (line 350) | public void merge(Tile b)
FILE: DS_Map/LibNDSFormats/NSBTX/inlinefile.cs
class InlineFile (line 7) | public class InlineFile : File
type CompressionType (line 14) | public enum CompressionType : int
method InlineFile (line 21) | public InlineFile(File parent, int offs, int len, string name, Directo...
method InlineFile (line 27) | public InlineFile(File parent, int offs, int len, string name, Directo...
method getContents (line 39) | public override byte[] getContents()
method replace (line 55) | public override void replace(byte[] newFile, object editor)
method beginEdit (line 73) | public override void beginEdit(object editor)
method endEdit (line 79) | public override void endEdit(object editor)
method refreshOffsets (line 85) | public override void refreshOffsets()
method saveOffsets (line 91) | public override void saveOffsets()
method enableEdition (line 95) | public override void enableEdition()
FILE: DS_Map/LibNDSFormats/NSBTX/nsbmetileset.cs
class NSMBTileset (line 147) | public class NSMBTileset
method toRGB15 (line 350) | public static ushort toRGB15(Color c)
method fromRGB15 (line 364) | public static Color fromRGB15(ushort c)
method paletteToRawData (line 372) | public static byte[] paletteToRawData(Color[] pal)
class ObjectDef (line 665) | public class ObjectDef
method ObjectDef (line 672) | public ObjectDef(NSMBTileset t)
method save (line 706) | public void save(ByteArrayOutputStream outp)
class ObjectDefTile (line 718) | public class ObjectDefTile
method ObjectDefTile (line 749) | public ObjectDefTile(NSMBTileset t) { this.t = t; }
method write (line 770) | public void write(ByteArrayOutputStream outp)
FILE: DS_Map/LibNDSFormats/NSBTX/nsbtx.cs
class NSBTX (line 30) | public class NSBTX {
method NSBTX (line 45) | public NSBTX(DSFileSystem.File f)
method close (line 207) | public void close() {
method save (line 211) | public byte[] save() {
class PaletteDef (line 216) | public class PaletteDef : IComparable<PaletteDef> {
method CompareTo (line 220) | public int CompareTo(PaletteDef b) {
class NSBTX_File (line 225) | public class NSBTX_File {
type TextureFormat (line 226) | public enum TextureFormat : byte {
type Header (line 240) | public struct Header {
type TextureInformation (line 249) | public struct TextureInformation {
type CompressedTextureInformation (line 256) | public struct CompressedTextureInformation {
type PaletteInformation (line 264) | public struct PaletteInformation {
type TEX0 (line 272) | public struct TEX0 {
type UnknownBlock (line 278) | public struct UnknownBlock {
type TexInfo_Master (line 286) | public struct TexInfo_Master {
type Info (line 294) | public struct Info {
type TexInfo (line 295) | public struct TexInfo {
type PalInfo_Master (line 327) | public struct PalInfo_Master {
type Info (line 334) | public struct Info {
type PalInfo (line 335) | public struct PalInfo {
method NSBTX_File (line 350) | public NSBTX_File(FileStream f) {
method GetBitmap (line 549) | public (Bitmap bmp, int ctrlCode) GetBitmap(int imageIndex, int palInd...
method ToByteArray (line 665) | public byte[] ToByteArray() {
method convert_4x4texel (line 803) | public bool convert_4x4texel(uint[] tex, int width, int height, ushort...
method convert_4x4texel_b (line 884) | public void convert_4x4texel_b(byte[] tex, int width, int height, byte...
method AnalyzeRepetitions (line 899) | internal HashSet<(byte f1, byte f2)> AnalyzeRepetitions() {
class DupFrameHashSetComparer (line 918) | public class DupFrameHashSetComparer : IEqualityComparer<HashSet<(byte...
method Equals (line 921) | public bool Equals(HashSet<(byte f1, byte f2)> x, HashSet<(byte f1, ...
method GetHashCode (line 925) | public int GetHashCode(HashSet<(byte f1, byte f2)> obj) {
FILE: DS_Map/LibNDSFormats/NSBTX/palettedimage.cs
class PalettedImage (line 5) | public abstract class PalettedImage
method render (line 9) | public abstract Bitmap render(Palette p);
method replaceWithPal (line 10) | public abstract void replaceWithPal(Bitmap b, Palette p);
method replaceImgAndPal (line 11) | public abstract void replaceImgAndPal(Bitmap b, Palette p);
method supportsReplaceWithPal (line 12) | public bool supportsReplaceWithPal() { return true; }
method save (line 13) | public abstract void save();
method getWidth (line 14) | public abstract int getWidth();
method getHeight (line 15) | public abstract int getHeight();
method close (line 16) | public abstract void close();
method getRawData (line 24) | public abstract byte[] getRawData();
method getRawData5 (line 25) | public abstract byte[] getRawData5();
method setRawData (line 26) | public abstract void setRawData(byte[] data);
FILE: DS_Map/LibNDSFormats/NSBTX/pallete2.cs
class Palette (line 8) | public abstract class Palette
method save (line 12) | public abstract void save();
method getRawData (line 13) | public abstract byte[] getRawData();
method close (line 14) | public abstract void close();
method getClosestColor (line 16) | public int getClosestColor(Color c)
method getColorSafe (line 37) | public Color getColorSafe(int ind)
FILE: DS_Map/LibNDSFormats/NSBTX/pixelpalletedimage.cs
class PixelPalettedImage (line 8) | public abstract class PixelPalettedImage : PalettedImage
method replaceImgAndPal (line 10) | public override void replaceImgAndPal(Bitmap b, Palette p)
method replaceWithPal (line 16) | public override void replaceWithPal(Bitmap b, Palette p)
method render (line 29) | public override Bitmap render(Palette p)
method setPixelData (line 46) | public void setPixelData(byte[,] a, int xx, int yy)
method setPixelData (line 58) | public void setPixelData(int[,] a, int xx, int yy)
method setPixel (line 70) | public abstract void setPixel(int x, int y, int c);
method getPixel (line 71) | public abstract int getPixel(int x, int y);
FILE: DS_Map/LibNDSFormats/StreamExt.cs
class StreamExt (line 24) | static class StreamExt {
method GetRemainingLength (line 32) | public static long GetRemainingLength(this Stream stream) {
method Skip (line 40) | public static void Skip(this Stream stream, long skipCount) {
method Skip (line 48) | public static void Skip(this Stream stream, uint skipCount) {
FILE: DS_Map/LibNDSFormats/Utils.cs
class Utils (line 27) | public static class Utils {
method ReadNSBMDString (line 37) | public static string ReadNSBMDString(EndianBinaryReader reader) {
method Read2BytesAsushort (line 50) | public static ushort Read2BytesAsushort(byte[] bytes, int offset) {
method Read2BytesAsInt16 (line 63) | public static Int16 Read2BytesAsInt16(byte[] bytes, int offset) {
method Read3BytesAsInt24 (line 76) | public static int Read3BytesAsInt24(byte[] bytes, int offset) {
method Read4BytesAsInt32 (line 89) | public static int Read4BytesAsInt32(byte[] bytes, int offset) {
method Read4BytesAsFloat (line 101) | public static float Read4BytesAsFloat(byte[] bytes, int offset) {
method Read4BytesAsUInt32 (line 114) | public static UInt32 Read4BytesAsUInt32(byte[] bytes, int offset) {
FILE: DS_Map/LibNDSFormats/bytearrayoutputstream.cs
class ByteArrayOutputStream (line 23) | public class ByteArrayOutputStream {
method ByteArrayOutputStream (line 30) | public ByteArrayOutputStream() {
method getPos (line 33) | public int getPos() {
method getArray (line 37) | public byte[] getArray() {
method writeByte (line 43) | public void writeByte(byte b) {
method writeUShort (line 51) | public void writeUShort(ushort u) {
method writeUInt (line 55) | public void writeUInt(uint u) {
method writeInt (line 62) | public void writeInt(int i) {
method writeLong (line 66) | public void writeLong(long u) {
method align (line 77) | public void align(int m) {
method grow (line 82) | private void grow() {
method write (line 88) | public void write(byte[] ar) {
FILE: DS_Map/LibNDSFormats/convertir.cs
class Convertir (line 30) | public static class Convertir {
method BGR555ToColorArray (line 37) | public static Color[] BGR555ToColorArray(this byte[] bytes) {
method ColorArrayToBGR555 (line 45) | public static byte[] ColorArrayToBGR555(this Color[] palette) {
method ToBGR555 (line 55) | public static (byte b1, byte b2) ToBGR555(this Color c) {
method BGR555ToColor (line 65) | public static Color BGR555ToColor(byte byte1, byte byte2) {
method BytesToTiles_NoChanged (line 82) | public static byte[][] BytesToTiles_NoChanged(byte[] bytes, int tilesX...
method decodeColor (line 117) | public static int decodeColor(int value, nclr_e.CColorFormat format) {
method TilesToBytes (line 164) | public static byte[] TilesToBytes(byte[][] tiles) {
method BytesToTiles (line 179) | public static byte[][] BytesToTiles(byte[] bytes) {
method Bit4ToBit8 (line 201) | public static Byte[] Bit4ToBit8(byte[] bits4) {
method Bit8ToBit4 (line 219) | public static Byte[] Bit8ToBit4(byte[] bits8) {
method ModificarGif (line 240) | public static void ModificarGif(string gif, int delay, int loops) {
method CrearGif (line 303) | public static void CrearGif(string fout, Image[] frames, int delay, in...
FILE: DS_Map/LibNDSFormats/nclr_e.cs
class nclr_e (line 12) | public partial class nclr_e : Form {
method nclr_e (line 19) | public nclr_e(Color[] c, bool bpp8, uint unknown) {
method nclr_e (line 24) | public nclr_e() {
method decodeColor (line 27) | public int decodeColor(int value, CColorFormat format) {
method encodeColor (line 68) | public static int encodeColor(int value, CColorFormat format) {
class CColorFormat (line 119) | public class CColorFormat {
method CColorFormat (line 121) | public CColorFormat(String name, int id, int depth, int[] res) {
method ToString (line 128) | public override string ToString() {
method GetName (line 132) | public string GetName() {
method getId (line 136) | public int getId() {
method getDepth (line 140) | public int getDepth() {
method getResolution (line 144) | public int[] getResolution() {
method getWidth (line 148) | public int getWidth(int field) {
FILE: DS_Map/Main Window.Designer.cs
class MainProgram (line 3) | partial class MainProgram
method Dispose (line 14) | protected override void Dispose(bool disposing)
method InitializeComponent (line 29) | private void InitializeComponent()
FILE: DS_Map/Main Window.cs
class MainProgram (line 34) | public partial class MainProgram : Form {
method MainProgram (line 36) | public MainProgram() {
method MainProgram_FormClosing (line 69) | private void MainProgram_FormClosing(object sender, FormClosingEventAr...
method GetBuildingsList (line 75) | private string[] GetBuildingsList(bool interior) {
method GetTrainerNames (line 88) | private string[] GetTrainerNames() {
method PaintGameIcon (line 114) | private void PaintGameIcon(object sender, PaintEventArgs e) {
method updateBuildingListComboBox (line 209) | private void updateBuildingListComboBox(bool interior) {
method SetupTextEditor (line 220) | private void SetupTextEditor() {
method UnpackRomCheckUserChoice (line 240) | private int UnpackRomCheckUserChoice() {
method UnpackRom (line 265) | private bool UnpackRom(string ndsFileName) {
method GetDSPREVersion (line 296) | public string GetDSPREVersion() {
method romToolBoxToolStripMenuItem_Click (line 301) | private void romToolBoxToolStripMenuItem_Click(object sender, EventArg...
method UpdateItemComboBox (line 314) | private void UpdateItemComboBox(string[] itemNames) {
method scriptCommandsDatabaseToolStripButton_Click (line 325) | private void scriptCommandsDatabaseToolStripButton_Click(object sender...
method nsbmdExportTexButton_Click (line 328) | private void nsbmdExportTexButton_Click(object sender, EventArgs e) {
method nsbmdRemoveTexButton_Click (line 356) | private void nsbmdRemoveTexButton_Click(object sender, EventArgs e) {
method nsbmdAddTexButton_Click (line 400) | private void nsbmdAddTexButton_Click(object sender, EventArgs e) {
method OpenCommandsDatabase (line 446) | private void OpenCommandsDatabase(Dictionary<ushort, string> namesDict...
method headerSearchToolStripButton_Click (line 454) | private void headerSearchToolStripButton_Click(object sender, EventArg...
method advancedHeaderSearchToolStripMenuItem_Click (line 460) | private void advancedHeaderSearchToolStripMenuItem_Click(object sender...
method buildingEditorButton_Click (line 463) | private void buildingEditorButton_Click(object sender, EventArgs e) {
method unpackBuildingEditorNARCs (line 469) | private void unpackBuildingEditorNARCs(bool forceUnpack = false) {
method aboutToolStripMenuItem_Click (line 504) | private void aboutToolStripMenuItem_Click(object sender, EventArgs e) {
method loadRom_Click (line 514) | private void loadRom_Click(object sender, EventArgs e) {
method CheckROMLanguage (line 585) | private void CheckROMLanguage() {
method readDataFromFolderButton_Click (line 601) | private void readDataFromFolderButton_Click(object sender, EventArgs e) {
method SetupROMLanguage (line 631) | private void SetupROMLanguage(string headerPath) {
method ReadROMInitData (line 639) | private void ReadROMInitData() {
method saveRom_Click (line 688) | private void saveRom_Click(object sender, EventArgs e) {
method unpackAllButton_Click (line 760) | private void unpackAllButton_Click(object sender, EventArgs e) {
method updateMapNarcsButton_Click (line 794) | private void updateMapNarcsButton_Click(object sender, EventArgs e) {
method diamondAndPearlToolStripMenuItem_Click (line 815) | private void diamondAndPearlToolStripMenuItem_Click(object sender, Eve...
method platinumToolStripMenuItem_Click (line 819) | private void platinumToolStripMenuItem_Click(object sender, EventArgs ...
method heartGoldAndSoulSilverToolStripMenuItem_Click (line 823) | private void heartGoldAndSoulSilverToolStripMenuItem_Click(object send...
method mainTabControl_SelectedIndexChanged (line 827) | private void mainTabControl_SelectedIndexChanged(object sender, EventA...
method tabPageScriptEditor_Enter (line 882) | private void tabPageScriptEditor_Enter(object sender, EventArgs e) {
method tabPageLevelScriptEditor_Enter (line 886) | private void tabPageLevelScriptEditor_Enter(object sender, EventArgs e) {
method tabPageEncountersEditor_Enter (line 890) | private void tabPageEncountersEditor_Enter(object sender, EventArgs e) {
method spawnEditorToolStripButton_Click (line 894) | private void spawnEditorToolStripButton_Click(object sender, EventArgs...
method spawnEditorToolStripMenuItem_Click (line 902) | private void spawnEditorToolStripMenuItem_Click(object sender, EventAr...
method wildEditorButton_Click (line 905) | private void wildEditorButton_Click(object sender, EventArgs e) {
method openWildEditorWithIdButtonClick (line 908) | private void openWildEditorWithIdButtonClick(object sender, EventArgs ...
method openWildEditor (line 911) | private void openWildEditor(bool loadCurrent) {
method SetupHeaderEditor (line 945) | private void SetupHeaderEditor() {
method addHeaderBTN_Click (line 1043) | private void addHeaderBTN_Click(object sender, EventArgs e) {
method removeLastHeaderBTN_Click (line 1061) | private void removeLastHeaderBTN_Click(object sender, EventArgs e) {
method areaDataUpDown_ValueChanged (line 1084) | private void areaDataUpDown_ValueChanged(object sender, EventArgs e) {
method internalNameBox_TextChanged (line 1090) | private void internalNameBox_TextChanged(object sender, EventArgs e) {
method areaIconComboBox_SelectedIndexChanged (line 1101) | private void areaIconComboBox_SelectedIndexChanged(object sender, Even...
method eventFileUpDown_ValueChanged (line 1122) | private void eventFileUpDown_ValueChanged(object sender, EventArgs e) {
method battleBackgroundUpDown_ValueChanged (line 1128) | private void battleBackgroundUpDown_ValueChanged(object sender, EventA...
method followModeComboBox_SelectedIndexChanged (line 1131) | private void followModeComboBox_SelectedIndexChanged(object sender, Ev...
method kantoRadioButton_CheckedChanged (line 1142) | private void kantoRadioButton_CheckedChanged(object sender, EventArgs ...
method headerFlagsCheckBoxes_CheckedChanged (line 1151) | private void headerFlagsCheckBoxes_CheckedChanged(object sender, Event...
method headerListBox_SelectedValueChanged (line 1179) | private void headerListBox_SelectedValueChanged(object sender, EventAr...
method RefreshHeaderEditorFields (line 1199) | private void RefreshHeaderEditorFields() {
method RefreshFlags (line 1263) | private void RefreshFlags() {
method eventsTabControl_SelectedIndexChanged (line 1277) | private void eventsTabControl_SelectedIndexChanged(object sender, Even...
method headerListBox_Leave (line 1312) | private void headerListBox_Leave(object sender, EventArgs e) {
method levelScriptUpDown_ValueChanged (line 1318) | private void levelScriptUpDown_ValueChanged(object sender, EventArgs e) {
method mapNameComboBox_SelectedIndexChanged (line 1324) | private void mapNameComboBox_SelectedIndexChanged(object sender, Event...
method matrixUpDown_ValueChanged (line 1341) | private void matrixUpDown_ValueChanged(object sender, EventArgs e) {
method openScriptButton_Click (line 1348) | private void openScriptButton_Click(object sender, EventArgs e) {
method openLevelScriptButton_Click (line 1352) | private void openLevelScriptButton_Click(object sender, EventArgs e) {
method musicDayComboBox_SelectedIndexChanged (line 1356) | private void musicDayComboBox_SelectedIndexChanged(object sender, Even...
method musicNightComboBox_SelectedIndexChanged (line 1372) | private void musicNightComboBox_SelectedIndexChanged(object sender, Ev...
method musicDayUpDown_ValueChanged (line 1389) | private void musicDayUpDown_ValueChanged(object sender, EventArgs e) {
method musicNightUpDown_ValueChanged (line 1414) | private void musicNightUpDown_ValueChanged(object sender, EventArgs e) {
method worldmapXCoordUpDown_ValueChanged (line 1439) | private void worldmapXCoordUpDown_ValueChanged(object sender, EventArg...
method worldmapYCoordUpDown_ValueChanged (line 1442) | private void worldmapYCoordUpDown_ValueChanged(object sender, EventArg...
method updateWeatherPicAndComboBox (line 1445) | private void updateWeatherPicAndComboBox() {
method updateCameraPicAndComboBox (line 1498) | private void updateCameraPicAndComboBox() {
method weatherComboBox_SelectedIndexChanged (line 1545) | private void weatherComboBox_SelectedIndexChanged(object sender, Event...
method weatherUpDown_ValueChanged (line 1563) | private void weatherUpDown_ValueChanged(object sender, EventArgs e) {
method cameraComboBox_SelectedIndexChanged (line 1567) | private void cameraComboBox_SelectedIndexChanged(object sender, EventA...
method cameraUpDown_ValueChanged (line 1585) | private void cameraUpDown_ValueChanged(object sender, EventArgs e) {
method openAreaDataButton_Click (line 1589) | private void openAreaDataButton_Click(object sender, EventArgs e) {
method openEventsButton_Click (line 1604) | private void openEventsButton_Click(object sender, EventArgs e) {
method openMatrixButton_Click (line 1620) | private void openMatrixButton_Click(object sender, EventArgs e) {
method openTextArchiveButton_Click (line 1643) | private void openTextArchiveButton_Click(object sender, EventArgs e) {
method saveHeaderButton_Click (line 1651) | private void saveHeaderButton_Click(object sender, EventArgs e) {
method StringToInternalName (line 1666) | private byte[] StringToInternalName(string text) {
method updateCurrentInternalName (line 1672) | private void updateCurrentInternalName() {
method updateHeaderNameShown (line 1688) | private void updateHeaderNameShown(int thisIndex) {
method resetButton_Click (line 1696) | private void resetButton_Click(object sender, EventArgs e) {
method resetHeaderSearch (line 1700) | void resetHeaderSearch() {
method searchHeaderTextBox_KeyPress (line 1706) | private void searchHeaderTextBox_KeyPress(object sender, KeyEventArgs ...
method searchHeaderButton_Click (line 1711) | private void searchHeaderButton_Click(object sender, EventArgs e) {
method startSearchGameLocation (line 1714) | private void startSearchGameLocation() {
method PrintMapHeadersSummary (line 1759) | private void PrintMapHeadersSummary() {
method scriptFileUpDown_ValueChanged (line 1821) | private void scriptFileUpDown_ValueChanged(object sender, EventArgs e) {
method areaSettingsComboBox_SelectedIndexChanged (line 1827) | private void areaSettingsComboBox_SelectedIndexChanged(object sender, ...
method textFileUpDown_ValueChanged (line 1834) | private void textFileUpDown_ValueChanged(object sender, EventArgs e) {
method wildPokeUpDown_ValueChanged (line 1841) | private void wildPokeUpDown_ValueChanged(object sender, EventArgs e) {
method importHeaderFromFileButton_Click (line 1858) | private void importHeaderFromFileButton_Click(object sender, EventArgs...
method exportHeaderToFileButton_Click (line 1901) | private void exportHeaderToFileButton_Click(object sender, EventArgs e) {
method copyHeaderButton_Click (line 1949) | private void copyHeaderButton_Click(object sender, EventArgs e) {
method copyInternalNameButton_Click (line 2004) | private void copyInternalNameButton_Click(object sender, EventArgs e) {
method copyLocationNameButton_Click (line 2009) | private void copyLocationNameButton_Click(object sender, EventArgs e) {
method copyAreaSettingsButton_Click (line 2013) | private void copyAreaSettingsButton_Click(object sender, EventArgs e) {
method copyAreaIconButton_Click (line 2017) | private void copyAreaIconButton_Click(object sender, EventArgs e) {
method copyWildEncountersButton_Click (line 2021) | private void copyWildEncountersButton_Click(object sender, EventArgs e) {
method copyMusicDayButton_Click (line 2026) | private void copyMusicDayButton_Click(object sender, EventArgs e) {
method copyWeatherButton_Click (line 2030) | private void copyWeatherButton_Click(object sender, EventArgs e) {
method copyMusicNightButton_Click (line 2034) | private void copyMusicNightButton_Click(object sender, EventArgs e) {
method copyCameraAngleButton_Click (line 2038) | private void copyCameraAngleButton_Click(object sender, EventArgs e) {
method copyScriptsButton_Click (line 2042) | private void copyScriptsButton_Click(object sender, EventArgs e) {
method copyLevelScriptsButton_Click (line 2047) | private void copyLevelScriptsButton_Click(object sender, EventArgs e) {
method copyEventsButton_Click (line 2052) | private void copyEventsButton_Click(object sender, EventArgs e) {
method copyTextsButton_Click (line 2057) | private void copyTextsButton_Click(object sender, EventArgs e) {
method copyMatrixButton_Click (line 2062) | private void copyMatrixButton_Click(object sender, EventArgs e) {
method copyAreaDataButton_Click (line 2067) | private void copyAreaDataButton_Click(object sender, EventArgs e) {
method worldmapCoordsCopyButton_Click (line 2072) | private void worldmapCoordsCopyButton_Click(object sender, EventArgs e) {
method copyMapSettingsButton_Click (line 2077) | private void copyMapSettingsButton_Click(object sender, EventArgs e) {
method pasteHeaderButton_Click (line 2086) | private void pasteHeaderButton_Click(object sender, EventArgs e) {
method pasteInternalNameButton_Click (line 2112) | private void pasteInternalNameButton_Click(object sender, EventArgs e) {
method pasteLocationNameButton_Click (line 2115) | private void pasteLocationNameButton_Click(object sender, EventArgs e) {
method pasteAreaSettingsButton_Click (line 2118) | private void pasteAreaSettingsButton_Click(object sender, EventArgs e) {
method pasteAreaIconButton_Click (line 2121) | private void pasteAreaIconButton_Click(object sender, EventArgs e) {
method pasteWildEncountersButton_Click (line 2126) | private void pasteWildEncountersButton_Click(object sender, EventArgs ...
method pasteMusicDayButton_Click (line 2129) | private void pasteMusicDayButton_Click(object sender, EventArgs e) {
method pasteScriptsButton_Click (line 2132) | private void pasteScriptsButton_Click(object sender, EventArgs e) {
method pasteLevelScriptsButton_Click (line 2135) | private void pasteLevelScriptsButton_Click(object sender, EventArgs e) {
method pasteEventsButton_Click (line 2138) | private void pasteEventsButton_Click(object sender, EventArgs e) {
method pasteTextsButton_Click (line 2141) | private void pasteTextsButton_Click(object sender, EventArgs e) {
method pasteMatrixButton_Click (line 2144) | private void pasteMatrixButton_Click(object sender, EventArgs e) {
method pasteAreaDataButton_Click (line 2147) | private void pasteAreaDataButton_Click(object sender, EventArgs e) {
method pasteWeatherButton_Click (line 2150) | private void pasteWeatherButton_Click(object sender, EventArgs e) {
method pasteMusicNightButton_Click (line 2153) | private void pasteMusicNightButton_Click(object sender, EventArgs e) {
method pasteCameraAngleButton_Click (line 2156) | private void pasteCameraAngleButton_Click(object sender, EventArgs e) {
method worldmapCoordsPasteButton_Click (line 2159) | private void worldmapCoordsPasteButton_Click(object sender, EventArgs ...
method pasteMapSettingsButton_Click (line 2163) | private void pasteMapSettingsButton_Click(object sender, EventArgs e) {
method ClearMatrixTables (line 2180) | private void ClearMatrixTables() {
method FormatMapCell (line 2190) | private (Color background, Color foreground) FormatMapCell(uint cellVa...
method GenerateMatrixTables (line 2197) | private void GenerateMatrixTables() {
method SetupMatrixEditor (line 2250) | private void SetupMatrixEditor() {
method addHeaderSectionButton_Click (line 2274) | private void addHeaderSectionButton_Click(object sender, EventArgs e) {
method addHeightsButton_Click (line 2280) | private void addHeightsButton_Click(object sender, EventArgs e) {
method addMatrixButton_Click (line 2286) | private void addMatrixButton_Click(object sender, EventArgs e) {
method exportMatrixButton_Click (line 2300) | private void exportMatrixButton_Click(object sender, EventArgs e) {
method saveMatrixButton_Click (line 2303) | private void saveMatrixButton_Click(object sender, EventArgs e) {
method headersGridView_SelectionChanged (line 2309) | private void headersGridView_SelectionChanged(object sender, EventArgs...
method heightsGridView_SelectionChanged (line 2313) | private void heightsGridView_SelectionChanged(object sender, EventArgs...
method mapFilesGridView_SelectionChanged (line 2317) | private void mapFilesGridView_SelectionChanged(object sender, EventArg...
method DisplaySelection (line 2320) | private void DisplaySelection(DataGridViewSelectedCellCollection selec...
method headersGridView_CellMouseDoubleClick (line 2325) | private void headersGridView_CellMouseDoubleClick(object sender, DataG...
method headersGridView_CellValueChanged (line 2336) | private void headersGridView_CellValueChanged(object sender, DataGridV...
method headersGridView_CellFormatting (line 2354) | private void headersGridView_CellFormatting(object sender, DataGridVie...
method heightsGridView_CellValueChanged (line 2378) | private void heightsGridView_CellValueChanged(object sender, DataGridV...
method widthUpDown_ValueChanged (line 2393) | private void widthUpDown_ValueChanged(object sender, EventArgs e) {
method heightUpDown_ValueChanged (line 2431) | private void heightUpDown_ValueChanged(object sender, EventArgs e) {
method heightsGridView_CellFormatting (line 2468) | private void heightsGridView_CellFormatting(object sender, DataGridVie...
method importMatrixButton_Click (line 2494) | private void importMatrixButton_Click(object sender, EventArgs e) {
method mapFilesGridView_CellMouseDoubleClick (line 2531) | private void mapFilesGridView_CellMouseDoubleClick(object sender, Data...
method mapFilesGridView_CellValueChanged (line 2656) | private void mapFilesGridView_CellValueChanged(object sender, DataGrid...
method mapFilesGridView_CellFormatting (line 2671) | private void mapFilesGridView_CellFormatting(object sender, DataGridVi...
method matrixNameTextBox_TextChanged (line 2689) | private void matrixNameTextBox_TextChanged(object sender, EventArgs e) {
method removeHeadersButton_Click (line 2695) | private void removeHeadersButton_Click(object sender, EventArgs e) {
method removeHeightsButton_Click (line 2699) | private void removeHeightsButton_Click(object sender, EventArgs e) {
method removeMatrixButton_Click (line 2703) | private void removeMatrixButton_Click(object sender, EventArgs e) {
method setSpawnPointButton_Click (line 2729) | private void setSpawnPointButton_Click(object sender, EventArgs e) {
method selectMatrixComboBox_SelectedIndexChanged (line 2776) | private void selectMatrixComboBox_SelectedIndexChanged(object sender, ...
method importColorTableButton_Click (line 2791) | private void importColorTableButton_Click(object sender, EventArgs e) {
method ReadColorTable (line 2802) | private bool ReadColorTable(string fileName, bool silent) {
method Swap (line 2924) | public void Swap(ref uint a, ref uint b) {
method resetColorTableButton_Click (line 2929) | private void resetColorTableButton_Click(object sender, EventArgs e) {
method FillBuildingsBox (line 3005) | private void FillBuildingsBox() {
method MW_LoadModelTextures (line 3028) | private void MW_LoadModelTextures(NSBMD model, string textureFolder, i...
method RenderMap (line 3038) | private void RenderMap(ref NSBMDGlRenderer mapRenderer, ref NSBMDGlRen...
method ScaleTranslateRotateBuilding (line 3085) | private void ScaleTranslateRotateBuilding(Building building) {
method SetupRenderer (line 3099) | private void SetupRenderer(float ang, float dist, float elev, float pe...
method SetupMapEditor (line 3138) | private void SetupMapEditor() {
method addMapFileButton_Click (line 3264) | private void addMapFileButton_Click(object sender, EventArgs e) {
method replaceMapBinButton_Click (line 3272) | private void replaceMapBinButton_Click(object sender, EventArgs e) {
method UpdateMapBinAndRefresh (line 3304) | private void UpdateMapBinAndRefresh(MapFile newerVersion, string messa...
method buildTextureComboBox_SelectedIndexChanged (line 3317) | private void buildTextureComboBox_SelectedIndexChanged(object sender, ...
method mapTextureComboBox_SelectedIndexChanged (line 3357) | private void mapTextureComboBox_SelectedIndexChanged(object sender, Ev...
method mapEditorTabPage_Enter (line 3375) | private void mapEditorTabPage_Enter(object sender, EventArgs e) {
method mapOpenGlControl_MouseWheel (line 3380) | private void mapOpenGlControl_MouseWheel(object sender, MouseEventArgs...
method mapOpenGlControl_PreviewKeyDown (line 3387) | private void mapOpenGlControl_PreviewKeyDown(object sender, PreviewKey...
method mapOpenGlControl_KeyUp (line 3433) | private void mapOpenGlControl_KeyUp(object sender, KeyEventArgs e) {
method mapOpenGlControl_Click (line 3449) | private void mapOpenGlControl_Click(object sender, EventArgs e) {
method bldRoundWhole_CheckedChanged (line 3462) | private void bldRoundWhole_CheckedChanged(object sender, EventArgs e) {
method bldRoundDec_CheckedChanged (line 3465) | private void bldRoundDec_CheckedChanged(object sender, EventArgs e) {
method bldRoundCent_CheckedChanged (line 3468) | private void bldRoundCent_CheckedChanged(object sender, EventArgs e) {
method bldRoundMil_CheckedChanged (line 3471) | private void bldRoundMil_CheckedChanged(object sender, EventArgs e) {
method bldRoundDecmil_CheckedChanged (line 3474) | private void bldRoundDecmil_CheckedChanged(object sender, EventArgs e) {
method bldRoundCentMil_CheckedChanged (line 3477) | private void bldRoundCentMil_CheckedChanged(object sender, EventArgs e) {
method bldPlaceWithMouseCheckbox_CheckedChanged (line 3480) | private void bldPlaceWithMouseCheckbox_CheckedChanged(object sender, E...
method bldPlaceLockXcheckbox_CheckedChanged (line 3491) | private void bldPlaceLockXcheckbox_CheckedChanged(object sender, Event...
method bldPlaceLockZcheckbox_CheckedChanged (line 3495) | private void bldPlaceLockZcheckbox_CheckedChanged(object sender, Event...
method mapPartsTabControl_SelectedIndexChanged (line 3498) | private void mapPartsTabControl_SelectedIndexChanged(object sender, Ev...
method radio2D_CheckedChanged (line 3555) | private void radio2D_CheckedChanged(object sender, EventArgs e) {
method SetCam2D (line 3569) | private void SetCam2D() {
method SetCam3D (line 3579) | private void SetCam3D() {
method mapScreenshotButton_Click (line 3589) | private void mapScreenshotButton_Click(object sender, EventArgs e) {
method removeLastMapFileButton_Click (line 3613) | private void removeLastMapFileButton_Click(object sender, EventArgs e) {
method saveMapButton_Click (line 3628) | private void saveMapButton_Click(object sender, EventArgs e) {
method exportCurrentMapBinButton_Click (line 3631) | private void exportCurrentMapBinButton_Click(object sender, EventArgs ...
method selectMapComboBox_SelectedIndexChanged (line 3634) | private void selectMapComboBox_SelectedIndexChanged(object sender, Eve...
method wireframeCheckBox_CheckedChanged (line 3686) | private void wireframeCheckBox_CheckedChanged(object sender, EventArgs...
method addBuildingButton_Click (line 3697) | private void addBuildingButton_Click(object sender, EventArgs e) {
method duplicateBuildingButton_Click (line 3701) | private void duplicateBuildingButton_Click(object sender, EventArgs e) {
method AddBuildingToMap (line 3707) | private void AddBuildingToMap(Building b) {
method buildIndexComboBox_SelectedIndexChanged (line 3723) | private void buildIndexComboBox_SelectedIndexChanged(object sender, Ev...
method buildingsListBox_SelectedIndexChanged (line 3739) | private void buildingsListBox_SelectedIndexChanged(object sender, Even...
method xRotBuildUpDown_ValueChanged (line 3771) | private void xRotBuildUpDown_ValueChanged(object sender, EventArgs e) {
method yRotBuildUpDown_ValueChanged (line 3786) | private void yRotBuildUpDown_ValueChanged(object sender, EventArgs e) {
method zRotBuildUpDown_ValueChanged (line 3800) | private void zRotBuildUpDown_ValueChanged(object sender, EventArgs e) {
method xRotDegBldUpDown_ValueChanged (line 3814) | private void xRotDegBldUpDown_ValueChanged(object sender, EventArgs e) {
method yRotDegBldUpDown_ValueChanged (line 3827) | private void yRotDegBldUpDown_ValueChanged(object sender, EventArgs e) {
method zRotDegBldUpDown_ValueChanged (line 3840) | private void zRotDegBldUpDown_ValueChanged(object sender, EventArgs e) {
method buildingHeightUpDown_ValueChanged (line 3853) | private void buildingHeightUpDown_ValueChanged(object sender, EventArg...
method buildingLengthUpDown_ValueChanged (line 3860) | private void buildingLengthUpDown_ValueChanged(object sender, EventArg...
method buildingWidthUpDown_ValueChanged (line 3867) | private void buildingWidthUpDown_ValueChanged(object sender, EventArgs...
method exportBuildingsButton_Click (line 3874) | private void exportBuildingsButton_Click(object sender, EventArgs e) {
method importBuildingsButton_Click (line 3888) | private void importBuildingsButton_Click(object sender, EventArgs e) {
method interiorRadioButton_CheckedChanged (line 3909) | private void interiorRadioButton_CheckedChanged(object sender, EventAr...
method removeBuildingButton_Click (line 3936) | private void removeBuildingButton_Click(object sender, EventArgs e) {
method xBuildUpDown_ValueChanged (line 3961) | private void xBuildUpDown_ValueChanged(object sender, EventArgs e) {
method zBuildUpDown_ValueChanged (line 3979) | private void zBuildUpDown_ValueChanged(object sender, EventArgs e) {
method yBuildUpDown_ValueChanged (line 3996) | private void yBuildUpDown_ValueChanged(object sender, EventArgs e) {
method GrabMapScreenshot (line 4017) | private Bitmap GrabMapScreenshot(int width, int height) {
method DrawCollisionGrid (line 4025) | private void DrawCollisionGrid() {
method DrawSmallCollision (line 4042) | private void DrawSmallCollision() {
method DrawTypeGrid (line 4059) | private void DrawTypeGrid() {
method DrawSmallTypeCollision (line 4084) | private void DrawSmallTypeCollision() {
method scanUsedCollisionTypesButton_Click (line 4101) | private void scanUsedCollisionTypesButton_Click(object sender, EventAr...
method FindUsedCollisions (line 4120) | private SortedSet<byte> FindUsedCollisions() {
method FindUnusedCollisions (line 4131) | private SortedSet<byte> FindUnusedCollisions() {
method EditCell (line 4142) | private void EditCell(int xPosition, int yPosition) {
method FloodFillUtil (line 4187) | private void FloodFillUtil(byte[,] screen, int x, int y, byte prevC, b...
method FloodFillCell (line 4206) | private void FloodFillCell(int x, int y) {
method RestorePainter (line 4228) | private void RestorePainter() {
method PrepareCollisionPainterGraphics (line 4237) | private void PrepareCollisionPainterGraphics(byte collisionValue) {
method PrepareTypePainterGraphics (line 4277) | private void PrepareTypePainterGraphics(byte typeValue) {
method clearCurrentButton_Click (line 4438) | private void clearCurrentButton_Click(object sender, EventArgs e) {
method collisionPictureBox_Click (line 4468) | private void collisionPictureBox_Click(object sender, EventArgs e) {
method exportMovButton_Click (line 4477) | private void exportMovButton_Click(object sender, EventArgs e) {
method importMovButton_Click (line 4490) | private void importMovButton_Click(object sender, EventArgs e) {
method movPictureBox_Click (line 4512) | private void movPictureBox_Click(object sender, EventArgs e) {
method movPictureBox_MouseMove (line 4533) | private void movPictureBox_MouseMove(object sender, MouseEventArgs e) {
method collisionPainterComboBox_SelectedIndexChange (line 4538) | private void collisionPainterComboBox_SelectedIndexChange(object sende...
method typePainterComboBox_SelectedIndexChanged (line 4545) | private void typePainterComboBox_SelectedIndexChanged(object sender, E...
method StringToCollisionByte (line 4553) | private byte? StringToCollisionByte(string selectedItem) {
method typePainterUpDown_ValueChanged (line 4563) | private void typePainterUpDown_ValueChanged(object sender, EventArgs e) {
method updateCollisions (line 4566) | private void updateCollisions(byte typeValue) {
method updateTypeCollisions (line 4586) | private void updateTypeCollisions(byte typeValue) {
method typePictureBox_Click (line 4609) | private void typePictureBox_Click(object sender, EventArgs e) {
method typesRadioButton_CheckedChanged (line 4618) | private void typesRadioButton_CheckedChanged(object sender, EventArgs ...
method valueTypeRadioButton_CheckedChanged (line 4625) | private void valueTypeRadioButton_CheckedChanged(object sender, EventA...
method importMapButton_Click (line 4637) | private void importMapButton_Click(object sender, EventArgs e) {
method exportMapButton_Click (line 4667) | private void exportMapButton_Click(object sender, EventArgs e) {
method daeExportButton_Click (line 4696) | private void daeExportButton_Click(object sender, EventArgs e) {
method glbExportButton_Click (line 4704) | private void glbExportButton_Click(object sender, EventArgs e) {
method bdhcImportButton_Click (line 4714) | private void bdhcImportButton_Click(object sender, EventArgs e) {
method bdhcExportButton_Click (line 4727) | private void bdhcExportButton_Click(object sender, EventArgs e) {
method soundPlatesImportButton_Click (line 4745) | private void soundPlatesImportButton_Click(object sender, EventArgs e) {
method soundPlatesExportButton_Click (line 4758) | private void soundPlatesExportButton_Click(object sender, EventArgs e) {
method soundPlatesBlankButton_Click (line 4772) | private void soundPlatesBlankButton_Click(object sender, EventArgs e) {
method itemsSelectorHelpBtn_Click (line 4804) | private void itemsSelectorHelpBtn_Click(object sender, EventArgs e) {
method CenterEventViewOnEntities (line 4810) | private void CenterEventViewOnEntities() {
method centerEventViewOnSelectedEvent_Click (line 4836) | private void centerEventViewOnSelectedEvent_Click(object sender, Event...
method eventPictureBox_MouseMove (line 4918) | private void eventPictureBox_MouseMove(object sender, MouseEventArgs e) {
method DisplayActiveEvents (line 4924) | private void DisplayActiveEvents() {
method DrawWarpCollisions (line 5004) | private void DrawWarpCollisions(Graphics g) {
method DrawSelectionRectangle (line 5021) | private void DrawSelectionRectangle(Graphics g, Event ev) {
method DrawSelectionRectangleTrigger (line 5026) | private void DrawSelectionRectangleTrigger(Graphics g, Trigger t) {
method DrawSelectionRectangleOverworld (line 5031) | private void DrawSelectionRectangleOverworld(Graphics g, Overworld ow) {
method DisplayEventMap (line 5036) | private void DisplayEventMap(bool readGraphicsFromHeader = true) {
method DrawEventMatrix (line 5096) | private void DrawEventMatrix() {
method FillSpawnablesBox (line 5113) | private void FillSpawnablesBox() {
method FillOverworldsBox (line 5121) | private void FillOverworldsBox() {
method FillWarpsBox (line 5129) | private void FillWarpsBox() {
method FillTriggersBox (line 5137) | private void FillTriggersBox() {
method GetOverworldImage (line 5145) | private Bitmap GetOverworldImage(ushort eventEntryID, ushort orientati...
method MarkUsedCells (line 5213) | private void MarkUsedCells() {
method MarkActiveCell (line 5236) | private void MarkActiveCell(int xPosition, int yPosition) {
method isEventOnCurrentMatrix (line 5256) | private bool isEventOnCurrentMatrix(Event ev) {
method isEventUnderMouse (line 5265) | private bool isEventUnderMouse(Event ev, Point mouseTilePos, int width...
method SetupEventEditor (line 5277) | private void SetupEventEditor() {
method addEventFileButton_Click (line 5429) | private void addEventFileButton_Click(object sender, EventArgs e) {
method eventEditorTabPage_Enter (line 5437) | private void eventEditorTabPage_Enter(object sender, EventArgs e) {
method eventMatrixPictureBox_Click (line 5440) | private void eventMatrixPictureBox_Click(object sender, EventArgs e) {
method eventMatrixUpDown_ValueChanged (line 5449) | private void eventMatrixUpDown_ValueChanged(object sender, EventArgs e) {
method eventShiftLeftButton_Click (line 5464) | private void eventShiftLeftButton_Click(object sender, EventArgs e) {
method eventShiftUpButton_Click (line 5469) | private void eventShiftUpButton_Click(object sender, EventArgs e) {
method eventShiftRightButton_Click (line 5474) | private void eventShiftRightButton_Click(object sender, EventArgs e) {
method eventShiftDownButton_Click (line 5479) | private void eventShiftDownButton_Click(object sender, EventArgs e) {
method eventMatrixCoordsUpDown_ValueChanged (line 5484) | private void eventMatrixCoordsUpDown_ValueChanged(object sender, Event...
method eventEditorFullMapReload (line 5491) | private void eventEditorFullMapReload(int coordX, int coordY) {
method exportEventFileButton_Click (line 5499) | private void exportEventFileButton_Click(object sender, EventArgs e) {
method saveEventsButton_Click (line 5502) | private void saveEventsButton_Click(object sender, EventArgs e) {
method importEventFileButton_Click (line 5508) | private void importEventFileButton_Click(object sender, EventArgs e) {
method removeEventFileButton_Click (line 5608) | private void removeEventFileButton_Click(object sender, EventArgs e) {
method selectEventComboBox_SelectedIndexChanged (line 5624) | private void selectEventComboBox_SelectedIndexChanged(object sender, E...
method ChangeLoadedEventFile (line 5632) | private void ChangeLoadedEventFile(int evfile, ushort mapHeader) {
method showEventsCheckBoxes_CheckedChanged (line 5670) | private void showEventsCheckBoxes_CheckedChanged(object sender, EventA...
method eventAreaDataUpDown_ValueChanged (line 5681) | private void eventAreaDataUpDown_ValueChanged(object sender, EventArgs...
method eventPictureBox_Click (line 5684) | private void eventPictureBox_Click(object sender, EventArgs e) {
method addSpawnableButton_Click (line 5801) | private void addSpawnableButton_Click(object sender, EventArgs e) {
method removeSpawnableButton_Click (line 5810) | private void removeSpawnableButton_Click(object sender, EventArgs e) {
method duplicateSpawnableButton_Click (line 5832) | private void duplicateSpawnableButton_Click(object sender, EventArgs e) {
method spawnablesListBox_SelectedIndexChanged (line 5843) | private void spawnablesListBox_SelectedIndexChanged(object sender, Eve...
method spawnableMatrixXUpDown_ValueChanged (line 5865) | private void spawnableMatrixXUpDown_ValueChanged(object sender, EventA...
method spawnableMatrixYUpDown_ValueChanged (line 5874) | private void spawnableMatrixYUpDown_ValueChanged(object sender, EventA...
method spawnableScriptUpDown_ValueChanged (line 5883) | private void spawnableScriptUpDown_ValueChanged(object sender, EventAr...
method spawnableMapXUpDown_ValueChanged (line 5892) | private void spawnableMapXUpDown_ValueChanged(object sender, EventArgs...
method spawnableMapYUpDown_ValueChanged (line 5901) | private void spawnableMapYUpDown_ValueChanged(object sender, EventArgs...
method spawnableZUpDown_ValueChanged (line 5910) | private void spawnableZUpDown_ValueChanged(object sender, EventArgs e) {
method spawnableDirComboBox_SelectedIndexChanged (line 5919) | private void spawnableDirComboBox_SelectedIndexChanged(object sender, ...
method spawnableTypeComboBox_SelectedIndexChanged (line 5928) | private void spawnableTypeComboBox_SelectedIndexChanged(object sender,...
method addOverworldButton_Click (line 5942) | private void addOverworldButton_Click(object sender, EventArgs e) {
method removeOverworldButton_Click (line 5955) | private void removeOverworldButton_Click(object sender, EventArgs e) {
method sortOWsByIDAscButton_Click (line 5976) | private void sortOWsByIDAscButton_Click(object sender, EventArgs e) {
method sortOWsByIDDescButton_Click (line 5983) | private void sortOWsByIDDescButton_Click(object sender, EventArgs e) {
method duplicateOverworldsButton_Click (line 5989) | private void duplicateOverworldsButton_Click(object sender, EventArgs ...
method OWTypeChanged (line 5999) | private void OWTypeChanged(object sender, EventArgs e) {
method owItemComboBox_SelectedIndexChanged (line 6057) | private void owItemComboBox_SelectedIndexChanged(object sender, EventA...
method overworldsListBox_SelectedIndexChanged (line 6064) | private void overworldsListBox_SelectedIndexChanged(object sender, Eve...
method owFlagNumericUpDown_ValueChanged (line 6138) | private void owFlagNumericUpDown_ValueChanged(object sender, EventArgs...
method owIDNumericUpDown_ValueChanged (line 6147) | private void owIDNumericUpDown_ValueChanged(object sender, EventArgs e) {
method owMovementComboBox_SelectedIndexChanged (line 6157) | private void owMovementComboBox_SelectedIndexChanged(object sender, Ev...
method owOrientationComboBox_SelectedIndexChanged (line 6166) | private void owOrientationComboBox_SelectedIndexChanged(object sender,...
method owScriptNumericUpDown_ValueChanged (line 6186) | private void owScriptNumericUpDown_ValueChanged(object sender, EventAr...
method owSightRangeUpDown_ValueChanged (line 6196) | private void owSightRangeUpDown_ValueChanged(object sender, EventArgs ...
method owSpriteComboBox_SelectedIndexChanged (line 6201) | private void owSpriteComboBox_SelectedIndexChanged(object sender, Even...
method owPartnerTrainerCheckBox_CheckedChanged (line 6228) | private void owPartnerTrainerCheckBox_CheckedChanged(object sender, Ev...
method owTrainerComboBox_SelectedIndexChanged (line 6233) | private void owTrainerComboBox_SelectedIndexChanged(object sender, Eve...
method owXMapUpDown_ValueChanged (line 6241) | private void owXMapUpDown_ValueChanged(object sender, EventArgs e) {
method owXRangeUpDown_ValueChanged (line 6251) | private void owXRangeUpDown_ValueChanged(object sender, EventArgs e) {
method owYRangeUpDown_ValueChanged (line 6260) | private void owYRangeUpDown_ValueChanged(object sender, EventArgs e) {
method owYMapUpDown_ValueChanged (line 6269) | private void owYMapUpDown_ValueChanged(object sender, EventArgs e) {
method owZPositionUpDown_ValueChanged (line 6279) | private void owZPositionUpDown_ValueChanged(object sender, EventArgs e) {
method owXMatrixUpDown_ValueChanged (line 6289) | private void owXMatrixUpDown_ValueChanged(object sender, EventArgs e) {
method owYMatrixUpDown_ValueChanged (line 6301) | private void owYMatrixUpDown_ValueChanged(object sender, EventArgs e) {
method addWarpButton_Click (line 6316) | private void addWarpButton_Click(object sender, EventArgs e) {
method removeWarpButton_Click (line 6328) | private void removeWarpButton_Click(object sender, EventArgs e) {
method duplicateWarpsButton_Click (line 6350) | private void duplicateWarpsButton_Click(object sender, EventArgs e) {
method warpAnchorUpDown_ValueChanged (line 6366) | private void warpAnchorUpDown_ValueChanged(object sender, EventArgs e) {
method eventEditorWarpHeaderListBox_SelectedIndexChanged (line 6374) | private void eventEditorWarpHeaderListBox_SelectedIndexChanged(object ...
method updateSelectedSpawnableName (line 6421) | private void updateSelectedSpawnableName() {
method updateSelectedOverworldName (line 6428) | private void updateSelectedOverworldName() {
method updateSelectedWarpName (line 6435) | private void updateSelectedWarpName() {
method updateSelectedTriggerName (line 6442) | private void updateSelectedTriggerName() {
method warpsListBox_SelectedIndexChanged (line 6450) | private void warpsListBox_SelectedIndexChanged(object sender, EventArg...
method warpMatrixXUpDown_ValueChanged (line 6474) | private void warpMatrixXUpDown_ValueChanged(object sender, EventArgs e) {
method warpMatrixYUpDown_ValueChanged (line 6483) | private void warpMatrixYUpDown_ValueChanged(object sender, EventArgs e) {
method warpXMapUpDown_ValueChanged (line 6492) | private void warpXMapUpDown_ValueChanged(object sender, EventArgs e) {
method warpYMapUpDown_ValueChanged (line 6501) | private void warpYMapUpDown_ValueChanged(object sender, EventArgs e) {
method warpZUpDown_ValueChanged (line 6510) | private void warpZUpDown_ValueChanged(object sender, EventArgs e) {
method goToWarpDestination_Click (line 6519) | private void goToWarpDestination_Click(object sender, EventArgs e) {
method addTriggerButton_Click (line 6564) | private void addTriggerButton_Click(object sender, EventArgs e) {
method removeTriggerButton_Click (line 6571) | private void removeTriggerButton_Click(object sender, EventArgs e) {
method duplicateTriggersButton_Click (line 6594) | private void duplicateTriggersButton_Click(object sender, EventArgs e) {
method triggersListBox_SelectedIndexChanged (line 6605) | private void triggersListBox_SelectedIndexChanged(object sender, Event...
method triggerVariableWatchedUpDown_ValueChanged (line 6632) | private void triggerVariableWatchedUpDown_ValueChanged(object sender, ...
method expectedVarValueTriggerUpDown_ValueChanged (line 6641) | private void expectedVarValueTriggerUpDown_ValueChanged(object sender,...
method triggerScriptUpDown_ValueChanged (line 6650) | private void triggerScriptUpDown_ValueChanged(object sender, EventArgs...
method triggerXMapUpDown_ValueChanged (line 6659) | private void triggerXMapUpDown_ValueChanged(object sender, EventArgs e) {
method triggerYMapUpDown_ValueChanged (line 6668) | private void triggerYMapUpDown_ValueChanged(object sender, EventArgs e) {
method triggerZUpDown_ValueChanged (line 6677) | private void triggerZUpDown_ValueChanged(object sender, EventArgs e) {
method triggerXMatrixUpDown_ValueChanged (line 6686) | private void triggerXMatrixUpDown_ValueChanged(object sender, EventArg...
method triggerYMatrixUpDown_ValueChanged (line 6695) | private void triggerYMatrixUpDown_ValueChanged(object sender, EventArg...
method triggerWidthUpDown_ValueChanged (line 6704) | private void triggerWidthUpDown_ValueChanged(object sender, EventArgs ...
method triggerLengthUpDown_ValueChanged (line 6713) | private void triggerLengthUpDown_ValueChanged(object sender, EventArgs...
method addTextArchiveButton_Click (line 6735) | private void addTextArchiveButton_Click(object sender, EventArgs e) {
method addStringButton_Click (line 6743) | private void addStringButton_Click(object sender, EventArgs e) {
method exportTextFileButton_Click (line 6762) | private void exportTextFileButton_Click(object sender, EventArgs e) {
method saveTextArchiveButton_Click (line 6809) | private void saveTextArchiveButton_Click(object sender, EventArgs e) {
method selectedLineMoveUpButton_Click (line 6815) | private void selectedLineMoveUpButton_Click(object sender, EventArgs e) {
method selectedLineMoveDownButton_Click (line 6828) | private void selectedLineMoveDownButton_Click(object sender, EventArgs...
method ReloadHeaderEditorLocationsList (line 6840) | private void ReloadHeaderEditorLocationsList(IEnumerable<string> conte...
method importTextFileButton_Click (line 6846) | private void importTextFileButton_Click(object sender, EventArgs e) {
method removeMessageFileButton_Click (line 6884) | private void removeMessageFileButton_Click(object sender, EventArgs e) {
method removeStringButton_Click (line 6900) | private void removeStringButton_Click(object sender, EventArgs e) {
method searchMessageButton_Click (line 6906) | private void searchMessageButton_Click(object sender, EventArgs e) {
method searchTexts (line 6940) | private List<string> searchTexts(int firstArchive, int lastArchive, Fu...
method searchMessageTextBox_KeyDown (line 6956) | private void searchMessageTextBox_KeyDown(object sender, KeyEventArgs ...
method replaceMessageButton_Click (line 6961) | private void replaceMessageButton_Click(object sender, EventArgs e) {
method selectTextFileComboBox_SelectedIndexChanged (line 7035) | private void selectTextFileComboBox_SelectedIndexChanged(object sender...
method UpdateTextEditorFileView (line 7038) | private void UpdateTextEditorFileView(bool readAgain) {
method PrintTextEditorLinesHex (line 7060) | private void PrintTextEditorLinesHex() {
method PrintTextEditorLinesDecimal (line 7067) | private void PrintTextEditorLinesDecimal() {
method textEditorDataGridView_CellValueChanged (line 7074) | private void textEditorDataGridView_CellValueChanged(object sender, Da...
method textEditorDataGridView_CurrentCellChanged (line 7086) | private void textEditorDataGridView_CurrentCellChanged(object sender, ...
method textSearchResultsListBox_GoToEntryResult (line 7107) | private void textSearchResultsListBox_GoToEntryResult(object sender, M...
method textSearchResultsListBox_KeyDown (line 7127) | private void textSearchResultsListBox_KeyDown(object sender, KeyEventA...
method hexRadiobutton_CheckedChanged (line 7132) | private void hexRadiobutton_CheckedChanged(object sender, EventArgs e) {
method updateTextEditorLineNumbers (line 7136) | private void updateTextEditorLineNumbers() {
method FillTilesetBox (line 7151) | public void FillTilesetBox() {
method SetupNSBTXEditor (line 7165) | private void SetupNSBTXEditor() {
method buildingsTilesetRadioButton_CheckedChanged (line 7221) | private void buildingsTilesetRadioButton_CheckedChanged(object sender,...
method exportNSBTXButton_Click (line 7231) | private void exportNSBTXButton_Click(object sender, EventArgs e) {
method importNSBTXButton_Click (line 7247) | private void importNSBTXButton_Click(object sender, EventArgs e) {
method mapTilesetRadioButton_CheckedChanged (line 7267) | private void mapTilesetRadioButton_CheckedChanged(object sender, Event...
method palettesListBox_SelectedIndexChanged (line 7280) | private void palettesListBox_SelectedIndexChanged(object sender, Event...
method texturePacksListBox_SelectedIndexChanged (line 7294) | private void texturePacksListBox_SelectedIndexChanged(object sender, E...
method texturesListBox_SelectedIndexChanged (line 7330) | private void texturesListBox_SelectedIndexChanged(object sender, Event...
method findAndSelectMatchingPalette (line 7356) | private string findAndSelectMatchingPalette(string findThis) {
method areaDataBuildingTilesetUpDown_ValueChanged (line 7378) | private void areaDataBuildingTilesetUpDown_ValueChanged(object sender,...
method areaDataDynamicTexturesUpDown_ValueChanged (line 7384) | private void areaDataDynamicTexturesUpDown_ValueChanged(object sender,...
method areaDataLightTypeComboBox_SelectedIndexChanged (line 7396) | private void areaDataLightTypeComboBox_SelectedIndexChanged(object sen...
method areaDataMapTilesetUpDown_ValueChanged (line 7402) | private void areaDataMapTilesetUpDown_ValueChanged(object sender, Even...
method saveAreaDataButton_Click (line 7408) | private void saveAreaDataButton_Click(object sender, EventArgs e) {
method selectAreaDataListBox_SelectedIndexChanged (line 7411) | private void selectAreaDataListBox_SelectedIndexChanged(object sender,...
method indoorAreaRadioButton_CheckedChanged (line 7428) | private void indoorAreaRadioButton_CheckedChanged(object sender, Event...
method addNSBTXButton_Click (line 7431) | private void addNSBTXButton_Click(object sender, EventArgs e) {
method removeNSBTXButton_Click (line 7452) | private void removeNSBTXButton_Click(object sender, EventArgs e) {
method addAreaDataButton_Click (line 7485) | private void addAreaDataButton_Click(object sender, EventArgs e) {
method removeAreaDataButton_Click (line 7498) | private void removeAreaDataButton_Click(object sender, EventArgs e) {
method exportAreaDataButton_Click (line 7520) | private void exportAreaDataButton_Click(object sender, EventArgs e) {
method importAreaDataButton_Click (line 7523) | private void importAreaDataButton_Click(object sender, EventArgs e) {
method SetupCameraEditor (line 7552) | private void SetupCameraEditor() {
method saveCameraTableButton_Click (line 7623) | private void saveCameraTableButton_Click(object sender, EventArgs e) {
method cameraEditorDataGridView_CellValidated (line 7626) | private void cameraEditorDataGridView_CellValidated(object sender, Dat...
method exportCameraTableButton_Click (line 7630) | private void exportCameraTableButton_Click(object sender, EventArgs e) {
method SaveCameraTable (line 7642) | private void SaveCameraTable(string path, uint destFileOffset) {
method cameraEditorDataGridView_CellContentClick (line 7648) | private void cameraEditorDataGridView_CellContentClick(object sender, ...
method importCameraTableButton_Click (line 7680) | private void importCameraTableButton_Click(object sender, EventArgs e) {
method SetupTrainerClassEncounterMusicTable (line 7738) | private void SetupTrainerClassEncounterMusicTable() {
method RefreshAbilities (line 7761) | public void RefreshAbilities(int forPokemon) {
method SetupTrainerEditor (line 7770) | private void SetupTrainerEditor() {
method trainerComboBox_SelectedIndexChanged (line 7976) | private void trainerComboBox_SelectedIndexChanged(object sender, Event...
method RefreshTrainerPropertiesGUI (line 8008) | public void RefreshTrainerPropertiesGUI() {
method RefreshTrainerPartyGUI (line 8027) | public void RefreshTrainerPartyGUI() {
method ShowPartyPokemonPic (line 8057) | private void ShowPartyPokemonPic(byte partyPos) {
method partyPokemon1ComboBox_SelectedIndexChanged (line 8066) | private void partyPokemon1ComboBox_SelectedIndexChanged(object sender,...
method partyPokemon2ComboBox_SelectedIndexChanged (line 8076) | private void partyPokemon2ComboBox_SelectedIndexChanged(object sender,...
method partyPokemon3ComboBox_SelectedIndexChanged (line 8085) | private void partyPokemon3ComboBox_SelectedIndexChanged(object sender,...
method partyPokemon4ComboBox_SelectedIndexChanged (line 8094) | private void partyPokemon4ComboBox_SelectedIndexChanged(object sender,...
method partyPokemon5ComboBox_SelectedIndexChanged (line 8103) | private void partyPokemon5ComboBox_SelectedIndexChanged(object sender,...
method partyPokemon6ComboBox_SelectedIndexChanged (line 8112) | private void partyPokemon6ComboBox_SelectedIndexChanged(object sender,...
method showTrainerEditorItemPic (line 8121) | private void showTrainerEditorItemPic(byte partyPos) {
method partyItem1ComboBox_SelectedIndexChanged (line 8126) | private void partyItem1ComboBox_SelectedIndexChanged(object sender, Ev...
method partyItem2ComboBox_SelectedIndexChanged (line 8130) | private void partyItem2ComboBox_SelectedIndexChanged(object sender, Ev...
method partyItem3ComboBox_SelectedIndexChanged (line 8134) | private void partyItem3ComboBox_SelectedIndexChanged(object sender, Ev...
method partyItem4ComboBox_SelectedIndexChanged (line 8138) | private void partyItem4ComboBox_SelectedIndexChanged(object sender, Ev...
method partyItem5ComboBox_SelectedIndexChanged (line 8142) | private void partyItem5ComboBox_SelectedIndexChanged(object sender, Ev...
method partyItem6ComboBox_SelectedIndexChanged (line 8146) | private void partyItem6ComboBox_SelectedIndexChanged(object sender, Ev...
method DVExplainButton_Click (line 8150) | private void DVExplainButton_Click(object sender, EventArgs e) {
method partyCountUpDown_ValueChanged (line 8155) | private void partyCountUpDown_ValueChanged(object sender, EventArgs e) {
method trainerMovesCheckBox_CheckedChanged (line 8165) | private void trainerMovesCheckBox_CheckedChanged(object sender, EventA...
method trainerItemsCheckBox_CheckedChanged (line 8189) | private void trainerItemsCheckBox_CheckedChanged(object sender, EventA...
method partyMoveComboBox_SelectedIndexChanged (line 8194) | private void partyMoveComboBox_SelectedIndexChanged(object sender, Eve...
method trainerSaveCurrentButton_Click (line 8208) | private void trainerSaveCurrentButton_Click(object sender, EventArgs e) {
method UpdateCurrentTrainerShownName (line 8300) | private void UpdateCurrentTrainerShownName() {
method GetTrainerClassNameFromListbox (line 8314) | private string GetTrainerClassNameFromListbox(object selectedItem) {
method UpdateCurrentTrainerName (line 8319) | private void UpdateCurrentTrainerName(string newName) {
method UpdateCurrentTrainerClassName (line 8329) | private void UpdateCurrentTrainerClassName(string newName) {
method trainerClassListBox_SelectedIndexChanged (line 8335) | private void trainerClassListBox_SelectedIndexChanged(object sender, E...
method LoadTrainerClassPic (line 8366) | private int LoadTrainerClassPic(int trClassID) {
method UpdateTrainerClassPic (line 8385) | private void UpdateTrainerClassPic(PictureBox pb, int frameNumber = 0) {
method addTrainerButton_Click (line 8403) | private void addTrainerButton_Click(object sender, EventArgs e) {
method exportTrainerButton_Click (line 8425) | private void exportTrainerButton_Click(object sender, EventArgs e) {
method importTrainerButton_Click (line 8429) | private void importTrainerButton_Click(object sender, EventArgs e) {
method exportPropertiesButton_Click (line 8463) | private void exportPropertiesButton_Click(object sender, EventArgs e) {
method replacePropertiesButton_Click (line 8467) | private void replacePropertiesButton_Click(object sender, EventArgs e) {
method exportPartyButton_Click (line 8483) | private void exportPartyButton_Click(object sender, EventArgs e) {
method importReplacePartyButton_Click (line 8489) | private void importReplacePartyButton_Click(object sender, EventArgs e) {
method saveTrainerClassButton_Click (line 8506) | private void saveTrainerClassButton_Click(object sender, EventArgs e) {
method trClassFramePreviewUpDown_ValueChanged (line 8545) | private void trClassFramePreviewUpDown_ValueChanged(object sender, Eve...
method getPokemonAbilities (line 8549) | private (int abi1, int abi2)[] getPokemonAbilities(int numPokemonSpeci...
method getPokemonAbilityNames (line 8559) | private (string ability1, string ability2) getPokemonAbilityNames(int ...
method setTrainerPartyPokemonAbilities (line 8564) | private void setTrainerPartyPokemonAbilities(int partyPokemonPosition) {
method setTrainerPokemonGender (line 8585) | private void setTrainerPokemonGender(int partyPokemonPosition) {
method getPokemonFormNames (line 8617) | private List<string> getPokemonFormNames(int pokemonID) {
method setTrainerPartyPokemonForm (line 8679) | private void setTrainerPartyPokemonForm(int partyPokemonPosition) {
method SetupConditionalMusicTable (line 8717) | private void SetupConditionalMusicTable() {
method SetupBattleEffectsTables (line 8762) | private void SetupBattleEffectsTables() {
method RepopulateTableEditorTrainerClasses (line 8880) | private void RepopulateTableEditorTrainerClasses() {
method conditionalMusicTableListBox_SelectedIndexChanged (line 8888) | private void conditionalMusicTableListBox_SelectedIndexChanged(object ...
method headerConditionalMusicComboBox_SelectedIndexChanged (line 8899) | private void headerConditionalMusicComboBox_SelectedIndexChanged(objec...
method flagConditionalMusicUpDown_ValueChanged (line 8921) | private void flagConditionalMusicUpDown_ValueChanged(object sender, Ev...
method musicIDconditionalMusicUpDown_ValueChanged (line 8930) | private void musicIDconditionalMusicUpDown_ValueChanged(object sender,...
method HOWconditionalMusicTableButton_Click (line 8938) | private void HOWconditionalMusicTableButton_Click(object sender, Event...
method saveConditionalMusicTableBTN_Click (line 8942) | private void saveConditionalMusicTableBTN_Click(object sender, EventAr...
method TBLEditortrainerClassPreviewPic_ValueChanged (line 8950) | private void TBLEditortrainerClassPreviewPic_ValueChanged(object sende...
method saveEffectComboBTN_Click (line 8954) | private void saveEffectComboBTN_Click(object sender, EventArgs e) {
method saveVSPokemonEntryBTN_Click (line 8978) | private void saveVSPokemonEntryBTN_Click(object sender, EventArgs e) {
method saveVSTrainerEntryBTN_Click (line 8995) | private void saveVSTrainerEntryBTN_Click(object sender, EventArgs e) {
method HOWpbEffectsTableButton_Click (line 9011) | private void HOWpbEffectsTableButton_Click(object sender, EventArgs e) {
method HOWvsPokemonButton_Click (line 9017) | private void HOWvsPokemonButton_Click(object sender, EventArgs e) {
method HOWVsTrainerButton_Click (line 9023) | private void HOWVsTrainerButton_Click(object sender, EventArgs e) {
method pbEffectsVsTrainerListbox_SelectedIndexChanged (line 9028) | private void pbEffectsVsTrainerListbox_SelectedIndexChanged(object sen...
method pbEffectsVsPokemonListbox_SelectedIndexChanged (line 9041) | private void pbEffectsVsPokemonListbox_SelectedIndexChanged(object sen...
method pbEffectsCombosListbox_SelectedIndexChanged (line 9058) | private void pbEffectsCombosListbox_SelectedIndexChanged(object sender...
method pbEffectsTrainerCombobox_SelectedIndexChanged (line 9070) | private void pbEffectsTrainerCombobox_SelectedIndexChanged(object send...
method pbEffectsPokemonCombobox_SelectedIndexChanged (line 9077) | private void pbEffectsPokemonCombobox_SelectedIndexChanged(object send...
method ExclusiveCBInvert (line 9084) | private void ExclusiveCBInvert(CheckBox cb) {
method unpackToFolderToolStripMenuItem_Click (line 9098) | private void unpackToFolderToolStripMenuItem_Click(object sender, Even...
method buildFromFolderToolStripMenuItem_Click (line 9133) | private void buildFromFolderToolStripMenuItem_Click(object sender, Eve...
method listBasedToolStripMenuItem_Click (line 9157) | private void listBasedToolStripMenuItem_Click(object sender, EventArgs...
method contentBasedToolStripMenuItem_Click (line 9252) | private void contentBasedToolStripMenuItem_Click(object sender, EventA...
method ContentBasedBatchRename (line 9256) | private void ContentBasedBatchRename(DirectoryInfo d = null) {
method fromFolderContentsToolStripMenuItem_Click (line 9372) | private void fromFolderContentsToolStripMenuItem_Click(object sender, ...
method enumBasedListBuilderToolStripButton_Click (line 9400) | private void enumBasedListBuilderToolStripButton_Click(object sender, ...
method MakeUniqueName (line 9510) | private string MakeUniqueName(string fileName, string fileNameOnly = n...
method OpenNonEmptyDir (line 9530) | private (DirectoryInfo, FileInfo[]) OpenNonEmptyDir(DirectoryInfo d = ...
method simpleToolStripMenuItem_MouseDown (line 9557) | private void simpleToolStripMenuItem_MouseDown(object sender, MouseEve...
method SetMenuLayout (line 9562) | private void SetMenuLayout(byte layoutStyle) {
method ExplorerSelect (line 9646) | public static void ExplorerSelect(string path) {
method locateCurrentMatrixFile_Click (line 9652) | private void locateCurrentMatrixFile_Click(object sender, EventArgs e) {
method locateCurrentMapBin_Click (line 9656) | private void locateCurrentMapBin_Click(object sender, EventArgs e) {
method locateCurrentNsbtx_Click (line 9660) | private void locateCurrentNsbtx_Click(object sender, EventArgs e) {
method locateCurrentAreaData_Click (line 9668) | private void locateCurrentAreaData_Click(object sender, EventArgs e) {
method locateCurrentEvFile_Click (line 9671) | private void locateCurrentEvFile_Click(object sender, EventArgs e) {
method locateCurrentScriptFile_Click (line 9674) | private void locateCurrentScriptFile_Click(object sender, EventArgs e) {
method locateCurrentTextArchive_Click (line 9677) | private void locateCurrentTextArchive_Click(object sender, EventArgs e) {
method PictureBoxDisable (line 9686) | public void PictureBoxDisable(object sender, PaintEventArgs e) {
method NSBTXRender (line 9694) | private int NSBTXRender(int tex, int pal, float scale = -1, NSBTX_File...
method scalingTrackBar_Scroll (line 9719) | private void scalingTrackBar_Scroll(object sender, EventArgs e) {
method invertDragCheckbox_CheckedChanged (line 9727) | private void invertDragCheckbox_CheckedChanged(object sender, EventArg...
method repositionImageButton_Click (line 9731) | private void repositionImageButton_Click(object sender, EventArgs e) {
method texturedMapRenderCheckBox_CheckedChanged (line 9735) | private void texturedMapRenderCheckBox_CheckedChanged(object sender, E...
method texturedBldRenderCheckBox_CheckedChanged (line 9740) | private void texturedBldRenderCheckBox_CheckedChanged(object sender, E...
method trainerEditorStatButton_Click (line 9745) | private void trainerEditorStatButton_Click(object sender, EventArgs e) {
method ExportTrainerUsageToCSV (line 9799) | public void ExportTrainerUsageToCSV(Dictionary<string, Dictionary<stri...
method pokemonDataEditorToolStripMenuItem_Click (line 9828) | private void pokemonDataEditorToolStripMenuItem_Click(object sender, E...
method overlayEditorToolStripMenuItem_Click (line 9846) | private void overlayEditorToolStripMenuItem_Click(object sender, Event...
method moveDataEditorToolStripMenuItem_Click (line 9856) | private void moveDataEditorToolStripMenuItem_Click(object sender, Even...
FILE: DS_Map/MessageEnc/EncryptText.cs
class EncryptText (line 10) | public static class EncryptText
method DecodeCharacter (line 15) | private static string DecodeCharacter(int textChar)
method DecodeMessage (line 27) | public static string DecodeMessage(BinaryReader reader, int key, int o...
method ReadMessageArchive (line 126) | public static List<string> ReadMessageArchive(FileStream fileStream, b...
method EncodeMessage (line 186) | private static int[] EncodeMessage(string message, bool isTrainerName ...
method EncodeMessages (line 294) | private static List<int[]> EncodeMessages(List<string> messages, bool ...
method GetInitialKey (line 304) | private static int GetInitialKey(string filePath)
method WriteMessageArchive (line 328) | public static bool WriteMessageArchive(int messageArchiveId, List<stri...
FILE: DS_Map/Narc.cs
class Narc (line 8) | public class Narc { //Nitro Archive
method Narc (line 21) | private Narc(String name) {
method NewEmpty (line 25) | public static Narc NewEmpty(String name = "NewNarc") {
method Open (line 30) | public static Narc Open(String filePath) {
method FromFolder (line 44) | public static Narc FromFolder(String dirPath) {
method Save (line 62) | public void Save(String filePath) {
method ExtractToFolder (line 118) | public void ExtractToFolder(String dirPath, string extension = null) {
method Free (line 167) | public void Free() { // Libera todos los recursos de memoria asociados...
method GetElementsLength (line 182) | public int GetElementsLength() {
method ReadOffsets (line 186) | private void ReadOffsets(BinaryReader br) {
method ReadElements (line 193) | private void ReadElements(BinaryReader br) {
FILE: DS_Map/OffsetPictureBox.cs
class OffsetPictureBox (line 6) | public partial class OffsetPictureBox : PictureBox {
method OnPaint (line 14) | protected override void OnPaint(PaintEventArgs pe) {
method OnMouseDown (line 20) | protected override void OnMouseDown(MouseEventArgs e) {
method OnMouseMove (line 32) | protected override void OnMouseMove(MouseEventArgs e) {
method OnMouseUp (line 61) | protected override void OnMouseUp(MouseEventArgs e) {
method DrawAt (line 65) | public void DrawAt(float offsX, float offsY) {
method DrawTranslate (line 70) | public void DrawTranslate(float incrementX, float incrementY) {
method RedrawCentered (line 77) | public void RedrawCentered() => DrawAt(0, 0);
FILE: DS_Map/OverlayEditor.Designer.cs
class OverlayEditor (line 2) | partial class OverlayEditor {
method Dispose (line 12) | protected override void Dispose(bool disposing) {
method InitializeComponent (line 25) | private void InitializeComponent() {
FILE: DS_Map/OverlayEditor.cs
class OverlayEditor (line 13) | public partial class OverlayEditor : Form {
method OverlayEditor (line 19) | public OverlayEditor() {
method isMarkedCompressedButton_Click (line 45) | private void isMarkedCompressedButton_Click(object sender, EventArgs e) {
method isCompressedButton_Click (line 52) | private void isCompressedButton_Click(object sender, EventArgs e) {
method revertChangesButton_Click (line 59) | private void revertChangesButton_Click(object sender, EventArgs e) {
method overlayDataGrid_CellFormatting (line 74) | private void overlayDataGrid_CellFormatting(object sender, DataGridVie...
method saveChangesButton_Click (line 84) | private void saveChangesButton_Click(object sender, EventArgs e) {
method FindMismatches (line 131) | private bool FindMismatches(bool paintThem = true) {
method overlayDataGrid_SelectionChanged (line 150) | private void overlayDataGrid_SelectionChanged(object sender, EventArgs...
method overlayDataGrid_CellValueChanged (line 154) | private void overlayDataGrid_CellValueChanged(object sender, DataGridV...
class Overlay (line 159) | public class Overlay {
FILE: DS_Map/PatchToolboxDialog.Designer.cs
class PatchToolboxDialog (line 3) | partial class PatchToolboxDialog
method Dispose (line 14) | protected override void Dispose(bool disposing)
method InitializeComponent (line 29) | private void InitializeComponent() {
FILE: DS_Map/PatchToolboxDialog.cs
class PatchToolboxDialog (line 18) | public partial class PatchToolboxDialog : Form
method PatchToolboxDialog (line 39) | public PatchToolboxDialog()
method DisableOverlay1patch (line 107) | private void DisableOverlay1patch(string reason)
method DisableBDHCamPatch (line 115) | private void DisableBDHCamPatch(string reason)
method DisableARM9patch (line 124) | private void DisableARM9patch(string reason)
method DisableDynamicHeadersPatch (line 132) | private void DisableDynamicHeadersPatch(string reason)
method DisableMatrixExpansionPatch (line 140) | private void DisableMatrixExpansionPatch(string reason)
method DisableStandardizeItemsPatch (line 148) | private void DisableStandardizeItemsPatch(string reason)
method DisableScrcmdRepointPatch (line 156) | private void DisableScrcmdRepointPatch(string reason)
method DisableKillTextureAnimationsPatch (line 165) | private void DisableKillTextureAnimationsPatch(string reason)
method DisableTrainerNameExpansionPatch (line 173) | private void DisableTrainerNameExpansionPatch(string reason)
method CheckFilesArm9ExpansionApplied (line 187) | private static bool CheckFilesArm9ExpansionApplied()
method CheckFilesBDHCamPatchApplied (line 204) | public static bool CheckFilesBDHCamPatchApplied()
method CheckFilesMatrixExpansionApplied (line 237) | public static bool CheckFilesMatrixExpansionApplied()
method CheckScriptsStandardizedItemNumbers (line 258) | public static bool CheckScriptsStandardizedItemNumbers()
method CheckStandardizedItems (line 276) | public bool CheckStandardizedItems()
method CheckMatrixExpansionApplied (line 295) | public bool CheckMatrixExpansionApplied()
method CheckARM9ExpansionApplied (line 313) | private bool CheckARM9ExpansionApplied()
method CheckDynamicHeadersPatchApplied (line 341) | public bool CheckDynamicHeadersPatchApplied()
method CheckFilesDynamicHeadersPatchApplied (line 358) | public static bool CheckFilesDynamicHeadersPatchApplied()
method CheckBDHCamPatchApplied (line 365) | public bool CheckBDHCamPatchApplied()
method CheckScrcmdRepointPatchApplied (line 388) | public void CheckScrcmdRepointPatchApplied()
method CheckExpandedTrainerNamesPatchApplied (line 393) | public void CheckExpandedTrainerNamesPatchApplied()
method SentenceCasePatchButton_Click (line 420) | private void SentenceCasePatchButton_Click(object sender, EventArgs e)
method BDHCAMPatchButton_Click (line 453) | private void BDHCAMPatchButton_Click(object sender, EventArgs e)
method overlay1uncomprButton_Click (line 527) | private void overlay1uncomprButton_Click(object sender, EventArgs e)
method ConfigureOverlay1Uncompressed (line 536) | public static bool ConfigureOverlay1Uncompressed()
method ApplyItemStandardizeButton_Click (line 571) | private void ApplyItemStandardizeButton_Click(object sender, EventArgs e)
method ApplyARM9ExpansionButton_Click (line 686) | private void ApplyARM9ExpansionButton_Click(object sender, EventArgs e)
method expandMatrixButton_Click (line 745) | private void expandMatrixButton_Click(object sender, EventArgs e)
method dynamicHeadersButton_Click (line 805) | private void dynamicHeadersButton_Click(object sender, EventArgs e)
method disableDynamicTexturesButton_Click (line 946) | private void disableDynamicTexturesButton_Click(object sender, EventAr...
method expandTrainerNamesButton_Click (line 977) | private void expandTrainerNamesButton_Click(object sender, EventArgs e)
method applyCustomCommands (line 1021) | private void applyCustomCommands(object sender, EventArgs e)
method GetCommandTableOffset (line 1050) | private int GetCommandTableOffset()
method RepointCommandTable (line 1067) | private void RepointCommandTable()
method ImportCustomCommand (line 1095) | private bool ImportCustomCommand()
method AlreadyApplied (line 1183) | private void AlreadyApplied()
FILE: DS_Map/PersonalDataEditor.Designer.cs
class PersonalDataEditor (line 2) | partial class PersonalDataEditor {
method Dispose (line 12) | protected override void Dispose(bool disposing) {
method InitializeComponent (line 25) | private void InitializeComponent() {
FILE: DS_Map/PersonalDataEditor.cs
class PersonalDataEditor (line 12) | public partial class PersonalDataEditor : Form {
method PersonalDataEditor (line 26) | public PersonalDataEditor(string[] itemNames, string[] abilityNames, S...
method setDirty (line 82) | private void setDirty(bool status) {
method baseHpNumericUpDown_ValueChanged (line 91) | private void baseHpNumericUpDown_ValueChanged(object sender, EventArgs...
method baseAtkNumericUpDown_ValueChanged (line 99) | private void baseAtkNumericUpDown_ValueChanged(object sender, EventArg...
method baseDefNumericUpDown_ValueChanged (line 106) | private void baseDefNumericUpDown_ValueChanged(object sender, EventArg...
method baseSpAtkNumericUpDown_ValueChanged (line 114) | private void baseSpAtkNumericUpDown_ValueChanged(object sender, EventA...
method baseSpDefNumericUpDown_ValueChanged (line 122) | private void baseSpDefNumericUpDown_ValueChanged(object sender, EventA...
method baseSpeedNumericUpDown_ValueChanged (line 130) | private void baseSpeedNumericUpDown_ValueChanged(object sender, EventA...
method evHpNumericUpDown_ValueChanged (line 138) | private void evHpNumericUpDown_ValueChanged(object sender, EventArgs e) {
method evAtkNumericUpDown_ValueChanged (line 146) | private void evAtkNumericUpDown_ValueChanged(object sender, EventArgs ...
method evDefNumericUpDown_ValueChanged (line 154) | private void evDefNumericUpDown_ValueChanged(object sender, EventArgs ...
method evSpAtkNumericUpDown_ValueChanged (line 162) | private void evSpAtkNumericUpDown_ValueChanged(object sender, EventArg...
method evSpDefNumericUpDown_ValueChanged (line 170) | private void evSpDefNumericUpDown_ValueChanged(object sender, EventArg...
method evSpeedNumericUpDown_ValueChanged (line 178) | private void evSpeedNumericUpDown_ValueChanged(object sender, EventArg...
method type1InputComboBox_SelectedIndexChanged (line 187) | private void type1InputComboBox_SelectedIndexChanged(object sender, Ev...
method type2InputComboBox_SelectedIndexChanged (line 195) | private void type2InputComboBox_SelectedIndexChanged(object sender, Ev...
method growthCurveInputComboBox_SelectedIndexChanged (line 203) | private void growthCurveInputComboBox_SelectedIndexChanged(object send...
method baseExpYieldNumericUpDown_ValueChanged (line 211) | private void baseExpYieldNumericUpDown_ValueChanged(object sender, Eve...
method dexColorInputComboBox_SelectedIndexChanged (line 219) | private void dexColorInputComboBox_SelectedIndexChanged(object sender,...
method flipFlagCheckBox_CheckedChanged (line 227) | private void flipFlagCheckBox_CheckedChanged(object sender, EventArgs ...
method escapeRateNumericUpDown_ValueChanged (line 235) | private void escapeRateNumericUpDown_ValueChanged(object sender, Event...
method catchRateNumericUpDown_ValueChanged (line 243) | private void catchRateNumericUpDown_ValueChanged(object sender, EventA...
method genderProbabilityNumericUpDown_ValueChanged (line 251) | private void genderProbabilityNumericUpDown_ValueChanged(object sender...
method GetGenderText (line 261) | private string GetGenderText(int vec) {
method ability1InputComboBox_SelectedIndexChanged (line 277) | private void ability1InputComboBox_SelectedIndexChanged(object sender,...
method ability2InputComboBox_SelectedIndexChanged (line 285) | private void ability2InputComboBox_SelectedIndexChanged(object sender,...
method eggGroup1InputCombobox_SelectedIndexChanged (line 293) | private void eggGroup1InputCombobox_SelectedIndexChanged(object sender...
method eggGroup2InputCombobox_SelectedIndexChanged (line 301) | private void eggGroup2InputCombobox_SelectedIndexChanged(object sender...
method eggStepsNumericUpDown_ValueChanged (line 309) | private void eggStepsNumericUpDown_ValueChanged(object sender, EventAr...
method item1InputComboBox_SelectedIndexChanged (line 317) | private void item1InputComboBox_SelectedIndexChanged(object sender, Ev...
method item2InputComboBox_SelectedIndexChanged (line 325) | private void item2InputComboBox_SelectedIndexChanged(object sender, Ev...
method baseFriendshipNumericUpDown_ValueChanged (line 333) | private void baseFriendshipNumericUpDown_ValueChanged(object sender, E...
method addMachineButton_Click (line 342) | private void addMachineButton_Click(object sender, EventArgs e) {
method removeMachineButton_Click (line 360) | private void removeMachineButton_Click(object sender, EventArgs e) {
method addAllMachinesButton_Click (line 377) | private void addAllMachinesButton_Click(object sender, EventArgs e) {
method removeAllMachinesButton_Click (line 391) | private void removeAllMachinesButton_Click(object sender, EventArgs e) {
method saveDataButton_Click (line 399) | private void saveDataButton_Click(object sender, EventArgs e) {
method CheckDiscardChanges (line 408) | public bool CheckDiscardChanges() {
method pokemonNameInputComboBox_SelectedIndexChanged (line 425) | private void pokemonNameInputComboBox_SelectedIndexChanged(object send...
method monNumberNumericUpDown_ValueChanged (line 440) | private void monNumberNumericUpDown_ValueChanged(object sender, EventA...
method ChangeLoadedFile (line 455) | public void ChangeLoadedFile(int toLoad) {
method RebuildMachinesListBoxes (line 513) | private void RebuildMachinesListBoxes(bool keepAddableSelection = true...
method MachineNameFromZeroBasedIndex (line 557) | private static string MachineNameFromZeroBasedIndex(int n) {
method ZeroBasedIndexFromMachineName (line 565) | private static int ZeroBasedIndexFromMachineName(string machineName) {
FILE: DS_Map/PokemonEditor.Designer.cs
class PokemonEditor (line 2) | partial class PokemonEditor {
method Dispose (line 12) | protected override void Dispose(bool disposing) {
method InitializeComponent (line 25) | private void InitializeComponent() {
FILE: DS_Map/PokemonEditor.cs
class PokemonEditor (line 14) | public partial class PokemonEditor : Form {
method PokemonEditor (line 19) | public PokemonEditor(string[] itemNames, string[] abilityNames, string...
method TrySyncIndices (line 39) | public void TrySyncIndices(ComboBox sender) {
method TrySyncIndices (line 64) | public void TrySyncIndices(NumericUpDown sender) {
FILE: DS_Map/Program.cs
class Program (line 9) | static class Program
method Main (line 14) | [STAThread]
FILE: DS_Map/Properties/Resources.Designer.cs
class Resources (line 22) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resource...
method Resources (line 31) | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Mic...
FILE: DS_Map/Properties/Settings.Designer.cs
class Settings (line 14) | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
FILE: DS_Map/ROMFiles/AreaData.cs
class AreaData (line 8) | public class AreaData : RomFile {
method AreaData (line 22) | public AreaData(Stream data) {
method AreaData (line 37) | public AreaData (byte ID) : this(new FileStream(RomInfo.gameDirs[DirNa...
method ToByteArray (line 41) | public override byte[] ToByteArray() {
method SaveToFileDefaultDir (line 59) | public void SaveToFileDefaultDir(int IDtoReplace, bool showSuccessMess...
method SaveToFileExplorePath (line 63) | public void SaveToFileExplorePath(string suggestedFileName, bool showS...
FILE: DS_Map/ROMFiles/EncounterFile.cs
class EncounterFile (line 76) | public abstract class EncounterFile : RomFile {
method SaveToFileDefaultDir (line 108) | public void SaveToFileDefaultDir(int IDtoReplace, bool showSuccessMess...
method ReportErrors (line 112) | public void ReportErrors(List<string> errorList) {
class EncounterFileDPPt (line 135) | public class EncounterFileDPPt : EncounterFile {
method EncounterFileDPPt (line 154) | public EncounterFileDPPt(Stream data) {
method EncounterFileDPPt (line 320) | public EncounterFileDPPt(int ID) : this(new FileStream(RomInfo.gameDir...
method EncounterFileDPPt (line 321) | public EncounterFileDPPt() {
method ToByteArray (line 327) | public override byte[] ToByteArray() {
method SaveToFileExplorePath (line 420) | public void SaveToFileExplorePath(string suggestedFileName, bool showS...
class EncounterFileHGSS (line 429) | public class EncounterFileHGSS : EncounterFile {
method EncounterFileHGSS (line 443) | public EncounterFileHGSS(Stream data) {
method EncounterFileHGSS (line 687) | public EncounterFileHGSS(int ID) : this(new FileStream(RomInfo.gameDir...
method EncounterFileHGSS (line 688) | public EncounterFileHGSS() {
method ToByteArray (line 694) | public override byte[] ToByteArray() {
method SaveToFileExplorePath (line 779) | public void SaveToFileExplorePath(string suggestedFileName, bool showS...
FILE: DS_Map/ROMFiles/EventFile.cs
class EventFile (line 13) | public class EventFile : RomFile {
type serializationOrder (line 14) | public enum serializationOrder {
method EventFile (line 31) | public EventFile(Stream data) {
method EventFile (line 58) | public EventFile(int ID) : this(new FileStream(RomInfo.gameDirs[DirNam...
method EventFile (line 59) | public EventFile() { }
method ToString (line 63) | public override string ToString() {
method ToByteArray (line 66) | public override byte[] ToByteArray() {
method SaveToFileDefaultDir (line 95) | public void SaveToFileDefaultDir(int IDtoReplace, bool showSuccessMess...
method SaveToFileExplorePath (line 98) | public void SaveToFileExplorePath(string suggestedFileName, bool showS...
method isEmpty (line 102) | internal bool isEmpty() => (spawnables is null || spawnables.Count == ...
class Event (line 110) | public abstract class Event {
type EventType (line 111) | public enum EventType : byte {
method ToByteArray (line 128) | public abstract byte[] ToByteArray();
class Spawnable (line 132) | public class Spawnable : Event {
method Spawnable (line 147) | public Spawnable(Stream data) {
method Spawnable (line 171) | public Spawnable(int xMatrixPosition, int yMatrixPosition) {
method Spawnable (line 187) | public Spawnable(Spawnable toCopy) {
method ToByteArray (line 206) | public override byte[] ToByteArray() {
method ToString (line 223) | public override string ToString() {
class Overworld (line 244) | public class Overworld : Event {
type OwType (line 247) | public enum OwType : ushort { NORMAL = 0, TRAINER = 1, ITEM = 3 };
method Overworld (line 265) | public Overworld(Stream data) {
method Overworld (line 292) | public Overworld(int owID, int xMatrixPosition, int yMatrixPosition) {
method Overworld (line 314) | public Overworld(Overworld toCopy) {
method ToByteArray (line 339) | public override byte[] ToByteArray() {
method ToString (line 366) | public override string ToString() {
method isAlias (line 371) | private bool isAlias() {
class Warp (line 377) | public class Warp : Event {
method Warp (line 385) | public Warp(Stream data) {
method Warp (line 401) | public Warp(int xMatrixPosition, int yMatrixPosition) {
method Warp (line 412) | public Warp(Warp toCopy) {
method ToByteArray (line 426) | public override byte[] ToByteArray() {
method ToString (line 441) | public override string ToString() {
class Trigger (line 448) | public class Trigger : Event {
method Trigger (line 459) | public Trigger(Stream data) {
method Trigger (line 480) | public Trigger(int xMatrixPosition, int yMatrixPosition) {
method Trigger (line 494) | public Trigger(Trigger toCopy) {
method ToByteArray (line 511) | public override byte[] ToByteArray() {
method ToString (line 527) | public override string ToString() {
FILE: DS_Map/ROMFiles/EvolutionFile.cs
type EvolutionMethod (line 8) | public enum EvolutionMethod : short {
type EvolutionParamMeaning (line 39) | public enum EvolutionParamMeaning {
type EvolutionData (line 48) | public struct EvolutionData {
method isValid (line 53) | public bool isValid() {
class EvolutionFile (line 72) | public class EvolutionFile : RomFile {
method EvolutionFile (line 116) | public EvolutionFile(Stream stream) {
method EvolutionFile (line 128) | public EvolutionFile(int ID) : this(new FileStream(RomInfo.gameDirs[Di...
method EvolutionFile (line 130) | public EvolutionFile() { }
method ToByteArray (line 132) | public override byte[] ToByteArray() {
method SaveToFileDefaultDir (line 155) | public void SaveToFileDefaultDir(int IDtoReplace, bool showSuccessMess...
method SaveToFileExplorePath (line 158) | public void SaveToFileExplorePath(string suggestedFileName, bool showS...
FILE: DS_Map/ROMFiles/GameMatrix.cs
class GameMatrix (line 25) | public class GameMatrix: RomFile {
method GameMatrix (line 45) | public GameMatrix(Stream data) {
method GameMatrix (line 92) | public GameMatrix(int ID) : this (new FileStream(RomInfo.gameDirs[DirN...
method GameMatrix (line 96) | public GameMatrix(GameMatrix copy, int newID) {
method GameMatrix (line 110) | public GameMatrix() {
method ResizeMatrix (line 122) | public void ResizeMatrix(int newHeight, int newWidth)
method ToString (line 179) | public override string ToString() {
method ToByteArray (line 182) | public override byte[] ToByteArray() {
method SaveToFileDefaultDir (line 216) | public void SaveToFileDefaultDir(int IDtoReplace, bool showSuccessMess...
method SaveToFileExplorePath (line 219) | public void SaveToFileExplorePath(string suggestedFileName, bool showS...
FILE: DS_Map/ROMFiles/HeadbuttEncounter.cs
class HeadbuttEncounter (line 4) | public class HeadbuttEncounter {
method HeadbuttEncounter (line 9) | public HeadbuttEncounter() {
method HeadbuttEncounter (line 15) | public HeadbuttEncounter(BinaryReader br) {
method ToString (line 21) | public override string ToString() {
FILE: DS_Map/ROMFiles/HeadbuttEncounterFile.cs
class HeadbuttEncounterFile (line 8) | public class HeadbuttEncounterFile {
method HeadbuttEncounterFile (line 22) | public HeadbuttEncounterFile(ushort id) {
method HeadbuttEncounterFile (line 28) | public HeadbuttEncounterFile(string path) {
method parse_file (line 32) | public void parse_file(string path) {
method ToByteArray (line 81) | public byte[] ToByteArray() {
method SaveToFile (line 117) | public bool SaveToFile() {
method SaveToFile (line 122) | public bool SaveToFile(int id) {
method SaveToFile (line 128) | public bool SaveToFile(string path, bool showSuccessMessage = true) {
FILE: DS_Map/ROMFiles/HeadbuttEncounterMap.cs
class HeadbuttEncounterMap (line 4) | class HeadbuttEncounterMap {
method HeadbuttEncounterMap (line 9) | public HeadbuttEncounterMap(int mapID, int x, int y) {
method ToString (line 15) | public override string ToString() {
method Equals (line 19) | public override bool Equals(object obj) {
method GetHashCode (line 32) | public override int GetHashCode() {
FILE: DS_Map/ROMFiles/HeadbuttTree.cs
class HeadbuttTree (line 4) | public class HeadbuttTree {
type Types (line 20) | public enum Types {
method HeadbuttTree (line 25) | public HeadbuttTree(ushort globalX = ushort.MaxValue, ushort globalY =...
method HeadbuttTree (line 30) | public HeadbuttTree(HeadbuttTree original) {
method ToString (line 97) | public override string ToString() {
FILE: DS_Map/ROMFiles/HeadbuttTreeGroup.cs
class HeadbuttTreeGroup (line 5) | public class HeadbuttTreeGroup {
method HeadbuttTreeGroup (line 9) | public HeadbuttTreeGroup(BinaryReader br) {
method HeadbuttTreeGroup (line 17) | public HeadbuttTreeGroup() {
method HeadbuttTreeGroup (line 23) | public HeadbuttTreeGroup(HeadbuttTreeGroup original) {
method ToString (line 29) | public override string ToString() {
FILE: DS_Map/ROMFiles/LearnsetData.cs
class LearnsetData (line 8) | internal class LearnsetData : RomFile {
method GetLearnsetAtLevel (line 15) | public ushort[] GetLearnsetAtLevel(int atLevel) {
method LearnsetData (line 40) | public LearnsetData(Stream stream) {
method LearnsetData (line 64) | public LearnsetData(int ID) : this(new FileStream(RomInfo.gameDirs[Dir...
method ToByteArray (line 66) | public override byte[] ToByteArray() {
method SaveToFileDefaultDir (line 84) | public void SaveToFileDefaultDir(int IDtoReplace, bool showSuccessMess...
method SaveToFileExplorePath (line 87) | public void SaveToFileExplorePath(string suggestedFileName, bool showS...
FILE: DS_Map/ROMFiles/LevelScriptFile.cs
class LevelScriptFile (line 7) | public class LevelScriptFile {
method LevelScriptFile (line 11) | public LevelScriptFile() { }
method LevelScriptFile (line 13) | public LevelScriptFile(int id) {
method parse_file (line 20) | public void parse_file(string path) {
method write_file (line 95) | public long write_file(string path, bool word_alignment_padding = fals...
FILE: DS_Map/ROMFiles/LevelScriptTrigger.cs
class LevelScriptTrigger (line 4) | public class LevelScriptTrigger {
method LevelScriptTrigger (line 14) | public LevelScriptTrigger(int triggerType, int scriptTriggered) {
method IsValidTriggerType (line 19) | public static bool IsValidTriggerType(byte triggerType) {
method ToString (line 27) | public override string ToString() {
FILE: DS_Map/ROMFiles/MapFile.cs
class MapFile (line 48) | public class MapFile : RomFile {
method MapFile (line 79) | public MapFile(string path, GameFamilies gFamily, bool discardMoveperm...
method MapFile (line 80) | public MapFile(int mapNumber, GameFamilies gFamily, bool discardMovepe...
method MapFile (line 81) | public MapFile(Stream data, GameFamilies gFamily, bool discardMoveperm...
method BuildingsToByteArray (line 129) | public byte[] BuildingsToByteArray() {
method CollisionsToByteArray (line 156) | public byte[] CollisionsToByteArray() {
method ImportBuildings (line 168) | public void ImportBuildings(byte[] newData) {
method LoadMapModel (line 176) | public bool LoadMapModel(byte[] newData, bool showMessages = true) {
method ImportPermissions (line 199) | public void ImportPermissions(byte[] newData) {
method ImportSoundPlates (line 209) | public void ImportSoundPlates(byte[] newData) {
method ImportTerrain (line 214) | public void ImportTerrain(byte[] newData) {
method ToByteArray (line 219) | public override byte[] ToByteArray() {
method GetUsedTypes (line 243) | public SortedSet<byte> GetUsedTypes() {
method SaveToFileDefaultDir (line 255) | public void SaveToFileDefaultDir(int IDtoReplace, bool showSuccessMess...
method SaveToFileExplorePath (line 258) | public void SaveToFileExplorePath(string suggestedFileName, bool showS...
class Building (line 267) | public class Building {
method Building (line 286) | public Building(Stream data) {
method Building (line 315) | public Building() {
method Building (line 330) | public Building(Building toCopy) {
method DegToU16 (line 348) | public static ushort DegToU16(float deg) {
method U16ToDeg (line 351) | public static float U16ToDeg(ushort u16) {
method LoadModelData (line 354) | public void LoadModelData(string dir) {
method LoadModelData (line 358) | public void LoadModelData(bool interior) {
method LoadModelDataFromID (line 375) | public void LoadModelDataFromID(int modelID, string bmDir) {
FILE: DS_Map/ROMFiles/MapHeader.cs
class MapHeader (line 8) | public abstract class MapHeader : RomFile {
type SearchableFields (line 17) | public enum SearchableFields: byte {
method BuildName (line 54) | public static string BuildName(int headerID, string name) {
method LoadFromByteArray (line 58) | public static MapHeader LoadFromByteArray(byte[] headerData, ushort he...
method LoadFromFile (line 79) | public static MapHeader LoadFromFile(string filename, ushort headerNum...
method LoadFromARM9 (line 85) | public static MapHeader LoadFromARM9(ushort headerNumber, RomInfo.Game...
method GetMapHeader (line 90) | public static MapHeader GetMapHeader(ushort headerNumber) {
method GetHeaderCount (line 109) | public static int GetHeaderCount() {
method SaveFile (line 120) | public void SaveFile() {
class HeaderDP (line 138) | public class HeaderDP : MapHeader {
method HeaderDP (line 144) | public HeaderDP(ushort headerNumber, Stream data) {
method ToByteArray (line 170) | public override byte[] ToByteArray() {
class HeaderPt (line 199) | public class HeaderPt : MapHeader {
method HeaderPt (line 206) | public HeaderPt(ushort headerNumber, Stream data) {
method ToByteArray (line 238) | public override byte[] ToByteArray() {
class HeaderHGSS (line 267) | public class HeaderHGSS : MapHeader {
method HeaderHGSS (line 279) | public HeaderHGSS(ushort headerNumber, Stream data) {
method ToByteArray (line 323) | public override byte[] ToByteArray() {
FILE: DS_Map/ROMFiles/MapScreenLoadTrigger.cs
class MapScreenLoadTrigger (line 2) | public class MapScreenLoadTrigger : LevelScriptTrigger {
method MapScreenLoadTrigger (line 3) | public MapScreenLoadTrigger(int type, int scriptTriggered) : base(type...
method ToString (line 5) | public override string ToString() {
method Equals (line 18) | public override bool Equals(object obj) {
method GetHashCode (line 31) | public override int GetHashCode() {
FILE: DS_Map/ROMFiles/MoveData.cs
class MoveData (line 10) | public class MoveData : RomFile {
type AttackRange (line 11) | public enum AttackRange : ushort {
type MoveSplit (line 25) | public enum MoveSplit : byte {
type ContestCondition (line 30) | public enum ContestCondition : byte {
type MoveFlags (line 38) | public enum MoveFlags : byte {
method MoveData (line 66) | public MoveData(Stream stream) {
method MoveData (line 85) | public MoveData(int ID) : this(new FileStream(RomInfo.gameDirs[DirName...
method ToByteArray (line 87) | public override byte[] ToByteArray() {
method SaveToFileDefaultDir (line 113) | public void SaveToFileDefaultDir(int IDtoReplace, bool showSuccessMess...
method SaveToFileExplorePath (line 116) | public void SaveToFileExplorePath(string suggestedFileName, bool showS...
method UpdateFromText (line 120) | public static void UpdateFromText(MoveData m, string[] split) {
method ToString (line 183) | public override string ToString() {
method Equals (line 211) | public override bool Equals(object obj) {
method GetHashCode (line 227) | public override int GetHashCode() {
FILE: DS_Map/ROMFiles/PokemonPersonalData.cs
type PokemonGender (line 8) | public enum PokemonGender {
type PokemonType (line 13) | public enum PokemonType {
type PokemonGrowthCurve (line 33) | public enum PokemonGrowthCurve {
type PokemonEggGroup (line 42) | public enum PokemonEggGroup {
type PokemonDexColor (line 60) | public enum PokemonDexColor {
class PokemonPersonalData (line 74) | public class PokemonPersonalData : RomFile {
method PokemonPersonalData (line 118) | public PokemonPersonalData(Stream stream) {
method PokemonPersonalData (line 164) | public PokemonPersonalData(int ID) : this(new FileStream(RomInfo.gameD...
method ToByteArray (line 166) | public override byte[] ToByteArray() {
method BitFieldToSet (line 221) | public SortedSet<byte> BitFieldToSet(uint[] bitfield) {
method SetToBitField (line 237) | public uint[] SetToBitField(SortedSet<byte> set) {
method SaveToFileDefaultDir (line 257) | public void SaveToFileDefaultDir(int IDtoReplace, bool showSuccessMess...
method SaveToFileExplorePath (line 260) | public void SaveToFileExplorePath(string suggestedFileName, bool showS...
FILE: DS_Map/ROMFiles/RomFile.cs
class RomFile (line 7) | public abstract class RomFile {
method ToByteArray (line 8) | public abstract byte[] ToByteArray();
method SaveToFile (line 9) | public bool SaveToFile(string path, bool showSuccessMessage = true) {
method SaveToFileDefaultDir (line 25) | protected internal bool SaveToFileDefaultDir(DirNames dir, int IDtoRep...
method SaveToFileExplorePath (line 29) | protected internal void SaveToFileExplorePath(string fileType, string ...
FILE: DS_Map/ROMFiles/SafariZoneEncounter.cs
class SafariZoneEncounter (line 6) | public class SafariZoneEncounter
method SafariZoneEncounter (line 10) | public SafariZoneEncounter() {
method SafariZoneEncounter (line 15) | public SafariZoneEncounter(BinaryReader br) {
method readEncounter (line 19) | public void readEncounter(BinaryReader br) {
method writeEncounter (line 24) | public void writeEncounter(BinaryWriter bw) {
method ToString (line 29) | public override string ToString() {
FILE: DS_Map/ROMFiles/SafariZoneEncounterFile.cs
class SafariZoneEncounterFile (line 5) | public class SafariZoneEncounterFile {
method SafariZoneEncounterFile (line 29) | public SafariZoneEncounterFile(int id) {
method SafariZoneEncounterFile (line 35) | public SafariZoneEncounterFile(string path) {
method parse_file (line 39) | public void parse_file(string path) {
method ToByteArray (line 62) | public byte[] ToByteArray() {
method SaveToFile (line 84) | public bool SaveToFile() {
method SaveToFile (line 89) | public bool SaveToFile(int id) {
method SaveToFile (line 95) | public bool SaveToFile(string path, bool showSuccessMessage = true) {
FILE: DS_Map/ROMFiles/SafariZoneEncounterGroup.cs
class SafariZoneEncounterGroup (line 6) | public class SafariZoneEncounterGroup
method readObjectSlots (line 20) | public void readObjectSlots(BinaryReader br) {
method writeObjectSlots (line 24) | public void writeObjectSlots(BinaryWriter bw) {
method readGroup (line 28) | public void readGroup(BinaryReader br) {
method writeGroup (line 68) | public void writeGroup(BinaryWriter bw) {
FILE: DS_Map/ROMFiles/SafariZoneObjectRequirement.cs
class SafariZoneObjectRequirement (line 5) | public class SafariZoneObjectRequirement {
method SafariZoneObjectRequirement (line 17) | public SafariZoneObjectRequirement(byte typeID = 0, byte quantity = 0) {
method SafariZoneObjectRequirement (line 22) | public SafariZoneObjectRequirement(BinaryReader br) {
method readRequirement (line 26) | public void readRequirement(BinaryReader br) {
method writeRequirement (line 31) | public void writeRequirement(BinaryWriter bw) {
method ToString (line 36) | public override string ToString() {
FILE: DS_Map/ROMFiles/ScriptAction.cs
class ActionContainer (line 9) | public class ActionContainer {
method ActionContainer (line 14) | public ActionContainer(uint actionNumber, List<ScriptAction> actionCom...
class ScriptAction (line 20) | public class ScriptAction {
method ScriptAction (line 28) | public ScriptAction(ushort id, ushort? repetitionCount = null) {
method ScriptAction (line 40) | public ScriptAction(string wholeLine, int lineNumber) {
FILE: DS_Map/ROMFiles/ScriptActionContainer.cs
class ScriptActionContainer (line 4) | public class ScriptActionContainer {
method ScriptActionContainer (line 8) | public ScriptActionContainer(uint actionNumber, List<ScriptAction> com...
FILE: DS_Map/ROMFiles/ScriptCommand.cs
class ScriptCommand (line 9) | public class ScriptCommand {
type ParamTypeEnum (line 10) | enum ParamTypeEnum {
method ScriptCommand (line 26) | public ScriptCommand(ushort id, List<byte[]> parametersList) {
method FormatCmd_Warp (line 186) | private string FormatCmd_Warp(List<byte[]> parametersList) {
method FormatCmd_Overworld_TwoParams (line 190) | private string FormatCmd_Overworld_TwoParams(List<byte[]> parametersLi...
method FormatCmd_Overworld_Move (line 194) | private string FormatCmd_Overworld_Move(List<byte[]> parametersList) {
method FormatCmd_Overworld_3Coords_Dir (line 198) | private string FormatCmd_Overworld_3Coords_Dir(List<byte[]> parameters...
method FormatCmd_Overworld_Dir (line 202) | private string FormatCmd_Overworld_Dir(List<byte[]> parametersList) {
method ScriptCommand (line 206) | public ScriptCommand(string wholeLine, int lineNumber = 0) {
method FormatNumber (line 356) | private string FormatNumber(byte[] par, ParamTypeEnum paramType = Para...
method FormatNumber (line 374) | private string FormatNumber(uint num, ParamTypeEnum paramType = ParamT...
method ToString (line 443) | public override string ToString() {
FILE: DS_Map/ROMFiles/ScriptCommandContainer.cs
class ScriptCommandContainer (line 4) | public class ScriptCommandContainer {
method ScriptCommandContainer (line 11) | public ScriptCommandContainer(uint scriptNumber, ScriptFile.ContainerT...
method ScriptCommandContainer (line 18) | public ScriptCommandContainer(uint newID, ScriptCommandContainer toCop...
FILE: DS_Map/ROMFiles/ScriptFile.cs
class ScriptFile (line 13) | public class ScriptFile : RomFile {
type ContainerTypes (line 15) | public enum ContainerTypes {
type ContainerReference (line 21) | public struct ContainerReference {
method ScriptFile (line 36) | public ScriptFile(Stream fs, bool readFunctions = true, bool readActio...
method ScriptFile (line 153) | public ScriptFile(int fileID, bool readFunctions = true, bool readActi...
method getFileStream (line 157) | static FileStream getFileStream(int fileID) {
method ToString (line 162) | public override string ToString() {
method ScriptFile (line 167) | public ScriptFile(List<ScriptCommandContainer> scripts, List<ScriptCom...
method ScriptFile (line 174) | public ScriptFile(IEnumerable<string> scriptLines, IEnumerable<string>...
method ReadCommand (line 218) | private ScriptCommand ReadCommand(BinaryReader dataReader, ref List<in...
method ProcessRelativeJump (line 453) | private void ProcessRelativeJump(BinaryReader dataReader, ref List<byt...
method addParametersToList (line 469) | private void addParametersToList(ref List<byte[]> parameterList, ushor...
method AddReference (line 488) | private void AddReference(ref List<ScriptReference> references, ushort...
method ReadCommandsFromLines (line 500) | private List<ScriptCommandContainer> ReadCommandsFromLines(List<string...
method ReadActionsFromLines (line 571) | private List<ScriptActionContainer> ReadActionsFromLines(List<string> ...
method ToByteArray (line 634) | public override byte[] ToByteArray() {
method FunctionIsInvoked (line 849) | private bool FunctionIsInvoked(List<ScriptReference> refList, SortedSe...
method SaveToFileDefaultDir (line 893) | public bool SaveToFileDefaultDir(int IDtoReplace, bool showSuccessMess...
method SaveToFileExplorePath (line 897) | public void SaveToFileExplorePath(string suggestedFileName, bool blind...
FILE: DS_Map/ROMFiles/ScriptReference.cs
class ScriptReference (line 2) | internal class ScriptReference {
method ScriptReference (line 9) | public ScriptReference(ScriptFile.ContainerTypes typeOfCaller, uint ca...
method ToString (line 18) | publ
Copy disabled (too large)
Download .json
Condensed preview — 294 files, each showing path, character count, and a content snippet. Download the .json file for the full structured content (10,479K chars).
[
{
"path": ".gitattributes",
"chars": 2518,
"preview": "###############################################################################\n# Set default behavior to automatically "
},
{
"path": ".github/workflows/base-build-nightly.yaml",
"chars": 1485,
"preview": "name: DSPRE Canary Build\n\non:\n push:\n branches:\n - main # Trigger only on pushes to the main branch\n\npermissio"
},
{
"path": ".gitignore",
"chars": 6215,
"preview": "## Ignore Visual Studio temporary files, build results, and\n## files generated by popular Visual Studio add-ons.\n##\n## G"
},
{
"path": "DS_Map/App.config",
"chars": 1653,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<configuration>\n <configSections>\n <sectionGroup name=\"userSettings\" ty"
},
{
"path": "DS_Map/BuildingEditor.Designer.cs",
"chars": 10067,
"preview": "namespace DSPRE\n{\n partial class BuildingEditor\n {\n /// <summary>\n /// Required designer variable.\n"
},
{
"path": "DS_Map/BuildingEditor.cs",
"chars": 12803,
"preview": "using System;\nusing System.IO;\nusing System.Text;\nusing System.Windows.Forms;\nusing LibNDSFormats.NSBMD;\nusing LibNDSFo"
},
{
"path": "DS_Map/BuildingEditor.resx",
"chars": 6065,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/DSPRE.csproj",
"chars": 38771,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Project ToolsVersion=\"15.0\" xmlns=\"http://schemas.microsoft.com/developer/msbui"
},
{
"path": "DS_Map/DSUtils/ARM9.cs",
"chars": 2502,
"preview": "using System;\nusing System.Diagnostics;\nusing System.IO;\nusing static DSPRE.RomInfo;\n\nnamespace DSPRE {\n public stat"
},
{
"path": "DS_Map/DSUtils/DSUtils.cs",
"chars": 10011,
"preview": "using Ekona.Images;\nusing Images;\nusing LibNDSFormats.NSBMD;\nusing Microsoft.WindowsAPICodePack.Dialogs;\nusing NarcAPI;"
},
{
"path": "DS_Map/DSUtils/ModelUtils.cs",
"chars": 6405,
"preview": "using Microsoft.WindowsAPICodePack.Dialogs;\nusing System.Diagnostics;\nusing System.IO;\nusing System.Windows.Forms;\n\nnam"
},
{
"path": "DS_Map/DSUtils/NSBUtils.cs",
"chars": 6278,
"preview": "using LibNDSFormats.NSBMD;\nusing System;\nusing System.IO;\nusing System.Text;\nusing System.Windows.Forms;\n\nnamespace DSP"
},
{
"path": "DS_Map/DSUtils/OverlayUtils.cs",
"chars": 5229,
"preview": "using System;\nusing System.Diagnostics;\nusing System.IO;\nusing System.Windows.Forms;\nusing static DSPRE.DSUtils;\nusing "
},
{
"path": "DS_Map/DVCalculator/DVCalc.Designer.cs",
"chars": 1573,
"preview": "using System.Windows.Forms;\n\nnamespace DSPRE\n{\n partial class DVCalc\n {\n /// <summary>\n /// Requir"
},
{
"path": "DS_Map/DVCalculator/DVCalc.cs",
"chars": 16970,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Windows.Forms;\nusing System.Xml.Linq;\n\nnamespace DSPRE\n{\n "
},
{
"path": "DS_Map/DVCalculator/DVCalc.resx",
"chars": 5696,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/DVCalculator/DVCalcNatureViewerForm.Designer.cs",
"chars": 3200,
"preview": "using System.Drawing;\nusing System.Windows.Forms;\n\nnamespace DSPRE\n{\n partial class DVCalcNatureViewerForm\n {\n "
},
{
"path": "DS_Map/DVCalculator/DVCalcNatureViewerForm.cs",
"chars": 1282,
"preview": "using System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Linq;\nusing System.Windows.Forms;\n\nnamespac"
},
{
"path": "DS_Map/DVCalculator/DVCalcNatureViewerForm.resx",
"chars": 5696,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/DVCalculator/DVCalculator.cs",
"chars": 4491,
"preview": "using System.Collections.Generic;\n\nnamespace DSPRE\n{\n // Putting this class here is bad practice, however it's just "
},
{
"path": "DS_Map/EditorPanels.cs",
"chars": 995,
"preview": "using System.Windows.Forms;\nusing DSPRE.Editors;\n\nnamespace DSPRE {\n public static class EditorPanels {\n public stat"
},
{
"path": "DS_Map/Editors/EncountersEditor.Designer.cs",
"chars": 5260,
"preview": "\nnamespace DSPRE.Editors\n{\n partial class EncountersEditor\n {\n /// <summary> \n /// Required designer variable.\n"
},
{
"path": "DS_Map/Editors/EncountersEditor.cs",
"chars": 630,
"preview": "using System.Windows.Forms;\n\nnamespace DSPRE.Editors\n{\n public partial class EncountersEditor : UserControl\n {\n pu"
},
{
"path": "DS_Map/Editors/EncountersEditor.resx",
"chars": 5696,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Editors/HeadbuttEncounterEditor.Designer.cs",
"chars": 24967,
"preview": "using System.ComponentModel;\n\nnamespace DSPRE.Editors {\n partial class HeadbuttEncounterEditor {\n /// <summary> \n "
},
{
"path": "DS_Map/Editors/HeadbuttEncounterEditor.cs",
"chars": 21536,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Drawing;\nusing System.Drawing"
},
{
"path": "DS_Map/Editors/HeadbuttEncounterEditor.resx",
"chars": 5696,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Editors/HeadbuttEncounterEditorTab.Designer.cs",
"chars": 12248,
"preview": "\nnamespace DSPRE.Editors\n{\n partial class HeadbuttEncounterEditorTab\n {\n /// <summary> \n /// Required designer "
},
{
"path": "DS_Map/Editors/HeadbuttEncounterEditorTab.cs",
"chars": 4338,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Windows.Forms;\nusing DSPRE.RO"
},
{
"path": "DS_Map/Editors/HeadbuttEncounterEditorTab.resx",
"chars": 5696,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Editors/LevelScriptEditor.Designer.cs",
"chars": 25151,
"preview": "using System.ComponentModel;\n\nnamespace DSPRE.Editors {\n partial class LevelScriptEditor {\n /// <summary> \n /// "
},
{
"path": "DS_Map/Editors/LevelScriptEditor.cs",
"chars": 15811,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Windows.Forms;\nusing DSPRE.ROMFiles;\n\nnam"
},
{
"path": "DS_Map/Editors/LevelScriptEditor.resx",
"chars": 6812,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Editors/MoveDataEditor.Designer.cs",
"chars": 52941,
"preview": "namespace DSPRE {\n partial class MoveDataEditor {\n /// <summary>\n /// Required designer variable.\n "
},
{
"path": "DS_Map/Editors/MoveDataEditor.cs",
"chars": 10847,
"preview": "using DSPRE.Resources;\nusing DSPRE.ROMFiles;\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing Sys"
},
{
"path": "DS_Map/Editors/MoveDataEditor.resx",
"chars": 147068,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Editors/SafariZoneEditor.Designer.cs",
"chars": 13654,
"preview": "\nnamespace DSPRE.Editors\n{\n partial class SafariZoneEditor\n {\n /// <summary> \n /// Required designer variable.\n"
},
{
"path": "DS_Map/Editors/SafariZoneEditor.cs",
"chars": 4329,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Windows.Forms;\nusing DSPRE.ROMFiles;\n\nnam"
},
{
"path": "DS_Map/Editors/SafariZoneEditor.resx",
"chars": 6930,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Editors/SafariZoneEncounterEditorTab.Designer.cs",
"chars": 9061,
"preview": "\nnamespace DSPRE.Editors\n{\n partial class SafariZoneEncounterEditorTab\n {\n /// <summary> \n /// Required designe"
},
{
"path": "DS_Map/Editors/SafariZoneEncounterEditorTab.cs",
"chars": 2898,
"preview": "using System;\nusing System.Windows.Forms;\nusing DSPRE.ROMFiles;\n\nnamespace DSPRE.Editors {\n public partial class Safar"
},
{
"path": "DS_Map/Editors/SafariZoneEncounterEditorTab.resx",
"chars": 5696,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Editors/SafariZoneEncounterGroupEditor.Designer.cs",
"chars": 18680,
"preview": "\nnamespace DSPRE.Editors\n{\n partial class SafariZoneEncounterGroupEditor\n {\n /// <summary> \n /// Required desig"
},
{
"path": "DS_Map/Editors/SafariZoneEncounterGroupEditor.cs",
"chars": 9325,
"preview": "using System;\nusing System.Windows.Forms;\nusing DSPRE.ROMFiles;\n\nnamespace DSPRE.Editors {\n public partial class Safar"
},
{
"path": "DS_Map/Editors/SafariZoneEncounterGroupEditor.resx",
"chars": 6301,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Editors/ScriptEditor.Designer.cs",
"chars": 52204,
"preview": "\nnamespace DSPRE.Editors\n{\n partial class ScriptEditor\n {\n /// <summary> \n /// Required designer variable.\n "
},
{
"path": "DS_Map/Editors/ScriptEditor.cs",
"chars": 46851,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Drawing;\nusing System.IO;\nusi"
},
{
"path": "DS_Map/Editors/ScriptEditor.resx",
"chars": 5696,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/EventFileImport.Designer.cs",
"chars": 24237,
"preview": "namespace DSPRE {\n partial class EventFileImport {\n /// <summary>\n /// Required designer variable.\n "
},
{
"path": "DS_Map/EventFileImport.cs",
"chars": 4164,
"preview": "using DSPRE;\nusing DSPRE.ROMFiles;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Wind"
},
{
"path": "DS_Map/EventFileImport.resx",
"chars": 144039,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/EvolutionsEditor.cs",
"chars": 12304,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Windows.Forms;\nusing static S"
},
{
"path": "DS_Map/EvolutionsEditor.designer.cs",
"chars": 40365,
"preview": "namespace DSPRE {\n partial class EvolutionsEditor {\n /// <summary>\n /// Required designer variable.\n "
},
{
"path": "DS_Map/EvolutionsEditor.resx",
"chars": 71980,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/ExtensionMethods.cs",
"chars": 2062,
"preview": "using System;\nusing System.Windows.Forms;\n\nnamespace DSPRE {\n public static class ExtensionMethods {\n /// <summary>\n"
},
{
"path": "DS_Map/Extensions.cs",
"chars": 7010,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Drawing.Drawing2D;\nusing System.Drawing;\nusing System.Glob"
},
{
"path": "DS_Map/Filesystem.cs",
"chars": 10106,
"preview": "using System.IO;\n\nnamespace DSPRE {\n public static class Filesystem {\n public static string eventFiles => Rom"
},
{
"path": "DS_Map/GameCamera.cs",
"chars": 7541,
"preview": "using DSPRE;\nusing System;\nusing System.IO;\nusing System.Windows.Forms;\nusing static DSPRE.RomInfo;\n\npublic class GameC"
},
{
"path": "DS_Map/HeaderSearch.Designer.cs",
"chars": 9647,
"preview": "namespace DSPRE {\n partial class HeaderSearch {\n /// <summary>\n /// Required designer variable.\n "
},
{
"path": "DS_Map/HeaderSearch.cs",
"chars": 13968,
"preview": "using DSPRE.ROMFiles;\nusing System.Collections.Generic;\n\nusing System;\nusing System.Windows.Forms;\nusing static DSPRE.R"
},
{
"path": "DS_Map/HeaderSearch.resx",
"chars": 5696,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Helpers.cs",
"chars": 16655,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.Drawing;\nusing System.IO;\nusing "
},
{
"path": "DS_Map/InputComboBox.cs",
"chars": 1317,
"preview": "using System;\nusing System.ComponentModel;\nusing System.Drawing;\nusing System.Windows.Forms;\n\nnamespace DSPRE {\n pub"
},
{
"path": "DS_Map/LearnsetEditor.Designer.cs",
"chars": 23318,
"preview": "namespace DSPRE {\n partial class LearnsetEditor {\n /// <summary>\n /// Required designer variable.\n "
},
{
"path": "DS_Map/LearnsetEditor.cs",
"chars": 12401,
"preview": "using DSPRE.Resources;\nusing System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Drawin"
},
{
"path": "DS_Map/LearnsetEditor.resx",
"chars": 146898,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/LibNDSFormats/EndianBinaryReader.cs",
"chars": 9147,
"preview": "// CTools library - Library functions for CTools\n// Copyright (C) 2010 Chadderz\n\n// This program is free software: you "
},
{
"path": "DS_Map/LibNDSFormats/Export3DTools/Face.cs",
"chars": 102,
"preview": "namespace MKDS_Course_Editor.Export3DTools\n{\n using System;\n\n public class Face\n {\n }\n}\n\n"
},
{
"path": "DS_Map/LibNDSFormats/Export3DTools/Group.cs",
"chars": 837,
"preview": "namespace MKDS_Course_Editor.Export3DTools\n{\n using System;\n using System.Collections.Generic;\n using System.R"
},
{
"path": "DS_Map/LibNDSFormats/Export3DTools/OBJWriter.cs",
"chars": 1045,
"preview": "namespace MKDS_Course_Editor.Export3DTools\n{\n using OpenTK;\n using System;\n using System.Collections.Generic;\n"
},
{
"path": "DS_Map/LibNDSFormats/Export3DTools/Polygon.cs",
"chars": 535,
"preview": "namespace MKDS_Course_Editor.Export3DTools\n{\n using OpenTK;\n using System;\n\n public class Polygon\n {\n "
},
{
"path": "DS_Map/LibNDSFormats/Export3DTools/PolygonType.cs",
"chars": 181,
"preview": "namespace MKDS_Course_Editor.Export3DTools\n{\n using System;\n\n public enum PolygonType\n {\n Triangle,\n "
},
{
"path": "DS_Map/LibNDSFormats/Export3DTools/Quad.cs",
"chars": 307,
"preview": "namespace MKDS_Course_Editor.Export3DTools\n{\n using System.Windows;\n using System.Windows.Media.Media3D;\n\n pub"
},
{
"path": "DS_Map/LibNDSFormats/Export3DTools/QuadStrip.cs",
"chars": 377,
"preview": "namespace MKDS_Course_Editor.Export3DTools\n{\n using System.Collections.Generic;\n using System.Windows;\n using "
},
{
"path": "DS_Map/LibNDSFormats/Export3DTools/Triangle.cs",
"chars": 311,
"preview": "namespace MKDS_Course_Editor.Export3DTools\n{\n using System.Windows;\n using System.Windows.Media.Media3D;\n\n pub"
},
{
"path": "DS_Map/LibNDSFormats/Export3DTools/TriangleStrip.cs",
"chars": 381,
"preview": "namespace MKDS_Course_Editor.Export3DTools\n{\n using System.Collections.Generic;\n using System.Windows;\n using "
},
{
"path": "DS_Map/LibNDSFormats/Helper.cs",
"chars": 1603,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Drawing;\nusing OpenT"
},
{
"path": "DS_Map/LibNDSFormats/NSBCA/NSBCA.cs",
"chars": 27972,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.IO;\n\nnamespace MKDS_"
},
{
"path": "DS_Map/LibNDSFormats/NSBCA/NSBCALoader.cs",
"chars": 7996,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.IO;\nusing LibNDSForm"
},
{
"path": "DS_Map/LibNDSFormats/NSBMD/MTX44.cs",
"chars": 11630,
"preview": "// 4x4 matrix class.\n// Code adapted from kiwi.ds' NSBMD Model Viewer.\n\nusing System;\nusing System.Diagnostics;\n\nnamespa"
},
{
"path": "DS_Map/LibNDSFormats/NSBMD/NSBMD.cs",
"chars": 54006,
"preview": "// NSBMD data definition.\n// Code adapted from kiwi.ds' NSBMD Model Viewer.\n\nusing System;\nusing System.Collections.Gen"
},
{
"path": "DS_Map/LibNDSFormats/NSBMD/NSBMDAnimation.cs",
"chars": 541,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace LibNDSFormats.NSBMD\n{\n"
},
{
"path": "DS_Map/LibNDSFormats/NSBMD/NSBMDGlRenderer.cs",
"chars": 116999,
"preview": "// OpenGL Renderer for NSBMD models.\n// Code adapted from kiwi.ds' NSBMD Model Viewer.\n\nusing System;\nusing System.Colle"
},
{
"path": "DS_Map/LibNDSFormats/NSBMD/NSBMDLoader.cs",
"chars": 535,
"preview": "// Loader for NSBMD files.\n// Code adapted from kiwi.ds' NSBMD Model Viewer.\n\nusing System.IO;\n\nnamespace LibNDSFormats"
},
{
"path": "DS_Map/LibNDSFormats/NSBMD/NSBMDMaterial.cs",
"chars": 2208,
"preview": "// Material type for NSBMD models.\n// Code adapted from kiwi.ds' NSBMD Model Viewer.\n\nusing System;\nusing System.Drawing"
},
{
"path": "DS_Map/LibNDSFormats/NSBMD/NSBMDModel.cs",
"chars": 1636,
"preview": "// Model definition for NSBMD.\n// Code adapted from kiwi.ds' NSBMD Model Viewer.\n\nusing System.Collections.Generic;\n\nnam"
},
{
"path": "DS_Map/LibNDSFormats/NSBMD/NSBMDObject.cs",
"chars": 2381,
"preview": "// Object definiton for NSBMD models.\n// Code adapted from kiwi.ds' NSBMD Model Viewer.\n\nusing System;\nusing System.Coll"
},
{
"path": "DS_Map/LibNDSFormats/NSBMD/NSBMDPalette.cs",
"chars": 387,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace LibNDSFormats.NSBMD\n{\n"
},
{
"path": "DS_Map/LibNDSFormats/NSBMD/NSBMDPolygon.cs",
"chars": 906,
"preview": "// Polygon definition for NSBMD models.\n// Code adapted from kiwi.ds' NSBMD Model Viewer.\n\nusing System;\n\nnamespace LibN"
},
{
"path": "DS_Map/LibNDSFormats/NSBMD/NSBMDTexture.cs",
"chars": 525,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace LibNDSFormats.NSBMD\n{\n"
},
{
"path": "DS_Map/LibNDSFormats/NSBTA.cs",
"chars": 15128,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.IO;\nusing System.Win"
},
{
"path": "DS_Map/LibNDSFormats/NSBTP.cs",
"chars": 9785,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Windows.Forms;\nusing"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/File.cs",
"chars": 12638,
"preview": "/*\n* This file is part of NSMB Editor 5.\n*\n* NSMB Editor 5 is free software: you can redistribute it and/or modify\n"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/Filepallete.cs",
"chars": 1748,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Text;\nusing NSMBe4.DSFileSystem;\nusing System.Drawing;\n\nna"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/NSBTXLoader.cs",
"chars": 14471,
"preview": "// Loader for NSBTX files/data.\n// Code adapted from kiwi.ds' NSBMD Model Viewer.\n\nusing System;\nusing System.Collectio"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/Rom.cs",
"chars": 25198,
"preview": "/*\n* This file is part of NSMB Editor 5.\n*\n* NSMB Editor 5 is free software: you can redistribute it and/or modify\n"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/bytearrayinputstream.cs",
"chars": 4250,
"preview": "/*\n* This file is part of NSMB Editor 5.\n*\n* NSMB Editor 5 is free software: you can redistribute it and/or modify\n"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/directory.cs",
"chars": 2325,
"preview": "/*\n* This file is part of NSMB Editor 5.\n*\n* NSMB Editor 5 is free software: you can redistribute it and/or modify\n"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/externalfilesystemsource.cs",
"chars": 1581,
"preview": "/*\n* This file is part of NSMB Editor 5.\n*\n* NSMB Editor 5 is free software: you can redistribute it and/or modify\n"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/filesystem2.cs",
"chars": 8377,
"preview": "/*\n* This file is part of NSMB Editor 5.\n*\n* NSMB Editor 5 is free software: you can redistribute it and/or modify\n"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/filesystemsource.cs",
"chars": 1073,
"preview": "/*\n* This file is part of NSMB Editor 5.\n*\n* NSMB Editor 5 is free software: you can redistribute it and/or modify\n"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/image3d.cs",
"chars": 4650,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Text;\nusing NSMBe4.DSFileSystem;\n\nnamespace NSMBe4\n{\n p"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/image3dformat5.cs",
"chars": 4247,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Text;\nusing NSMBe4.DSFileSystem;\nusing System.Drawing;\nusi"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/imageindexer.cs",
"chars": 25598,
"preview": "/*\n* This file is part of NSMB Editor 5.\n*\n* NSMB Editor 5 is free software: you can redistribute it and/or modify\n"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/imagetexeler.cs",
"chars": 28032,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Drawing;\nusing System.Drawing.Imaging;\nusing System.Runtim"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/imagetiler.cs",
"chars": 12219,
"preview": "/*\n* This file is part of NSMB Editor 5.\n*\n* NSMB Editor 5 is free software: you can redistribute it and/or modify\n"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/inlinefile.cs",
"chars": 3176,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Text;\n\nnamespace NSMBe4.DSFileSystem\n{\n public class In"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/nsbmetileset.cs",
"chars": 38074,
"preview": "/*\n* This file is part of NSMB Editor 5.\n*\n* NSMB Editor 5 is free software: you can redistribute it and/or modify\n"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/nsbtx.cs",
"chars": 44731,
"preview": "/*\n* This file is part of NSMB Editor 5.\n*\n* NSMB Editor 5 is free software: you can redistribute it and/or modify\n"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/palettedimage.cs",
"chars": 908,
"preview": "using System.Drawing;\n\nnamespace NSMBe4\n{\n public abstract class PalettedImage\n {\n public string name;\n\n "
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/pallete2.cs",
"chars": 1023,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Text;\nusing System.Drawing;\n\nnamespace NSMBe4\n{\n public"
},
{
"path": "DS_Map/LibNDSFormats/NSBTX/pixelpalletedimage.cs",
"chars": 1986,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Text;\nusing System.Drawing;\n\nnamespace NSMBe4\n{\n public"
},
{
"path": "DS_Map/LibNDSFormats/StreamExt.cs",
"chars": 1888,
"preview": "// PG4Map - a 4th Gen Pokemon Map Viewer.\n// Miscellaneous stream extensions.\n//\n// Copyright (C) 2010 SentryAlphaOmega\n"
},
{
"path": "DS_Map/LibNDSFormats/Utils.cs",
"chars": 4379,
"preview": "// PG4Map - a 4th Gen Pokemon Map Viewer.\n// Utility class.\n//\n// Copyright (C) 2010 SentryAlphaOmega\n// \n// This libra"
},
{
"path": "DS_Map/LibNDSFormats/bytearrayoutputstream.cs",
"chars": 2622,
"preview": "/*\n* This file is part of NSMB Editor 5.\n*\n* NSMB Editor 5 is free software: you can redistribute it and/or modify\n"
},
{
"path": "DS_Map/LibNDSFormats/convertir.cs",
"chars": 11897,
"preview": "/*\n * Copyright (C) 2011 pleoNeX\n *\n * This program is free software: you can redistribute it and/or modify\n * it "
},
{
"path": "DS_Map/LibNDSFormats/nclr_e.cs",
"chars": 4644,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Data;\nusing System.Drawing;\nu"
},
{
"path": "DS_Map/Main Window.Designer.cs",
"chars": 729040,
"preview": "namespace DSPRE\n{\n partial class MainProgram\n {\n /// <summary>\n /// Variabile di proGettazione nece"
},
{
"path": "DS_Map/Main Window.cs",
"chars": 472927,
"preview": "using System;\nusing System.Collections;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.Drawin"
},
{
"path": "DS_Map/Main Window.resx",
"chars": 208891,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/MessageEnc/EncryptText.cs",
"chars": 14995,
"preview": "using DSPRE.Resources;\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Text;\nusing static"
},
{
"path": "DS_Map/Narc.cs",
"chars": 10209,
"preview": "using DSPRE;\nusing System;\nusing System.IO;\nusing System.Threading.Tasks;\nusing System.Windows.Forms;\n\nnamespace NarcAP"
},
{
"path": "DS_Map/OffsetPictureBox.cs",
"chars": 2479,
"preview": "using System;\nusing System.Drawing;\nusing System.Windows.Forms;\n\nnamespace DSPRE {\n public partial class OffsetPictu"
},
{
"path": "DS_Map/OverlayEditor.Designer.cs",
"chars": 6316,
"preview": "namespace DSPRE {\n partial class OverlayEditor {\n /// <summary>\n /// Required designer variable.\n "
},
{
"path": "DS_Map/OverlayEditor.cs",
"chars": 7785,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Data;\nusing System.Drawing;\nu"
},
{
"path": "DS_Map/OverlayEditor.resx",
"chars": 144039,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/PatchToolboxDialog.Designer.cs",
"chars": 39205,
"preview": "namespace DSPRE\n{\n partial class PatchToolboxDialog\n {\n /// <summary>\n /// Required designer variab"
},
{
"path": "DS_Map/PatchToolboxDialog.cs",
"chars": 55108,
"preview": "using System;\nusing System.IO;\nusing System.Reflection;\nusing System.Resources;\nusing System.Windows.Forms;\nusing Syste"
},
{
"path": "DS_Map/PatchToolboxDialog.resx",
"chars": 12073,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/PersonalDataEditor.Designer.cs",
"chars": 104549,
"preview": "namespace DSPRE {\n partial class PersonalDataEditor {\n /// <summary>\n /// Required designer variable.\n"
},
{
"path": "DS_Map/PersonalDataEditor.cs",
"chars": 23373,
"preview": "using DSPRE.Resources;\nusing DSPRE.ROMFiles;\nusing System;\nusing System.Collections.Generic;\nusing System.ComponentMode"
},
{
"path": "DS_Map/PersonalDataEditor.resx",
"chars": 148854,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/PokemonEditor.Designer.cs",
"chars": 7154,
"preview": "namespace DSPRE {\n partial class PokemonEditor {\n /// <summary>\n /// Required designer variable.\n "
},
{
"path": "DS_Map/PokemonEditor.cs",
"chars": 3691,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Data;\nusing System.Drawing;\nu"
},
{
"path": "DS_Map/PokemonEditor.resx",
"chars": 144039,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Program.cs",
"chars": 516,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing System.Windows.F"
},
{
"path": "DS_Map/Properties/AssemblyInfo.cs",
"chars": 1516,
"preview": "using System.Reflection;\nusing System.Runtime.InteropServices;\n\n// Le informazioni generali relative a un assembly sono"
},
{
"path": "DS_Map/Properties/Resources.Designer.cs",
"chars": 80204,
"preview": "//------------------------------------------------------------------------------\n// <auto-generated>\n// Il codice è"
},
{
"path": "DS_Map/Properties/Resources.resx",
"chars": 61950,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Properties/Settings.Designer.cs",
"chars": 4658,
"preview": "//------------------------------------------------------------------------------\n// <auto-generated>\n// Il codice è"
},
{
"path": "DS_Map/Properties/Settings.settings",
"chars": 1334,
"preview": "<?xml version='1.0' encoding='utf-8'?>\n<SettingsFile xmlns=\"http://schemas.microsoft.com/VisualStudio/2004/01/settings\""
},
{
"path": "DS_Map/ROMFiles/AreaData.cs",
"chars": 2606,
"preview": "using System.IO;\nusing static DSPRE.RomInfo;\n\nnamespace DSPRE.ROMFiles {\n /// <summary>\n /// Class to store area d"
},
{
"path": "DS_Map/ROMFiles/EncounterFile.cs",
"chars": 30775,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Windows.Forms;\nusing static DSPRE.RomInfo;"
},
{
"path": "DS_Map/ROMFiles/EventFile.cs",
"chars": 19501,
"preview": "using DSPRE.Resources;\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System."
},
{
"path": "DS_Map/ROMFiles/EvolutionFile.cs",
"chars": 6364,
"preview": "using DSPRE.ROMFiles;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Runtime.InteropServices;\nusing st"
},
{
"path": "DS_Map/ROMFiles/GameMatrix.cs",
"chars": 8350,
"preview": "using System;\nusing System.IO;\nusing System.Text;\nusing System.Windows.Forms;\nusing static DSPRE.RomInfo;\n\nnamespace DSP"
},
{
"path": "DS_Map/ROMFiles/HeadbuttEncounter.cs",
"chars": 765,
"preview": "using System.IO;\n\nnamespace DSPRE.ROMFiles {\n public class HeadbuttEncounter {\n public ushort pokemonID;\n "
},
{
"path": "DS_Map/ROMFiles/HeadbuttEncounterFile.cs",
"chars": 5199,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.IO;\n\nnamespace DSPRE.ROMFiles"
},
{
"path": "DS_Map/ROMFiles/HeadbuttEncounterMap.cs",
"chars": 889,
"preview": "namespace DSPRE.ROMFiles {\n //This class is in case a MapHeader uses the same MapFile more than once\n //ToString is t"
},
{
"path": "DS_Map/ROMFiles/HeadbuttTree.cs",
"chars": 2865,
"preview": "using System.IO;\n\nnamespace DSPRE.ROMFiles {\n public class HeadbuttTree {\n public bool picked = false;\n\n "
},
{
"path": "DS_Map/ROMFiles/HeadbuttTreeGroup.cs",
"chars": 1135,
"preview": "using System.Collections.Generic;\nusing System.IO;\n\nnamespace DSPRE.ROMFiles {\n public class HeadbuttTreeGroup {\n "
},
{
"path": "DS_Map/ROMFiles/LearnsetData.cs",
"chars": 3614,
"preview": "using System.Collections.Generic;\nusing System.Diagnostics;\nusing System.IO;\nusing DSPRE.ROMFiles;\nusing static DSPRE.R"
},
{
"path": "DS_Map/ROMFiles/LevelScriptFile.cs",
"chars": 5403,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.IO;\n\nnamespace DSPRE.ROMFiles"
},
{
"path": "DS_Map/ROMFiles/LevelScriptTrigger.cs",
"chars": 875,
"preview": "using System;\n\nnamespace DSPRE.ROMFiles {\n public class LevelScriptTrigger {\n public const int VARIABLEVALUE = 1;\n "
},
{
"path": "DS_Map/ROMFiles/MapFile.cs",
"chars": 16719,
"preview": "using System.IO;\nusing System.Collections.Generic;\nusing LibNDSFormats.NSBMD;\nusing System.Windows.Forms;\nusing static D"
},
{
"path": "DS_Map/ROMFiles/MapHeader.cs",
"chars": 15424,
"preview": "using System.IO;\nusing System.Windows.Forms;\n\nnamespace DSPRE.ROMFiles { \n /// <summary>\n /// General class to sto"
},
{
"path": "DS_Map/ROMFiles/MapScreenLoadTrigger.cs",
"chars": 1124,
"preview": "namespace DSPRE.ROMFiles {\n public class MapScreenLoadTrigger : LevelScriptTrigger {\n public MapScreenLoadTrigger(in"
},
{
"path": "DS_Map/ROMFiles/MoveData.cs",
"chars": 9618,
"preview": "using System.IO;\nusing DSPRE.ROMFiles;\nusing System;\nusing System.Windows.Forms;\nusing System.Text;\nusing System.Collec"
},
{
"path": "DS_Map/ROMFiles/PokemonPersonalData.cs",
"chars": 8768,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing static DSPRE.RomInfo;\n\nnamesp"
},
{
"path": "DS_Map/ROMFiles/RomFile.cs",
"chars": 1720,
"preview": "using System;\nusing System.IO;\nusing System.Windows.Forms;\nusing static DSPRE.RomInfo;\n\nnamespace DSPRE.ROMFiles {\n "
},
{
"path": "DS_Map/ROMFiles/SafariZoneEncounter.cs",
"chars": 776,
"preview": "using System;\nusing System.IO;\n\nnamespace DSPRE.ROMFiles\n{\n public class SafariZoneEncounter\n {\n public ushort pok"
},
{
"path": "DS_Map/ROMFiles/SafariZoneEncounterFile.cs",
"chars": 3215,
"preview": "using System.Collections.Generic;\nusing System.IO;\n\nnamespace DSPRE.ROMFiles {\n public class SafariZoneEncounterFile {"
},
{
"path": "DS_Map/ROMFiles/SafariZoneEncounterGroup.cs",
"chars": 3735,
"preview": "using System.ComponentModel;\nusing System.IO;\n\nnamespace DSPRE.ROMFiles\n{\n public class SafariZoneEncounterGroup\n {\n "
},
{
"path": "DS_Map/ROMFiles/SafariZoneObjectRequirement.cs",
"chars": 985,
"preview": "using System.Collections.Generic;\nusing System.IO;\n\nnamespace DSPRE.ROMFiles {\n public class SafariZoneObjectRequireme"
},
{
"path": "DS_Map/ROMFiles/ScriptAction.cs",
"chars": 3788,
"preview": "using DSPRE.Resources;\nusing System;\nusing System.Collections.Generic;\nusing System.Globalization;\nusing System.Linq;\nu"
},
{
"path": "DS_Map/ROMFiles/ScriptActionContainer.cs",
"chars": 341,
"preview": "using System.Collections.Generic;\n\nnamespace DSPRE.ROMFiles {\n public class ScriptActionContainer {\n public List<Scr"
},
{
"path": "DS_Map/ROMFiles/ScriptCommand.cs",
"chars": 20351,
"preview": "using DSPRE.Resources;\nusing System;\nusing System.Collections.Generic;\nusing System.Globalization;\nusing System.Linq;\nu"
},
{
"path": "DS_Map/ROMFiles/ScriptCommandContainer.cs",
"chars": 1072,
"preview": "using System.Collections.Generic;\n\nnamespace DSPRE.ROMFiles {\n public class ScriptCommandContainer {\n public L"
},
{
"path": "DS_Map/ROMFiles/ScriptFile.cs",
"chars": 47701,
"preview": "using DSPRE.Resources;\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System."
},
{
"path": "DS_Map/ROMFiles/ScriptReference.cs",
"chars": 857,
"preview": "namespace DSPRE.ROMFiles {\n internal class ScriptReference {\n public ScriptFile.ContainerTypes typeOfCaller { get; p"
},
{
"path": "DS_Map/ROMFiles/SpeciesFile.cs",
"chars": 1962,
"preview": "using System;\nusing System.Collections;\nusing System.Collections.Generic;\nusing System.IO;\n\n\nnamespace DSPRE.ROMFiles\n{"
},
{
"path": "DS_Map/ROMFiles/TextArchive.cs",
"chars": 11789,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Text;\nusing System.Resources;\nusing System"
},
{
"path": "DS_Map/ROMFiles/TrainerFile.cs",
"chars": 14460,
"preview": "using ScintillaNET;\nusing System;\nusing System.Collections;\nusing System.IO;\nusing System.Windows.Forms;\nusing static D"
},
{
"path": "DS_Map/ROMFiles/VariableValueTrigger.cs",
"chars": 996,
"preview": "namespace DSPRE.ROMFiles {\n public class VariableValueTrigger : LevelScriptTrigger {\n public int variableToWatch { g"
},
{
"path": "DS_Map/Resources/ColorTable.txt",
"chars": 5376,
"preview": "0x00 #FFFFFF #000000\n0x01 #FFFFFF #000000\n0x02 #009900 #000000\n0x03 #006600 #FFFFFF\n0x04 #FFFFFF #000000\n0x05 #FFFFFF #"
},
{
"path": "DS_Map/Resources/CommandsDatabase.Designer.cs",
"chars": 24221,
"preview": "\nnamespace DSPRE.Resources {\n partial class CommandsDatabase {\n /// <summary>\n /// Required designer v"
},
{
"path": "DS_Map/Resources/CommandsDatabase.cs",
"chars": 5806,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Windows.Forms;\n\nnamespace DSPRE.Resourc"
},
{
"path": "DS_Map/Resources/CommandsDatabase.resx",
"chars": 8932,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Resources/HGSSCommands.md",
"chars": 1180552,
"preview": "| | New proposed names | Parameters "
},
{
"path": "DS_Map/Resources/MovementNamesW.Designer.cs",
"chars": 27539,
"preview": "//------------------------------------------------------------------------------\n// <auto-generated>\n// This code w"
},
{
"path": "DS_Map/Resources/MovementNamesW.resx",
"chars": 13006,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Resources/PokeDatabase.cs",
"chars": 81842,
"preview": "using DSPRE.ROMFiles;\nusing System.Collections.Generic;\nusing System.Drawing;\nusing static DSPRE.RomInfo;\n\nnamespace DS"
},
{
"path": "DS_Map/Resources/ROMToolboxDB/BDHCAMPatchDB.Designer.cs",
"chars": 5000,
"preview": "//------------------------------------------------------------------------------\n// <auto-generated>\n// Il codice è"
},
{
"path": "DS_Map/Resources/ROMToolboxDB/BDHCAMPatchDB.resx",
"chars": 7131,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Resources/ROMToolboxDB/CustomScrCmdDB.resx",
"chars": 7240,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Resources/ROMToolboxDB/ToolboxDB.cs",
"chars": 14875,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Reflection;\nusing System.Resources;\nusing static DSPRE.Rom"
},
{
"path": "DS_Map/Resources/ScriptDatabase.cs",
"chars": 125785,
"preview": "using DSPRE.ROMFiles;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing Syste"
},
{
"path": "DS_Map/Resources/ScriptsV/ScriptNamesB2W2.Designer.cs",
"chars": 13608,
"preview": "//------------------------------------------------------------------------------\n// <auto-generated>\n// This code w"
},
{
"path": "DS_Map/Resources/ScriptsV/ScriptNamesB2W2.resx",
"chars": 8928,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Resources/ScriptsV/ScriptNamesB2W2J.Designer.cs",
"chars": 13612,
"preview": "//------------------------------------------------------------------------------\n// <auto-generated>\n// This code w"
},
{
"path": "DS_Map/Resources/ScriptsV/ScriptNamesB2W2J.resx",
"chars": 8928,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Resources/ScriptsV/ScriptNamesBW.Designer.cs",
"chars": 14425,
"preview": "//------------------------------------------------------------------------------\n// <auto-generated>\n// This code w"
},
{
"path": "DS_Map/Resources/ScriptsV/ScriptNamesBW.resx",
"chars": 9174,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Resources/ScriptsV/ScriptNamesBWJ.Designer.cs",
"chars": 14429,
"preview": "//------------------------------------------------------------------------------\n// <auto-generated>\n// This code w"
},
{
"path": "DS_Map/Resources/ScriptsV/ScriptNamesBWJ.resx",
"chars": 9174,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Resources/ScriptsV/ScriptNamesWBW.Designer.cs",
"chars": 14673,
"preview": "//------------------------------------------------------------------------------\n// <auto-generated>\n// This code w"
},
{
"path": "DS_Map/Resources/ScriptsV/ScriptNamesWBW.resx",
"chars": 9174,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Resources/ScriptsV/ScriptNamesWBWJ.Designer.cs",
"chars": 14677,
"preview": "//------------------------------------------------------------------------------\n// <auto-generated>\n// This code w"
},
{
"path": "DS_Map/Resources/ScriptsV/ScriptNamesWBWJ.resx",
"chars": 9174,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<root>\n <!-- \n Microsoft ResX Schema \n \n Version 2.0\n \n The prim"
},
{
"path": "DS_Map/Resources/ScriptsV/ScriptsB2W2.Designer.cs",
"chars": 205906,
"preview": "//------------------------------------------------------------------------------\n// <auto-generated>\n// This code w"
}
]
// ... and 94 more files (download for full content)
About this extraction
This page contains the full source code of the AdAstra-LD/DS-Pokemon-Rom-Editor GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 294 files (9.7 MB), approximately 2.5M tokens, and a symbol index with 3091 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.