DS-Homebrew / nds-bootstrap

Boot an nds file
https://wiki.ds-homebrew.com/nds-bootstrap/
GNU General Public License v3.0
1.18k stars 75 forks source link

Pokemon Gen 4 ROMs freeze #737

Closed ghost closed 3 years ago

ghost commented 5 years ago

Your console

Tell us which console you are using:

CFW and configuration

Tell us which CFW do you have:

DSi:

3DS/2DS:

nds-bootstrap version

Tell us which versions you are using:

Your device

Tell us which card you are using:

If this issue only affects a certain game, which game is it?

Pokemon Platinum, Diamond and Pearl. Haven't played any Black/White 1 or 2 or HeartGold and SoulSilver roms, so I don't know if the problem is specific to these games in particular.

Expected behaviour

Game should play as normal without freezes, especially the underground area.

Actual behaviour

Game freezes randomly after a certain period of time, and has only happened to me while in the overworld, not while in battle or while viewing the inventory (though maybe that's just being lucky). The underground area in particular is a good way to test it, as it freezes consistently there.

Steps to reproduce

  1. Boot up any rom (patched/regular/different region/etc.) of any of the main Gen 4 games (Platinum, Diamond, Pearl)
  2. Play a decent amount of time as you would normally do.
  3. Freeze will happen eventually, however going into the underground area accessed with the explorer kit is a surefire way to get freezes.

Other notes

Tried using different SD cards, different DSi's (one European and one from USA, thought it probably doesn't matter), thinking it might be just an issue with my devices or some other random corruption. Doesn't really seem to make a difference, but decided to specify this just in case.

ghost commented 5 years ago

UPDATE: Tried HeartGold and SoulSilver too. Same problem there, started playing and after the first gym it just froze randomly while walking around.

ghost commented 5 years ago

2nd UPDATE: Tried Platinum and Heart Gold again with the newest TwilightMenu and nds bootstrap (and also unlaunch 1.9), same issue. I've tried all kinds of roms at this point, and unlike what Gammazeth says in his report thread, the issue persists even in roms without cheats, ap-patched roms, etc (literally any and all roms of the gen 4 games, dunno about gen 5) I'm still trying to figure out if there's a proper trigger to it or if it's truly "random", but so far nothing.

osiristech commented 5 years ago

pokemon platinum and soulsilver play just fine for me. I do occasionally get a freeze but not that often.

ghost commented 5 years ago

It's the fact that there are freezes at all is what bothers me, whether they are frequent or not. BTW do you have the same set-up as me or is it different?

BrunoDSL commented 4 years ago

In HeartGold (not tested with SoulSilver) if you touch the bottom screen without having it selected with 'X', the game freezes.

ubergeek77 commented 4 years ago

I just wanted to chime in that I've played about 3 hours of Platinum on TWiLightMenu v11.0.0, and nds-bootstrap v0.27.0, and I haven't experienced any such freezes. I haven't reached Eterna City yet, so I can't test the Underground at the moment, but normal gameplay has seemed entirely normal.

However, the game will freeze quite frequently if I run the game in DSi Mode with TWL clock speeds and VRAM boost enabled. I'm not sure which of these settings causes the instability, but it seems Platinum really doesn't like being played with any "enhancements."

I've had this happen twice so far. When running with the settings mentioned above, I once had the game completely black out on the title screen. I pressed 'A' after the GameFreak logo to skip the intro sequence, and both screens cut to black. But the full audio for the intro sequence still played, and it would just hang after the intro music stopped at the point the title screen would show.

Another crash happened after I was able to successfully load a save. As soon as my character was visible, the music would still play, but the game was completely frozen. Even background objects that had animations stood still. I could not control the character and had to reset the console.

Again, just leaving TWiLightMenu's nds-bootstrap settings alone, and running it at DS clock speeds with no VRAM boost, seems to work best for me. It's strange that the game is so unstable in TWL mode, considering the compatibility list has TWL listed as the "recommended" speed, but this has been my experience so far.

