(08-29-2011, 08:15 PM)hyakki Wrote:(08-29-2011, 02:28 PM)Hykem Wrote: Ah, that's probably related to r2288, when I've restored the old stencil test method. Apparently "Worms 2" needs the old method, but it may be possible that this game needs the accurate shader version instead and they are probably conflicting.
Could you please check if this is in fact the issue? Thanks!
the game wouldn't fully load in r2288 (stuck on loading screen) but in r2287 the dialog text showed up.
Hmm, I suspected that...

If you wish to debug this one by hand in the latest rev, you can try to comment out the restored stencil method's code and then compile a modified version.
In the file /trunk/src/jpcsp/graphics/RE/BaseRenderingEngineFunction.java (line 194 to line 198):
Code:
if (stencil) {
re.enableFlag(GU_STENCIL_TEST);
re.setStencilFunc(GeCommands.STST_FUNCTION_ALWAYS_PASS_STENCIL_TEST, 0, 0);
re.setStencilOp(GeCommands.SOP_KEEP_STENCIL_VALUE, GeCommands.SOP_KEEP_STENCIL_VALUE, GeCommands.SOP_ZERO_STENCIL_VALUE);
}
If the text shows up with that portion of code commented out, then we must review our shader's stencil test operation (for the "Worms 2" case) and remove that code again.