Created
August 29, 2013 23:25
-
-
Save ChadSki/6384641 to your computer and use it in GitHub Desktop.
halo scripting api in progress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> for tag in halomap.tags: | |
... if tag.first_class == 'bipd': | |
... print(tag) | |
... print(' first 16 bytes of meta: %s' % tag.meta_access.read_bytes(0, 16)) | |
... print(' start address of meta: %d' % tag.meta_access.offset) | |
... print(' reflexive address: %d' % (tag.reflexive_pointer - map_magic)) | |
... print(' reflexive count: %d\n' % tag.reflexive_count) | |
... | |
[bipd]characters\cyborg_mp\cyborg_mp | |
first 16 bytes of meta: b'\x00\x00\x00\x00=\n\xd7>\x00\x00\x00\x00\x00\x00\x00\x00' | |
start address of meta: 9559112 | |
reflexive address: 9560380 | |
reflexive count: 1 | |
[bipd]characters\cyborg\cyborg | |
first 16 bytes of meta: b'\x00\x00\x00\x00ff\xe6>\n\xd7\xa3\xbc\x00\x00\x00\x00' | |
start address of meta: 13654452 | |
reflexive address: 13655720 | |
reflexive count: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment