BlueAmulet / picolove

Pico-8 Reimplementation in Love2D
zlib License
101 stars 12 forks source link

Loading game p8 cartridge does not support path outside picolove folder: cart.lua:211: Unable to open: /home/.../game.p8 #32

Open hsandt opened 6 years ago

hsandt commented 6 years ago

Every time I try to load a game with picolove from the picolove folder: love . /home/path/to/my/game.p8 I get:

cart.lua:211: Unable to open: /home/path/to/my/game.p8

I also tried relative paths, to no use. My only solution was to put the folder containg my game.p8 inside the cloned picolove repository, and access it relatively! love . Games/game.p8

(then I got https://github.com/gamax92/picolove/issues/24 but that's another issue)

Isn't there any way to access games elsewhere? What if the picolove is zipped? We cannot even add new files in the picolove folder in this case!

tobiasvl commented 6 years ago

I don't think LÖVE allows reading arbitrary files from the filesystem: https://love2d.org/wiki/love.filesystem

hsandt commented 6 years ago

I also thought so, so I tried again after moving the p8 to /use/local/share/love, to no avail.

Tobias V. Langhoff notifications@github.com schrieb am Mo., 20. Aug. 2018, 09:15:

I don't think LÖVE allows reading arbitrary files from the filesystem: https://love2d.org/wiki/love.filesystem

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gamax92/picolove/issues/32#issuecomment-414219544, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBK_HIo_9Hfv0qOUlkPScIgwcNdhSnZks5uSmIGgaJpZM4WDGCM .