Skip to content

Commit

Permalink
Version 0.4.4
Browse files Browse the repository at this point in the history
Fix deprecated `script` field being used
  • Loading branch information
mos9527 committed Oct 10, 2024
1 parent 6f5fd42 commit d9c8f69
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@
"args": [
"rla2json",
"--dump-audio",
"D:\\proseka_reverse\\assets\\streaming_live\\archive\\1st_live_vbs-1",
"D:\\proseka_reverse\\assets\\streaming_live\\archive\\1st_live_vbs-1_hca"
"--no-parallel",
"D:\\proseka_reverse\\sse_packet_importer\\streaming_archive.zip",
"D:\\proseka_reverse\\sse_packet_importer\\4270_hca"
],
"justMyCode": true
},
Expand Down
2 changes: 1 addition & 1 deletion sssekai/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__VERSION_MAJOR__ = 0
__VERSION_MINOR__ = 4
__VERSION_PATCH__ = 3
__VERSION_PATCH__ = 4

__version__ = "%s.%s.%s" % (__VERSION_MAJOR__, __VERSION_MINOR__, __VERSION_PATCH__)
4 changes: 3 additions & 1 deletion sssekai/entrypoint/rla2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ def main_rla2json(args):
for obj in rla_env.objects:
if obj.type in {ClassIDType.TextAsset}:
data = obj.read()
datas[data.m_Name] = data.script.tobytes()
datas[data.m_Name] = data.m_Script.encode(
"utf-8", "surrogateescape"
)
header = datas.get("sekai.rlh", None)
assert header, "RLH Header file not found!"
makedirs(args.outdir, exist_ok=True)
Expand Down

0 comments on commit d9c8f69

Please sign in to comment.