I'm trying to create files based on user-input to have them create extra scenario's for my VN but I'm having trouble getting the right path for those new files. When I try using "os.path.abspath(__file__)" I'm getting the path from the renpy-launcher folder instead of my VN that I'm running.
Anyone any idea how to fix this?
Creating files in VN-directory
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Newbie
- Posts: 1
- Joined: Wed May 12, 2021 10:54 am
- Contact:
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Kocker