gonetz / GLideN64

A new generation, open-source graphics plugin for N64 emulators.
Other
774 stars 181 forks source link

Paper Mario: wrong bulb #2310

Open gonetz opened 4 years ago

gonetz commented 4 years ago

GLideN64: PM-GL

AL RDP: PM-AL

olivieryuyu commented 3 years ago

hmm is it happening in LLE as well?

I think i have an idea of what is going on if so :)

gonetz commented 3 years ago

hmm is it happening in LLE as well?

Yes. PJ64 save: PAPER MARIO.pj5.zip

I think i have an idea of what is going on if so :)

Please share :)

olivieryuyu commented 3 years ago

I meant if it was working only in HLE I would know

So it is working also in LLE.

Somebody pointed me out that the Paper Mario ucode is the one of the Zelda MM.

I have checked and this is true.

I thought here point lighting was used but it seems not.

olivieryuyu commented 3 years ago

here with our old glide64

Glide64__03

the buble only lights when an enemy is kick or appears. I feel this is the correct behavior.

gonetz commented 3 years ago

It sound logical, but youtube videos from real N64 prove that AL is correct. It is kind of fb effect. It does not work with Glide64 when fb emulation is off. I think, RDP writes something to RDRAM, which triggers bulb lighting code. Something similar to corona in Zeldas and PD. It can be tricky to find.