I plan to do a full playthrough, so I'll make a habit of saving often just in case, and I'll update this post if I experience any crashes. I'll pay very close attention to what happens in the Underground when I am able to access it.


System Info:

Console: Nintendo DSi (US), v1.4.4U SD Card: 32GB, Class 10, SanDisk Ultra Entrypoint: Unlaunch v2.0 (direct launch of TWiLightMenu, not via HiyaCFW) Launcher: TWiLightMenu v11.0.0, DSi Theme Loader: nds-bootstrap v0.27.0 release

ubergeek77 commented 4 years ago

To add, on my setup (listed above), I cannot reproduce the bug @BrunoDSL reported, of HeartGold freezing when something on the bottom screen is tapped without explicitly entering the menu with 'X'

I am only in New Bark Town, if that matters, but the game does not freeze no matter how many times I try this. I've also tried to reproduce the bug in DSi mode with TWL clock speeds with no results, on both HeartGold and SoulSilver.

ghost commented 4 years ago

I also haven't touched any of the "enhancements" such as clock speeds or DSI mode or VRAM boost and yet I did get three major crashes during my playthrough. One was when the time changed from day to night, one was in a cave (or maybe it was Mt. Coronet, can't remember) and one just made my DSi shut down itself. Either way I managed to complete my game, with lots of constant saving just in case, but it's still very annoying to have to deal with this and it seems like it varies from person to person. Some people get freezes only with hacks for example, although for me I haven't noticed much of a difference between normal ROMs and romhacks, honestly.

ubergeek77 commented 4 years ago

EDIT: Despite my initial findings here, I've encountered the crash. Skip to my comment below.


So, I've just gotten access to the Underground, but again, everything is perfectly fine. There were no crashes, and I was able to do quite a bit of digging in the walls and running around. Nothing out of the ordinary.

I'm not sure what's going on here, but the only recommendation I have (apart from using Unlaunch to bypass HiyaCFW, since I am not currently using HiyaCFW to boot TWLMenu, but it seems you are) is to back up and clear out all of TWiLightMenu and nds-bootstrap's directories before copying over the latest version. Not overwrite what's already there, but clear out what is there, including configurations, caches, and etc. Act like you're trying to scrub the SD card clean of anything related, without deleting your games and saves, of course, but including the non-save-file extra directories that get created next to where your game files are. If it's not a .sav or .nds file, move it somewhere else.

I say this, because when I updated from v10.2.0 to v11.0.0, Platinum wouldn't start at all. It would just boot to a white screen. Other games would work fine. I'm not sure what the cause was, but literally nothing changed in my setup other than updating. Where I was previously able to play perfectly fine, updating broke something. The strange thing was that downgrading to v10.2.0 did not fix the problem. Whatever going from v10.2.0 to v11.0.0 did was permanent.

I didn't have to reformat my SD card, but I did move every folder TWiLightMenu and nds-bootstrap touches into a new "temporary" folder, just so I could copy over a new installation, while keeping what I had previously as a backup. I made sure to keep my saves in the process, and once I was able to verify v11.0.0 and v0.27.0 of TWLMenu and bootstrap, respectively, were working fine, I deleted that temporary folder as it was no longer needed. This did reset my preferences, but those were very easy to change, and after this process, everything was working perfectly fine.

The only other constructive piece of advice/guess I can make is that the instability has something to do with the quality of the SD card. I have a very good one, being Class 10, and I bought it specifically for this purpose, so there was no prior flash wear before using it in this DSi. If my above "solution" doesn't work, you may want to consider trying a new SD card and seeing what that does for you.

Other than that, I've got nothing. If you still have issues, you may need to wait until a contributor reads this thread and can offer solid advice. I haven't got a clue about how nds-bootstrap really works under the hood, so the real issue here is anyone's guess.

