Commit Graph

51 Commits

Author SHA1 Message Date
KalaayPT
e7d99484de scrcmd data refactoring: unified object from json db structure 2025-10-21 17:28:31 +02:00
Mixone-FinallyHere
7c29bb4519 Moved most console logging to the new system 2025-09-02 09:17:38 +02:00
KalaayPT
c3fb90bcf8 add trainer param to parametertype enum 2025-08-09 17:38:30 +02:00
KalaayPT
681608b657 add basic manager for custom scrcmd databases 2025-08-09 03:05:30 +02:00
KalaayPT
d4149bb5f1 large refactoring of script parsing logic. now uses ScriptParameter class and loads parameters right from database 2025-08-06 23:23:20 +02:00
KalaayPT
ab077635cb externalize database into json, pulled from new scrcmd-database repo, also fix some smaller script bugs 2025-08-04 18:54:13 +02:00
Miguel
a9a66053ec
Merge pull request #47 from Mixone-FinallyHere/parameterEnums
Added handling for more parameter enums: moves, items, pokemon
2025-07-30 08:06:58 +02:00
KalaayPT
500288dd40 added handling for more parameter enums: moves, items, pokemon 2025-07-30 01:15:02 +02:00
corentinmace
72b22d1e2c AutoUpdate system. Changed settings to json stored settings in AppData folder. Changed Log & Crash Report paths to AppData folder 2025-07-29 21:14:17 +02:00
Mixone-FinallyHere
1dd28e90c5 Restructured script stuff so it can be released for 1.13 2025-06-09 15:28:18 +02:00
Mixone-FinallyHere
423dfdff6c merge 2025-03-11 09:02:35 +01:00
Mixone-FinallyHere
613f68af4e Added ad fix 2024-10-26 14:49:55 +02:00
Miguel Terol Espino
0254b46a41 Added the levelscript editor
Co-authored-by: Cuddlyogre <cuddlyogre@users.noreply.github.com>
2024-03-03 17:35:34 +01:00
Miguel Terol Espino
7cf53fadb5 Started merging changes
Co-authored-by: Cuddlyogre <cuddlyogre@users.noreply.github.com>
2024-03-03 14:07:40 +01:00
AdAstra-LD
eb86f450b1 Fixed incorrect handling of empty script lines
Fixed wrong linenum in parser failure error message
2022-07-18 00:31:40 +02:00
AdAstra-LD
688a590a05 Cleanup of Pokémon icons [now read from the ROM itself]
+ Table editor pokemon icon is read from the ROM as well
2022-07-17 23:22:11 +02:00
AdAstra-LD
6b8ff7c556 Minor trainerclass edit 2022-06-17 22:21:01 +02:00
AdAstra-LD
edcf6ab93e Fixed error popping up when searching HGSS scripts
[+] Changed command names to match between DPPt-HGSS
2022-06-16 17:11:23 +02:00
AdAstra-LD
180296e60b Improved script editor readability [Directions and movecodes]
[+] Added new script command names to database
[+] Optimized script search speed
2022-06-16 17:11:23 +02:00
AdAstra-LD
d0688761f5 Fixed Issue #8
[Wrong line numbers in the script editor's error messages]
2022-06-11 14:47:33 +02:00
AdAstra-LD
a6bc205a88 Script and text editor format preference is memorized 2022-01-07 03:47:32 +01:00
AdAstra-LD
ae921b8ac8 Fixed a critical UseScript bug (list sort)
+ Refactored useScript attribute of CommandContainer --> usedScript
2022-01-01 04:33:34 +01:00
AdAstra-LD
0566d55935 Version Update + Script Number format
[+] Fixed mess with system icons
2021-11-07 01:44:41 +01:00
AdAstra-LD
31f9488cfb Misc fixes [mostly Script Editor]
[+] Fixed PokeRadar percentage labels
[+] Removed Script Containers static KW
[+] Script Editor now notifies when user is attempting to save an empty script
[+] Script Editor got better at detecting problems with
script/function/action labels
[+] Improved detections of UseScripts
[+] Added a few more Platinum script commands
[+] Fixed ARM9 compression detection for DP roms
2021-10-24 22:58:16 +02:00
AdAstra-LD
b8446d3c2a Fixed whitespace characters + added mapSize 'constant' to MapFile class 2021-10-03 17:49:15 +02:00
AdAstra-LD
487d397a84 Added full support for variable-type script commands 2021-09-13 06:08:46 +02:00
AdAstra-LD
fb68aff727 Added Command Tooltips feature to Script Editor
Misc bug fixes
2021-08-10 14:20:10 +02:00
AdAstra-LD
0050fe932b Created reverse dictionaries for cmd names and comparison ops
[faster lookup]
2021-08-09 19:28:08 +02:00
AdAstra-LD
baebd4aed1 Migrated scriptEditor to ScintillaNET 2021-08-06 02:09:14 +02:00
AdAstra-LD
fe2cd07de6 Minor Script Editor error detection fixes 2021-07-17 21:04:55 +02:00
AdAstra-LD
08d5400694 Better management of script actions database + refactor 2021-07-17 19:50:21 +02:00
AdAstra-LD
605b8a03a1 Minor bugfix + refactor and new script actions 2021-07-17 19:23:43 +02:00
AdAstra-LD
9107575f43 Made script editor less picky about 0x and blank lines 2021-07-16 06:00:05 +02:00
AdAstra-LD
828b3d2ab1 Minor refactor + added missing Designer.cs 2021-07-15 02:41:49 +02:00
AdAstra-LD
3e5dc2d729 Changed == null to "is null" 2021-04-24 17:05:35 +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
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
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
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
303ef2150e More script editor fixes
with a bit of code cleanup
2021-02-11 00:00:02 +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
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
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
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