Ok look,
The reader of Luaxy save the files in the name of the d2p folder
http://prntscr.com/akb1bq
I save all in the same folder, this is because you don't see all the files
var filePath = $"./gfx/{pair.Key}";
if (!Directory.Exists(Path.GetDirectoryName(filePath)))
{
Directory.CreateDirectory(Path.GetDirectoryName(filePath));
}
using (var stream = File.Create(filePath))
{
var writer = new BigEndianWriter(stream);
writer.WriteBytes(reader.ReadBytes(pair.Value.Item2));
}
For activate is diferent, all interactives share the same "elementId" that know what gfx is, I don't know how ankama translate it, but by research I activate 70% of interacives in world:
"elements": [
{
"elementName": "Graphical",
"elementId": 11045,
"hue_1": 2,
"hue_2": 2,
"hue_3": -34,
"shadow_1": 0,
"shadow_2": 0,
"shadow_3": 0,
"offsetX": -129,
"offsetY": -64,
"altitude": 0,
"identifier": 0
},