xforce / netease-messiah-tools

Tools working with files in NetEase's Messiah Engine (Primarily aimed towards Diablo Immortal for now)
MIT License
52 stars 18 forks source link

Resources script does no longer seem to work with the latest D:I version #8

Open mindphluxnet opened 2 years ago

mindphluxnet commented 2 years ago

The current version of Diablo Immortal seems to have differently structured .repository files as all I get is an error message:

C:\Users\[...]\netease-messiah-tools\target\debug>messiah-resources.exe "C:\Program Files (x86)\Diablo Immortal\Package\MPK\Package\resource.repository" arrange
Error: invalid utf-8 sequence of 1 bytes from index 0

Reading through the Rust code it seems the files were previously structured rather plainly - that's no longer the case.