Commit Graph

61 Commits

Author SHA1 Message Date
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
33a2ab24f1 Minor clean 2022-10-01 17:46:11 -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
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
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
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
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
3a8328c0cd Use interfaces for personal info to make updating the data easier (#234)
* Use GameVersion instead

* Fix formatting

* Update Personal info code

* Use interface versions in code

* Remove unnecessary param

* Remove TableLength

* Fix integration

Rename Forme to Form
Typed numbers
2022-09-18 12:44:51 -07:00
JelleInfinity
0f40a36c3a Use Types enum for UI values (#229) 2022-09-11 09:07:49 -07:00
Kurt
58cf010e44 Add dump for mastery levels, duplicate levels 2022-05-06 20:52:47 -07:00
Kurt
1316d70cf1 Fix Pokemon.txt dump for PLA 2022-04-22 20:22:07 -07:00
Kurt
d897e79e0f Update dumper, recognize NHO spawns 2022-02-27 13:49:44 -08:00
Kurt
014d26656f Start associating NHO spawners to tables 2022-02-27 12:38:01 -08:00
Kurt
22ede7da03 Add landmark editor 2022-02-20 23:35:18 -08:00
Kurt
5ff4d8d2ca Handle resident gfpak as gfpak 2022-02-19 15:09:55 -08:00
Kurt
a14c203ff3 Rough draft area editor 2022-02-19 14:20:00 -08:00
Kurt
d27891407a Pre-work for area editing 2022-02-19 12:21:09 -08:00
Kurt
0a30e0ca3c Remove unsupported games, split GameData
lack of interfaces and default interface implementations is killing me :)

Split GameData so we can interact with changed data structures a little less weird; PLA Learnsets are too incompatible for direct edits with existing abstractions.
2022-02-15 01:58:27 -08:00
Kurt
b145576e28 Event triggers (#188)
* Add event trigger dumper, names via hash brute force

* Add more conditions (from brute forced event triggers)

* more triggers, dump unknowns

* add some bgm/sound triggers

* seven new trigger enums

* add progress_work_condition_hash

* crafting is apparently internally cra

* azelf/agunomu throw

* add all but three hashes used in event trigger binaries

* add the last trigger command (1 type/cond left each)

* Add last officially used condition, one type left

* add all unused task conditions

* add all unused trigger commands

* Add new (and old) spawners

Co-authored-by: Michael Scire <SciresM@gmail.com>
2022-02-13 13:40:26 -08:00
Kurt
6ff2aab801 Add personal/learnset raw editor 2022-02-13 13:35:29 -08:00
Kurt
0c0ed7a1e3 Remove swsh Trainer dumper from PLA 2022-02-11 17:47:44 -08:00
Kurt
3baa9161b2 Add shiny rate bonus editor
Untested, but should allow for changing the various bonuses (besides swarm's +25).
2022-02-05 09:24:44 -08:00
Kurt
e432370a40 Add Pokémon Legends: Arceus support
.NET5.0 -> .NET6.0

Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com>
2022-02-04 18:43:21 -08:00
Kurt
6cff90ab4d Enumerate stand/sitting 2021-09-20 13:52:23 -07:00
Kurt
0dc127d294 Add gfpak hash export to ahtblist 2021-09-18 19:13:38 -07:00
Kurt
69483f4224 Export area flatbuffer files on dump 2021-09-09 09:04:41 -07:00
Kurt
639f8156ab Handle FlatBuffers in-process with FlatSharp, and add more flatbuffer editors. (#166)
Thanks @sora10pls for double checking some editors, and @Lusamine for some field identification.

Closes #115 -- tested the pokedex after randomization and it no longer crashes when randomizing+saving with the latest code in this pull request.

Adds:
* Shop editor (SWSH + LGPE)
* Move editor
* Item editor
* Symbol (Overworld Pokemon) Behavior editor
* Default Rental team editor
2021-09-02 19:47:41 -07:00
Lusamine
537f3deed3 Only dump accessible encounter slots and include metadata for SWSH 2021-07-22 22:23:28 -05:00
Kurt
4e6fbe78ed Correct index 2021-04-21 17:25:05 -07:00
Kurt
e772a99341 Add index to dumped bcat nests 2021-04-18 12:02:30 -07:00
Kurt
49efb96db9 Export bridge->stony crossover tree shake slots, don't export empty slots
See PKHeX prior to this commit for rationale

9864f23427

Reduces the amount of work PKHeX does when loading.
2021-03-17 18:10:26 -07:00
Koopa
cc71b6357c Add System import for String. 2021-02-28 02:10:30 -05:00
Koopa
552149774d Prefer system flatc. 2021-02-28 02:02:44 -05:00
sora10pls
bafe33a062 Update GameDumperSWSH.cs
PKHeX reads from evos_ss.pkl and not evos_swsh.pkl
2021-02-24 11:20:12 -05:00
Michael Scire
2255e90813 Add provisional all dumper, for all areas in one go 2021-01-14 18:48:29 -08:00
Michael Scire
a1f2ee0eff Add support for dumping static encounter spawners 2021-01-14 18:24:55 -08:00
sora10pls
e8ddd9be61 Update PKHeX exports
Target typed new for Nests, Dynamax Adventures, and Trades
2021-01-01 13:34:47 -05:00
Kurt
22ef506b4e Update for c#9 syntax sugar 2020-12-27 12:47:46 -08:00
Kurt
b9e2ff627d Only parse & export dist file if it exists
Allows parsing of old files
2020-12-27 11:24:18 -08:00
Kurt
d407506c30 Mior clean
reduce compiler messages
2020-10-25 13:17:04 -07:00
Kurt
01f02dd549 Add Dynamax Adventures encounter editor
Closes #101
2020-10-25 10:57:20 -07:00
Kurt
8d7b5cea3c Crown Tundra Update
Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com>
Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com>
2020-10-23 18:02:01 -07:00
sora10pls
10c3160368 Update dumpers
Futureproof for Crown Tundra, denote Ability 3 as "Ability = 4" for PKHeX dumps
2020-07-12 21:07:48 -04:00
sora10pls
cd29f974e7 Fix Armor distribution raid dump 2020-06-30 11:16:50 -04:00
sora10pls
b52cc87c5a Fix Trainer/Item Info dumps
Game Freak left in DLC 2 item data, so we should only iterate on items with names present.
2020-06-21 22:24:59 -04:00
Michael Scire
e4580ea7e9 Fix nest dumping, improve ahtb dumping 2020-06-18 15:30:07 -07:00