Limitations of new LCFWs
I am developing a lua homebrew, but one user said that it's not working with 6.35 Pro. What are the limitations of new firmwares (TN / Pro)? For example, can LCFW read flash? For example, does this work "IntraFont.load("flas h0:/font/jpn0.pgf", IntraFont.STRING_UTF8);"? If not, would this work instead if user gets the pgf-file somewhere "IntraFont.load("jpn0.pgf ", IntraFont.STRING_UTF8);". Or could there be some other issue?
PS. You may move this, as this probably is more development type question.
Sup batanen, well I'm no expert but I just recently released a new version of my Learn Japanese game and it uses Luaplayer Euphoria V8 and it's signed so I think it should work without the need of a LCFW. I've only tested it on a PSPGo with OFW 5.70. Now it can read from the flash, but for some reason I wasn't able to display Japanese text on a Go. I also loaded the ltn1.pgf font from flash and it worked on a Go so that's why I'm sure it can read from the flash. i also tested the signed luaplayer on a FAT PSP and it did display Japanese text on there so my guess is that it's either something with the PSPGo, or maybe it's an issue with newer firmwares on how it calls for that function. I think I am going to upgrade my Fat PSP to the latest firmware just to test it out.
BTW I wasn't able to figure out the IntraFont.STRING_UTF8 function, it just displayed the value instead of the character when I tried, so I just use IntraFont.STRING_SJIS. Oh and I was also able to load a custom PGF which I had to modify to include long vowels.
Nice to hear from you ponlork! I actually saw your update yesterday; I try to come and write something in your thread within a few days.
You're right. The user confirmed that a signed eboot does work. So today I released a signed and a not signed version of AnyLanguageStudy. A pity that not every eboot can be signed yet.
By the way, you can also use IntraFont.STRING_UTF8 with Japanese. It's just that you need to encode the files with UTF-8 (without BOM). This can be done with Notepad++. I think your files are ANSI or SJIS encoded. Thanks for the reply!
Originally Posted by batanen
Oh if that's the case then you might have just solved my problem with displaying Japanese text on a Go. I'll try the UTF-8 out again later. And I'm downloading your AnyLanguageStudy app, what a coincidence we released similar brews at the same exact time lol but hey I got a Go so if you ever need any testing on it you can hit me up. I actually purchased a Go just to test out my brew, and by the time it arrived I was already finished with my latest edition of LJP. So when I ran it I was a bit disappointed that the Japanese text didn't display. But everything else worked fine. I didn't want to delay it any further so I just put it out.
I just tested your app, man that's some pretty advanced stuff. Is this your first time coding in LUA? And yep the Japanese font did display on your app. That's gratifying to know, now I don't need to harbor over it when I start work on my next release. Right now I'm taking a vacation.