Hi there,
I already searched the forums but the only way i could find was with the use of start_dir but i want to save/load files into the same dir as the p3d so that the normal user can easily backup his saves
I would like to store some ini files there as well so that you can change game options as long as i haven’t implemented option dialogs.
Is this even possible or do i have to change to py2exe?
If you double-click the p3d file from explorer, you don’t have a current working directory, so it has to use “start” anyway. You only have a current working directory if you launch the p3d file from the command line; and in that case, it preserves that working directory.
One option is to store the save and ini files in a standard directory, like “c:\mygame” or something along those lines.