Hacking Ultra sun game crashing "an Error Occured".

Pokemon Fan

Well-Known Member
OP
Member
Joined
Sep 14, 2009
Messages
123
Trophies
0
XP
256
Country
Brazil
I'm currently having a problem in my 3ds while playing pokemon ultra sun (and it also happened once with ultra moon both games in the s.d card), the game freezes and a black screen appears at the touch screen with this info:

"An error occurred (ErrDisp)

Error type: generic"

(along other info, sorry I did not took a picture just found out the error code is the most important to detect the problem:sad:)

When it happened it was always when I came back from sleep mode!!

Could it be a problem with luma after the latest firmware update? I have Luma 9.1 version.
Could it be bad S.D card? Should I format this one or get a new S.D card? If I back up all the data into my computer and then place it back in a new S.D card might this fix it? Or must I download the games again? I downloaded them in the old freeshop and I currently don't have FBI after the latest update. Please I don't want to lose my saves or my 3ds!! It worked perfectly for 2 years, only now is having this issue:(
 
Last edited by Pokemon Fan,

Pokemon Fan

Well-Known Member
OP
Member
Joined
Sep 14, 2009
Messages
123
Trophies
0
XP
256
Country
Brazil
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,939
Country
United States
Sorry sorry sorry. I had no Idea there was already a Luma 10.0.1. I'm still on Luma 9.1.
If you have a spare SD card, you can test if the crash happens on a good setup.
  1. Copy everything off the spare SD card. (The smaller, the better.) Recommended: 4 GB capacity minimum 8 GB or bigger capacity (forgot to account for the fact PKMN: USUM is a big game)
  2. Reformat it in FAT32 + 32 KB cluster size using Windows File Explorer or guiformat (if bigger than 32 GB).
  3. Full Write + Verify the empty card with H2testw. (This is where having a small card really helps.)
  4. If no error was reported, delete the *.h2w test files.
    • A hardware failed card must be discontinued and replaced. For the replacement card, go back to step 1.
5. Build a reference SD setup using the CFW starter kit. Do not add your main setup.

6. Install a fresh copy of Pokemon Ultra Sun.
7. If you have a previously made backed up save, use Checkpoint or JKSM to restore the save.
8. Recheck if the crash in Ultra Sun occurs after using sleep mode.
The above steps is to ensure you have a super clean SD card setup.
  • (A) If a crash occurs, something is probably wrong with the 3DS firmware.
  • (B) If a crash does not occur, something is wrong with your main SD card or its setup.
 
Last edited by TurdPooCharger,
  • Like
Reactions: Skl3ros

Pokemon Fan

Well-Known Member
OP
Member
Joined
Sep 14, 2009
Messages
123
Trophies
0
XP
256
Country
Brazil
If you have a spare SD card, you can test if the crash happens on a good setup.
  1. Copy everything off the spare SD card. (The smaller, the better.) Recommended: 4 GB capacity minimum 8 GB or bigger capacity (forgot to account for the fact PKMN: USUM is a big game)
  2. Reformat it in FAT32 + 32 KB cluster size using Windows File Explorer or guiformat (if bigger than 32 GB).
  3. Full Write + Verify the empty card with H2testw. (This is where having a small card really helps.)
  4. If no error was reported, delete the *.h2w test files.
    • A hardware failed card must be discontinued and replaced. For the replacement card, go back to step 1.
5. Build a reference SD setup using the CFW starter kit. Do not add your main setup.

6. Install a fresh copy of Pokemon Ultra Sun.
7. If you have a previously made backed up save, use Checkpoint or JKSM to restore the save.
8. Recheck if the crash in Ultra Sun occurs after using sleep mode.
The above steps is to ensure you have a super clean SD card setup.
  • (A) If a crash occurs, something is probably wrong with the 3DS firmware.
  • (B) If a crash does not occur, something is wrong with your main SD card or its setup.
I will format the one I already have and then just copy everything back from the computer into it again. Will everything work again this way? I will not install a new game
 
Last edited by Pokemon Fan,

Pokemon Fan

Well-Known Member
OP
Member
Joined
Sep 14, 2009
Messages
123
Trophies
0
XP
256
Country
Brazil
Hey man, Which from this files are useless by now? I have not deleted anything pre-Godmode:
 

Attachments

  • imagem22.JPG
    imagem22.JPG
    52 KB · Views: 230
Last edited by Pokemon Fan,

Pokemon Fan

Well-Known Member
OP
Member
Joined
Sep 14, 2009
Messages
123
Trophies
0
XP
256
Country
Brazil
If you have a spare SD card, you can test if the crash happens on a good setup.
  1. Copy everything off the spare SD card. (The smaller, the better.) Recommended: 4 GB capacity minimum 8 GB or bigger capacity (forgot to account for the fact PKMN: USUM is a big game)
  2. Reformat it in FAT32 + 32 KB cluster size using Windows File Explorer or guiformat (if bigger than 32 GB).
  3. Full Write + Verify the empty card with H2testw. (This is where having a small card really helps.)
  4. If no error was reported, delete the *.h2w test files.
    • A hardware failed card must be discontinued and replaced. For the replacement card, go back to step 1.
5. Build a reference SD setup using the CFW starter kit. Do not add your main setup.

6. Install a fresh copy of Pokemon Ultra Sun.
7. If you have a previously made backed up save, use Checkpoint or JKSM to restore the save.
8. Recheck if the crash in Ultra Sun occurs after using sleep mode.
The above steps is to ensure you have a super clean SD card setup.
  • (A) If a crash occurs, something is probably wrong with the 3DS firmware.
  • (B) If a crash does not occur, something is wrong with your main SD card or its setup.
So, apparently there's a file from JKSV from a back up I did from pokemon Y that it's not even opening in the pc. It's giving the message "couldn't read the disk data" when I try to open the folder... So it's probably the corrupted data that is messing me up. I'll try fixing the error with the program easeUS and see if it gets better... Thank god the problem is not in the Nintendo3DS folder, I was able to copy the folder entirely to my external HD.
Do you recommend me that I repair the problems with the card full with the 3ds data or that I format first? I really want to keep using the same S.D its 16GB!
If I format and place the old files(games etc...) back will they all work?

Edit: easeUS did not find any problem with the S.D card...
 
Last edited by Pokemon Fan,
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,939
Country
United States
I will format the one I already have and then just copy everything back from the computer into it again. Will everything work again this way? I will not install a new game
You would not be doing yourself any favor if you don't check the (empty) SD card in H2testw.

Test the hardware condition before reusing it again. Any reported errors requires replacing the card.

Whether you know it or not, continually using a fake or dying card will further corrupt whatever data and saves you have in your setup.

If you don't plan to reinstall Pokemon Ultra Sun, at least check if the copy that's currently in your Nintendo 3DS folder can be backed up as CIA.
If GodMode9 fails to make that game into a CIA, that means failed hash check due to data corruption caused by a bad card.

Hey man, Which from this files are useless by now? I have not deleted anything pre-Godmode:
  • GodMode9 → press (HOME) button → Scripts...GM9Megascript → Scripts from Plailect's Guide → Cleanup SD Card
These you can also remove from the SD card:
  • arm9.bin
  • arm11.bin
  • boot.firm.bak (redundant boot.firm after updating Luma3DS)
  • exception_dump_parser.py (sourced from Luma3DS release; not needed)
  • freeShop-latest.cia (no longer works)
  • otherapp.bin (Not needed. Use Rosalina menu HBL injection)
So, apparently there's a file from JKSV from a back up I did from pokemon Y that it's not even opening in the pc. It's giving the message "couldn't read the disk data" when I try to open the folder... So it's probably the corrupted data that is messing me up. I'll try fixing the error with the program easeUS and see if it gets better... Thank god the problem is not in the Nintendo3DS folder, I was able to copy the folder entirely to my external HD.
Do you recommend me that I repair the problems with the card full with the 3ds data or that I format first? I really want to keep using the same S.D its 16GB!
If I format and place the old files(games etc...) back will they all work?
Not reformatting and scanning the card in H2testw means you blindly trust it to hold your data when it might no longer be reliable.

To help you understand the importance of checking, imagine your SD card as if it was a balloon. To test whether or not it has a tiny pin hole or micro tear, you fill it up with water or air to see or hear if it leaks.
That's what H2testw is like for your SD card.
 

Pokemon Fan

Well-Known Member
OP
Member
Joined
Sep 14, 2009
Messages
123
Trophies
0
XP
256
Country
Brazil
You would not be doing yourself any favor if you don't check the (empty) SD card in H2testw.

Test the hardware condition before reusing it again. Any reported errors requires replacing the card.

Whether you know it or not, continually using a fake or dying card will further corrupt whatever data and saves you have in your setup.

If you don't plan to reinstall Pokemon Ultra Sun, at least check if the copy that's currently in your Nintendo 3DS folder can be backed up as CIA.
If GodMode9 fails to make that game into a CIA, that means failed hash check due to data corruption caused by a bad card.

Ok, but with only 16 GB I'll have to make a CIA from Pokemon Moon and Pokemon Ultra Sun separately. To play a CIA you need FBI right?

I will make a back up from all the files, format the S.D card and H2tesw it. If no problem is found, when I return the "Nintendo 3DS" Folder will all the games work?

  • GodMode9 → press (HOME) button → Scripts...GM9Megascript → Scripts from Plailect's Guide → Cleanup SD Card
These you can also remove from the SD card:
  • arm9.bin
  • arm11.bin
  • boot.firm.bak (redundant boot.firm after updating Luma3DS)
  • exception_dump_parser.py (sourced from Luma3DS release; not needed)
  • freeShop-latest.cia (no longer works)
  • otherapp.bin (Not needed. Use Rosalina menu HBL injection .


Could All these old files be the source of my problem? The other day my 3DS complete shutted down while I was playing. The error message did not even appear!
One other possible reason I thought could've caused this is that one day I took the S.D card while the 3DS was turned off but the charger adapter was connected...
 
Last edited by Pokemon Fan,
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,939
Country
United States
Ok, but with only 16 GB I'll have to make a CIA from Pokemon Moon and Pokemon Ultra Sun separately. To play a CIA you need FBI right?

I will make a back up from all the files, format the S.D card and H2tesw it. If no problem is found, when I return the "Nintendo 3DS" Folder will all the games work?
Don't use the 16 GB card at all. Not until you can verify that the card is good after you copy everything off it, reformat, scan it while it's empty in H2testw, and it passes without any errors in H2testw.

You should not backup titles, play games, or move around files with that card because as previously said, the card is not trustworthy.

***

When the game is copied over to a good card, the backing up into CIA is to check if the game was corrupted when it was on the bad card. Keep in mind this does not check if that game's save data was affected.

The game and its save are separate files.

***

:!: Do not FBI reinstall a game you backed up into CIA. That will overwrite and delete whatever save you have in place for that game.

If you find any games that were corrupted, you will need to use CTRTransfer (Type D9) - Rebuild 3DS Database: Option (B) Full -or- Option (C) Manual when pulling copies of those saves out the Nintendo 3DS folder, reinstall fresh copies for affected games, and then restore the saves with the option's part two.

Could All these old files be the source of my problem? The other day my 3DS complete shutted down while I was playing. The error message did not even appear!
Those are orphanage files that do nothing. Having them there do not cause problems. You remove them because they're outdated or no longer serve a purpose in modern 3DS custom firmware.
 
Last edited by TurdPooCharger,

Pokemon Fan

Well-Known Member
OP
Member
Joined
Sep 14, 2009
Messages
123
Trophies
0
XP
256
Country
Brazil
Don't use the 16 GB card at all. Not until you can verify that the card is good after you copy everything off it, reformat, scan it while it's empty in H2testw, and it passes without any errors in H2testw.

You should not backup titles, play games, or move around files with that card because as previously said, the card is not trustworthy.

***
Well, I have atleast to back up the saves that are in the card right?! Can't lose those saves...

When the game is copied over to a good card, the backing up into CIA is to check if the game was corrupted when it was on the bad card. Keep in mind this does not check if that game's save data was affected.

The game and its save are separate files.

***

:!: Do not FBI reinstall a game you backed up into CIA. That will overwrite and delete whatever save you have in place for that game.

So, when I do this back up into CIA, will I have 2 Ultra Sun games in the home menu (the old one from the nintendo 3ds folder and the CIA one? And both with the same save????

If you find any games that were corrupted, you will need to use CTRTransfer (Type D9) - Rebuild 3DS Database: Option (B) Full -or- Option (C) Manual when pulling copies of those saves out the Nintendo 3DS folder, reinstall fresh copies for affected games, and then restore the saves with the option's part two.

What??? Isn't JKSV enough?? :(
 
Last edited by Pokemon Fan,
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,939
Country
United States
Well, I have atleast to back up the saves that are in the card right?! Can't lose those saves...
You do that by copying everything that's on the 16 GB SD card over to a computer. You have to use a computer or external hard drive that's big enough to copy everything to.

So, when I do this back up into CIA, will I have 2 Ultra Sun games in the home menu (the old one from the nintendo 3ds folder and the CIA one? And both with the same files????
You will have only one Pokemon Ultra Sun on HOME Menu. It's the one found in the Nintendo 3DS folder.

The back up made into CIA will be a file found at:
  • sdmc:/gm9/out/00040000001B5000 Pokemon Ultra Sun.cia
Again, you do not reinstall that CIA because it will delete the save that's already installed.

If you cannot backup Ultra Sun into CIA, that means your copy in Nintendo 3DS is corrupt and needs to be replaced.

What??? Isn't JKSV enough?? :(
The more backed up saves, the merrier! When everything is copied over to a good card, back up all your current saves in JKSM or Checkpoint before you test build CIAs or rebuild the library.
 

Pokemon Fan

Well-Known Member
OP
Member
Joined
Sep 14, 2009
Messages
123
Trophies
0
XP
256
Country
Brazil
The more backed up saves, the merrier! When everything is copied over to a good card, back up all your current saves in JKSM or Checkpoint before you test build CIAs or rebuild the library.

Hey man, I want to update JKSV and do another back up of my SD card games' saves before I do everything else. But in one of those innumerous firmware updates I lost FBI that was in the health and safety Icon. What can I do now to install CIAs? To update the JKSV all I have to do is reinstall its CIA right?

Edit: Never Mind. Got it. Will Install Checkpoint.

Edit2: Another thing came to my mind: Could the problem be in the Micro SD adapter? I can use an old one from my old 8GB card with this 16GB right?
 
Last edited by Pokemon Fan,
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,939
Country
United States
Hey man, I want to update JKSV and do another back up of my SD card games' saves before I do everything else. But in one of those innumerous firmware updates I lost FBI that was in the health and safety Icon. What can I do now to install CIAs? To update the JKSV all I have to do is reinstall its CIA right?

Edit: Never Mind. Got it. Will Install Checkpoint.

Edit2: Another thing came to my mind: Could the problem be in the Micro SD adapter? I can use an old one from my old 8GB card with this 16GB right?
When you system updated the 3DS firmware, you * probably replaced the Health & Safety with a newer version.
It's better to backup the saves later once you have everything copied over to a good card.

***

Micro SD adapter can and do go bad. You can usually tell the micro-to-standard adapter needs to be replaced when you can't get the 3DS to read & write to the microSD card. Try using another (less used) adapter to rule this out.

Don't skip the H2testw.
 
Last edited by TurdPooCharger,

Pokemon Fan

Well-Known Member
OP
Member
Joined
Sep 14, 2009
Messages
123
Trophies
0
XP
256
Country
Brazil
When you system updated the 3DS firmware, you must replaced Health & Safety with a newer version.
It's better to backup the saves later once you have everything copied over to a good card.

***

Micro SD adapter can and do go bad. You can usually tell the micro-to-standard adapter needs to be replaced when you can't the 3DS to read & write to the microSD card. Try using another (less used) adapter to rule this out.

Don't skip the H2testw.

H2testw Done! The problem is not in the S.D card. Now I'll do the back up CIA and then change the adapter.
Edit: Oh and I installed FBI.cia from rosalina 2.0.0 homebrew. It is not under Health and safety.
teste.JPG
 
Last edited by Pokemon Fan,

Pokemon Fan

Well-Known Member
OP
Member
Joined
Sep 14, 2009
Messages
123
Trophies
0
XP
256
Country
Brazil
Alright while going to dump the games as CIA I found this, TWO .tmds of both games also 2 poke bank!! Which one I select?
20190820_191157 .1.JPG
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,939
Country
United States
H2testw Done! The problem is not in the S.D card. Now I'll do the back up CIA and then change the adapter.
Edit: Oh and I installed FBI.cia from rosalina 2.0.0 homebrew. It is not under Health and safety.
Good. You may now continue test CIA dumping Pokemon Ultra Sun or rebuilding your setup if it's required.

Alright while going to dump the games as CIA I found this, TWO .tmds of both games also 2 poke bank!! Which one I select?

The ones that start with 00040000 are game titles while the 0004000E are their accompanying update titles.

You can rebuild all four (4) of those into CIAs to rule out the possibility the crashes are caused by either the games or their updates.
 

Pokemon Fan

Well-Known Member
OP
Member
Joined
Sep 14, 2009
Messages
123
Trophies
0
XP
256
Country
Brazil
Good. You may now continue test CIA dumping Pokemon Ultra Sun or rebuilding your setup if it's required.



The ones that start with 00040000 are game titles while the 0004000E are their accompanying update titles.

You can rebuild all four (4) of those into CIAs to rule out the possibility the crashes are caused by either the games or their updates.
If one of those 4 don't make it to being a CIA then it's the one with the problem right?
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,939
Country
United States
If one of those 4 don't make it to being a CIA then it's the one with the problem right?
That is correct. The ones that fail to get dumped back into CIAs are bad installations.
You would have to downloaded replacement CIAs from somewhere and reinstall/replace those bad ones.

However, if you manage to dump all of them into CIAs with no problem, that means your games and updates have intact data, and that your game crashes is caused by something else.
 

Pokemon Fan

Well-Known Member
OP
Member
Joined
Sep 14, 2009
Messages
123
Trophies
0
XP
256
Country
Brazil
That is correct. The ones that fail to get dumped back into CIAs are bad installations.
You would have to downloaded replacement CIAs from somewhere and reinstall/replace those bad ones.

However, if you manage to dump all of them into CIAs with no problem, that means your games and updates have intact data, and that your game crashes is caused by something else.

I'm really thinking it might be a falty contact in the adapter or even inside the 3ds. Like I said , a few days ago I closed the game, left the 3ds on the home menu, closed it and when I went back from sleep mode after a few hours everything that was in the SD was not showing on the screen( luma, pokebank, JKSV , the games...), like as if the SD card was ejected.
 
Last edited by Pokemon Fan,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Sorry for accidentally bending over