Gemboi commented 4 years ago

When the game froze with me the overworld would go from day and in a split second would go to night then back to day. It happened in eternea forest and no crash

ubergeek77 commented 4 years ago

So... Despite my previous findings, I've just encountered the freeze.

I was on route 214, I was just walking normally, and out of nowhere, the game froze. I'd say I lost about 45 minutes to 1 hour of progress.

That being said, while the freeze was much more rare for me than the other commenters here, I can confirm that it does indeed happen. I have been playing for roughly 10 hours now, and this is the first freeze I have encountered.

CaptainLibrary commented 4 years ago

I can confirm I'm still experiencing the freezing issue on Diamond version, Bootstrap v0.28.1. Most reliably occurs when in the Underground.

Nirei commented 4 years ago

I’m seeing this bug on DSi with unlaunch and twiligh since I started playing Pokemon Platinum on the last two versions. Cleaning up caches and such doesn’t make a difference. It’s very annoying. :(

Yami-Loka commented 4 years ago

Can confirm I have this bug too. I have been playing the Drayano's rom hack Pokemon Renegade Platinum, and although I initially thought that the crashes were because of the rom-hack, it seems that this has happened to other people too. Same kind of crash, music continues in the overworld but can't control the character anymore.

Redrield commented 4 years ago

Ran into this problem with Pokemon Platinum, DSi XL, unlaunch no CFW. Overworld music kept playing but i couldn't control my character. No other rom hacks

EDIT: Should add that this was a fresh hacked DSi/TM++ install, Platinum was the first thing I launched after setting everything up

kamil9489 commented 4 years ago

I can confirm that i have this bug too that on Nintendo DSI with Twilight v13.1. Pokemon SoulSilver can freeze in overworld.

CaptainLibrary commented 4 years ago

Does anyone get the issue on O3DS or N3DS? On DSi XL I get the periodic freezes, on latest release bootstrap. I don't have an O3DS to test. On N3DS XL I haven't had a single freeze yet (20 hours of HeartGold, 2 hours of Diamond).

ZeikkuSSJ7 commented 4 years ago

Still happening on 0.34.0, playing HeartGold on a DSi XL via TWLight Menu++. Mostly freezes on loading times such as exiting one of the X Button menus or just walking around. It may be related to DSi since I've completed Platinum and Black on a Old3DS without any crashes (maybe i just got lucky?). Must say all of my ROMs are backups from my original carts.

EDIT: One question, has anyone noticed the white screen while entering a battle in HeartGold? It does not happen on the original cart.

RocketRobz commented 4 years ago

Kaisaan has posted this in the DS⁽ⁱ⁾ Mode Hacking! Discord server:

apparently the gen4 crashing is reproducable
according to JeezDisReez:
happens each 32 or multiple of 32 steps
Each 32 the game writes its instructions in the RAM
I don't actually know if this is correct or not
dandylions05 commented 4 years ago

Ive been having the same issue but a little different compared to the others. Similar to Zeikku above. In Platinum, it takes considerable time to freeze in the overworld. However, in HGSS it's much more of an issue. Like Z said, the game freezes black on most loading times and music still plays. The walking freezing seems to be as rare as platinums too, it's mostly the loading times that get me. Been playing for 3 hours now and had to reset about 5 times. Platinum does not seem to have this loading screen issue, only HGSS. I've tested the 32 step thing for about an hour in both games and overworld freezing hasn't happened yet, but in HG the game froze one time while entering a building. I use a 3ds xl with custom firmware and I'm on the latest versions of Bootstrap and Twi, updated last night (15.0.1 and 0.35.1). I use luma3ds cfw since I'm on a 3ds xl.

CaptainLibrary commented 4 years ago

I've had chance to test again on v0.35.1. I'm assuming the results below are expected as I've not seen any release notes to suggest the freezes have been fixed.

DSi XL on Hiya CFW Uncommon freeze on Diamond overworld (only 1 instance, took over 3 hours to occur with no visits to the underground) Common freezes on Diamond Underground (could reproduce in as little as under a minute, or as much as 5 minutes) Common freezes on SoulSilver (just walking around, managed to reproduce 3 times within 15-30 minutes per instance)

New 2DS XL on Luma No freezes to report in any Gen 4 games. Have any other users experienced regular freezes on a New 3DS or New 2DS model?

crzyc commented 4 years ago

I've had chance to test again on v0.35.1. I'm assuming the results below are expected as I've not seen any release notes to suggest the freezes have been fixed.

DSi XL on Hiya CFW Uncommon freeze on Diamond overworld (only 1 instance, took over 3 hours to occur with no visits to the underground) Common freezes on Diamond Underground (could reproduce in as little as under a minute, or as much as 5 minutes) Common freezes on SoulSilver (just walking around, managed to reproduce 3 times within 15-30 minutes per instance)

New 2DS XL on Luma No freezes to report in any Gen 4 games. Have any other users experienced regular freezes on a New 3DS or New 2DS model?

I have experienced regular freezing in Heart Gold on N2DSXL (Luma). I suspect that the same freeze / crash issue will apply for the rest of the gen 4 games.

tweckbun commented 4 years ago

i seem to have this issue with all gen 4 games, the issue with the sky flickering from day to night happens with animal crossing wild world so maybe its related?

kaosjr commented 4 years ago

I've been having this issue with Platinum as well. Freezes themselves are very irregular, and I've only had 3-4 for an entire 40 hour playthrough, but they do very occasionally happen. I'm on DSi in DS mode with TWL speeds.

rlaphoenix commented 4 years ago

Places its occured for me is:


Facts:

So far, most evidence suggests it to be a bug to do with movement. Though there's a good chance time polling could be involved.

Note:

Stuff that hasn't been confirmed to be related:


Insights noticed:


Reproduction attempts scenario a. "Biking"

Setup:

Findings:


Reproduction attempts scenario b. "Underground"

Setup:

Sub-scenario 1 "use radarr (tap bottom screen), then run around when sparkles appear on the top screen map"


Evidence Locker

Underground, notice how the top map sparkles were basically the same spots (not 100% but basically are)

These are two different freezes in roughly the same area and same RNG

Freeze 1: image Freeze 2: image Freeze 3 (the entire thing start to finish on capture): https://streamable.com/s62lzj


How I ran it:

Nintendo DSi LL (Japanese NAND) Unlaunch 2.0, Latest HiyaCFW, Latest TwilightMenu++ Running ROM from SD Card with latest stable nds-bootstrap

kaosjr commented 4 years ago

Well, I've been playing a ton more over the past few weeks, and have been running into freezes more and more as time goes on. I'm running a NA DSi with Platinum.

I've tried: -DS mode with TWL speeds -DS mode with NTR speeds -DSi mode with TWL speeds All work correctly, at least on my system; however, they all seem to experience the crash issues.

I can confirm at least some of the things from the previous comment, alongside some of my own observations through this playthrough.

-The crash only seems to happen when on an overworld map. I've crashed a total of about 15 times through a 50-hour playthrough, so it doesn't seem to be overly frequent. I've crashed while running through grass, after taking a jump on a bike, and just running/biking for seemingly no reason. When the crash happens, the music continues playing, but the rest of the game is unresponsive; the poketch is frozen, and my character is stuck. It also never happens while standing still; you must be in the process of moving for it to crash. This leads me to believe it may be some issue with some sort of step timer. I also noticed that in sections of the game where you have a partner (for example, Marley and Buck), the game will 'freeze' for around half a second randomly while you're running around; it seems to be on some kind of interval, maybe 16 or 32 steps; don't know if this is related at all, but it is definitely another lag issue of some sort.

-The underground seems to be a major problem. When I started playing this save file, after getting the Explorer Kit from the man in Eterna, I played around in the underground for a while. Had no issues whatsoever at this point. Of note: I did have Wireless Communications turned off in my DSi menu; the game can't detect that this feature is off and will launch the underground anyways. Later in the game, possibly after turning Wireless Communications back on (I was testing wifi), I consistently got underground crashes within about 4 seconds to 3 minutes after entering the underground. The freezes happened at different points; it's happened during conversation with an npc while menuing multiple times and while just running around a few as well. I'm not sure if having wireless communications on makes any difference, as the crashes in the overworld still happened while it was off.

Hopefully this gives some more insight into what's happening.

rlaphoenix commented 4 years ago

Just for fun, to test out if time polling could be the problem, I saved inside the cave of Lake Verity, so that there's no NPC's and barely any 3D going on. I saved, shut down and back up the system, and logged back in, did nothing, didn't even move.

Gonna leave this for like 2 days the most and see if anything happens.

rlaphoenix commented 4 years ago

Well hey, look at that, I just posted at 4:43am (my timezone) about my test. The game has in fact froze without me doing a single thing at all in the game!

The time on the DSi is 04:49, so 7 minutes after I posted about my idea. So if I had to guess, 10 minutes~ later...

rlaphoenix commented 4 years ago

Redoing the test, STARTS NOW (05:33 stated by Poketch clock). Let's see how long it takes to freeze.

rlaphoenix commented 4 years ago

It has now froze, 06:18, so this time it took a bit longer, 45 minutes. This time its actually quite right in terms of what everyone and myself included has experienced. A freeze every 45min-1hr is about right.

I guess this confirms walking/running/cycling has nothing to do with it, and adds more fire to it being a time polling problem. Or perhaps its a memory leak issue? I doubt with music but perhaps with sprites or NPC's? In the area im in (Lake Verity, in the cave) Mesprit is in here at the moment, but nothing else at all.

rlaphoenix commented 4 years ago

Since it's freezing just from standing perfectly still in a very unpopulated 3d space, if we assume moving, sprites, and 3D arent involved in the crash, yet it never crashes while inside a battle, we must assume its something to do with the time polling. Let's remember that, no one seems to have reported crashing before eterna city, meaning no one has crashed before getting the poketch app that displays time, meaning that portion of the game wouldnt be time polling :thinking:

rlaphoenix commented 4 years ago

Adding to time polling as the cause, a user above @ubergeek77 clearly stated he hasnt found any freezes but after playing for a while he has been getting fairly common freezing. If we assume that in an hour he gets passed to jubilife city, gets the poketch app, then this all makes sense right?

All signs used to point to movement bugs, however now it seems to all point towards time polling issues. Any possibility a dev could look into this and lmk if this is baseless?

RocketRobz commented 4 years ago

Actually, the time polling may very well be the issue. Loading from the SD card sometimes causes the time to briefly glitch. This doesn't happen on 3DS consoles, and as a result, no freezes or crashing. The fat_on_arm9 branch aims to fix this issue, but loading is super slow, and doesn't work with some games.

kaosjr commented 4 years ago

@RocketRobz Given that nobody with a 3DS has reported the issue in this thread, this is probably exactly what the problem is. I'll port over my game to my 3DS and see if I get the underground crashes like I do on my DSi; if I can't manage to reproduce the crashes there, we've probably found our issue.

ubergeek77 commented 4 years ago

@kaosjr While they may be red herrings, and I agree that this seems much more common on DSi units, there were at least a couple reports of this happening on 3DS family devices:

https://github.com/ahezard/nds-bootstrap/issues/737#issuecomment-627536479

https://github.com/ahezard/nds-bootstrap/issues/737#issuecomment-651986879

kaosjr commented 4 years ago

Ah, I didn't notice those while glancing through the history. Sorry about that. I'm still going to test anyways as obv if it still crashes on a 3ds it may point elsewhere.

Salavaro commented 4 years ago

I can confirm this issue is happening on 3DS systems, but I need to go into more detail to explain what exactly I've encountered (TL;DR at the bottom):

First, some context: I've been trying to randomize the Gen 4 and Gen 5 pokemon games so I could play them on my N3DS XL with Twilight Menu. I dumped the ones I was going to play since I already owned the physical copies (Platinum, Heart Gold, Black and Black 2) and applied the randomized "patch" through the Universal Randomizer program.

I am able to play through all of the unpatched games without issues. I haven't experienced a single crash or freeze in the unpatched games, and all of the games seem to get AP patched without any issue (No freezes in HG/SS, B/W or B2/W2, and I can gain exp in B/W and B2/W2).

I also have a usrcheat.dat file in my SD card with cheats for about 10-15 games, including these games. When I check for cheats in clean roms, the cheats show up accordingly and work properly.

I tested Randomized Platinum, and it seemed to work fine with no issues with default settings. I managed to make it to the 5th gym with 0 crashes and about 5-6 hours of uninterrupted playtime. I will try to complete the game (that is, beat the Elite 4) within 1-2 play sessions and see if I experience any issues.

Note: When I check for cheats in the rom of Platinum through Twilight Menu, it wasn't able to find any cheats, but it also didn't warn me about AP before launching the game, which might mean that the game was AP patched by Twilight Menu even though it was a randomized rom.

I tested Randomized Heart Gold and this is when the issues began. About 15-20 minutes into the game (basically I had just reached the 2nd town after getting my starter), both screens went black when transitioning from inside the Pokemon Center to the overworld. I tried to play through it again (I made a safety save after choosing my starter) and this time I managed to make it back to Prof. Elm's Lab with the egg, only for the game to freeze in the exact same way right after leaving the lab and going back into the overworld.

Note: I also checked for cheats in this rom with Twilight Menu and again none could be found, the difference this time being that whenever I go to start the game, Twilight Menu warned me about the game having AP. This might mean that whatever was supposed to recognize Heart Gold and apply the AP patch like it usually does, didn't recognize it.

I tested Randomized Black and I had some varied results. The first time I managed to make it to the first route and I quickly realized I wasn't gaining exp, so I knew there was an AP issue. I tried to play a little further until leaving the 2nd town but as I entered the Pokemon Center for the tutorial, the game froze in the same way Heart Gold did, I'd say that took about 15-20 minutes also. The second time I played I still wasn't gaining exp but I made it all the way to the 1st gym before the game froze again when I was exiting my team's menu back into the overworld.

Note: Black gave me the same result as Heart Gold when checking for cheats - no cheats could be found. And again, Twilight Menu warned me about AP before launching the game.

Randomized Black 2 was pretty much the same as Black, no exp gain, no cheats could be found, AP warning, game freezes (black screen while music still plays, like in Heart Gold and Black) within 15-20 minutes of playtime.

Changing Twilight Menu's launch settings didn't seem to make a difference. I'm able to play through all clean roms with all combinations of DS/DSi Mode and NTR/TWL speeds, and the issues still happen in the randomized roms regardless of settings.

However!

I also realized I had a Blaze Black (Black romhack) rom in my folders and decided to test it in Twilight Menu for comparison. To my surprise, not only did the game run properly, with exp gains and no crashes at all (I made it to the 4th gym without any issues), but Twilight Menu was able to find and apply the same cheats a clean rom of Black uses without problems, and never warned me about AP before launching the game. This test also told me that it doesn't seem to be a dump issue as my dumped, clean Black plays just fine, and the rom I used for Blaze Black was not the same copy (let alone dump) of the game, yet also plays just fine.

For further comparison, I tried playing through the clean roms (not the cartridges) of Platinum, Heart Gold, Black and Black 2 normally (all until I defeated the 1st gym) using the default settings, and they all seemed to work just fine.

TL;DR:

Using NA N3DS XL with latest Luma CFW, Twilight Menu and nds-bootstrap. Have usrcheat.dat file with cheats for Platinum/HG/Black/Black 2 and other games.

All unpatched, clean roms of Platinum, Heart Gold, Black and Black 2 work fine for me. Certain patched roms also seem to work fine (Blaze Black). Cheats work with both the clean roms and Blaze Black.

Patching roms with the Universal Randomizer causes issues with Heart Gold, Black and Black 2, though Platinum seems to work fine (might need to do further testing here).

Issues include black screens when the game transitions from a menu or building to another (HG/B/B2) and no exp gain due to a seeming lack of an anti piracy patch (B/B2). Twilight Menu also isn't able to find cheats for the randomized roms (Platinum/HG/B/B2), and warns me about the game having AP (HG/B/B2).

Changing Twilight Menu's launch settings didn't seem to make a difference. I'm able to play through all clean roms with all combinations of DS/DSi Mode and NTR/TWL speeds, and the issues still happen in the randomized roms regardless of settings.

My best guess with the very little and limited knowledge I have is that this is an issue with AP. The clean roms work just fine in my N3DS XL, but the randomized roms do not, and I'd guess it's because Twilight Menu isn't able to AP patch the randomized roms like it's able to patch the clean roms.

My next steps will be to complete the Randomized Platinum run to see if Platinum gives me any issues, and to AP patch the roms before randomizing them to see if that will fix the freezing and the lack of exp gain (for B/B2).

Salavaro commented 4 years ago

Update: I applied an AP patch to the Black rom before randomizing it, and sure enough it seems to work now even when randomized. My Pokemon are able to gain EXP and I've been playing for about 2 hours straight (just finished the second gym) without an issue, I've experienced no black screens, freezes or crashes. I'm going to test the other games now.

rlaphoenix commented 4 years ago

@Salavaro Can you test Diamond or Pearl, and play for a while after obtaining the Poketch app and note when you freeze if you do?

Salavaro commented 4 years ago

@Salavaro Can you test Diamond or Pearl, and play for a while after obtaining the Poketch app and note when you freeze if you do?

Sure thing, I have a copy of Pearl so I'll just dump it and try to test the game with any combination of AP patch and Randomizer. First I'll test the game clean for control purposes,

Note that Platinum never gave me any freezes even after obtaining the Poketch app, so that specific issue might be DSi related like @RocketRobz mentioned. Nevertheless, I'll let you know what I find.

Salavaro commented 4 years ago

@rlaPHOENiX

So, I tested Pearl without any patches, with only the Randomizer and with both the AP patch and the Randomizer applied. For the record, I got the poketch within 15-20 minutes into the game each time.

Without any patches, the game seems to run fine. I got to the 4th gym without experiencing any freezing, black screens or other issues, which is what I expected. I didn't keep playing the clean version given I expect it wouldn't have made any difference and this was just for comparison purposes really. Took me about two hours since I booted up the game.

With only the Randomizer, the game also seems to run fine. I didn't experience any freezes, black screens or other issues. I beat the 6th gym and stopped playing, which also took me about 2 hours (a bit less than the clean rom thanks to some OP randomizer combo :D).

With the Randomizer AND the AP patch (which I always applied to my games BEFORE randomizing them, should have noted that earlier), again the game seems to work fine, with no freezes, crashes or other issues. I got to the 5th gym and assumed the game was working fine, so I stopped before going into the gym leader. This run took me about an hour and a half or so

For the record, I tried spending about 10 minutes or so in the Underground in the clean and Randomizer only roms, and I didn't experience any freezes or other issues.

And I didn't activate nor did I try to use cheats in any of these tests. The clean rom of Pearl seems to recognize cheats, but just like Platinum, once the rom is randomized it stops doing so. Twilight Menu also never warned me about AP in any of the three versions of the rom I tested.

Specs you might want to know:

NA N3DS XL, latest firmware Latest release of Luma CFW Latest release of nds-boostrap Latest release of Twilight Menu All games were US Region

On a side note, I've now gained interest in speedrunning Pokemon Diamond/Pearl and am watching Werster's speedruns of it.

ccfman2004 commented 4 years ago

I have played Diamond Platinum extensively and have never had a crash.

N2DS XL 11.13.0-45U Luma3DS 10.2 TwiLightMenu++: 16.10 and later ones nds-bootstrap: latest nightly

With Diamond I am post-game with NationalDex With Platinum I am up to the Elite 4

I have no issues going underground.

The only time I had Diamond crash is when I used PKSM to inject some Wonder Cards when I started the game and tried to get them from the PokéMart dude. Removing the injected Wonder Cards solved the issue.

rlaphoenix commented 4 years ago

I've been playing quite heavily still, but this time I changed my poketch app to the Marking Map (so that it isn't anything to do with time) and I haven't had any freezes since. This adds more to the idea that it's a time polling problem.

