Make 'Iris no Atelier: Eternal Mana' work.
Posted on 2006-06-10 00:00:00
Ok, making the movie playing work normally is a bit more troublesome than I thought. I can make it display almost correctly with some things commented out in the source code but if I leave everything as it should be, nothing shows up.


Screenshot #000131


Here's a summary of the problems I'm having right now:

1. The textures used to display the frames are using the decal function, which doesn't seem to work very well for some reason.
2. The frame buffer is cleared just after rendering the frame.
3. A lot of frames are skipped by the game.
4. The texture dimension given for each primitive is 1024x1024 while in reality only the upper-left 640x16 part contains the fragment of frame to render. I don't think this is illegal to do on the real PS2, but it causes problems with the emulator since we end up uploading ~30x 1024x1024 textures during one frame.

Problem #1 shouldn't be too hard to fix. Problems #2 and #3 might be related. Problem #4 is fixable with a patch, but patches aren't very appealing.

I'll see what I can do for #1, #2 and #3 tomorrow.