diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2025-01-07 15:48:43 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2025-01-07 15:48:43 +0100 |
commit | b75cc72c4e10bd652330b6d2bd99f3fd9129a3b3 (patch) | |
tree | 489cde2aa688273d232d66cd5d9e4251f2cea8c5 /client.gd | |
parent | 35b0f811f23f029110373798b19d9d0895d907f0 (diff) |
Diffstat (limited to 'client.gd')
-rw-r--r-- | client.gd | 26 |
1 files changed, 16 insertions, 10 deletions
@@ -32,16 +32,22 @@ func _ready() -> void: #FileAccess.get_file_as_bytes("res://client_data/data/int_land02.gnd") #) #) - #RSWFormat.from_bytes( - #ByteStream.from_bytes( - #FileAccess.get_file_as_bytes("res://client_data/data/int_land02.rsw") - ##FileAccess.get_file_as_bytes("res://client_data/data/pay_dun00.rsw") - #) - #) - RSMFormat.from_bytes( + var rsw = RSWFormat.from_bytes( ByteStream.from_bytes( - #FileAccess.get_file_as_bytes("res://client_data/data/model/prontera/chair_01.rsm") - FileAccess.get_file_as_bytes("res://client_data/data/model/izlude/iz_academy.rsm") - # TODO: find newer version rsm to test + #FileAccess.get_file_as_bytes("res://client_data/data/int_land02.rsw") + FileAccess.get_file_as_bytes("res://client_data/data/pay_dun00.rsw") ) ) + #RSMFormat.from_bytes( + #ByteStream.from_bytes( + ##FileAccess.get_file_as_bytes("res://client_data/data/model/prontera/chair_01.rsm") + #FileAccess.get_file_as_bytes("res://client_data/data/model/izlude/iz_academy.rsm") + ## TODO: not parseable + ##FileAccess.get_file_as_bytes("res://client_data/data/model/graywolf/bridge_e_01.rsm2") + #) + #) + + #var scene_root := rsw.convert("pay_dun00", "res://client_data") + #var scene := PackedScene.new() + #scene.pack(scene_root) + #ResourceSaver.save(scene, "res://extractor/test/pay_dun00.tscn") |