Commit Graph

379 Commits

Author SHA1 Message Date
Kurt
41ea19cdab Add shiny field note
ty matt for testing
Will likely make this stuff an enum later (and update my fbs generator :D )
2021-09-17 08:36:24 -07:00
Kurt
6a0e146f40 Shape check commonalities
These 4 objects have the same shape; the second string pair might not be correct but hey we're making progress
2021-09-17 00:17:58 -07:00
Kurt
222d2a8642 Update PlacementZone8OtherNPCHolder.cs 2021-09-17 00:14:31 -07:00
Kurt
652d269984 Misc accuracy fixes
Confirmed these two so far
2021-09-16 22:40:09 -07:00
Kurt
12ba6bc9f0 Add fbs generator from class
No handling for struct or union types, but this is good enough to save me the time writing 107 schemas for Placement.
2021-09-16 18:38:57 -07:00
sora10pls
857df4dcd3 Update Item8.cs
Battle Tower TMs cost 100,000 so prices must be u32.
2021-09-16 18:39:36 -04:00
sora10pls
5c6c506a29 Sync missing changes 2021-09-16 08:54:38 -04:00
sora10pls
5c4475a237 Re-order Evolution enums, adjust Shelmet/Karrablast method
Closes #168
2021-09-16 08:48:59 -04:00
Kurt
a3a7b1a58d Remove single file merging for net46 release build
Closes #167

See FlatSharp's Issue 176 (not hotlinking to keep their issue references clean); they use Assembly.Location for runtime code-gen, which doesn't work when PublishSingleFile/SelfContained is specified.

This is a restriction going forward for future builds; we don't want to merge everything even after net6.
2021-09-15 17:16:21 -07:00
Kurt
45c73d48a5 Remove DefaultValue spec, clarify some props 2021-09-15 16:21:50 -07:00
Kurt
a87b012bf3 Fix particle object nesting 2021-09-15 16:21:26 -07:00
Kurt
d18af88e69 Update PlacementZone8.cs 2021-09-13 20:45:14 -07:00
Kurt
4d6cb0c757 Simplify file putback
No functional change, just simplifies how things are behaving
2021-09-13 19:19:06 -07:00
Kurt
769c12070f Allow autocomplete in dropdown 2021-09-13 19:18:18 -07:00
Kurt
77910f3529 Enable writing of placement 2021-09-13 16:43:17 -07:00
Kurt
2fdea77af9 Add missing fields for archive
fin
2021-09-13 16:16:28 -07:00
Kurt
1cae04e8d8 Add missing fields at end of schemas 2021-09-13 16:01:53 -07:00
Kurt
17a813bd24 Fill in undocumented fields
Now to blow them out to see if any fields were missed
2021-09-13 15:31:28 -07:00
Kurt
fbec69a50b Specify all default field types
Dig around a bit, find all examples. Dummy out the always-default for now.
2021-09-12 23:48:57 -07:00
Kurt
a42f27687e Move to util folder
Add some dummy objects as sanity checkers for dead-end node traversal
2021-09-12 22:36:54 -07:00
Kurt
870d2f1b45 Name holders based on what they hold 2021-09-12 12:40:55 -07:00
Kurt
9e4fcff2f4 Add some labeling 2021-09-11 16:46:33 -07:00
Kurt
4d7645026c Add map tweaker beginnings
Document fields k?
2021-09-11 16:09:01 -07:00
Kurt
5aad953121 Add more flatbuffer docs 2021-09-11 14:23:36 -07:00
sora10pls
12008b9dda Simplify Title ID fetch 2021-09-11 16:58:44 -04:00
sora10pls
de8bed982e Update Item8.cs 2021-09-11 11:24:32 -04:00
Kurt
c5e24ecfbc Clarify f13
add note for f01 being related to elevators in addition to gates; future dumps may have more hash->name analysis
2021-09-09 23:10:41 -07:00
Kurt
9e94196459 Add more holder flatbuffer structure details 2021-09-09 20:52:12 -07:00
Kurt
6b27d04211 Add placeholder holder classes
Start filling them in, yay
2021-09-09 18:30:51 -07:00
Kurt
8a56a9371b Fracture PlacementZone8 file, document some holder classes 2021-09-09 17:31:03 -07:00
Kurt
37bf47a1da Move weather out from placement 2021-09-09 16:43:06 -07:00
Kurt
69483f4224 Export area flatbuffer files on dump 2021-09-09 09:04:41 -07:00
sora10pls
801a3cac8b Document more Item8 fields
Each item has 3 separate prices the game can pull from, depending on where an item is purchased:
• Pokémon Dollars for Poké Marts
• Watts for Wild Area Watt Traders
• Alternate (BP/Dynite Ore) for specific NPCs, such as BP Shops and the Dynite Ore Trader in the Max Lair

Add an item "randomizer" that changes trade evolution items to be given a 'use' effect to work like evolution stones (e.g. use Electirizer on Electabuzz to evolve it into Electivire! https://i.imgur.com/qefHIFT.png)
2021-09-06 12:50:35 -04:00
sora10pls
122590ca5a Remove Key Items from LGPE shop randomizer 2021-09-04 15:05:58 -04:00
sora10pls
414b49e8e0 Update GameLocation.cs
No need to check ExeFS since RomFS can already differentiate the games.
2021-09-04 14:57:32 -04: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
sora10pls
dbc79a32ca Display species name in several generic editors
Easier identification for ROM editing purposes. Could probably have it grab language-specific names instead of enums (English), but this works.
2021-09-03 10:03:00 -04:00
sora10pls
3ee86c37f2 Update Gift/Static/Trade dumpers + resize main window 2021-09-03 09:52:01 -04:00
Kurt
c7604f28fe Add more fields for placement, add dumper util for flatbuffer 2021-09-02 22:19:08 -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
9d37e36ec8 Clean up a little, remove unused HiddenMain3 enum (#165) 2021-09-02 14:53:18 -07:00
Kurt
5cb007b9e3 Add exception handling for bad loaded/missing data
more graceful than uncaught exceptions
2021-08-08 17:21:09 -07:00
Kurt
3d82550b24 Merge pull request #159 from Lusamine/weatherslots
Dump SWSH pkl with metadata and only accessible tables
2021-07-26 15:17:46 -07:00
Lusamine
485bb775cd Claim reserved byte in SWSH pkl 2021-07-23 06:11:32 -05:00
Lusamine
537f3deed3 Only dump accessible encounter slots and include metadata for SWSH 2021-07-22 22:23:28 -05:00
Lusamine
66f15fbc05 Categorize SWSH encounterslot tables 2021-07-15 13:15:33 -05:00
Kurt
4e6fbe78ed Correct index 2021-04-21 17:25:05 -07:00
sora10pls
ae42c5ea45 Better handling of ROM dumps without ExeFS
pkNX will now prompt the user to select a version before opening the wild editor, should no ExeFS data exist to determine which game is currently loaded.
2021-04-20 12:47:39 -04:00
Kurt
e772a99341 Add index to dumped bcat nests 2021-04-18 12:02:30 -07:00