Skip to content

Instantly share code, notes, and snippets.

@melissamcewen
Created November 27, 2023 22:36
Show Gist options
  • Save melissamcewen/1a25aef0257acefb661888b395e8b4cd to your computer and use it in GitHub Desktop.
Save melissamcewen/1a25aef0257acefb661888b395e8b4cd to your computer and use it in GitHub Desktop.
Looking up style info

So I believe the different styles go by IDs, from the en_us bundle I found this list

 - Label: ProfileStyle_000000
    LabelId: 1996025771
    Text: Cute
  - Label: ProfileStyle_000001
    LabelId: 1996025770
    Text: Cool
  - Label: ProfileStyle_000002
    LabelId: 1996025773
    Text: Casual
  - Label: ProfileStyle_000003
    LabelId: 1996025772
    Text: Elegant
  - Label: ProfileStyle_000004
    LabelId: 1996025775
    Text: Relaxed
  - Label: ProfileStyle_000005
    LabelId: 1996025774
    Text: Active
  - Label: ProfileStyle_000006
    LabelId: 1996025777
    Text: Simple
  - Label: ProfileStyle_000007
    LabelId: 1996025776
    Text: Unique

So

  • 00 = Cute
  • 01 = Cool
  • 02 = Casual
  • 03 = Elegant
  • 04 = Relaxed
  • 05 = Active
  • 06 = Simple
  • 07 = Unique

To find an item's style, you need to work backwards. First, look up the name in EN_US_ItemTextDB_ItemText.asset in en_us. For example searching for "Embossed Leaf-Print Suit Vest" brings us to this

  - Label: ItemName_0150878
    LabelId: -1708830284
    Text: '<word=Embossed Leaf-Print Suit Vest,2,1>'

150878is what we need here. You can look it up in the item bundle ItemData2DB_ItemData2_0.asset file where you find

 - Id: 150878
    ItemTextId: 150878
    BaseItemType1Id: 0
    BaseItemType2Id: 1262
    ColorNo: 2

Then we'll look up the base items in the lookat bundle LookAt_ItemParamDB_ItemParam_0.asset. 0 might mean blank here? I'm going to skip it and look up 1262.

 - BaseItem: 1262
    Patterns: 030000000400000000000000
    Styles: 0300000001000000ffffffff
    SubCategories: 070000000100000000000000

Styles here is the same pattern we saw in the colors data which is

hex number + 6 zeroes and so on. To make it more readable here's it formatted

03 000000 01 000000 ffffffff

That means it has two styles, 03 and 01, looking those up on the list from the beginning:

  • 01 = Cool
  • 03 = Elegant

Which makes sense! Try looking up some items and see if this makes sense for it. I hope it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment