elhobbs / prboom3ds

prboom for the 3ds
GNU General Public License v2.0
104 stars 26 forks source link

Game Freeze in E1M2 #9

Closed Zazie-Lavender closed 8 years ago

Zazie-Lavender commented 8 years ago

Ok so I've verified this using two different IWADS (PWAD prboom.wad included with kit is present and accounted for) MD5: 23afd6143cb1ffec99a46755f9209ea6 IWADS tested: doom.wad (Demo version) included with the package. (Homebrew Starter kit) MD5:f0cefca49926d00903cf57551d901abe doom.wad (Ultimate Doom version; retail/full IWAD with all 4 episodes) MD5:c4fe9fd920207691a9f493668e0a2083 starter.zip where prboom app was obtained: (Homebrew Starter Kit. latest version from smea's website MD5: 5f79dc2cb20bb057c2a484dd45889b70)

This issue first manifest itself while I was using the DEMO doom.wad included with this in the homebrew starter kit. I later confirmed this issue with the Retail Ultimate Doom wad. (4 episodes)

System:

Nintendo 2DS Blue USA region. Firmware 11.0.0.33 Homebrew Entrypoints: browserhax, basehaxx, menuhax Homebrew Entrypoints attempted where bug manifests: browserhax, basehaxx, menuhax

Reproducing: Start new game. (Difficulty doesn't appear to matter, I use "I'm Too Young To Die!") Proceed through E1M1 normally. How you do so doesn't matter. Complete the level. Proceed through E1M2 normally Until you reach the exit door. Note this is the point just before the bug. Approach Exit Door and press [USE] Door opens normally; you will observe two Soldiers with their backs facing you. Firing a shot is optional; the bug will trigger regardless. The Two Soldiers should "Wake Up" and notice your presence simultaneously and come at you as per expected DOOM behavior. Within .5 to 3 seconds; prboom will lock up. The system will not respond to any input except for [POWER] which switches the system OFF

Reproduction notes: This bug did not manifest for me the first time until I completed doom.wad once. I completed all eight maps, not unlocking the secret level, normal play through on difficulty "I'm Too Young To Die!" (lowest). Note that extracting the prboom folder from the Homebrew Starter kit, deleting the folder on SD and replacing it with the fresh copy did "refresh" prboom for one more playthrough. However once you complete E1M2; subsequent attempts on a new game; or attempts not arising from a save generated on the first playthrough trigger this bug.

Side Effects: Under conditions where prboom is launched via browserhax, basehaxx, or menuhax AND crash is triggered, forcing system to be reboot to HOME (with or without menuhax) may cause theme data/home menu data to be lost (No theme, all downloaded titles are "presents") but this could be a menuhax bug However this appears as if this could be caused by the way the app crashes, causing the SD file system damage potentially(Checks of file MD5 hash on SD matched source file MD5 for both IWADs). Normal menuhax behavior would restore this on the next home menu boot; but it does not. Again, this side effect could be just a menuhax bug, reporting it here as a side effect to give better idea what's going on. I did try this bug several times with menuhax uninstalled; just to be sure; and it still gave the same odd effect. (Again though; could still be a quirk of menuhax)

Zazie-Lavender commented 8 years ago

Fixed/works in latest version from GIT. (Code may be not the same provided either)