xnbcli icon indicating copy to clipboard operation
xnbcli copied to clipboard

Support new XNB format in Stardew Valley 1.4

Open Pathoschild opened this issue 6 years ago • 4 comments

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!

Pathoschild avatar Apr 26 '19 23:04 Pathoschild

Here's the XNB file if needed:

https://mega.nz/file/jDQBnIYJ#9jDeWQ55UhFVOBdyRfal6J6YucEx6jpIJYpf9FJH58A

Drehd avatar Dec 25 '21 05:12 Drehd

xnbcli - unofficial version that solved this problem for me.

https://blog.naver.com/khs3400/221852415116

ellipszist avatar May 26 '22 05:05 ellipszist

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!

LeonBlade avatar May 26 '22 06:05 LeonBlade

(The next game update will add several new data asset types too.)

Pathoschild avatar May 28 '22 06:05 Pathoschild