Homebrew Question Possible to install split .XCI files in Atmosphere?

cloudfe

Well-Known Member
OP
Member
Joined
Feb 24, 2013
Messages
387
Trophies
1
Age
39
XP
2,123
Country
Belgium
Fine, I give up. I won't even contest several of the wrong accusations he made (while being guilty of others).

All I wanted was to play FFX/X-2 with Japanese audio (I'm learning the language), and I could only do it with Atmosphere. But after four straight days of research, trials, errors, and now this, it's just not worth it.

Thank you to all the others who tried to help me out, I really appreciate it. In the course of the last several years, I could always find help on this site.
I hope the scene keeps thriving.

EDIT: and @notimp, whatever it is the cause of your suffering (we both know it's not n00bs like me), I hope you'll find the help you need. Best of luck.
 
Last edited by cloudfe,

FanboyKilla

Well-Known Member
Member
Joined
Mar 9, 2019
Messages
289
Trophies
0
XP
1,105
Country
United States
I can almost GUARANTEE that your problem is because you're microSD card is formatted with exFAT! Format it with FAT32 and all your problems will be solved.
 

FanboyKilla

Well-Known Member
Member
Joined
Mar 9, 2019
Messages
289
Trophies
0
XP
1,105
Country
United States
I’m on FAT32 actually.

Hmm, those Tinfoil errors are usually spot on for having exFAT. Where did you download your version of Tinfoil from? I know it works 100% because I myself am on 6.2.0 and I just used it to install MK11 today on my Switch. Also, what app are you using on your desktop to send files to Tinfoil?
 

cloudfe

Well-Known Member
OP
Member
Joined
Feb 24, 2013
Messages
387
Trophies
1
Age
39
XP
2,123
Country
Belgium
The fact is, I've discovered I can install games via USB using Goldleaf and Goldtree (I've tried with both a recent and an old title). Just not the one I need - which is FFX/X-2.

In the end, when I had already given up, I reformatted the SD card to exFAT to see if the problem I had with this specific game had something to do with USB installing.
I've got errors again (this time different ones) with several utilities, until I tried again with Goldleaf and Goldtree. And it did manage to install the two NSPs. But two things happened: the game said the second NSP was missing (the X-2 part), and the modification I've read about in this thread did not work - which was the whole point of my crusade...

At this point in my adventure I chose my health, reformatted to fat32, and installed the XCI in SX OS.
Too many weird variables for me to exactly pinpoint the real problem.
It's a shame though. I really wanted to play it with Japanese audio...

EDIT: I did find a few mentions online of other people having problems with this exact game, but I couldn't replicate their method to make it work.
 
Last edited by cloudfe,

Budsixz

Gbatemp Gamemer
Member
Joined
Oct 27, 2018
Messages
466
Trophies
1
Age
30
XP
1,848
Country
India
The fact is, I've discovered I can install games via USB using Goldleaf and Goldtree (I've tried with both a recent and an old title). Just not the one I need - which is FFX/X-2.

In the end, when I had already given up, I reformatted the SD card to exFAT to see if the problem I had with this specific game had something to do with USB installing.
I've got errors again (this time different ones) with several utilities, until I tried again with Goldleaf and Goldtree. And it did manage to install the two NSPs. But two things happened: the game said the second NSP was missing (the X-2 part), and the modification I've read about in this thread did not work - which was the whole point of my crusade...

At this point in my adventure I chose my health, reformatted to fat32, and installed the XCI in SX OS.
Too many weird variables for me to exactly pinpoint the real problem.
It's a shame though. I really wanted to play it with Japanese audio...

EDIT: I did find a few mentions online of other people having problems with this exact game, but I couldn't replicate their method to make it work.
see what i do to install xci
1. Install kosmos package and all es patches
2. install goldleaf 0.5 and goldtree on your pc
3. Convert xci to nsp via 4nxci. youll need keys via hekate and lockpick
4. install the newly acquired nsp via usb

OR
1. Install kosmos package and all es patches
2. Install tinfoil from www.tinfoil.io. Download nut.exe from that same website.
that tinfoil supports xci installation directly without coverting so pretty straight forward
 

cloudfe

Well-Known Member
OP
Member
Joined
Feb 24, 2013
Messages
387
Trophies
1
Age
39
XP
2,123
Country
Belgium
see what i do to install xci
1. Install kosmos package and all es patches
2. install goldleaf 0.5 and goldtree on your pc
3. Convert xci to nsp via 4nxci. youll need keys via hekate and lockpick
4. install the newly acquired nsp via usb

