Commit Graph

199 Commits

Author SHA1 Message Date
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
3e5dc2d729 Changed == null to "is null" 2021-04-24 17:05:35 +02:00
AdAstra-LD
383de86715 Fixed camera table export btn 2021-04-24 17:02:10 +02:00
AdAstra-LD
467ec728b5 Fixed another problem with flood fill
[didn't see that one lol]
2021-04-20 19:29:47 +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
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
e965b84a59 Tidying up
- Added GetOverlayRAMOffset method in DSUtils
- Moved RepackROM from MainWindow to DSUtils
- Overworld table and dictionary are only set when loading the Event Editor
- Spawn Settings are only loaded when opening the Matrix Editor (or the Spawn Settings Editor)
2021-04-10 12:19:00 +02:00
AdAstra-LD
0a8d2c8636 Added warning about NSBMD Map size 2021-04-09 11:36:51 +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
d698e32d08 Finalized model utilities 2021-04-09 06:11:43 +02:00
AdAstra-LD
f6f3ff58ac Added NSBMD Remove texture feature
also reorganized some code in BuildingEditor and DSUtils
2021-04-08 15:56:29 +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
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
ca9c93b21f Fixed buildings scaling and translation 2021-03-27 04:25:26 +01:00
AdAstra-LD
26620f6a4e Improved readability of Building scale/translate method 2021-03-27 04:10:14 +01: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
7eb62e78cc Fixed relative path error [save ROM button]
- also Fixed DPPt Wild Editor button alignment
2021-03-22 20:15:02 +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
856586f265 Improved error robustness of Wild Editor
- Also fixed a problem with relative paths [DSUtils and MainWindow]
2021-03-22 16:59:42 +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
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
6602f3df04 Minor refactor and first camera editor code 2021-03-20 02:38:44 +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
037a09b01e fixed NSBTX editor export name suggestion 2021-03-04 20:36: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
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
a113ef6058 Added warning to item patch
also fixed a couple HGSS commands
+ minor refactor
2021-02-16 21:21:38 +01:00
AdAstra-LD
ffcc59ff61 Improved Standardize Items Patch
now every item is available and can be found on the ground
2021-02-16 19:00:25 +01:00
AdAstra-LD
b7182dbc0a Update Main Window.cs
minor fixes
2021-02-16 17:42:41 +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
fbda185fc9 Fixed header search [internal names edit bug] 2021-02-13 20:20:22 +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
696df50e93 ReAdded support for Chinese ROMs text""
This reverts commit 447ae311ab.
2021-02-13 17:12:19 +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
05a5df344a Last-minute script editor fix 2021-02-12 04:48:28 +01:00
AdAstra-LD
bb8cf2187f Fixed text spacing [bgs size] 2021-02-12 03:51:13 +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
018f891289 Fixed a problem with 3D overworlds [event editor] 2021-02-11 22:27:41 +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