diagnoser00 commented 4 years ago

First time posting anywhere online so apologies if i’m opening an old forum. I bought a DSi XL a few weeks ago to play the DS pokemon releases. I’m getting freezes in heartgold and soulsilver. It mainly seems to be either at random, but definitely occurs in the Wifi trading room, if i stand in the room long enough it will always freeze as the wifi LED blinks on my DSi. I can still hold R L DOWN and B to exit to Twilight menu, i have tried all the different settings, read all that is to be read online and tried manually AP patching roms. Formatted SD several times. Bought a new SD, tried nightly and release versions and thusly have resorted to using a flashcart. Twilight menu works great for most all my other games though! Thanks for your time and effort sorry to bother you all! :-)

rlaphoenix commented 4 years ago

Ok so, I started playing my Pokemon Diamond copy from an actual cartridge rather than a ROM from the SD. I booted the game from the "Select" menu for the "Classic" menu because I have no idea how else to boot the cartridge. It never froze on Pokemon Diamond, but I started Pokemon Platinum (on the actual cartridge the same way), and while in some menus in the underground it froze. Once again, the first freeze occuring AFTER I obtain the poketch.

What's really odd is it still has the problem of the Time randomly going to 00:00 and the overworld day-night cycle quickly cycles from everything as if it went 24 hours in 1 second, it even caused all the berries to instantly grow the minute I went off screen and back to them.

