YingFengTingYu/PopStudio_Old

Please help me what is this hex of Composite_List in RSB

Closed this issue · 4 comments

I tried make rsb packer tool, but i'm getting a problem.
That is I don't know what this hex means, can you tell me. Thanks.
123

That's a smart path (efficient for paths starting with the same pre-fix): https://github.com/Nineteendo/PVZ2tools/tree/master/OBBEdit#1bsr-smart-pathnames---get_name

I know that's smart path but it in rsb. I dont know what is 4 bytes end of name_path mean. Next 4 bytes is index number in compositelist.

Numbered group list:

NAME_DICT = {}
temp = GROUP_LIST_OFFSET
file.seek(temp)
while temp < GROUP_LIST_OFFSET + GROUP_LIST_SIZE:
  GROUP_NAME = GET_NAME(file, temp, GROUP_LIST_OFFSET, NAME_DICT)
  GROUP_ID = unpack("<I", file.read(4))[0]
  temp = file.tell()

Thanks, i got it.