summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorOwl <isaclien9752@gmail.com>2025-08-23 00:29:45 -0400
committerOwl <isaclien9752@gmail.com>2025-08-23 00:29:45 -0400
commita5bdfdab2ec68ebfe99535a54b3b0cd8b95a87d6 (patch)
tree3cbc818cc7a9e221697fe0be05b9552fd6d33f09 /test.py
parent51077c2fe8c160743a67303fb516126bb98afff7 (diff)
downloadblenxy-a5bdfdab2ec68ebfe99535a54b3b0cd8b95a87d6.tar.gz
blenxy-a5bdfdab2ec68ebfe99535a54b3b0cd8b95a87d6.zip
bck exporter seems to be working
Diffstat (limited to 'test.py')
-rw-r--r--test.py39
1 files changed, 21 insertions, 18 deletions
diff --git a/test.py b/test.py
index 1d74b42..db5e2a5 100644
--- a/test.py
+++ b/test.py
@@ -1,26 +1,29 @@
-import smg_name_table_funcs
+from . import bck_funcs
+
+print(bck_funcs.smg_bck_raw.anim_data)
+print(bck_funcs.smg_bck_anim.anim_data)
# I think I am making my own way to handle bytes
# ~ class owl_byte(int):
# ~ def __str__(self):
# ~ return "%0X" % (self)
-# I think I am making my own way to print bytes
-# the default printing is awful to look at and I need rapid inspection
-class owl_bytes(bytearray):
- def __str__(self):
- rtn = ""
- for i in range(len(self)):
- rtn += "%02X" % self[i]
- rtn += " "
- return rtn
+# ~ # I think I am making my own way to print bytes
+# ~ # the default printing is awful to look at and I need rapid inspection
+# ~ class owl_bytes(bytearray):
+ # ~ def __str__(self):
+ # ~ rtn = ""
+ # ~ for i in range(len(self)):
+ # ~ rtn += "%02X" % self[i]
+ # ~ rtn += " "
+ # ~ return rtn
-f = open("test.bin", "rb")
-byte_arr = owl_bytes(b"")
-byte = f.read(1)
-while (byte != b""):
- byte_arr += byte
- byte = f.read(1)
-f.close()
+# ~ f = open("test.bin", "rb")
+# ~ byte_arr = owl_bytes(b"")
+# ~ byte = f.read(1)
+# ~ while (byte != b""):
+ # ~ byte_arr += byte
+ # ~ byte = f.read(1)
+# ~ f.close()
-print(byte_arr)
+# ~ print(byte_arr)