69 Commits

Author SHA1 Message Date
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
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
4deec6fc7a Try to fix pipeline error for test project paths
remove & re-add the two csproj's that were using relative paths

Update dependencies -- FlatSharp improved in 7.5 & 7.6 to give better codegen (CheckForOverflowUnderflow false default, less JIT code)
2024-04-22 17:24:18 -05: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
bbab4ceb1c Bump to .NET 8.0 2023-11-15 21:03:53 -08:00
Kurt
8266fb72ec Minor tweaks 2023-10-05 23:33:55 -07: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
377663c2e5 Make sure we open with the requested access 2023-09-20 07:13:43 +02:00
MDrift314
54fe0dd778 Update FolderContainer.cs (#345)
Fixes evolutions displaying incorrectly
2023-09-14 18:03:54 +01: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
dc63ab38dc Add delete mode options for VFS 2023-09-09 20:09:11 +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
01ed02e507 Add more utility functions to VFS 2023-09-06 00:08:53 +02:00
duckdoom4
1b08ab2b1c Port over some bug fixes from the other branch 2023-07-06 00:48:07 +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
duckdoom4
55415d5864 Fix mounted FS adding the mount path instead of removing it 2023-02-09 11:00:44 +01:00
duckdoom4
61e133b118 Improve VFS code 2023-01-18 18:03:51 +01:00
duckdoom4
b8412c2556 Add VFS 2023-01-16 19:32:19 +01: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
Jelle
a797377981 Add utility functions for folder container 2022-12-10 21:51:05 +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
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
05bbdb98e1 Enable trainer saving
untested
2022-02-19 17:34:30 -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
a3874463d9 Add general Config file flatbuffer & editors
Add alert about missing oodle DLL
2022-02-11 17:49:13 -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
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
Koopa
86c480527b Upgrade .NET target to 4.6.1.
This will be required for System.Resources.Extensions.
2021-02-28 02:02:31 -05:00
Michael Scire
a1f2ee0eff Add support for dumping static encounter spawners 2021-01-14 18:24:55 -08:00
Kurt
955ba9fed6 Enable nullable checks for all subprojects except structures/game 2020-12-27 16:35:08 -08:00
Kurt
22ef506b4e Update for c#9 syntax sugar 2020-12-27 12:47:46 -08:00
Kurt
c91892d241 Update csproj to c#9
sdk style for winforms/sprites, finally
2020-12-27 12:46:47 -08:00
Kurt
d407506c30 Mior clean
reduce compiler messages
2020-10-25 13:17:04 -07:00
Kurt
4cf69da7e5 Minor clean
no functional change
2020-06-02 07:11:11 -07:00
Kurt
ad058f42d0 Refactoring / clean
remove some compiler messages
2020-05-24 13:00:34 -07: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
b611df6823 Misc clean
no functional change
2019-03-19 17:36:27 -07:00
Kurt
9e075dccbc Fix gfpak structure r/w
Turns out the 'HashIndexes' are split up into separate folders, with the
first entry being the folder info.

replicate packing alignment ez (0x10)
2018-12-12 21:42:51 -08:00
Kurt
c8abf79e67 Fix folder modify tracking
Data[index] can be null if the file has never been loaded, which ends up
being ignored for modification tracking, thus never saving.
bulk imports didn't load all files, so just double check the file from
disk
2018-12-06 16:36:55 -08:00
Kurt
992b1e09a9 Fix compression skip 2018-12-01 12:56:12 -08:00