Search found 38 matches

by BorhilIan
Thu Mar 28, 2019 7:10 pm
Forum: General
Topic: allow mounting argument paths.
Replies: 7
Views: 8252

Re: allow mounting argument paths.

That's definitely good to know, didn't realize LuaJit was more than speed. :awesome:

Does your library also allow writing to basically any folder or just mounting? If its just mounting that is still useful since I can write changes with IO then remount the folder.
by BorhilIan
Thu Mar 28, 2019 1:17 pm
Forum: General
Topic: allow mounting argument paths.
Replies: 7
Views: 8252

Re: allow mounting argument paths.

Seems your library require something called ffi. Which I have no idea how to get. Basically just saying make it so that any folders passed in the command-line arguments could be mounted just like the drop directory. would just be a nice generally useful feature to have. In my project I'm currently u...
by BorhilIan
Thu Mar 28, 2019 11:41 am
Forum: General
Topic: allow mounting argument paths.
Replies: 7
Views: 8252

allow mounting argument paths.

You can already mount directory drop paths so why not argument paths to? Namely the love.load( args ) paths My specific use case is I've written my own basic editor in love2D. Currently I drop folders on to my applications window but being able to do shortcuts would save alot of time. :? Yes this ed...
by BorhilIan
Wed Nov 14, 2018 2:18 pm
Forum: General
Topic: Getting LOVE2D to run faster and AI stuff
Replies: 6
Views: 5706

Re: Getting LOVE2D to run faster and AI stuff

Multi-Threading in my project looks something like this, does indeed improve performance for me. Currently using it for path-finding among many other things. -- conf.lua function love.conf( t ) t.title = "Multi-Threading by BorhilIan" t.console = true t.version = "11.1" end -- ma...
by BorhilIan
Fri Oct 26, 2018 1:38 am
Forum: Support and Development
Topic: [QUESTION] Access contents of dropped folder?
Replies: 6
Views: 3735

Re: [QUESTION] Access contents of dropped folder?

It's a shame you cant also mount argument paths, like dragging folder onto the exe. If you know of a solution for that it would be much appreciated. I'll just use the drag n' drop method for now.
by BorhilIan
Fri Oct 26, 2018 12:49 am
Forum: Support and Development
Topic: [QUESTION] Access contents of dropped folder?
Replies: 6
Views: 3735

Re: [QUESTION] Access contents of dropped folder?

I remember trying that once before to no avail, however it worked this time so thanks.
by BorhilIan
Fri Oct 26, 2018 12:03 am
Forum: Support and Development
Topic: [QUESTION] Access contents of dropped folder?
Replies: 6
Views: 3735

[QUESTION] Access contents of dropped folder?

If I drop a folder onto my packed exe how do i access its contents. I don't seem to be able to mount it or read the files in said folder directly. Is there a way to copy the folder into the identity folder when dropped on the exe?
by BorhilIan
Sat Mar 10, 2018 5:46 am
Forum: Support and Development
Topic: convert a number to binary with lua ?
Replies: 16
Views: 19462

Re: convert a number to binary with lua ?

As far as integers go i asked a similar question a while back, wound up making this thing which includes function for to/from binary.
viewtopic.php?f=5&t=83752
by BorhilIan
Sat Sep 23, 2017 8:45 pm
Forum: Support and Development
Topic: More scripts than main?
Replies: 2
Views: 2558

Re: More scripts than main?

If you have another file test.lua you would put require( "test" ) inside main.