Jump to content

Papyrus BINLIB


Recommended Posts

Posted

Thought some of those writing for FourPlay might have interest

 

http://www.nexusmods.com/fallout4/mods/23317/?

 

One of the (many) things that Papyrus lacks is bitwise operations. Luckily, with a bit of math, we can emulate them.

Library features:

  • Bitwise operations on integers and boolean arrays (AND, NAND, OR, NOR, XOR, XNOR, NOT)
  • Conversion to and from integer and boolean arrays
  • Bit shifts
  • Single bit manipulation functions

All of the code is hosted on GitHub. Pull requests welcome.

 

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...