How Difficult Would It Be To Make A Modding Addon?

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » Windower » General » How difficult would it be to make a modding addon?
How difficult would it be to make a modding addon?
Offline
Posts: 302
By kireek 2018-12-05 10:26:39  
How difficult would it be to make an addon that redirects dat file loading to an outside folder?

Basically an addon that forces the game to checks another folder for dat files first and then goes back to the system folder if it doesn't find what it wants there.

>"load file a"
>check folder 2 (mods folder)
>if not found
>check folder 1 (system folder)

I know it was stated to be an intended feature of the next version of windower but that could be a long while off.
 Leviathan.Comeatmebro
Offline
サーバ: Leviathan
Game: FFXI
user: Rairin
Posts: 5695
By Leviathan.Comeatmebro 2018-12-05 11:18:36  
It was already made for ashita, but there was an issue where the game uses 2 different function calls for loading files and atom0s was having some difficulty getting it to work for both at once. I'm not sure exactly what the problem was since I didn't work on it, but it is probably non-trivial.

I would think it's just a matter of hooking both, but I'm sure he would've tried that, so likely something else going on.
Offline
サーバ: Excalibur
Game: FFXIV
user: misacat
Posts: 2864
By Nadleeh Sakurai 2018-12-05 11:35:49  
wooot PSO!

 Bahamut.Shozokui
Offline
サーバ: Bahamut
Game: FFXI
user: Shozokui
Posts: 162
By Bahamut.Shozokui 2018-12-06 01:15:59  
As far as I'm aware you'd have to do this at the plugin level. Addons won't have access to a low enough level to install a detour on the functions that load DATs.