There isn't much information about how the PCK Packer class works, I was trying to write a code to pack imported files into a compressed PCK file which in theory should be useful for patches and or downloadable content.
#percentage = 0
var packaging = PCKPacker.new()
for i in range(0,files.size()):
percentage = i
get_node("/root/Node/WindowDialog/VBoxContainer/ProgressBar").value = percentage
var directory = files[i].get_base_dir()
var file = files[i].get_file()
I have no idea if the code above is the right way to go but is there any ideas? Options to how I can fix this? Thanks.