Commit Graph

45 Commits

Author SHA1 Message Date
Kurt
4c16905249 Use c#11 features 2024-03-04 20:19:09 -06:00
Kurt
8266fb72ec Minor tweaks 2023-10-05 23:33:55 -07:00
Kurt
8e83b63d95
Flatsharp codegen (#326)
* Manually translated/attributed fbs files.

* Include fields in obj-as-table dump

* Emit fields for json too. FlatSharp generates structs with fields rather than properties at fixed offsets (maybe I'm missing a setting)

* Update .editorconfig to ignore generated code files (unsure if this actually works).
2023-04-06 18:00:19 -07:00
Kurt
38b784e19b Add handling for S/V load and data ripping
Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com>
Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com>
Co-Authored-By: Lusamine <30205550+Lusamine@users.noreply.github.com>
2022-11-24 15:30:03 -08:00
Kurt
f591257e7a Minor tweaks
Cleaning things up before things go dark?
2022-10-27 11:59:42 -07: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
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
Kurt
6d76d21cfe Defer data object return to after init 2022-02-21 09:32:50 -08:00
Kurt
a14c203ff3 Rough draft area editor 2022-02-19 14:20:00 -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
sora10pls
a9e72c288f Skip TMs when randomizing Shops 2021-09-04 14:57:05 -04:00
sora10pls
c4b670af61 Label all shop inventories
84 tables between Unused + Watt Trader 1 are Ingredient Sellers in the Wild Area. Instead of randomizing daily items like they did for Snowslide Slope's daily highlight of 1 item, they hardcoded 84 tables with ingredients. Why?
2021-09-04 12:14:55 -04: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
sora10pls
64d04182ef Re-merge wild buttons
Related: d231a411a0
2021-03-11 11:32:17 -05:00
sora10pls
d231a411a0 Properly differentiate between SW/SH
Previous implementation did not work correctly for LGPE. If someone wishes to merge the wild encounter buttons again, make sure it works for all games before submitting a pull request. Also fixes LGPE wild editor using small sprites.

Closes #110
2021-03-04 14:43:21 -05:00
Koopa
4efedc0b38
Merge version specific buttons. 2021-02-28 01:29:07 -05:00
sora10pls
caf9e635b4 Add AllowRandomFusions to Trainer Randomizer Settings
Move BattleExclusiveForms outside of Tables7 since it'll be used for every Generation, and update it with Gen 8 species.
Also fix FormRandomizer allowing Zen/Galarian Zen Darmanitan.
2020-07-01 15:16:03 -04:00
sora10pls
2e600b9080 Standardize using FormRandomizer for all randomizers 2020-06-27 14:59:59 -04:00
sora10pls
7fd6fe849b Initial Isle of Armor support 2020-06-17 12:41:26 -04:00
Kurt
b01d119e5e Fix lgpe wild redirect
#48
2020-05-24 12:03:09 -07:00
Kurt
d848f87bd7 Simplify dialog result pattern 2020-05-21 10:32:16 -07:00
Matt
19ec807c95 Sword/Shield updates (#41) 2019-12-16 15:51:12 -08:00
Kurt
58b0597fea Sword/Shield Update
Many thanks to @SciresM and @sora10pls for assisting in this massive
update!
2019-11-15 17:00:41 -08:00
Kurt
537ce93efa Initial c#8 update
pkNX.Sprites to be replaced with a pkhex.drawing dll once that is
updated with swsh stuff (when the time comes)
2019-10-15 18:47:20 -07:00
Kurt
194ce0a2c9 replace searchpattern for typechart
pikachu is different from eevee, get a pattern that is shared between
both
2018-12-13 20:48:24 -08:00
Kurt
1f3cbdad71 Add type chart editor & randomizer
2% for immune, 17% for 2x/.5x
2018-12-01 21:57:01 -08:00
Kurt
62517ca742 Add TM editor 2018-12-01 16:54:44 -08:00
Kurt
0c0487f12f Add shiny rate editor
untested but probably works
2018-12-01 12:39:31 -08:00
sora10pls
eeec9af64d Misc updates 2018-11-27 17:34:07 -05:00
Kurt
dec088766c Update singlefile usage 2018-11-26 17:07:21 -08:00
Kurt
507e1445bb Actually randomize via species not form
lol oops
2018-11-26 17:03:29 -08:00
Kurt
b0315416c2 Randomize requested species
lul
2018-11-26 17:02:12 -08:00
Kurt
9d3fdc9b06 Add gift/static/trade species randomizers 2018-11-26 16:29:12 -08:00
Kurt
e81846ac2a Add generic trade editor 2018-11-24 16:12:08 -08:00
Kurt
a8113c0ba4 add gift/static editors
pretty lazy un-annotated properties but meh
2018-11-24 14:27:39 -08:00
Kurt
27f15dc9d7 Add wild editor (json in/out) 2018-11-22 20:18:20 -08:00
Kurt
09a4385842 Add simple editor for item/move
Allows dumping of data to tab separated string for pasting in
excel/openoffice calc.
2018-11-20 22:55:35 -08:00
Kurt
62a9404b65 Writeback
still no personal saving on close I think
2018-11-20 20:42:56 -08:00
Kurt
9909da7dae Add poke data editor (personal, learn, evo)
WIP, haven't even bothered launching the form yet
2018-11-20 16:31:53 -08:00
Kurt
b28d81bd56 Add WIP trainer editor 2018-11-18 17:38:30 -08:00
Kurt
6d5cfca1c4 Allow text edits / saving 2018-11-17 12:08:31 -08:00
Kurt
aeece4d80a Add text editor
Browsing/exporting only for now
2018-11-17 09:18:01 -08:00
Kurt
e8cd9cc30f Misc updates
Recognize & init GG data when dropping folder in (containing rom/exe
folders)
2018-11-13 22:19:19 -08:00
Kurt
52d70f0b9f Initial Commit 2018-11-13 19:44:43 -08:00