Gilrain Report post Posted January 15, 2010 (edited) Hi, the INI file already has an option to specify the program path (program files), but i cannot find such an option for the user data. How does EL determine where to generate/find the user data? (standard seems My Documents\Eternal Lands) Is it possible to specify or redirect this location? regards, UPDATE: ok, seems i found it in elpathwrapper.c Looks like its hardcoded there to try HOME with some fallback (to the program dir ??). I'll suggest introducing a 'user_dir' to the INI... Edited January 15, 2010 by Gilrain Quote Share this post Link to post Share on other sites
bluap Report post Posted January 15, 2010 ...ok, seems i found it in elpathwrapper.c Looks like its hardcoded there to try HOME with some fallback (to the program dir ??). I'll suggest introducing a 'user_dir' to the INI... How will the client know where find the el.ini file if the location to look is specified in that same file? This is why it is hard(ish) wired. Quote Share this post Link to post Share on other sites
Gilrain Report post Posted January 15, 2010 ...ok, seems i found it in elpathwrapper.c Looks like its hardcoded there to try HOME with some fallback (to the program dir ??). I'll suggest introducing a 'user_dir' to the INI... How will the client know where find the el.ini file if the location to look is specified in that same file? This is why it is hard(ish) wired. good point , didnt think of that. with the current concept, that could maybe done with a command line option to specify user path or ini-file location. Then we'd ofc not need the entry at the INI file. Or another possibility would be to store the INI-file under "%APPDATA%\Eternal Lands\" and the whole rest of the (nonconfig) user data then in the user folder like now. But this way makes it more complicate, so i wouldnt recommend that, even if thats the official Microsoft way to store such things in windows afaik. Quote Share this post Link to post Share on other sites
korrode Report post Posted January 16, 2010 (edited) If you really want the EL user data elsewhere, there are still possibilities on Windows using "junctions": http://technet.microsoft.com/en-au/sysinte...s/bb896768.aspx In-depth details here: http://shell-shocked.org/article.php?id=284 Edited January 16, 2010 by Korrode Quote Share this post Link to post Share on other sites
Gilrain Report post Posted January 18, 2010 sorry for starting two topics, pls close this one and continue on the one in suggestions: http://www.eternal-lands.com/forum/index.php?showtopic=52145 ty Quote Share this post Link to post Share on other sites