I'm making a pck file and putting the default icon.png in it this way
var pack = new PCKPacker();
pack.PckStart("dlc.pck", 4);
pack.AddFile("res://qwop.png", "icon.png");
pack.Flush(true);
ProjectSettings.LoadResourcePack("dlc.pck");
var sprite = new Sprite();
sprite.Texture = (Texture)ResourceLoader.Load("res://qwop.png");
AddChild(sprite);
Problem is when I load the "qwop.png" texture to a sprite I get this error
_load: Resource file not found: res://qwop.png.
load: Error loading resource: 'res://qwop.png'.
What am I doing wrong?