Commit Graph

195 Commits

Author SHA1 Message Date
AdAstra-LD
605b8a03a1 Minor bugfix + refactor and new script actions 2021-07-17 19:23:43 +02:00
AdAstra-LD
e431ca797b Added PokeIcons 2021-07-15 02:40:32 +02:00
AdAstra-LD
591138541a Misc update
- Added support for HGSS """hidden""" cameras and added new Cam16 picture
- Fixed handling of HGSS headers' last 32 bits (some things are still unimplemented)
--- Fixed HGSS area icon numbers
- Fixed Advanced Header Search to make it compatible with the dynamic headers patch
- Fixed Header load function calls (previously incompatible with dynamic headers patch)
- Fixed event editor not updating coordinates when dragging events across the map
- New warning popup before using Camera Editor, if overlay1 is compressed
- Minor refactor
2021-07-14 05:22:45 +02:00
AdAstra-LD
c6d3820a57 Minor readability improvements 2021-06-02 19:45:50 +02:00
NomuraRH
b81baa956b Added dynamic headers patch and support for adding new headers 2021-05-28 23:25:25 +02:00
AdAstra-LD
674bda19f0 Removed script buttons and added navigator
- also removed script graphics
- also fixed money/spawn overlay compression
2021-05-02 04:13:46 +02:00
AdAstra-LD
2150f9a2c1 Update PokeDatabase.cs
Added new HGSS commands and fixed some old ones
2021-04-30 14:53:00 +02:00
AdAstra-LD
92d9cba10c Lots of bugfixes
- Renamed Matrix class to GameMatrix to avoid ambiguity
- Moved some accessor methods from MainWindow to RomInfo
- Moved editor setup methods to respective sections
- Fixed lots of problems with Japanese DP roms [either not loading or partially functioning]
2021-04-30 01:08:30 +02:00
AdAstra-LD
118474b30a Bugfixing & minor refactor
- Fixed floodfill bugs
- Fixed Lock X and Lock Z buttons mutex logic [Map Editor]
- LoadAreaData method is now an AreaData constructor
- Changed method names to make them less misleading
2021-04-20 19:17:33 +02:00
AdAstra-LD
5129da5a42 Map editor new features
- Buildings can now be placed with the mouse [kinda]
- Converted Collision painter Lists to Dictionaries
- Collision editor now supports flood fill and painter grab [both are beta]
- Matrix editor shows selected cell coords in the status bar
2021-04-20 10:27:23 +02:00
AdAstra-LD
8397facff6 Added new clear level script icon
also buttons change depending on the script selected
2021-04-12 03:01:09 +02:00
AdAstra-LD
43c4579fe5 Update removeTextureNSBMD.png 2021-04-09 06:09:22 +02:00
AdAstra-LD
a18d7b03e8 New NSBMD Utilities icons 2021-04-08 14:12:29 +02:00
AdAstra-LD
1e5627f8d5 Updated script editor and other things
- Add NSBTX and Remove NSBTX buttons also add/remove building configuration file [NSBTX Editor]
- Changed format of Script Editor display
- Added highlighting of 'Script', 'Function' and 'Action' keywords (only upon reloading)
- Changed Endcodes database to HashSet (PokeDatabase -> ScriptEditor)
- Minor refactor
2021-04-08 10:27:42 +02:00
AdAstra-LD
9531220372 Misc fixes
- Fixed area data not saving/exporting properly
- Fixed night encounter bug [DPPt]
2021-04-01 17:58:26 +02:00
AdAstra-LD
7f8142bb68 More code cleanup and some fixes
- Created ScriptReference inner class [to be taken advantage of even further, possibly]
- Fixed case sensitivity of "0x" signal sequence and "Player", "Camera", "Following"
- DSPRE now reports error in number format
- Removed unused/useless accessors from MapFile.cs
- swapped Y and Z axes [Map Editor] for buildings
2021-03-27 03:18:59 +01:00
AdAstra-LD
b39b350dd1 Continued code cleanup
- Created RomFile base class to be extended by classes such as TextArchive, EventFile, Matrix etc.
- Added wrench button to WildEditor, to fix broken encounter files [whenever possible]
2021-03-22 19:46:47 +01:00
AdAstra-LD
2e23be5e13 Condensed HG/SS and D/P version check
Consequently fixing some ToolBox patches not working for Pearl or SoulSilver
2021-03-20 19:27:00 +01:00
AdAstra-LD
04bebb0b13 Script editor improvements
- Better error management in Script Editor [also thanks to nullable types]
- Fixed duplicate cmd names in PokeDatabase
- Added new custom cmds to database
2021-03-19 04:55:20 +01:00
AdAstra-LD
e53df94382 Sentencecase patch is now based on a Pokename dictionary 2021-03-17 00:51:07 +01:00
AdAstra-LD
39110c5351 Update PokeDatabase.cs 2021-03-16 23:44:25 +01:00
AdAstra-LD
8556b9fd2d Bunch of little improvements
- Fixed NSBMD name problem [Building Editor] The import button now updates the name in real time
- So does the buildings list box [Map editor]
- Updated command database reader
- Improved script reader (commands with relative jumps)
- Added CMDTable repoint patch (not revised yet)
2021-03-16 23:43:36 +01:00
AdAstra-LD
48dac1de88 Fixed a problem with Movement End command 2021-03-04 23:02:32 +01:00
AdAstra-LD
86b9dbebb1 Fixed out of range exception [building selector]
also removed useless code
2021-03-04 19:43:46 +01:00
AdAstra-LD
3ab84d654a Added matrix expansion patch to RomToolbox
+ minor refactor
2021-03-04 18:03:05 +01:00
AdAstra-LD
cc03113ac6 Fixed BDHCAM routines file names 2021-03-02 17:33:25 +01:00
AdAstra-LD
e109812690 Converted ARM9exp and BDHCAM patch DBs to Dictionaries 2021-03-02 17:23:07 +01:00
AdAstra-LD
4f77a075c2 Updated a bunch of script commands and params 2021-03-02 12:34:21 +01:00
AdAstra-LD
4ce3a2ebe9 Moved DLLs to a new folder 2021-03-02 12:32:43 +01:00
AdAstra-LD
a113ef6058 Added warning to item patch
also fixed a couple HGSS commands
+ minor refactor
2021-02-16 21:21:38 +01:00
AdAstra-LD
66adcc913a Fixed more Plat commands 2021-02-15 16:52:44 +01:00
AdAstra-LD
66a940cb07 Updated lots of command names
also removed wrong SDSME ones
2021-02-14 20:35:56 +01:00
AdAstra-LD
e2ce361d5a Fixed a big problem with SCR commands
and fixed a couple more cmds
2021-02-14 03:51:57 +01:00
AdAstra-LD
696df50e93 ReAdded support for Chinese ROMs text""
This reverts commit 447ae311ab.
2021-02-13 17:12:19 +01:00
AdAstra-LD
447ae311ab Revert "- - - Added support for Chinese ROMs text"
This reverts commit b424b5a454.
2021-02-13 15:58:25 +01:00
AdAstra-LD
6e28c657e0 new PT weathers
Thanks to Lithobreaker
2021-02-13 01:38:49 +01:00
AdAstra-LD
74a624fd6d Fixed event editor overwrite bug
- also Removed unused SPK
- fixed some movement names (not sure whether there are version differences or not)
- added a few DPPt commands and fixed some params
2021-02-13 00:59:48 +01:00
AdAstra-LD
c96abaf484 Fixed spawn editor
now with a smarter detection algorithm
- also fixed line number hex/dec problem [text editor]
2021-02-12 17:15:27 +01:00
AdAstra-LD
743d57c7ea Fixed comparison operators name 2021-02-12 04:55:12 +01:00
AdAstra-LD
794f16ec20 More new features [1.1.4]
- Fixed overlay compression check
- Fixed issues with CommandContainers manualUserID
- Add support for player initial money to Spawn Settings Editor
- Fixed minor issues with ROMtoolbox + Code cleanup
- Fixed minor issues with Advanced Header Search ("Greater than"  operand)

