LeonBlade/xnbcli — reverse-engineered prompt

Reverse engineered prompt

Build me a simple command line tool for Stardew Valley modding that can unpack and repack XNB files. I want it to be really easy for normal users, where they can drop XNB files into a packed folder and run an unpack script, then edit the extracted files in an unpacked folder and run a pack script to turn them back into XNB files again.

It should also work directly from the terminal with a command that lets me choose pack or unpack and pass input and output paths. Please make it usable on Windows, Mac, and Linux with the expected script files for each platform. The main thing is that Stardew Valley LZX compressed XNB files unpack correctly and reliably. If there is already some early support for XACT, keep that groundwork in place, but the real focus should be practical XNB packing and unpacking for Stardew Valley. Keep the project straightforward and ready for people to actually use, and look up current docs online if you need to.

Want more depth? Deep Reverse