I've wanted to toy with PSP homebrew for awhile. I've actually taken the time to set up the PSP toolchain more than once, but I lost interest in it halfway. The other day I had the urge to recreate a very simple game that I LOVE (We Want You :
official: :
forum post:). So today I decided to use LuaPlayer at the suggestion of a friend of mine who used to do a lot of PSP homebrew for some quick and easy development (Lua is awesome). After about an hour of laying the framework for my game in Lua, I made a test and loaded it up on my PSP to find that LuaPlayer doesn't work on my PSP (slim, 5.00 m33-6).
Anyway, after a lot of searching and being annoyed, I decided to use PGELua (after seeing that it actually works).
I've finished converting the majority of my system to use pge and I seem to have hit a snag. I can't seem to get it to load fonts from a subdirectory properly. At the moment I have a list of fonts and their locations in the filesystem, but no matter how I set it up, if the font isn't in the same directory as the PBP it simply doesn't work.
Code: Select all
font_scribble = "./fonts/Skribble.ttf"
...
s_font = pge.font.load(font_scribble, 12)
...
This is an example of exactly what I'm doing. I've reordered the location every which way I know how. "/fonts/", "fonts/", etc... I've also renamed the folder, and double checked that everything is in its proper place. Just moving the font to the same directory as the PBP and referencing it as just "Skribble.ttf" works perfectly.
Does anyone know why this might be happening?
Any suggestions would be appreciated.
edit: woops. I see there's a PSP LuaPlayer section.