Commit Graph

124 Commits

Author SHA1 Message Date
AdAstra-LD
d9dc5a2580 Added support for last 32 bits of HGSS header files 2021-07-15 04:23:49 +02:00
AdAstra-LD
fafd853183 Added and fixed Mikelan's trainer editor 2021-07-15 02:42:30 +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
57548c6000 Fixed dynamic headers patch not reading/writing from/to the correct place
- misc improvements
- remove last header button is now fully functional
2021-07-07 06:12:21 +02:00
NomuraRH
b81baa956b Added dynamic headers patch and support for adding new headers 2021-05-28 23:25:25 +02:00
AdAstra-LD
44532af130 Code cleanup [Script Macros] 2021-05-02 16:59:03 +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
79e6c03495 Fixed camera param indices 2021-04-28 18:20:21 +02:00
AdAstra-LD
59bf4f87f9 Added a couple missing features [Camera Editor]
- Import/Export buttons are now fully working
- Added "Blank BGS" button to Map Editor
- Fixed "Lock X" and "Lock Z" mutex
2021-04-28 17:42:07 +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
13b45e9d92 Fixes + small addition
- Fixed problem with BMD/BTX exporter and output name suggestion
- Fixed overlay file being zero-filled when saving camera table
- the Matrix editor now shows the coordinates of the selected cell in the Status bar
2021-04-15 20:06:01 +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
2c15c5a9ff Text Editor font is now monospaced 2021-04-12 00:31:15 +02:00
AdAstra-LD
02061e7a6a Updated MainWindow code [cam editor]
- Added braces to if statements
- changed overlay compression method return codes
- Added game camera editor setup method and table export function
- Script editor can also search for command usage in the current script only
2021-04-11 13:36:48 +02:00
AdAstra-LD
2bf0617617 Update Main Window.Designer.cs 2021-04-09 07:06:55 +02:00
AdAstra-LD
282fa3c19e Changed default option for "export textured" checkbox 2021-04-09 06:55:10 +02:00
AdAstra-LD
68d01a584b Added Embed textures checkbox (Map Model exporter)
Also fixed NSBMD+tex algorithm
2021-04-09 06:43:26 +02:00
AdAstra-LD
cd111fb205 Added NSBMD Utilities buttons 2021-04-08 14:12:47 +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
e909e47c65 Improved code readablity and formatting here and there 2021-03-27 03:56:30 +01: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
9a52397bd0 Major code cleanup
- Version update 1.2
- Added magic number check to Narc loader
- Removed redundant Narc loading functions in DSUtils
- Narcs to load are now explicitly listed
2021-03-20 18:37:36 +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
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
dede3d96fd Added HGSS menu buttons script macros 2021-03-02 13:26:06 +01:00
AdAstra-LD
fa4ee4b8b7 Version update 1.1.5
- big trigger events can now be selected by right-clicking any tile in the range
- added a close confirmation dialog
- added a new error dialog (Tools folder broken or missing)
- fixed Worldmap coords and Flags not copypasting properly
- fixed a small bug with the building selector
- fixed filesize labels not updating [map editor]
2021-03-02 12:45:10 +01:00
AdAstra-LD
d3c32f80af Fixed a small problem with the item checkbox 2021-02-15 18:55:38 +01:00
AdAstra-LD
88d9318f0e version update + fixed ow table offsets [dppt] 2021-02-14 11:31:20 +01:00
AdAstra-LD
5661b3c6c4 Minor event editor fixes 2021-02-13 18:21:23 +01:00
AdAstra-LD
92235d5992 Version update + organized forms 2021-02-13 17:26:58 +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
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
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
aadf00d21a added sprite ID label 2021-02-09 20:49:38 +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
24e772648b Added script DB icon 2021-02-05 05:03:38 +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
e52712bfab Finished conversion of script editor + bugfixing
+ Minor refactor
+ Export MAP BIN button
+ Fixed type painters resetting after changing map
+ Added more type painter colors
+ Fixed type painters font size
+ Fixed type painter value [updown] limit
+ Moved ScriptCommand and Script to a separate file

+ Fixed Encounter Editor unpacking HG encounters for SS roms
2021-02-04 17:45:59 +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
7540fd02f3 version update 2021-02-03 05:32:54 +01:00
AdAstra-LD
94a2d80e56 Misc fixes (platinum still needs some work) 2021-02-02 17:03:30 +01:00
AdAstra-LD
1b86f1156d Improved search results display 2021-02-02 01:27:22 +01:00
AdAstra-LD
67436d0d2e Some more fixes and minor qol features 2021-02-02 00:47:02 +01:00
AdAstra-LD
36c37f0f67 Version update 2021-02-01 23:17:45 +01:00
AdAstra-LD
d56b431eae more bug fixing 2021-02-01 23:12:30 +01:00
AdAstra-LD
dce4175ceb Added new fields to event editor (thanks to Mikelan)
Also some code refactoring
2021-02-01 21:40:14 +01:00
AdAstra-LD
875e1564aa Updated some eventFile fields 2021-02-01 19:28:27 +01:00
AdAstra-LD
c08ba00d70 Finished SentenceCase patch 2021-02-01 17:43:17 +01:00
AdAstra-LD
8824d163fb Misc bugfixes and optimizations
Optimized EventFile, ScriptFile, Matrix and TextFile
Fixed another small issue with script files
2021-02-01 17:23:51 +01:00