Re: [AD] physfs current directory

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sun, 18 Nov 2012 00:04:15 +1100
Peter Wang <novalazy@xxxxxxxxxx> wrote:
> 
> I think it should search for "/sprite.png" in the union of all the
> search paths.
> 

Hm, that leading / still looks strange.

> > For example in ex_physfs, if I remove this line:
> > 
> > PHYSFS_addToSearchPath("data/ex_physfs.zip", 1)
> > 
> > Then put a file "02.png" into /tmp and run it as:
> > 
> > ex_physfs /tmp
> > 
> > It will fail to find the file, instead trying to open a
> > non-existing "/02.png".
> 
> That works for me, but with 02.bmp instead.
> 

True, using .bmp instead of .png makes it work here. Will have to wait
for Trent now what the exact problem is.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/