Does Android support love.filesystem?
Does Android support love.filesystem?
Hey guys. I am making an Android game and I am trying to make a save system. It works perfect on PC, but not so well on Android. For example: say I had a variable named levels1, and it was equal to love.filesystem.read("levels1"). If I do print("levels1") on PC, it will show that levels1 is equal to "true". But on android, it shows that it is equal to "Rar!♣♣6s♣♣♣♣♣♣♣". I really need help.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Does Android support love.filesystem?
Unsurprisingly, "Rar!" is exactly what a rar file starts with. Are you sure you've packaged the right file?
Re: Does Android support love.filesystem?
Yes because the .love works
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Does Android support love.filesystem?
that doesn't mean squat though. For some people, 7zip compressed love files worked, and for others, they didn't. It's probably the OS's hand in this one. (or rather, whatever löve on each platform uses to decompress files)
Make sure you're compressing with a plain old zip compressor.
Make sure you're compressing with a plain old zip compressor.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Does Android support love.filesystem?
More specifically, you should use DEFLATE algorithm, which is pretty much guaranteed to be supported. LZMA and the like are also widely supported but may or may not actually be included.
On unrelated note, you really shouldn't use Rar. It proliferates proprietary standards and what's worse, it's not even widely supported format so people would often have to install additional software just to extract it. It's not even that good at the one thing it should be doing, there are faster and tighter open source compressors out there.
On unrelated note, you really shouldn't use Rar. It proliferates proprietary standards and what's worse, it's not even widely supported format so people would often have to install additional software just to extract it. It's not even that good at the one thing it should be doing, there are faster and tighter open source compressors out there.
Who is online
Users browsing this forum: No registered users and 1 guest