Search found 6 matches

by Draco_2k
Fri Feb 10, 2012 10:01 am
Forum: Support and Development
Topic: Reading/Writing files anywhere on the system?
Replies: 13
Views: 4918

Re: Reading/Writing files anywhere on the system?

Well, lack of of a meaningful file/folder browser in Lua 5.x seems to go hand-in-hand with Love not supporting anything of the kind. Apparently you can tunnel through some browser program with os.execute, but that's pretty hacky, not to mention way above my level. There are a lot of ways you can go ...
by Draco_2k
Thu Feb 09, 2012 2:47 pm
Forum: Support and Development
Topic: Reading/Writing files anywhere on the system?
Replies: 13
Views: 4918

Re: Reading/Writing files anywhere on the system?

Yeah, that works pretty well. Problem being there's not really going to be any native GUI for what I have planned: it's less a bunch of menus and more spawned boxes you drag around and link together in a hierarchy.
by Draco_2k
Thu Feb 09, 2012 12:27 pm
Forum: Support and Development
Topic: Reading/Writing files anywhere on the system?
Replies: 13
Views: 4918

Re: Reading/Writing files anywhere on the system?

Trust me, using an actual GUI API (like the ones nevon and I linked to) is much easier than using LÖVE to make simple GUIs. Yeah, I know. I'm just trying to figure out a way around my own ignorance: "love.graphics.draw(image, x, y)" is quite a bit better than trying to figure out what the...
by Draco_2k
Thu Feb 09, 2012 11:26 am
Forum: Support and Development
Topic: Reading/Writing files anywhere on the system?
Replies: 13
Views: 4918

Re: Reading/Writing files anywhere on the system?

The Lua documentation has information about file I/O: http://www.lua.org/manual/5.1/manual.html#5.7 Yep, I've tried it, but since it always returned nil I instantly assumed it didn't work (rather than blame my own incompetence). Does it really work? EDIT: Yep, it works! Thanks! Now I just need to f...
by Draco_2k
Thu Feb 09, 2012 10:24 am
Forum: Support and Development
Topic: Reading/Writing files anywhere on the system?
Replies: 13
Views: 4918

Re: Reading/Writing files anywhere on the system?

That's a start, thanks! I assume there's a hack around the limitations then? If there's anything better suited for this kind of stuff, that'd be great to hear too. I only barely qualify as a script kiddie - but sometimes if you want to have something done, you have to do it yourself - so I'm looking...
by Draco_2k
Thu Feb 09, 2012 8:41 am
Forum: Support and Development
Topic: Reading/Writing files anywhere on the system?
Replies: 13
Views: 4918

Reading/Writing files anywhere on the system?

tl;dr: love.filesystem makes it very clear it won't work on anything outside of userapp and .love directories, but is there any way to work with the filesystem at large? Custom modules or libraries? Quick "Yes or No" question, I assume. I'm looking into using Love for a not entirely game-r...