sarospa / arachNES

"Average NES emulator contains 3 spiders" factoid actually just statistical error...
GNU Affero General Public License v3.0
0 stars 1 forks source link

Rockman (TAS Desync): Emulator crashes at Ice Man level #24

Closed sarospa closed 7 years ago

sarospa commented 7 years ago

Movie: http://tasvideos.org/1686M.html

This is an...interesting one. This TAS is apparently guilty of corrupting memory, which in this case means totally crashing my emulator. This clearly isn't a problem with how well it emulates Rockman in specific, but rather about it not reacting well when a game does something wildly unexpected. I need to investigate what this memory corruption actually does, but given the visual corruption, it seems likely that it's throwing a monkey wrench in the PPU pipeline, at the very least.

sarospa commented 7 years ago

The crash is fixed, but it seems like there's still an issue where the TAS performs a level skip glitch at Bomb Man's level. Right now it shuts down due to an invalid PPU address. This is simple enough to fix, but at that point the TAS simply desyncs. It's going to take some deeper digging to figure out why.

sarospa commented 7 years ago

WON'T FIX

Trying to run FCEUX movies turned out to be a minefield that depends just as much on FCEUX's quirks as arachNES's. I'm not interested in emulating how FCEUX improperly emulates the NES, so I'm considering this branch of the project to be an irreconcilable failure. I may still use this for testing purposes, but I'm not going to aim for making it work consistently. At best, I might end up adding functionality for recording movies myself. But it's clear that this is less feasible than I originally hoped.