• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClient Change where mehah's OTC cache and settings are stored

ralke

(҂ ͠❛ ෴ ͡❛)ᕤ
Joined
Dec 17, 2011
Messages
1,521
Solutions
27
Reaction score
870
Location
Santiago - Chile
GitHub
ralke23
Twitch
ralke23
Hi! I need some help with this, recently have compiled the latest version of mehah's client, GitHub - mehah/otclient: An alternative tibia client for otserv written in C++20 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize (https://github.com/mehah/otclient), and I wonder how can I customize the appdata folder that is generated to store client settings and cache. Normally, it does generate at %appdata%/otclient/otclient/otclient/*, would like to have all this set-up at %appdata%/Greed for example. Hope someone can help me with this, Regards!
 
 
Thank you both @tiagomelojuca @Loney will check if works!
Also had another solution at discord, changing init.lua with

Lua:
-- setup directory for saving configurations
g_resources.setWriteDir(g_resources.getWorkDir() .. 'cache')

then create a "cache" folder. This will make setting being loadable from client folder.
Thread solved, regards :)
 
Back
Top