What's new

Here Is Beta 1 Of My New Gcube

gemini_dnk

New member
Is there any hope of getting this 0.4 port to Mac os?As all previous gcube versions?I mean 0.3 cant even get me a single game running.It doesnt even crash,just hang my mac(yes HANG)
 

fatalexception

New member
here are a few fixes for xtales xgube source. the new alpha func will fix bam3k.

// cpu.c (see 750cx_um3-17-05.pdf)
// correct "OP3 (31, 274, 0) = STBUX;" to "OP3 (31, 247, 0) = STBUX;"

// gx.c (thanks to pete & gcemu)
void gx_set_alphafunc() {
__u32 op0,op1,logic,a0,a1;

// PETE: that's an hard one: two alpha funcs, AND(0)/OR(1)/XOR(2)/XNOR(3)-Logic
// investigate this!
// if it is getting used, we can maybe do some "op1 alpha test" in
// the fragment shader
//
// stuff we can emulate with standard OGL:
//
// if op1=7 and logic=0: nice, just use op0 (as OGL does it)
// if op0=7 and logic=0: nice, just use op1 (as OGL does it)
// if op0=op1 and logic<2 and a0=a1: nice, just use op1 (as OGL does it)
// if op0=4 (or op1=4) and logic=1: nice, just use !op (as OGL does it)
// if op=7 and logic=1: always (disable test)

logic = TEV_ALPHAFUNC_LOGIC;
op0 = TEV_ALPHAFUNC_OP0;
op1 = TEV_ALPHAFUNC_OP1;
a0 = TEV_ALPHAFUNC_A0;
a1 = TEV_ALPHAFUNC_A1;

op0 += GL_NEVER;
op1 += GL_NEVER;

if(logic==1 && (op0==GL_ALWAYS || op1==GL_ALWAYS))
glDisable(GL_ALPHA_TEST);
else
if((op1==GL_ALWAYS && logic==0) || (op1==GL_NEVER && logic==1)) {
if(op0 != GL_ALWAYS) {
glEnable(GL_ALPHA_TEST);
glAlphaFunc(op0, ((GLclampf)a0)/255.0f);
} else
glDisable(GL_ALPHA_TEST);
} else
if((op0==GL_ALWAYS && logic==0) || (op0==GL_NEVER && logic==1)) {
if(op1 != GL_ALWAYS) {
glEnable(GL_ALPHA_TEST);
glAlphaFunc(op1, ((GLclampf)a1)/255.0f);
} else
glDisable(GL_ALPHA_TEST);
} else {
// we simply do op0 right now
if(op0 != GL_ALWAYS) {
glEnable(GL_ALPHA_TEST);
glAlphaFunc(op0, ((GLclampf)a0)/255.0f);
} else
glDisable(GL_ALPHA_TEST);
}
}
 

Crash[StarFox]

New member
Nice to see someone take up this project. If I get some time, I'll start up Visual Studio, too, and see what I can come up with.

Here's the result my trying to run Starfox Assault:
9059gcube_starfox.JPG

Instead of playing the intro movie, I see a green screen which I can cancel out of and get to the main menu (as seen in the screenshot).
 

adminquest

New member
Giving some help

Hi

I'm amazed by the work you're doing. If you want a website, feed it with news and a forum just for the emulator i can make it for you. It' will help you to give more information about your project.
If you're interested, send me a mail to [email protected]
 

vlado

Sexy's back!
Nice release , but it still needs a lot of work , you should focuse on compatibility for the moment seaming how i tested 15 games on it and only got 3 to work :D
 
OP
dolqube

dolqube

Winphin Developer
hello, this thread is old very old.
Go to the thread called Winphin Christmas Surprise.
 

Top