any idea why i get this error?Updated to 1.4.0, dont know if updating OP thread rises up :/
Thank you for your continued workUpdated to 1.4.0, dont know if updating OP thread rises up :/
mmm I deleted the main.npdm filecheck, so i think there is something wrong with your keys. Search Nintendo Switch keys at google to have all, then try it.any idea why i get this error?
Thank you! If you can do a PR better, if you cannot, I will implement later.Great Tool!, thank you for your work
I made some modifications on your tool, adding drag and drop features on folder selection, hope it helps
private void MainWindow_Load(object sender, EventArgs e)
{
txtXCIDir.AllowDrop = true;
txtOutput.AllowDrop = true;
AllocConsole();
ActiveControl = label1;
foreach (KeyValuePair<string, string> title in Constants.TARGET_TITLES)
{
ComboboxItem item = new ComboboxItem();
item.Text = title.Value;
item.Value = title.Key;
cmbTarget.Items.Add(item);
}
}
private void btnXCIDir_Click(object sender, EventArgs e)
{
using (var folderBrowserDialog = new FolderBrowserDialog())
{
DialogResult result = folderBrowserDialog.ShowDialog();
if (result == DialogResult.OK && !string.IsNullOrWhiteSpace(folderBrowserDialog.SelectedPath))
{
txtXCIDir.Text = folderBrowserDialog.SelectedPath;
}
}
}
private void btnOutput_Click(object sender, EventArgs e)
{
using (var folderBrowserDialog = new FolderBrowserDialog())
{
DialogResult result = folderBrowserDialog.ShowDialog();
if (result == DialogResult.OK && !string.IsNullOrWhiteSpace(folderBrowserDialog.SelectedPath))
{
txtOutput.Text = folderBrowserDialog.SelectedPath;
}
}
}
private void txtXCIDir_DragDrop(object sender, DragEventArgs e)
{
string[] DroppedFiles = (string[])e.Data.GetData(DataFormats.FileDrop);
try
{
foreach (string Entry in DroppedFiles)
txtXCIDir.Text = Entry;
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
private void txtXCIDir_DragEnter(object sender, DragEventArgs e)
{
if (e.Data.GetDataPresent(DataFormats.FileDrop)) e.Effect = DragDropEffects.Copy;
}
private void txtOutput_DragDrop(object sender, DragEventArgs e)
{
string[] DroppedFiles = (string[])e.Data.GetData(DataFormats.FileDrop);
try
{
foreach (string Entry in DroppedFiles)
txtOutput.Text = Entry;
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
private void txtOutput_DragEnter(object sender, DragEventArgs e)
{
if (e.Data.GetDataPresent(DataFormats.FileDrop)) e.Effect = DragDropEffects.Copy;
}
private void txtXCIDir_TextChanged(object sender, EventArgs e)
{
xciDirPath = txtXCIDir.Text;
updateFormValues();
Settings.Default["pathXCIDir"] = txtXCIDir.Text;
Settings.Default.Save();
readXCIDirectory();
}
private void txtOutput_TextChanged(object sender, EventArgs e)
{
outputPath = txtOutput.Text;
updateFormValues();
Settings.Default["pathOutput"] = txtOutput.Text;
Settings.Default.Save();
}
}
We can't share the keys on GBATemp, but you can find it on google easily@Dvdxploitr I am having the same problem with section 0 corrupted when trying to decrypt the XCI for Kirby. Would you mind sharing the public keys that you got? Thanks!
I will implement that@javilobo8 Pragma's LFSKit was updated with some TitleID Patching, does yours handle the same thing?
(not sure what 1.4.0 "Fix npdm bug" meant, so just confirming)
https://github.com/imPRAGMA/LFSKit/releases
"This gets the offset for the titleid in the .npdm files a lot smoother.
It was hardcoded to 0x440 but realized some titles have it at 0x430.
This should fix some titles from error-screens unless they just arent supported by LFS.
Chances are though, this will fix stuff for some."
Search them on google, copy and paste them into a keys.txt file, with windows line breaksHey,
Getting same error due to lacking keys probably.
Gotten my keys and wonder how I should c/p the missing ones (from other site), sometimes in my (own) keys.txt it has no line break or break whatsoever, for example xxxxxxxxxxxx7265C6BA7A1key_area_key_ocean_00 = B33813E4Cxxxxxxxxxxxxxx and so on.
Is this okay? Should the ones I copypaste be like this too if so?
Do they have to be in order?Search them on google, copy and paste them into a keys.txt file, with windows line breaks
i'm having the same issue here with last versionany idea why i get this error?
Whit this? https://github.com/javilobo8/XCI2TitleConverter/releases/tag/1.4.0i'm having the same issue here with last version
tried removing all keys except master keys, tried with my keys and keys from google, nothing
yes!
May I ask how exactly did you add them to the file? Any specific order? Any specific format?they are common keys, just google for them and make sure you have masterkey 00 - 04 in your keys.txt file
May I ask how exactly did you add them to the file? Any specific order? Any specific format?
So far, I've got Master keys 00 to 04, but when I tried adding keys 1-3, I didn't know where to put them so I put them at the end of it all.
"Master_key_01 = xxxxx"
But that didn't work.