Commit Graph

303 Commits

Author SHA1 Message Date
Jelle
808629ac0f Brute force hash decoder test 2022-10-17 13:00:15 +02:00
Jelle
0901930001 Add hashes 2022-10-17 11:45:49 +02:00
Jelle
3890b23530 Add pokemon_model_set from resident_release 2022-10-16 20:41:35 +02:00
Maurizio Vitale
80dae43c49 Add DressUps editors 2022-10-16 20:17:32 +02:00
Maurizio Vitale
f3bf97a110 Expand on Throw Param Flatbuffers 2022-10-16 20:17:25 +02:00
Jelle
4963d8ca6c Clear before adding items on reload 2022-10-16 16:53:09 +02:00
Jelle
c9bf194997 More generic GenericEditor 2022-10-16 16:49:21 +02:00
Jelle
d14673f15e Add dex rank editor 2022-10-16 13:28:37 +02:00
Jelle
b0b317d46f Add 'Add Entry' button
There is still a bug that requires the editor to be closed are reopened before the new entry will appear. I'll fix this bug before adding it to other editors
2022-10-16 13:28:10 +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
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
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
JelleInfinity
5190d5bdb6 Apply minimum window size (#274) 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
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
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
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
JelleInfinity
b69ec3fcdb
Rename to PersonalTableLAfb (#245)
This makes it easier to see the difference
2022-09-21 15:56:02 -07:00
JelleInfinity
e1d7cc790a
PersonalInfo interface fixes (#243)
Improved the inheritance graph and renamed some variables to merge some into an interface
2022-09-21 15:55:54 -07:00
JelleInfinity
dff97a4105
Feat/pokemon editor (#242)
* Make PersonalTable saveable

* Add poke editor
2022-09-20 16:46:04 -07:00
JelleInfinity
bd8cbb004b
Add save menu option (#244) 2022-09-20 16:45:49 -07:00
JelleInfinity
d1a6948e95
Fix compiler error (#241) 2022-09-19 08:42:05 -07:00
JelleInfinity
21a87b454d
Update legality from PKHeX (#237)
* Update legality from PKHeX

* Move to folder

* Remove namespace wrapping

Co-authored-by: Kurt <kwsch@users.noreply.github.com>
2022-09-18 12:48:03 -07:00
JelleInfinity
7686aa1d49
Add area editor buttons + fix auto resizing/component alignment (#239)
* Add buttons to edit encounter slots

* Add tooltips

* Add default icon for editor windows

* Fix auto size on window resize + re-align

Some components didn't resize. This commit fixes that + fixes alignment issues in all editors.
2022-09-18 12:45:20 -07:00