Commit Graph

686 Commits

Author SHA1 Message Date
duckdoom4
3942dfa4a2 Rethrow with debugger attached 2023-09-12 08:20:30 +02:00
duckdoom4
ec73251b87 Fix SV crash on load 2023-09-12 08:18:04 +02:00
duckdoom4
6456f79961 Fix SWSH model loading crash 2023-09-12 07:37:16 +02:00
duckdoom4
0b4d082797 Fixed evolution arguments not displaying correctly 2023-09-10 18:12:35 +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
1e7cb1d6b1 Upgrade text editor 2023-09-10 13:06:18 +02:00
duckdoom4
d5d6057d4c Improve VFS API
Rename to match actual behaviour and add throw if invalid
2023-09-10 12:55:38 +02:00
duckdoom4
92abe54526 Bug fixes 2023-09-09 20:16:14 +02:00
duckdoom4
78c21f21a9 Cleanup 2023-09-09 20:16:14 +02:00
duckdoom4
fb7dc42b41 Globally accessible program settings 2023-09-09 20:16:14 +02:00
duckdoom4
33590fc430 Add warning prompt option 2023-09-09 20:16:14 +02:00
duckdoom4
dc63ab38dc Add delete mode options for VFS 2023-09-09 20:09:11 +02:00
duckdoom4
994a19466f Add basic VFS unit tests
(Some in PhysicalFSTests are AI generated so will need to verify)
2023-09-09 00:10:04 +02:00
duckdoom4
e74bfbc365 Made VFS fully functional
Still need to start using it, but want to do it a bit slow to test it out. Also should really build some unit tests for this one..
2023-09-08 22:58:26 +02:00
duckdoom4
39308b2509 Improve DataGrid Visuals 2023-09-06 19:15:54 +02:00
duckdoom4
b1e594a63e Force consistent line endings 2023-09-06 10:53:14 +02:00
duckdoom4
01ed02e507 Add more utility functions to VFS 2023-09-06 00:08:53 +02:00
duckdoom4
ddc35df319 Upgrade visuals 2023-09-03 20:39:59 +02:00
Kurt
cfd5be8004 Add progressive to fbs and csproj
filesystem fbs need to be progressive for better performance during runtime (massive FlatBuffer in RAM) as we don't access more than a few entries.

Since the csproj setting overrides the individual fbs attribute (doesn't codegen the serializer if not permitted at global level), just enable Progressive codegen-for-all-fbs for now.
2023-08-30 23:42:18 -07: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
76cb6f852a Fix IDE freeze / forever compile :) 2023-08-23 21:07:53 +02:00
sora10pls
d715582734 Pretty dump: print TM move name for bonus drops
Prepare the Offense raids are the first time we've had TMs as bonus drops and not fixed item drops
2023-08-08 20:11:21 -04: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
sora10pls
6b64589c69 Pretty dump: print gender
Delphox is the first forced female 7-Star raid boss
2023-07-06 21:19:59 -04:00
duckdoom4
1b08ab2b1c Port over some bug fixes from the other branch 2023-07-06 00:48:07 +02:00
duckdoom4
e4151673c3 Add fbs and files for model data
I know you just removed the old math/geometry files, but I had a good reason for adding them :)
2023-07-05 23:47:13 +02:00
duckdoom4
8738cc4d12 Also move these to separate folder 2023-07-05 23:45:53 +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
duckdoom4
aeeee50ef9 Move schemas to 'Moves' folder 2023-07-05 18:07:23 +02:00
duckdoom4
f1f84f35a8 Fix file in use error 2023-07-05 18:06:19 +02:00
sora10pls
5d47fe3ca1 SV: Allow previously unobtainable Egg Moves 2023-05-30 11:45:43 -04:00
Kurt
0a2e7c0674 Update dependencies 2023-05-17 17:56:09 -07:00
Kurt
584d4d7e2b Remove old geometry flatbuffer c# schemas
Add stubs for SV partial classes
2023-05-17 17:55:15 -07:00
sora10pls
b509d3db80 Allow editing LGPE Chinese text 2023-05-13 16:19:03 -04:00
Kurt
1150265d7b Disallow mesagoza as crossover location
Crossovers into Mesagoza should be disallowed since everything is too low in the water, and there's no way to get anything into a gate.

FlatBuffer rewrite might have surfaced an issue with box parsing, because the "size" of a box is now at field 2 (third field). Odd.
2023-05-07 22:03:01 -07:00
Kurt
ccfcfdaf09 Fix map viewer ctor 2023-05-06 11:01:02 -07:00
Kurt
b1bcf203ab Fix bfbs -> fbs enum dump
oops
2023-05-05 23:03:22 -07:00
Kurt
410d2c8fc5 Misc fb fixes 2023-05-05 23:00:42 -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
duckdoom4
bd377812d5 The flatsharp compiler doesn't like floating point numbers ??
I guess I should bug report it
2023-04-24 14:18:58 +02:00
duckdoom4
ebcee531ba Include as content to force recompile flatbuffers on change 2023-04-24 14:18:00 +02: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
sora10pls
128d902d20 Update GameLocation.cs 2023-04-21 08:52:25 -04:00
sora10pls
37c419ec58 Account for 1.3.0 BCAT changes 2023-04-20 22:20:14 -04:00
abcboy101
d0a964ed22 Add ruby text support (#327) 2023-04-16 12:35:06 -07:00
Kurt
36247b5731 Handle latest Ditto distribution raids
Flawless IV count = 31, lol ur funny gamefreak. Sanitize it to zero if not using vnum.
Rename the Type2/Type3 to accurately describe the type they're encoding.

Dist & Might are now essentially the same serialization format, but can deviate in the future if they do something silly.
2023-04-06 19:26:56 -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
sora10pls
823a204bfa Pretty dump: print EVs 2023-04-01 11:47:29 -04:00