Hi all!
Is it possible to make a portable game, like C:/games/myGame/ with C:/games/myGame/saves/ so all saved data are in the folder near of fused .exe file?
How to make Portable Version?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: How to make Portable Version?
In the case of a fused game, you can use love.filesystem.getSourceBaseDirectory. Get the path, mount it, and access a subfolder or zip file you've probably called "saves".
I believe the next major release of Love will let you mount the whole filesystem, so you could mount that path for non-fused games too, I think.
I believe the next major release of Love will let you mount the whole filesystem, so you could mount that path for non-fused games too, I think.
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
Re: How to make Portable Version?
I've been doing this for years using nativefs library. You looking for a way that doesn't work around Love?
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/pad-and-pencil-gridiron
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/pad-and-pencil-gridiron
Who is online
Users browsing this forum: No registered users and 3 guests