- Edited Readme + new pics (version update)
2021-02-12 03:45:58 +01:00
AdAstra-LD
9a74ed947e Fixed PT Weathers 2021-02-11 23:05:49 +01:00
AdAstra-LD
ecac235908 New features [1.1.4]
- version update 1.1.4
- removed useless LoadMapFile, created new constructor
- fixed matrix editor junk input detector
- added Spawn Point Editor (matrix editor button and toolbar)
- minor fixes to the MapHeader class
- converted try-catch statements for Dictionaries to If-TryGetValue
2021-02-11 19:12:27 +01:00
AdAstra-LD
b424b5a454 - - - Added support for Chinese ROMs text
thanks to "Diaowinner" for providing the text table and to "Francesco" for converting it to a C# Dictionary
2021-02-11 00:26:42 +01:00
AdAstra-LD
ef0349b3bd Fixed DP weathers
[almost fixed Pt too]
2021-02-11 00:00:24 +01:00
AdAstra-LD
9cb6a501a6 Moved endcodes to PokeDatabase 2021-02-10 05:02:46 +01:00
AdAstra-LD
f679b9deaa Complete rewrite of Overworld Sprite finder
Also minor refactor
2021-02-09 19:33:45 +01:00
AdAstra-LD
df2831e83c Some fixes and code readability improvements
- changed some var names to more intuitive ones
- fixed worldmap coordinates not updating
2021-02-09 04:50:22 +01:00
AdAstra-LD
6cdfea8abc fixed bugs with bgs importer
also minor ui changes [command database window]
2021-02-08 12:03:20 +01:00
AdAstra-LD
b3c934a99d More DPPt command names 2021-02-08 15:06:48 +01:00
AdAstra-LD
17707fcd68 Fixed command entries [ID typos] and section marker detection (----- @Script_# -----)
commands are now case insensitive
2021-02-08 14:32:15 +01:00
AdAstra-LD
34c27dd200 Added Mikelan's custom scrcmd patch [needs testing and a bit more work] 2021-02-07 16:59:51 +01:00
AdAstra-LD
71a52affe4 Minor update
Fixed minor bug with OW IDs [event editor]
added two more movements to dictionary
improved accuracy of error detection [script editor]
2021-02-07 05:05:31 +01:00
AdAstra-LD
e997891285 missed two commas wtf 2021-02-06 23:26:05 +01:00
AdAstra-LD
8fdcdcdcb3 Added over 50 dppt command names 2021-02-06 23:19:24 +01:00
AdAstra-LD
832da0f49f Major script editor update + other stuff
- Separated Script Commands and Scipt Actions (new class)
- minor code refactor
- fixed menu buttons
- proceeded with script editor rewrite
- script editor identifies errors and reports them
- fixed minor issue with decimals ( buildings updown value box )
2021-02-06 21:17:34 +01:00
AdAstra-LD
a81295b1dd More HGSS commands and fixes 2021-02-05 19:06:02 +01:00
AdAstra-LD
da4d8a5d92 Fixed script editor expanding functions even when there's no need to
(UseScript_#X)
2021-02-05 16:55:29 +01:00
AdAstra-LD
24e772648b Added script DB icon 2021-02-05 05:03:38 +01:00
AdAstra-LD
2fba5d6d8b Reorganized files 2021-02-05 04:24:40 +01:00
AdAstra-LD
6cf2b5b8ab
Merge pull request #2 from ShadyRelapse-PP/main
Updated PokeDatabase.cs (Collision Types)
2021-02-05 04:07:25 +01:00
AdAstra-LD
238319b4d5 Tons of new stuff
+ New CommandDatabase Window
+ Many DPPt commands now have a name
+ Fixed script export button
+ Map Editor comboboxes are now read-only
+ Improved search in scripts and search in texts code
2021-02-05 04:04:32 +01:00
AdAstra-LD
462d668f6b Fixed more DP commands 2021-02-04 19:38:40 +01:00
ShadyRelapse-PP
d7d3f0ca36
Update PokeDatabase.cs
Added all the missing used map collision types.
2021-02-04 18:24:02 +00:00
AdAstra-LD
48ce162e04 Update PokeDatabase.cs 2021-02-04 17:52:36 +01:00
AdAstra-LD
8d887ef83b Also converted TXT resx databases to Dictionaries
[write dict is not being used yet]
2021-02-04 04:22:33 +01:00
AdAstra-LD
8269f6627f Converted script resx databases to Dictionaries
Performance has improved drastically

also more fixes to DPPT Commands and scriptfile class
2021-02-04 03:50:59 +01:00
AdAstra-LD
3104d00141 Minor platinum cmd fixes 2021-02-03 19:13:32 +01:00
AdAstra-LD
5a43e0aa6c Fixed lots of platinum commands 2021-02-03 05:30:12 +01:00
AdAstra-LD
fd270f90f8 Fixed some bugs with the advanced search and script editor (Pt)
also added some new commands/fixed names
2021-02-03 03:30:32 +01:00
AdAstra-LD
94a2d80e56 Misc fixes (platinum still needs some work) 2021-02-02 17:03:30 +01:00
AdAstra-LD
6de79ecbf1 1.0.8 is almost ready
- Minor refactor
- Fixed small problem with HGSS worldmap header field
- Improved advanced header search
- Fixed script editor randomly deleting lines in some cases
- Fixed database entry for Pokemon names text archive
- Reorganized ROMToolBox patch data
- Improved level script detection (thanks to Mikelan)
2021-02-01 01:18:14 +01:00
AdAstra-LD
d16748466d More fixes
Fixed map editor building decimals [position]
Simplified line numbers function
2021-01-31 17:34:27 +01:00
AdAstra-LD
99c0aed076 Bunch of fixes and new features
new Duplicate buttons [event editor]
new BGS import/export tab [map editor]
new size labels [map editor]
added icons to many buttons that had none
2021-01-30 21:23:32 +01:00
AdAstra-LD
3c723bec90 Fixed Script parser, fixed HGSS parameter resx (thanks to Mikelan) 2021-01-29 13:57:21 +01:00
AdAstra-LD
6e352ac1de Added search icon 2021-01-29 00:32:57 +01:00
AdAstra-LD
801d5e4070 Minor fixes bld editor and keepoverworld cmd 2021-01-26 17:49:42 +01:00
AdAstra-LD
a7d3ac4954 Improved ROMToolbox menu 2021-01-25 18:08:28 +01:00
AdAstra-LD
0a3a8ee237 Added new patches to the ROMToolbox + fixes
- added BDHCAM patcher
- added "set Overlay1 uncompressed" patch
2021-01-25 04:14:27 +01:00
AdAstra-LD
cfcf77fbc4 Fixed ARM9 Expansion patch and readfromarm9 function 2021-01-24 06:33:26 +01:00
AdAstra-LD
cc325e91f7 Minor fixes to script editor 2021-01-24 02:55:13 +01:00
AdAstra-LD
c4df670c9d Removed useless code from PokeDatabase 2021-01-24 00:13:19 +01:00
AdAstra-LD
3617ab98f3 The script editor seems to work now 2021-01-24 00:06:39 +01:00
AdAstra-LD
ae88c4bc11 New colortable import and reset options 2021-01-22 16:22:11 +01:00
AdAstra-LD
ddd64187c3 Import and Export Header buttons
also Moved more DB code to PokeDatabase and improved some methods
2021-01-21 15:14:09 +01:00
AdAstra-LD
4addbe5d0c Added more HGSS weather effects, redone weather preview pics 2021-01-19 13:40:47 +01:00
AdAstra-LD
2aab73f6a9 Language & version refactor 2021-01-17 18:39:26 +01:00
AdAstra-LD
1917f6ea32 Misc bugfixing and code restyling
Fixed more errors and exceptions,
moved ARM9 expansion code to a resx resource,
improved ui design of event editor
2021-01-12 05:22:28 +01:00
AdAstra-LD
fa2a015170 Added support for Expanded ARM9 memory, new search location feature
- Fixed Text message search being case sensitive no matter what
- Added new ROM Toolbox icon
- Added ARM9 memory expander to the Toolbox
- Added placeholder BDHCAM button to toolbox
- Added placeholder "Pokemon names case converter" button to toolbox
- New search location feature
- Fixed Encounters editor not opening
2021-01-10 03:58:27 +01:00
AdAstra-LD
7036abd66d Fixed Jump Movement names 2021-01-08 14:04:58 +01:00
AdAstra-LD
6cb837bdbe Documented more script commands, added script cmd search 2021-01-06 03:37:45 +01:00
AdAstra-LD
12f693b5d1 Changed App Name to DSPRE 2021-01-02 01:58:44 +01:00
AdAstra-LD
cb0f258894 Optimized unused imports, fixed Movement "See" names 2021-01-01 23:45:52 +01:00
AdAstra-LD
1e20fed557 Code refactoring, script editor and line number fixes 2021-01-01 20:57:43 +01:00
AdAstra-LD
403feaadc0 Minor fixes
Fixed one-line conditionals, fixed some script command names, enabled some of the quick script cmd buttons
2021-01-01 05:17:43 +01:00
PC
aad2c74580 First commit 2020-10-06 22:57:27 +02:00