OR
1. Install kosmos package and all es patches
2. Install tinfoil from www.tinfoil.io. Download nut.exe from that same website.
that tinfoil supports xci installation directly without coverting so pretty straight forward

The first option I had already tried, and unfortunately it failed.
It is possible something went wrong with the keys (since Lockpick doesn't work for me and I had to create them with XCI Explorer) but I cannot confirm this.

For the second option, I've tried tinfoil (the .io version) after retrying with exFAT and the SD installation (see previous posts), but failed (only Goldleaf succeeded, but then the Japanese audio patch did not work).

Thank you once again for trying to help, but I really did give up on this.
I may try once again in the future, but in the meantime I have to let this go, otherwise I'll obsess over it - I know myself...
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,384
Trophies
2
XP
18,306
Country
Sweden
The first option I had already tried, and unfortunately it failed.
It is possible something went wrong with the keys (since Lockpick doesn't work for me and I had to create them with XCI Explorer) but I cannot confirm this.

For the second option, I've tried tinfoil (the .io version) after retrying with exFAT and the SD installation (see previous posts), but failed (only Goldleaf succeeded, but then the Japanese audio patch did not work).

Thank you once again for trying to help, but I really did give up on this.
I may try once again in the future, but in the meantime I have to let this go, otherwise I'll obsess over it - I know myself...
I would recommend you check some dark place for a proper full xci or nsp. Maybe it's borked?
 

cloudfe

Well-Known Member
OP
Member
Joined
Feb 24, 2013
Messages
387
Trophies
1
Age
39
XP
2,123
Country
Belgium
I would recommend you check some dark place for a proper full xci or nsp. Maybe it's borked?

I thought so, but on SX OS it works perfectly fine.
For good measure, I looked in dark places to compare my poor results with another copy of the game, but I got the same poor results.
 

Budsixz

Gbatemp Gamemer
Member
Joined
Oct 27, 2018
Messages
466
Trophies
1
Age
30
XP
1,848
Country
India
I thought so, but on SX OS it works perfectly fine.
For good measure, I looked in dark places to compare my poor results with another copy of the game, but I got the same poor results.
as far as i know there was a change in process of getting keys since 6.2
how i got my keys was doing something in hekate and then to lockpick
also had to rename the files to something i forgot and then put them in the 4nxci folder along with the xci file
 

cloudfe

Well-Known Member
OP
Member
Joined
Feb 24, 2013
Messages
387
Trophies
1
Age
39
XP
2,123
Country
Belgium
as far as i know there was a change in process of getting keys since 6.2
how i got my keys was doing something in hekate and then to lockpick
also had to rename the files to something i forgot and then put them in the 4nxci folder along with the xci file

The keys part seemed to work well (at least it looked like it).
Too many variables. I guess we’ll never know.
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,384
Trophies
2
XP
18,306
Country
Sweden
I thought so, but on SX OS it works perfectly fine.
For good measure, I looked in dark places to compare my poor results with another copy of the game, but I got the same poor results.
So strange. I wish to solve it because it's a challenge.
 

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,384
Trophies
2
XP
18,306
Country
Sweden
Got any other game or such to test? A homebrew nsp would be intresting to test to install as well.
 

notimp

Well-Known Member
Member
Joined
Sep 18, 2007
Messages
5,779
Trophies
1
XP
4,420
Country
Laos
I'd still be happier if hekate and lockpick worked, because thats the way probably most of us went with this. I doubt that someone in here used XCI explorer - so this adds uncertainty.

But then again, as long as 4nxci doesnt trow an error during conversion, you are fine there.

"It failed" still is no error description, we have to know what went wrong in a 4 step process. And if there was an error message. :)

If one nsp package installed fine after conversion, and another one (released at roughly the same time, with no key changes in between) does not - its either that you did something different, or - if not - something strange with that specific package format. It happens rarely - but 4xci needed to be patched in the past for specific multi .nsp .xci's

The only other explaination is, that they are compressed with different keys, and you only got one - BOTH of which is very unlikely as well. At least if you used ctcers hekate (https://github.com/CTCaer/hekate/releases) and Lockpick (https://gbatemp.net/threads/lockpick-switch-key-derivation-homebrew.525575/). If you used an older version of Hekate from an entirely different source - this may be your first issue.

From all your descriptions we still dont know where you fail.

-- The first stumbling block is hekate (current version?!) failing to extract TSEC. Thats literally something that doesnt happen. If it happens, it could mean defective boot0, or defective sdcard, or no space on the sdcard, but not much else.

If we are dealing with those sort of problems, first guess is you bought a fake SD card. Congratulations. But then again - we cant find out, you have to test that.

-- Lockpick should then run without an issue, new versions are patched for what changed after 6.0.1

-- This gives you the key files, which you drop (with a certain filename - double check that) next to 4nxci

-- At which point you will be able to convert the .xci - unless you run into a VERY unexpected issue

-- Goldleaf (https://github.com/XorTroll/Goldleaf/releases) is still your best bet to install .nsps - by default it also needs the keys at /switch/prod.keys on the sdcard (double check if they are the correct ones)

Then you can also run into an issue with Goldtree not recognizing your switch, which is why you should only connect the USB cable, once Goldleaf on your switch is running.

-- make sure you are on the current version of atmosphere
-- make sure you have the current version of sweet patches installed
(Kosmos should take care of both of those - maybe doublecheck the sweet patches (https://gbatemp.net/threads/i-heard-that-you-guys-need-some-sweet-patches-for-atmosphere.521164/))

This is pretty much it.

Why its such a hassle to try to help you - because instead of tackling one issue at the time, you jumped around to different solutions you came up with (that we cant verify), and then gave error reports that were non specific.

We are very sure, that every step in that chain works, and that as a result the entire process works as well, so if it doesnt - it has to be something very unusual.

--------------------- MERGED ---------------------------

FAT32 is never an issue. Compatibility wise. You never need exFat (if you are using .nsps that get installed over USB install). As in never. :)
 
Last edited by notimp,

cloudfe

Well-Known Member
OP
Member
Joined
Feb 24, 2013
Messages
387
Trophies
1
Age
39
XP
2,123
Country
Belgium
Why its such a hassle to try to help you - because instead of tackling one issue at the time, you jumped around to different solutions you came up with (that we cant verify), and then gave error reports that were non specific.

I think you have a point there. Let's proceed by steps.

Step 1 should be the TSEC/Lockpick issue.

Following your post, I can already confirm that:
- my SD card should be ok (a Sandisk that never gave me a problem in the past nor the present), with plenty of free space;
- I always use the latest version of softwares (taken either from SDsetup or GitHub itself), including Hekate and Lockpick;
- for the defective boot0, I wouldn't know how to check - any suggestion?
- the error I get when printing the TSEC keys is " Found pkg1 ('20181107105733'). TSEC key: ERROR FFFFFFFF ";
- the error I get when using Lockpick is " ERROR FFFFFFFF dumping TSEC ".

I'll remind here, once again, that:
- I'm using Atmosphere 0.8.9, on OFW 6.2.0, and FAT32;
- the same XCI I'm trying to use in Atmosphere has no problems whatsoever in SX OS;
- The only way in which I've succeeded installing the game in Atmosphere was by using the GoldLeaf SD installation (after having reformatted in exFAT for testing purposes), and even then 1) the Switch would not find the DLC and 2) the mod for the Japanese Dub would not work. Everything else (Tinfoil.io, Tinfoil, NS-usbloader, Goldleaf's USB installation) failed - both in SD and USB install.
- I experienced the same problems with a different copy of the game (from dark places).

As a final note, I read that I won't be able to use the game in Atmosphere if installed from SX OS.
If a way to eliminate this obstacle could be found, everything would be solved (I believe). Is there any chance for this to happen? The fact that I could, for instance, use a homebrew to modify save files in Atmosphere in order to use them in SX OS gives me hope, but what do I know :( . But just using the savefile I've created in SX OS to keep playing the game (reinstalled) in Atmosphere (in JAP) would make very happy :)
 
Last edited by cloudfe,

notimp

Well-Known Member
Member
Joined
Sep 18, 2007
Messages
5,779
Trophies
1
XP
4,420
Country
Laos
"Everything else failed" is a key issue. Some of those "install" programs need the keys in a specific directory, named a specific way.

Most of them (even older ones) should still work, only the keys change, not the format. Goldleaf does work in any case.

USB install or install from SD card does make no difference, if you cant gett USB install to work - then its a PC driver issues - I'm not out to fix that for you.. ;)
-

Now - if 4nxci didn't prompt you with an error presumably conversion went well.

DLC presumably did come as a .nsp. The keys you need for .xci (converted to .nsp) and original .nsp presumably are different. Maybe you need newer keys for the .nsp's (unlikely, but possible). The patches (sweetpatches) you need for converted .nsp and original .nsp are different. Doublecheck those as well (maybe Kosmos forgot one in their package).

Most likely answer - if that DLC, or update worked for other people - you haven't gotten all the neccessary keys.

I know that you want to blame atmosphere, and everything else on the planet - but thats still not the issue. If you've gotten all the keys, and they are in the right spot for the installer (right name as well), ANY .nsp will install fine. Thats just how it works.

As you might have realized, there are roughly 20 keys in the prod.keys file. If you are missing 5 of them - stuff like you've describe, might happen.

Which brings us back to you not being able to dump TSEC - and thats very strange. You could try to investigate, why that error happens to you - Im just a user as well, I'm not your support technician - also I've never seen that error mentioned before. Should it turn out to be a boot0 issue, thats the last possibility you want to explore. ("How do I fix a corrupt bios" == do you have a backup? No? You probably dont.)

Also if certain .nsps (DLC) dont work, people will usually cry about it in the piracy places. We certainly dont give support for specific pirated goods that dont work for you.

If you cant do much else - than "find something interesting" that other people have posted, and then wait for a step by step... I dont want to tell you "stick to SX OS" - but complaining in here, certainly doesnt help much as well.

Do you have keys? Yes. Do you have all of them "we not sure". Do you have them in the right place? You dont say.

Everything you need to know in general is in this thread already. If anyone knows, why Hekate wouldnt extract TSEC - please enlighten us. :)

--------------------- MERGED ---------------------------

Have you tried that
Error: You didn't get the 06 keys even though you did your Hekate dumps on firmware 6.2.0
  • Reason: Lockpick wasn't given tsec_root_key
    • Cause 1: the only 6.2.0 firmware you have is on SX emunand, which does not currently offer a way to dump that key. The ball is in their court on this.
    • Cause 2: Hekate didn't overwrite your existing TSEC dump. Delete your /backup/<hex number>/dumps/ folder from SD and re-dump TSEC and fuse info with Hekate version 4.5 or later before re-running Lockpick.
And if its the root cause of your' issue I'll slap you mentally. ;)
6.2.0 in this case means 6.2.0 or higher. Higher is fine.
 
Last edited by notimp,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    I'd rather spend like $150 more for a surround receiver.
  • K3Nv2 @ K3Nv2:
    I bought the game at launch never fucked with it until recently
  • BigOnYa @ BigOnYa:
    Its fun, I like it, even tho I'm not a big harry potter fan. Like a wizard rpg. Flying around on a broomstick is cool.
  • K3Nv2 @ K3Nv2:
    Flying sucks ass on it
  • BigOnYa @ BigOnYa:
    Nuh just takes a min to get used to. I think you can upgrade or buy new broomstick also that are better.
    +1
  • K3Nv2 @ K3Nv2:
    I weirdly like inverted controls on all flying type games
  • BigOnYa @ BigOnYa:
    Prob can change it, inverted flying controls.
  • K3Nv2 @ K3Nv2:
    Only thing that annoys me is trying to find wtf to do in it
    +1
  • BigOnYa @ BigOnYa:
    Alright off to the store, later gators.
    +1
  • K3Nv2 @ K3Nv2:
    Some places amaze me were not in network with your insurance would you still like an appointment
    +1
  • AncientBoi @ AncientBoi:
    uhhh, I think I'll just stick with my PSP 3001
  • AncientBoi @ AncientBoi:
    lol, Now I gotta go to the store for more Coffee Mate n other stuff.
  • Xdqwerty @ Xdqwerty:
    i downloaded final fantasy vii into my tv stick
  • Xdqwerty @ Xdqwerty:
    i mean, the game was already there but its the japanese version
  • Xdqwerty @ Xdqwerty:
    and i only downloaded disc 1 so far bc of storage stuff
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, yeah the patty on McDs burger is 1/10th of a pound now and I think that's the pre cooked weight lol
  • Psionic Roshambo @ Psionic Roshambo:
    I use the app for the 20% off coupon and it's still over priced
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, why is mcdonalds overpriced if their food is bad?
  • Xdqwerty @ Xdqwerty:
    i mean why is mcdonalds food overpriced
  • Psionic Roshambo @ Psionic Roshambo:
    Inflation and greed
    +1
  • ZeroT21 @ ZeroT21:
    it's just fries, make 'em at home
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I make potato wedges at home with spices and stuff lol
    Psionic Roshambo @ Psionic Roshambo: I make potato wedges at home with spices and stuff lol