AbdyyEee / PylibMS

Library for Nintendo's LMS file formats (MSBT, MSBP) for Nintendo 3DS and Wii U.
GNU General Public License v3.0
6 stars 1 forks source link

MSBP's get_tag_structure() does not return tag parameters (TGP2) and tag lists (TGL2) #4

Closed Th3rdSergeevich closed 2 months ago

Th3rdSergeevich commented 2 months ago

Function in question: https://github.com/AbdyyEee/PylibMS/blob/328fc2699fe5bcafb468462ed9ad73cadaed0364/LMS/Project/MSBP.py#L57C1-L78C25

The current implementation of get_tag_structure() returns only the list of tag groups (TGG2), though there are routines in function bodies that organize the content of tag parameters block (TGP2) and tag lists block (TGL2).

Th3rdSergeevich commented 2 months ago

Nevermind, my mistake. I haven't noticed you've used TagGroup, Tag and TagParameter objects instead of strings to process the block content. Got everything I need through the source code.

https://github.com/AbdyyEee/PylibMS/blob/main/LMS/Project/Structure.py

A description of those objects in wiki would be appreciated, though.