Page 1 of 1

iOS I/O difficulties

Posted: Wed Nov 29, 2017 4:33 pm
by Atikin
Hello. I'm trying to port Doki Doki Literature Club on iOS now, but I hit one problem.

Program can't write files in their own .app and I decided to change all paths to their Documents folder.

Code: Select all

renpy.file(config.savedir + "/characters/sayori.char")
But this string cannot find this file

I tried this:

Code: Select all

$ savedir = config.savedir.replace("\\", "/")
renpy.file(savedir + "/characters/sayori.char")
No effect

After all I fired up and tried links. I created link in .app folder, pointing inside Documents (".../" -> ".../Documents/cache")
No effect

What can I do?