Skip to content

Commit

Permalink
Update parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Captian-obvious authored Nov 22, 2023
1 parent 53c5656 commit 03af00b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
HEADER = "<roblox!"
RBXM_SIGNATURE = "\x89\xff\x0d\x0a\x1a\x0a"
ZSTD_HEADER = "\x28\xB5\x2F\xFD"
VALID_CHUNK_IDENTIFIERS = {
"END\0":True,
"INST":True,
"META":True,
"PRNT":True,
"PROP":True,
"SIGN":True,
"SSTR":True
}
def createTable(length,val):
arr=[]
for i in range(length):
Expand Down Expand Up @@ -34,6 +43,10 @@ class rbxm:
Metadata=[]
Strings=[]
##end
chunkInfo={}
for (k in VALID_CHUNK_IDENTIFIERS):
chunkInfo[k]=[]
##end
##endwith
##end
def toJson(obj):
Expand Down

0 comments on commit 03af00b

Please sign in to comment.