How to view Splatoon 2's .bprm files?

Discussion in 'Switch - Hacking & Homebrew' started by heddy1, Aug 6, 2017.

  1. heddy1
    OP

    heddy1 Newbie

    Newcomer
    4
    1
    May 10, 2016
    United States
    I'm very interested in the contents of these files, but they seem to be in an unusable format. Opening them just shows corrupt text.
     
  2. onions

    onions Newbie

    Newcomer
    4
    1
    Aug 5, 2017
    United States
    How are you trying to open them?
     
  3. pinkupi13

    pinkupi13 Advanced Member

    Newcomer
    77
    2
    May 8, 2016
    Australia
    they seem to be encrypted

    example, the colour files, I particularly want to get at the colour values used in the game but being encrypted doesn't help at all
     
  4. KillzXGaming

    KillzXGaming GBAtemp Advanced Maniac

    Member
    1,585
    683
    Jan 2, 2016
    United States
    They're just byaml files ( Might stand for Byaml Parameter). You just need to swap the bytes so it is big endian and convert it with this version of yamlconv. If you open it in hex and there is Yaz0 in it, then decompress with this http://amnoid.de/gc/
     
    Last edited by KillzXGaming, Aug 7, 2017
    Anonymous456 likes this.
  5. heddy1
    OP

    heddy1 Newbie

    Newcomer
    4
    1
    May 10, 2016
    United States
    Could you explain that part again, but this time explain it like I'm an idiot? I'm assuming "swapping the bytes" is something that needs to be done in a hex editor? Which bytes get swapped?
     
  6. KoopaStarRpad

    KoopaStarRpad Advanced Member

    Newcomer
    86
    8
    Apr 27, 2015
    Zimbabwe
    Well, I simply renamed the extension to "byml" so I could convert the BPRM to a XML (with yamlconv and whatever).
    Unprofessional, but the result is readable to an extent…
    What probably has been "mInkConsume" in Spla1oon is "99028e1d" in Splatoon 2.
     
  7. coke

    coke Newbie

    Newcomer
    5
    0
    Aug 3, 2017
    United States
    I think he means swap all little endian bytes with big endian bytes
     
  8. pinkupi13

    pinkupi13 Advanced Member

    Newcomer
    77
    2
    May 8, 2016
    Australia
    in a hex editor if you have no experience it's not easy to tell which bytes are little endian.
     
  9. pinkupi13

    pinkupi13 Advanced Member

    Newcomer
    77
    2
    May 8, 2016
    Australia
    sorry to bump a dead topic but I'm also trying to look at these and I'm not sure which bytes need to be swapped. Does the whole file need swapping or only certain bytes?
    there's information I very much need that's inside the files and I really need to look at it.