Support new XNB format in Stardew Valley 1.4
Stardew Valley 1.4 adds a new type of XNB which contains data models, in the form List<SomeModelClass> or Dictionary<string, SomeModelClass>. Currently xnbcli skips them when unpacking.
Affected assets:
-
Data\Concessions -
Data\FishPondData -
Data\Movies -
Data\MoviesReactions -
Data\TailoringRecipes
The game developers provided these representative files for the new format (including the original files, debug pack, and release pack). See this overview of the XNB feature they used (the "Custom Classes" section).
Let me know if you need anything else!
Here's the XNB file if needed:
https://mega.nz/file/jDQBnIYJ#9jDeWQ55UhFVOBdyRfal6J6YucEx6jpIJYpf9FJH58A
xnbcli - unofficial version that solved this problem for me.
https://blog.naver.com/khs3400/221852415116
This will work for the types supported, but needs to grow as SDV changes. I can try to adopt these changes as part of this tool, but I don't believe it solves the issue correctly. Thank you for the link!
(The next game update will add several new data asset types too.)