Trying to get love2d to read text files in the same directory.
Posted: Tue Sep 03, 2024 5:12 pm
Hello, I am having some issues finding the correct way to get my packaged game to read text files that are in the same directory as the game. These text files are linked to StreamerBot, which writes the name of the chat user into the text file to be shown while streaming.
Every method I have found seems to make it impossible for the game.love to read the files in the folder of the same directory. The code works if I haven't packaged it, and I don't want to have Visual Studio running while using this program. So, I am seeing if anyone has a solution for this.
Thanks if anyone can help.
Every method I have found seems to make it impossible for the game.love to read the files in the folder of the same directory. The code works if I haven't packaged it, and I don't want to have Visual Studio running while using this program. So, I am seeing if anyone has a solution for this.
Thanks if anyone can help.