summaryrefslogtreecommitdiff
path: root/client.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client.gd')
-rw-r--r--client.gd26
1 files changed, 16 insertions, 10 deletions
diff --git a/client.gd b/client.gd
index d553d3e..31264a6 100644
--- a/client.gd
+++ b/client.gd
@@ -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")