I guess this means all the errors I've had during my previous posts which ran from a ROM off the SD card, isn't related to errors reading from the SD card? As in not an error with nds-bootstrap? Is it possible this is a general error with launching content from nds-bootstrap or unlaunch?

What's crazy is none of my games boot through unlaunch's "cart:" menu option, it shows the cart name e.g. "POKEMON_D" for Pokemon Diamond, but booting it totally fails, just a black screen forever. Once I force power off and back on, the screen flickers insanely heavily too for a good 10-30 seconds and usually only fixes itself if I boot into something that causes the screen to refresh.

Stuff's weird haha

rlaphoenix commented 4 years ago

If I boot my Platinum cartridge with the original official DSi menu I never get any freezes. (Hold A while powering on to boot unlaunch, open "Launcher", select the Cartridge). I've been playing a good 30-40 minutes underground doing a ton of running around and spelunking and haven't encountered any freezes.

Edit: Booted the cartridge through the Select menu in TwilightMenu++, and within 30 seconds of being in the underground it froze.

rlaphoenix commented 4 years ago

https://github.com/ahezard/nds-bootstrap/issues/998

It seems like time polling related issues is more widely affected than assumed

rlaphoenix commented 4 years ago

Still happens as of v16.1.0

MDashK commented 4 years ago

Any news regarding a fix for this issue? I just started playing Soul Silver, tried with both a clean ROM and an AP Patched ROM and have experienced random freezes just like this.

RocketRobz commented 4 years ago

Nothing has been done yet.