Skip to content

Q: Available variables or paths for user override directory?

hanickadothanickadot Member Posts: 11
Hello, Is there any way how to get path of the user-override directory (accessible with .pstoverride on ipad) so I can use includes.lua to include additional language.

General idea is something like this:

table.insert(languages, {'../lang/cs_CZ', 0, 0, 'Czech'})

Which is working on desktop version. But .pstoverride files are placed somewhere else and languages table is using system lang prefix ... maybe there is a way how to do with like this:

table.insert(languages, {'../../../../../../../../..'..override_directory..'/cs_CZ', 0, 0, 'Czech'})

The ../../ are to just to get me to root of filesystem.
Sign In or Register to comment.