JonnyJaap wrote:Update info a the next post It´s selecting the default path of the location from FTL "C:\Users\USERNAME\Documents\My Games\fasterthanlight" and you most just select the folder where you want to save it.
You are using %userprofile% by default, right?
As in, %userprofile%\Documents\My Games\fasterthanlight
This will automatically get the correct directory if the user for example has their profile in D:\Users\<username>
If you open cmd in windows and put in
and Enter,
you get
Code: Select all
Microsoft Windows [Version 10.0.10122]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\Joshua>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\Joshua\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=WIN-DTE43SP9MPM
ComSpec=C:\WINDOWS\system32\cmd.exe
FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING=Default
HOMEDRIVE=C:
HOMEPATH=\Users\Joshua
LOCALAPPDATA=C:\Users\Joshua\AppData\Local
LOGONSERVER=\\MicrosoftAccount
MOZ_PLUGIN_PATH=C:\Program Files (x86)\Foxit Software\Foxit Reader\plugins\
NUMBER_OF_PROCESSORS=8
OS=Windows_NT
Path=C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2a07
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Users\Joshua\AppData\Local\Temp
TMP=C:\Users\Joshua\AppData\Local\Temp
USERDOMAIN=WIN-DTE43SP9MPM
USERDOMAIN_ROAMINGPROFILE=WIN-DTE43SP9MPM
USERNAME=Joshua
USERPROFILE=C:\Users\Joshua
VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
windir=C:\WINDOWS
The entry for %userprofile% will be the user's profile directory, so it's easiest to have that by default, they can change it later if that's not correct.