Hacking Master Detective Archives: RAIN CODE - "The software was closed because an error occurred"

SerJonSnow

Member
OP
Newcomer
Joined
Aug 1, 2023
Messages
8
Trophies
0
Age
31
XP
24
Country
Canada
Hi everyone. I was struggling to solve this problem over the weekend and I'm still stumped.

I've downloaded the most recent version of Rain Code (1.3.1) from Tinfoil, and it installed fine. However, whenever I try to launch it, it will show the Switch logo, then a black screen, and then eventually the message "The software was closed because an error occurred".

I've tried doing a clean install of the game through Tinfoil, and I've also tried downloading the NSZ files and installing via USB. It installs fine, but won't launch past that crash. Other games work fine (I just finished playing Shin Megami Tensei V with no problems).

I've got the most recent version of Hekate (6.0.5) and Atmosphere (1.5.4) installed. I thought maybe the sigpatches were outdated so I redownloaded those over the weekend, but that didn't make a difference either.

I found another post where a user mentioned that they'd had this error recently and they solved it by creating a new user profile that doesn't have a Nintendo account tied to it, but that didn't work for me either.

Has anyone else encountered this issue or got any ideas at all?
 

baobao43

Active Member
Newcomer
Joined
Nov 2, 2022
Messages
40
Trophies
0
Age
40
XP
217
Country
Canada
I have this same issue from time to time. I fixed it by turning off the switch and going into maintenance mode. You don't need to do anything just enter and exit. This fixed the issue for me on a couple games. It must be clearing some cache or something that happens when you enter that mode. Not sure why it works but it works.

EDIT: To enter MM hold volume up and down while powering on your switch. If You have auto RCM enabled you can just hold volume up and down while starting atmosphere. Also, this step might not be necessary but I manually erased the all files involved so the game, update, and dlc using DBI before I did the maintenance mode thing. Then after erasing and entering maintenance mode I re installed.




"How to enter Maintenance mode​



You can boot into maintenance mode by following these steps:

  1. Power off your console completely.
  2. hold (VOL +) & (VOL -) while booting into atmosphere.

What is maintenance mode used for?​



Maintenance mode is used to reset the cache for your Switch. This can be used to remove the firmware update nag (this only works on erista devices), or to fix a game that might not be launching." --- from the Rentry FAQ section
 
Last edited by baobao43,
  • Like
Reactions: SerJonSnow

SerJonSnow

Member
OP
Newcomer
Joined
Aug 1, 2023
Messages
8
Trophies
0
Age
31
XP
24
Country
Canada
I have this same issue from time to time. I fixed it by turning off the switch and going into maintenance mode. You don't need to do anything just enter and exit. This fixed the issue for me on a couple games. It must be clearing some cache or something that happens when you enter that mode. Not sure why it works but it works.

EDIT: To enter MM hold volume up and down while powering on your switch. If You have auto RCM enabled you can just hold volume up and down while starting atmosphere. Also, this step might not be necessary but I manually erased the all files involved so the game, update, and dlc using DBI before I did the maintenance mode thing. Then after erasing and entering maintenance mode I re installed.




"How to enter Maintenance mode​



You can boot into maintenance mode by following these steps:

  1. Power off your console completely.
  2. hold (VOL +) & (VOL -) while booting into atmosphere.

What is maintenance mode used for?​



Maintenance mode is used to reset the cache for your Switch. This can be used to remove the firmware update nag (this only works on erista devices), or to fix a game that might not be launching." --- from the Rentry FAQ section
Thank you for the incredibly detailed response! I especially appreciate the instructions on how to enter maintenance mode with auto RCM enabled.

Unfortunately, maintenance mode didn't fix the problem for me. I tried both with and without reinstalling the game/update/DLC, but I still get the same error when I open the game, even after entering and exiting maintenance mode.
 
  • Sad
Reactions: baobao43

baobao43

Active Member
Newcomer
Joined
Nov 2, 2022
Messages
40
Trophies
0
Age
40
XP
217
Country
Canada
That sucks. I don't have any other ideas unfortunately. Hopefully someone more knowledgeable than me can give you advice here soon.
 
  • Like
Reactions: SerJonSnow

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,329
Trophies
2
XP
18,206
Country
Sweden
Sorry, I should have mentioned I'm on Emunand. The current version that shows up in System is 13.2.1|AMS 1.5.4|E
13.2.1? You need to update. There is your problem. Latest FW is 16.0.3

EDIT: Raincode Eshop version require 16.0.1 and updates 16.0.3
Dumped XCI require 14.0.0
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,329
Trophies
2
XP
18,206
Country
Sweden
Tip, just update inside your Emunand with Daybreak and get the firmware 16.0.3 (Rebootless) from Darth

If you use Tesla btw, you need to update it and it's overlays before 16.0.3
 

SerJonSnow

Member
OP
Newcomer
Joined
Aug 1, 2023
Messages
8
Trophies
0
Age
31
XP
24
Country
Canada
Wow this is very embarrassing; I thought updating Hekate and Atmosphere was updating the firmware! I've had my Switch hacked for a year and a half, and I can't believe this is the first time I've run into this issue.

I'm assuming the UpgradeDowngrade page on Rentry is the best guide to follow for how to update then, along with the instructions you've provided? I do see that there's a firmware file in Tinfoil; does that work at all, or is it better to follow the Rentry guide and get the firmware like you suggested?
 

SerJonSnow

Member
OP
Newcomer
Joined
Aug 1, 2023
Messages
8
Trophies
0
Age
31
XP
24
Country
Canada
Well that was completely painless. And what do you know, the game launches perfectly fine now! I still can't believe this was the first game that gave me a problem with such an old firmware.

On a related note, how do you decide when it's safe to update the Emunand firmware? I always see these posts on the <Yaharr> subreddit warning people not to update, so how often would you update Emunand firmware?
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,329
Trophies
2
XP
18,206
Country
Sweden
Honestly, if you just gonna play pirated games etc on the emunand. It shouldn't be any danger really. Normally just update the FW after Atmosphere and Hekate is updated. And Signature patches.

Of course you can make a backup of your Emunand before an update in case something went wrong.
 
  • Like
Reactions: SerJonSnow

SerJonSnow

Member
OP
Newcomer
Joined
Aug 1, 2023
Messages
8
Trophies
0
Age
31
XP
24
Country
Canada
Honestly, if you just gonna play pirated games etc on the emunand. It shouldn't be any danger really. Normally just update the FW after Atmosphere and Hekate is updated. And Signature patches.

Of course you can make a backup of your Emunand before an update in case something went wrong.
That's good to know, so pretty much just after Hekate/Atmosphere/Sigpatches are updated.

Thanks so much for your help!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    It must be the 1st already
  • BakerMan @ BakerMan:
    1st of what?
  • BakerMan @ BakerMan:
    may?
  • K3Nv2 @ K3Nv2:
    Oh yeah it's in September
  • Xdqwerty @ Xdqwerty:
    @BakerMan, yea i think its different
  • BakerMan @ BakerMan:
    ok, because here it's in september, right before the fuckin school year starts
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
    TwoSpikedHands @ TwoSpikedHands: I appreciate the insight!