Opening files in zip files

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Opening files in zip files

Post by bartbes »

Is there a way I can open files that are in zip files? I already tried

Code: Select all

love.filesystem.include("some.zip/some.lua")
I guess this isn't implemented or documented? I don't know anything about PhysicsFS, except that it is used to read the love(/zip) files.
User avatar
aes
Prole
Posts: 13
Joined: Sat Mar 29, 2008 2:24 am

Re: Opening files in zip files

Post by aes »

I don't get it. Why would you want that? When packaged, löve files are already zips...? I don't see any advantage to having zips inside the main zip, or in an unpacked löve dir. :?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Opening files in zip files

Post by bartbes »

It's meant for a zip in the save dir
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Opening files in zip files

Post by rude »

In that case, I don't think it's possible at all (with PhysFS).
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Opening files in zip files

Post by bartbes »

Ok... I'll just have to unzip then...
Post Reply

Who is online

Users browsing this forum: No registered users and 56 guests