Commit Graph

316 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
de368527c8 Bugfixes and minor readability improvement
- Absence of textures in NSBMD is now detected and reported
- Improved readability of NSBMD renderer code
2021-04-28 17:39:55 +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
e6d9aedb8a Update NSBMDGlRenderer.cs
improved readability
2021-04-23 14:15:46 +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
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
6e05fbcb00 Added braces to if statements 2021-04-11 13:34:27 +02:00
AdAstra-LD
8d6cecbf1f First working draft of camera editor
- Updated some DSUtils methods
- Updated SetCameraTableOverlayAndOffset method in RomInfo
- New GameCamera class
2021-04-11 20:02:11 +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
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
d698e32d08 Finalized model utilities 2021-04-09 06:11:43 +02:00
AdAstra-LD
43c4579fe5 Update removeTextureNSBMD.png 2021-04-09 06:09:22 +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
dc58f5820f Preparing NSBMD Utilities
- Created new GetModelWithoutTextures method inside DSUtiles
- Reorganized DSUtils class
2021-04-08 14:14:08 +02:00
AdAstra-LD
b933d053c5 Added NSBMD Utilities icons dependencies 2021-04-08 14:13:09 +02:00
AdAstra-LD
cd111fb205 Added NSBMD Utilities buttons 2021-04-08 14:12:47 +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
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
b847b75860 Minor refactor and readability improvements 2021-03-27 03:58:06 +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
eac27c41ff Fixed WildEditor showing success messages for every file upon repairing 2021-03-22 20:01:54 +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
fc27269199 Condensed HG/SS and D/P version check [RomInfo.cs] 2021-03-20 20:42:21 +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
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
037a09b01e fixed NSBTX editor export name suggestion 2021-03-04 20:36:32 +01:00
AdAstra-LD
1eabdf7fd4 Updated README and Pics 2021-03-04 20:26:21 +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