Post subject: Paper Mario flickering
Fortranm
He/Him
Editor, Experienced player (878)
Joined: 10/19/2013
Posts: 1121
How should I config the video plugin?
Joined: 10/28/2013
Posts: 4
Paper Mario also seems to crash during the cutscene when Mario & Luigi go to Peach's castle. Is there anything we can do to prevent this from happening?
Experienced player (985)
Joined: 8/30/2012
Posts: 373
Is there any fix for this at this time?
Previous TASes: Frogger's Adventures: The Rescue Paper Mario: The Thousand-Year Door any% x 8 Paper Mario 64 Luigi's Mansion Sonic Heroes - Team Sonic Mario Kart Wii ILs
Buddybenj
He/Him
Joined: 1/12/2013
Posts: 166
Location: USA
What version of BizHawk are you using? Also make sure try Rice, Glide64, and Glide64mk2 (Glide64mk2 is recommended). Use these settings: RICE: Anisotropic filtering: 0 In Game default options make sure frame buffer setting is: Rom Default For the per game hack use the defaults for current game. Glide64: Autodetect microcode ON Card ID: 0 None for texture filtering Experiment with depth buffer render to see if it works, but if it doesn't it is best to leave it OFF Get frame buffer info OFF For the other tabs use defaults for current game Glide64mk2: Card ID: 0 Wrapper FBO ON Wrapper Anisotropic filtering OFF Depth buffer render ON (unlike Glide64 this should always be on) Get frame buffer info OFF Per Game settings and more per game settings should be defaults for current game. Let me know if any of these worked.
Projects: Interested in TASing N64 Mario Golf. GBA Mario Tennis: Power Tour is on hold.
Experienced player (985)
Joined: 8/30/2012
Posts: 373
I'm using 1.5.3 right now. With those settings, all video plugins produce the same flicker problem.
Previous TASes: Frogger's Adventures: The Rescue Paper Mario: The Thousand-Year Door any% x 8 Paper Mario 64 Luigi's Mansion Sonic Heroes - Team Sonic Mario Kart Wii ILs
Joined: 7/12/2010
Posts: 4
I think I remember hearing from a Paper Mario speed runner that nothing out there really emulated Paper Mario very well.
Fortranm
He/Him
Editor, Experienced player (878)
Joined: 10/19/2013
Posts: 1121
Matt_S wrote:
I think I remember hearing from a Paper Mario speed runner that nothing out there really emulated Paper Mario very well.
And the irony is that Dolphin is already able to emulate TTYD and SPM very well :P
Buddybenj
He/Him
Joined: 1/12/2013
Posts: 166
Location: USA
I guess we will have to wait for a fix.
Projects: Interested in TASing N64 Mario Golf. GBA Mario Tennis: Power Tour is on hold.
Editor
Joined: 3/31/2010
Posts: 1466
Location: Not playing Puyo Tetris
I tried 1964 1.1 and it appears fix the flickering video issue. Though, I did not play the game beyond the intro. I used the default 1964 plugins.
When TAS does Quake 1, SDA will declare war. The Prince doth arrive he doth please.
Editor, Experienced player (570)
Joined: 11/8/2010
Posts: 4036
I don't have a fix, but from what I've observed, it seems that the screen updates at 30 frames per second. However, the game renders every frame (60 FPS), meaning that every frame should be displayed twice. When the flickering occurs, it's always on the second of the two frames, and it happens because everything (black screen), or everything except the background, turns invisible on the second frame. Though it might sound hackish, what might be a simple solution is forcing the game to output every frame twice like it should, perhaps by not changing what's on the screen until it's updated with new information, like this (line 166) old apparent fix for the glide64 plugin used in mupen64plus/BizHawk:
Fixed flickering problems in games such as Snowboard Kids and Paper Mario. The problem was that some games use more than one DList per frame, and I was flipping on every DList. Now it flips on UpdateScreen instead of on the DList.
Editor, Experienced player (570)
Joined: 11/8/2010
Posts: 4036
After trying it out in Mupen, it appears that the video plugin Glide64 'Final' fixes the flickering problem almost everywhere (except for some minor flickering when buying an item). The only problems I noticed were some minor graphical glitches and the annoying pause menu lag that every N64 emulator seems to have for this game (though that's probably an emulation problem). Hopefully this plugin can be included in the next release of BizHawk (as I don't see it being hard to implement).
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3573)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
Does this plugin work in mupen64plus? It drops support for a lot of plugins
It's hard to look this good. My TAS projects
Editor, Experienced player (570)
Joined: 11/8/2010
Posts: 4036
I don't know, I've never used the original mupen64plus. It works in Project64 2.0 though, if that makes any difference.
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3573)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
PJ64 makes no difference. We use mupen64plus, whatever it supports we can support. Would be nice if someone looked into this, especially before assessing what should be done about it :)
It's hard to look this good. My TAS projects
Editor, Experienced player (570)
Joined: 11/8/2010
Posts: 4036
Okay, here's something! There doesn't appear to be any flickering in the glide64mk2 plugin included in the GUI frontend M64PY for Mupen64Plus (even though there is with the version of that plugin that's currently in BizHawk). That plugin also works in the frontend wxMupen64Plus with the dlls from the M64PY folder. From this, I think I can conclude that a flicker-free plugin exists that works in mupen64plus. Do you think you could implement this obviously more accurate glide64mk2 plugin into BizHawk, either as a replacement for the current one or a standalone, fourth video plugin?