HSPプラグインモジュールhspdaで変数の内容を保存したファイルの構造
HSPプラグインモジュールhspdaで変数の内容を保存したファイルの構造
#include "hspda.as"
a="kerupani"
b=100
vsave_start
vsave_put a
vsave_put b
vsave_end "data"
68 73 70 76 00 10 00 00 02 00 00 00 90 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 02 00 01 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 48 5D E8 01 C0 E3 28 00 0A 00 00 00 00 00 00 00 00 00 00 00 4A 00 00 00 4C 00 00 00 00 00 00 00 00 00 00 00 04 00 01 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 F0 5C E8 01 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 61 00 00 00 AA 55 40 00 00 00 6B 65 72 75 70 61 6E 69 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 62 00 64 00 00 00
#include "hspda.as"
cirno="チルノ"
atai=9
vsave_start
vsave_put cirno
vsave_put atai
vsave_end "data2"
データ:
68 73 70 76 00 10 00 00 02 00 00 00 90 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 02 00 01 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 48 5D D2 01 C0 E3 EF 01 0A 00 00 00 00 00 00 00 00 00 00 00 4E 00 00 00 53 00 00 00 00 00 00 00 00 00 00 00 04 00 01 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 F0 5C D2 01 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 63 69 72 6E 6F 00 00 00 AA 55 40 00 00 00 83 60 83 8B 83 6D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 61 74 61 69 00 09 00 00 00
ここでひとつわかりました。文字列の変数の場合、