Commit Graph

552 Commits

Author SHA1 Message Date
Jelle
01c9fe4e7b Organize files 2022-10-15 12:29:52 +02:00
Jelle
4508d4702b Add pokemon model resource editors 2022-10-15 12:22:51 +02:00
Jelle
95b0b70d4d Allow adding entries to SymbolBehave 2022-10-13 14:15:30 +02:00
JelleInfinity
6498f3c8eb [SWSH] Remove dynamax crystals from legal random list (#280) 2022-10-12 08:39:31 +01:00
JelleInfinity
cbb75148a1 [SWSH] Remove items with ID 1279 from legal list (#279)
1279 seems to be an ID solely used for dummy items
2022-10-12 08:04:24 +01:00
JelleInfinity
bdfedd3880 Assign unique item names in editor (#278)
Fix item name duplicates causing the editor to switch between entries
2022-10-11 15:59:00 +01:00
JelleInfinity
6274c34aeb Found two more fields (#277) 2022-10-11 09:13:04 +01:00
Kurt
fa4de667b0 Update PersonalInfo8SWSH.cs 2022-10-07 10:08:31 -07:00
Kurt
8d7d698d1f Fix TypeTutor write
Was missing (i >> 3); error caused it to write last 8 bits at offset 0, overwriting any previous bit flags.

Extract out a method to do all the work for us.
2022-10-07 10:07:42 -07:00
Kurt
d9db14fcec Fix serialization width
Unmodified personal data should serialize back to the same size & sequence as the original data.
2022-10-07 08:45:29 -07:00
Kurt
5065036465 Update GameDumperSWSH.cs 2022-10-06 22:43:27 -07:00
JelleInfinity
4167762c44 Some bug fixes (#276)
* Replace all uses of ModelID

* Prep work to add PokeMisc data
2022-10-05 17:01:34 +01:00
Kurt
09dca34664 Update README.md 2022-10-04 14:38:55 -07:00
JelleInfinity
5190d5bdb6 Apply minimum window size (#274) 2022-10-04 15:28:28 +02:00
JelleInfinity
7753ca07c7 Update README.md 2022-10-04 15:28:28 +02:00
JelleInfinity
f1fdc71585 Don't show template button (#272) 2022-10-04 13:22:36 +01:00
JelleInfinity
2ed021edd0 Make sure the path is still valid (#271) 2022-10-04 11:55:13 +01:00
JelleInfinity
e70c652d1e Use template button to fix DPI scale issues between devs (#270) 2022-10-03 08:27:41 +01:00
JelleInfinity
4ab7f1a28d Feat/npc model set editor (#269)
* WIP NPC Model Set editor

* Split NPCModel and NPCResident to Enums

Co-authored-by: Maurizio Vitale <mauriziovit@gmail.com>
2022-10-03 08:02:08 +01:00
JelleInfinity
9bd0b2d949 Assign categories based on name (#268) 2022-10-03 07:51:11 +01:00
JelleInfinity
ef09afd09a Fix layout (#267) 2022-10-02 21:54:47 +01:00
JelleInfinity
6288d5ad98 Enable high Dpi support (#266) 2022-10-02 21:49:07 +01:00
JelleInfinity
62d094f8d6 Auto adjust layout for categories with more buttons (#265) 2022-10-02 20:54:21 +01:00
JelleInfinity
602e95a767 Feat/categorized editors (#264)
* Add support for categorized editors

* Rename functions

* Move utils to top

* Sort by category and add category tags

* Add all app_config editors

* Use client size, otherwise you'd have to enter the width/height of content + window border
2022-10-02 20:23:51 +01:00
Kurt
efb34f556b Minor tweaks
Reduce allocation of button string fetch (for fun!)
Type return covariance for Editors (no longer limited by netframework!)
2022-10-02 10:24:44 -07:00
Kurt
33a2ab24f1 Minor clean 2022-10-01 17:46:11 -07:00
Kurt
2578ba073c Refactoring
File scoped namespaces for all lib projects
netstandard2.0 => net6; now uniform. bye netframework!
2022-10-01 17:08:17 -07:00
Kurt
103b0bab2f Minor perf: cache successful gameversion from rom
Skip fetching/counting all files for the unpacked ROM that is used in determining which ROM it is.
Once we've computed it the first time, we can just reuse the value.
2022-10-01 14:24:20 -07:00
Kurt
035edab21e Resize+center main window on load 2022-10-01 13:57:35 -07:00
Kurt
d55b1d87fe Minor tweaks
Main window's Button size 35->40
Add icon as resource
Remove useless border around main window folder path
2022-10-01 12:57:24 -07:00
Kurt
76b0b62ca3 Refactoring
File scoped namespaces
NET6 for GUI
handle nullable references
add editorconfig (mostly for newline at end of file)
2022-10-01 12:44:47 -07:00
JelleInfinity
b61ecb5cb4 Enable high DPI support (#260)
This fixes blurry fonts
It does require TargetFramework to be net472 tho, I hope that's okay

Enable high DPI support

This fixes blurry fonts
It does require TargetFramework to be net472 tho, I hope that's okay
2022-10-01 12:17:27 -07:00
JelleInfinity
0c4b0b228f Merge pull request #258 from JelleInfinity/feat/research-task-editing
Research task edit buttons
2022-10-01 12:13:04 +02:00
Jelle
49e5feaf4d Research task edit buttons
* Add 'Add' 'Clone' and 'Remove' research task buttons
* Add Append/Remove array extensions
* Update to DexIndexNational instead of ModelID
* Make all functions private

Fix
2022-10-01 12:11:54 +02:00
JelleInfinity
6cff58fbf7 Improve main editor buttons (#259)
* Don't add spaces for abbreviations

* Sort editor buttons alphabetically
2022-09-30 13:48:46 -07:00
JelleInfinity
905977383b Change area index to checkbox (#262) 2022-09-30 13:48:30 -07:00
JelleInfinity
97e5999372 Fix merge error (#263) 2022-09-30 13:46:17 -07:00
JelleInfinity
3c71e74b93 SWSH personal info refactor (#256)
* Add missing properties

* Refactor swsh personal info
2022-09-29 23:04:34 -07:00
JelleInfinity
8593fdc496 Fix arg type (#255)
I read that these can't have arguments
2022-09-29 16:18:19 -07:00
JelleInfinity
c3470997d2 Updated pokemon editor (#257)
* Add PokeMisc, items drops and research task files

* Update PokeMisc/DexResearch field names

Add type converters for known properties
No throw GetEntry
GetEntries for research tasks

* Update Poke editor

* Redesign UI
* Added PokeMisc to personal section (As property grid for now)
* Added Pokedex tab for research tasks (As property grid for now)
* Allow entries up to 9999

Still a WIP
2022-09-29 16:17:48 -07:00
JelleInfinity
9346f482da Improved auto fill (#254)
* Rename fields

Rename to `HatchedSpecies`
`Species` here is actually `ModelID`. To get Species `DexIndexNational` should be used

* Update interfaces

Use DexIndexRegional
Replace `RegionalFormIndex` with `Form`

Add national dex index

* Add debug assert

* Add set functions for easy assignment of personal info

* Update auto-fill

* All missing SWSH data is now filled based on USUM data
* Accounts for form data
* Ignores all forms that are not carried over to next gen
* Adds form number and national dex number

* Update PLA filler to account for forms and other missing entries
2022-09-29 16:14:44 -07:00
JelleInfinity
7f051d06ed Move IMovesInfo to own file (#252) 2022-09-27 11:17:20 -07:00
Lusamine
1d27b6f5e0 Fix typo 2022-09-27 10:27:13 -05:00
Lusamine
53d3e456d3 Fill in remaining NHO information 2022-09-27 03:35:42 -05:00
Kurt
0bf8e470a0 Map Viewer tweaks
Re-add mouse tolerance distance fudge factor (pixels)
Reduce wormhole fill color opacity so that stacked spawners don't appear solid
Uppercase Map Viewer
Show full button name
2022-09-26 18:08:57 -07:00
JelleInfinity
8ac8ae78ac Refactor evolution code from PKHeX source (#251)
* Add evo table resources and re-arrange files

* Add array from byte span utility function

* Update evolution related code from pkHex
2022-09-24 17:39:41 -07:00
JelleInfinity
5df700a136 Fix evo rows not clearing (#250) 2022-09-24 17:39:27 -07:00
JelleInfinity
7d5a8b0450 Update poke editor (#248)
* Add gender description and next/previous buttons

* Add SpecialTutors change FormSprite to Form
2022-09-22 19:28:52 -07:00
JelleInfinity
523a39e594 Fix evo editor (#249)
* Rename to Species

* Use Graphics to resize image

* Fix evo editor

Not the best/fastest method, but at least its functional now
2022-09-22 19:10:24 -07:00
JelleInfinity
ea9ce5dec6 Add auto-fill from old databases (#246)
This adds the option to fill in the missing info using swsh and usum databases
2022-09-21 16:05:30 -07:00