Relative File Paths


Pickle

Mega GP Mania
Joined
May 30, 2006
Messages
5,527
Location
Detroit, Michigan
Website
Visit site
im sure im midding something obvious, hope someone can point it out.

I put all my file paths in a file like so: files/gfx/border_tiles.png
the path start where the exe lives.

Im passing the path to IMG_Load(). In windows world it works, in the linux (gp2x) world it doesnt. Im outputing the string that contains the path and its looks right. Im running the gpe over samba from the same location the windows version runs.
 
Pickle said:
im sure im midding something obvious, hope someone can point it out.

I put all my file paths in a file like so: files/gfx/border_tiles.png
the path start where the exe lives.

Im passing the path to IMG_Load(). In windows world it works, in the linux (gp2x) world it doesnt. Im outputing the string that contains the path and its looks right. Im running the gpe over samba from the same location the windows version runs.
Im MASTER of the obvious!

ok, im stupid and forgot to save the file in the unix format.
 
Last edited by a moderator:
Back
Top