Skip to content

Commit

Permalink
Update Chunks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Captian-obvious authored Nov 23, 2023
1 parent 0acdc26 commit 9ea292d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Chunks.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,14 @@ def PRNT(chunk, rbxm):
def PROP(chunk, rbxm):
buffer=chunk.Data
##end
def SSTR(chunk, rbxm):
buffer=chunk.Data
ver=buffer.readNumber("<I4")
if (ver!=0):
chunk.Error("Invalid SSTR version")
##endif
for i in range(buffer.readNumber("<I4")):
buffer.read(16)
rbxm.Strings[i-1]=basicTypes.String(buffer)
##end
##end

0 comments on commit 9ea292d

Please sign in to comment.