191 Commits

Author SHA1 Message Date
Lusamine
c9de6ac31d Add LZA Trubbish crossover 2026-07-13 00:12:09 -05:00
Kurt
15af1284c5 Cache all locations if multiple specified
Probably need to rewrite the abstraction to better track locations-spawn.
I think it's okay for now but it's not an elegant rewrite.
2026-07-12 22:32:26 -05:00
Lusamine
a0488a23f8 Add alternate locations for LZA crossovers 2026-06-25 21:53:56 -05:00
Kurt
5bd7003a60 Add changes for ZA DLC (Mega Dimension) (#407) 2025-12-19 15:13:38 -06:00
Kurt
0936c08eb1 LZA 1.0.2
Cumulative changes from the team.

Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com>
Co-Authored-By: SciresM <8676005+SciresM@users.noreply.github.com>
Co-Authored-By: Lusamine <30205550+Lusamine@users.noreply.github.com>
2025-11-16 15:56:12 -06:00
Kurt
31b45ee883 Minor clean
Remove unused namespace usings
2025-06-23 00:25:11 -05:00
Lusamine
f25cf50b36 Fix missing encounter table in LA Area Editor 2025-06-07 23:19:48 -05:00
Kurt
2e79aef4fd Fix generic editor anchoring
Closes #349
2025-04-09 00:08:58 -05:00
Kurt
9a6126511c Handle some warnings 2025-02-07 11:35:48 -06:00
Kurt
ddffb91cf5 Enhance FlatSharp generated code with Attributes, TypeConverter (#391)
Fixes #390
Fixes #382
Fixes #381
Fixes #370
Fixes #355
2025-02-07 09:51:37 -06:00
Kurt
38a9c45fef Fix labeling of placement flag/work conditionals 2025-01-29 01:09:48 -06:00
Kurt
a3f53c3a63 Fix map viewer
Closes #336 -- BinarySearchByFlatBufferKey only works if the array is sorted... nice job gamefreak with O(n) search instead of O(logn).
Closes #351 via previous commit for fbs defaults.
2025-01-29 00:50:55 -06:00
abcboy101
ef0759ab05 Preserve TextFile flags (#380) 2024-08-23 18:32:28 -05:00
sora10pls
c7dabe00b6 Update tiPokemonModelComponent schema with known fields 2024-05-10 20:58:35 -04:00
Kurt
4c16905249 Use c#11 features 2024-03-04 20:19:09 -06:00
Kurt
c181db68ff Minor clean
Handle some nullable warnings, style c#12
2023-12-21 12:31:00 -08:00
Kurt
9d5aa0aa06 Update for SV 3.0.0 2023-12-17 17:57:24 -08:00
Kurt
ec9c6d88a8 SV Teal Mask Support (#348)
Closes #347 
Closes #341 

Co-authored-by: Michael Scire <SciresM@gmail.com>
Co-authored-by: sora10pls <17801814+sora10pls@users.noreply.github.com>
Co-authored-by: Lusamine <30205550+Lusamine@users.noreply.github.com>
2023-10-05 18:57:41 -07:00
duckdoom4
6456f79961 Fix SWSH model loading crash 2023-09-12 07:37:16 +02:00
duckdoom4
afec3c3a84 Remove the (unused) extra array wrapper from SpecialTutors
Also don't transfer from older generations, these are not the same anyway
2023-09-10 16:57:22 +02:00
duckdoom4
ddc35df319 Upgrade visuals 2023-09-03 20:39:59 +02:00
duckdoom4
1af7444e96 Fix dump button anchor 2023-08-29 13:39:28 +02:00
duckdoom4
51c73305de Made the model converter compile again
Now I just need to make it functional again.
for example fix all those flat buffer constructors that shouldn't be used like that.
2023-08-26 23:08:59 +02:00
duckdoom4
401235a35d Add shared fbs project and update include paths 2023-08-26 18:10:40 +02:00
duckdoom4
62c5ff582b Port last bits of the model converter branch
* Still need to fix the ModelConverter Sub-form before it can be used. The new flat compiler has some annoying features that I don't really know how to deal with yet. (Can't use default constructors :( )
2023-07-30 23:55:19 +02:00
duckdoom4
56cb75340a Minor refactor
Rename all the interfaces to give them a more sensible name
Rename the Set<InterfaceName> extension methods to Import<InterfaceName>, since evenI got confused about it's purpose for a while. It's supposed to be used by the data importer to fill in missing properties from older generation data. This means it should actually not set every property that is part of the interface and 'set' is therefor a confusing name.
Update PokeDataUI to fix layout of new property names
2023-07-05 19:35:57 +02:00
Kurt
ccfcfdaf09 Fix map viewer ctor 2023-05-06 11:01:02 -07:00
Lusamine
b22ad1977d Label fields 45, 46, 47 in LA fbs
RegionalForm may not be correct since it includes Eevee lines, for example, but all of these fields are nestled within the breeding data and with breeding not being in game, they have no effect in-game.
2023-05-04 12:52:37 -05:00
TalonSabre
7a762da8fd Fixed compatible TRs reading incorrectly. (#328)
* Fixed SWSH not gathering TR learnsets correctly

TR compatibility for each pokemon had been saving to the same list as TM compatibility, and for some reason it was not working as intended.
After finishing, and seeing that it built and ran, I tested the impacted features, and confirmed it is working.

* Remove Commented/Unused Section

PersonalDumperSWSH was previously commented, and is now entirely removed from PersonalDumper.cs

* Add case for TRs to SetIMovesInfo function

Changed IMovesInfo.cs
Added extra if for SWSH to account for TRs.

* Add case for SWSH to SetPersonalInfo function

new if statement in SetPersonalInfo from IPersonalInfo.cs that allows setting TRs.
2023-04-21 22:21:58 +02: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
441d6f027f Update to net7, c#11
Replace LZ4 dependency --
lz4net is deprecated, replaced with K4os' implementation. Use the Span api signatures.
2023-01-14 15:34:27 -08:00
Kurt
1422d1b122 Enhance fixed spawn roam checks
Disallow crossover if stationary
Handle flying dragonite
2022-12-16 22:32:08 -08:00
Kurt
b6bebcf37d Show coordinates on mouse move 2022-12-16 16:54:40 -08:00
Kurt
ff271ca171 Add wander tolerance to encounter slot pkl creation (#301)
* Rough draft: 50f

* Don't skip spawn-less locations, cross pollinate

* Dump points and biomes

* Lower wander tolerance to 30f, reorder time flags

* Reorder crabrawler evo order
2022-12-10 19:25:19 -08:00
Jelle
0c5e3f74fe Fix learnset editor tab in pokemon editor 2022-12-04 13:44:09 +01:00
Jelle
1df604dd28 Move common math types to Util folder 2022-12-04 13:39:22 +01: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
930b35d52d Update dependencies, nullable all csproj
Remove amx logic (unused for too long)
2022-10-25 17:05:12 -07:00
Jelle
0f5c8a3a04 Live update label when editing gender 2022-10-21 23:29:22 +02:00
Jelle
8a75c8a725 Expose Encounter Multiplier editor 2022-10-18 21:18:09 +02:00
Jelle
9c2c54b076 Rename to Vec3f 2022-10-18 21:16:01 +02:00
Jelle
66df369404 Expose area settings 2022-10-18 09:25:39 +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
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
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
ef09afd09a Fix layout (#267) 2022-10-02 21:54:47 +01:00