So I created a mod for Animal Crossing: New Leaf to insert myself as a custom villager (it's a gift for my girlfriend). When I build the romfs file and apply it with HANS, it works perfectly. But although I've tried several different ways to create a CIA, they all crash immediately on launch, with the generic "An error has occured" message.
I have tried the following steps:
- I built the CIA using makerom. I used a default rsf I found here: (https://gist.githubusercontent.com/...69e4519a6e0007f997f0bc1d680cbd5716d15/app.rsf) (although I had to fix a typo on line 79), and my command line argument was (recalling from memory, excluding file path arguments) "makerom -target t -f cia -i <path>:1:1" Result: Once installed, the app had no banner, no icon, no name, and crashed immediately on run. (In addition, when I went to uninstal in system settings, the system reported the app was 0 blocks. The CIA was also 1.5GB, when every other method I tried gave a CIA of about 750MB)
- I used the PackHack 3ds builder to make a .3ds CXI file (I tried both CARD1 and CARD2 options). I then used Riku's 3DS to CIA converter to make the CIAs. I did not provide the xorpads because, as I undersrand it, the 3ds builder created unencrypted CXIs. Result: Once installed, the app had the correct icon and name, but still no banner. It still crashed immediately on run.
- I used the PackHack 3ds builder to make a .3ds CXI file (I only tried CARD1 this time). I then used ihaveamac's 3dsconv to create the CIA. But 3dsconv said the .3ds file was encrypted (weird, because Riku's script didn't have a problem with it). So I made the ncchinfo.bin and used Decrypt9WIP to get the xorpads. But 3dsconv rejected the pads, saying they were either corrupt or not the correct pads (I checked the titleID of the xorpad, and it was the correct ID.)
I feel like I've tried everything, and I don't understand why it's not working. Am I missing something obvious or doing something wrong? Any help would be greatly appreciated. I can provide any of the files I was working with if anyone thinks they would help, but I'm not sure which ones would be most helpful, and some of them are pretty large.
Thank you, to anyone who's willing to take a look at this for me. I really appreciate it.
I have tried the following steps:
- I built the CIA using makerom. I used a default rsf I found here: (https://gist.githubusercontent.com/...69e4519a6e0007f997f0bc1d680cbd5716d15/app.rsf) (although I had to fix a typo on line 79), and my command line argument was (recalling from memory, excluding file path arguments) "makerom -target t -f cia -i <path>:1:1" Result: Once installed, the app had no banner, no icon, no name, and crashed immediately on run. (In addition, when I went to uninstal in system settings, the system reported the app was 0 blocks. The CIA was also 1.5GB, when every other method I tried gave a CIA of about 750MB)
- I used the PackHack 3ds builder to make a .3ds CXI file (I tried both CARD1 and CARD2 options). I then used Riku's 3DS to CIA converter to make the CIAs. I did not provide the xorpads because, as I undersrand it, the 3ds builder created unencrypted CXIs. Result: Once installed, the app had the correct icon and name, but still no banner. It still crashed immediately on run.
- I used the PackHack 3ds builder to make a .3ds CXI file (I only tried CARD1 this time). I then used ihaveamac's 3dsconv to create the CIA. But 3dsconv said the .3ds file was encrypted (weird, because Riku's script didn't have a problem with it). So I made the ncchinfo.bin and used Decrypt9WIP to get the xorpads. But 3dsconv rejected the pads, saying they were either corrupt or not the correct pads (I checked the titleID of the xorpad, and it was the correct ID.)
I feel like I've tried everything, and I don't understand why it's not working. Am I missing something obvious or doing something wrong? Any help would be greatly appreciated. I can provide any of the files I was working with if anyone thinks they would help, but I'm not sure which ones would be most helpful, and some of them are pretty large.
Thank you, to anyone who's willing to take a look at this for me. I really appreciate it.