Looks good, glad you got it working.
If you use the gedebugger to step texture until the font comes up and then step primitive until the char is drawn you'll be able to find the vaddr. If you look at this in memory view the order is normally
U,V,Colour,X,Y,Z (4 bytes each). Putting a memory break point on the x value should lead you to where the values are saved.
I agree, using ints is better, especially since rendering in factions doesn't work that well on a real PSP.
Yeah forgot to mention about the font sheet, I had similar problems with Sol Trigger. I haven't looked at the ISO but if there's an obvious font file then good, otherwise use the gedebugger and try to trace which file the texture comes from, not always easy though.
The debugger should also help tell you the texture format.
Edit:
I would also check the hack on a real PSP, the memory alignments are possibly different so it might not work.
Oh and I know the original code isn't as efficient as it could be since I was just making it up so actions might be redundant. Also the reason I sometimes add values instead of loading from an offset is because I've had problems with PPSSPP not loading opcodes before, no idea why
If you use the gedebugger to step texture until the font comes up and then step primitive until the char is drawn you'll be able to find the vaddr. If you look at this in memory view the order is normally
U,V,Colour,X,Y,Z (4 bytes each). Putting a memory break point on the x value should lead you to where the values are saved.
I agree, using ints is better, especially since rendering in factions doesn't work that well on a real PSP.
Yeah forgot to mention about the font sheet, I had similar problems with Sol Trigger. I haven't looked at the ISO but if there's an obvious font file then good, otherwise use the gedebugger and try to trace which file the texture comes from, not always easy though.
The debugger should also help tell you the texture format.
Edit:
I would also check the hack on a real PSP, the memory alignments are possibly different so it might not work.
Oh and I know the original code isn't as efficient as it could be since I was just making it up so actions might be redundant. Also the reason I sometimes add values instead of loading from an offset is because I've had problems with PPSSPP not loading opcodes before, no idea why
Last edited by JamRules,