twinstar6980 / Twinning

https://github.com/twinstar6980/Twinning.Documentation
GNU General Public License v3.0
59 stars 12 forks source link

How to use TwinStar.Toolkit to extract resource data for TwinStar.Helper? #8

Closed Haruma-VN closed 1 year ago

Haruma-VN commented 1 year ago

You said it can "directly provide RSB unpacking + resource conversion functions to decode all PAMs in the data packet and generate an exploded view.". How can I use it on the toolkit, it currently only popup these things. image

twinstar6980 commented 1 year ago

This is a typo. You need to use RSB Unpack (resource mode) first Then use RSB Resoucre convert (with .rsb.bundle as input)

Haruma-VN commented 1 year ago

Sorry to disturb you, I extracted as 3, resource mode, but the tool does not responding with the .rsb.bundle I asserted to the tool, I am extracting pvz2 10.4.1 rsb by the way.

image

image

image

twinstar6980 commented 1 year ago

You have to let the tool output the resource file (export resource = y)

Haruma-VN commented 1 year ago

after that, the tool actually said extracting resource manifest, but it said that it is not a function

image

twinstar6980 commented 1 year ago

Due to the differences between the 10.4 resources.json and the old version, the current script cannot correctly handle the 10.4 resources.json. I will adapt it later, please wait for the script to be updated.

twinstar6980 commented 1 year ago

The new version of script has fixed this problem, please try again after updating, then close this issue after it is correct

Haruma-VN commented 1 year ago

Thanks, it works!