cursey / kanan

Mods for Mabinogi using Javascript
The Unlicense
57 stars 30 forks source link

UseDataFolder intercepts too late #124

Open ghost opened 8 years ago

ghost commented 8 years ago

It seems that the UseDataFolder mod intercepts the reading of the package too late for some files. One specific example is urls.xml. Even with a modified urls.xml in place, the client seems to open the one from the package files.

Is there any way to make UseDataFolder intercept sooner to catch these files, too?

cursey commented 8 years ago

You can remove it from delayed.txt and rename the file to 1UseDataFolder.js. This will make it run first as soon as kanan attaches to Mabi. This may cause Mabi to freeze occasionally when starting though, which is why it was added to delayed.txt. Even then I think it may miss some files which means the real fix is improving how early kanan attaches, by not relying on waiting for Mabi to create a window. I haven't come up with a good way of doing that yet though.

ghost commented 8 years ago

Even with those steps, it still seems to miss the files. :( Hope you can think of a solution for this.