mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-11-10 13:44:13 +00:00
name fix -> wads work again & new filter optiojn wii
This commit is contained in:
parent
307489e6d0
commit
481d4f893f
8 changed files with 11 additions and 3 deletions
|
@ -1835,7 +1835,7 @@ namespace UWUVCI_AIO_WPF
|
|||
private static void EditXML(string gameNameOr, int index, string code)
|
||||
{
|
||||
string gameName = string.Empty;
|
||||
if(gameNameOr != string.Empty && gameNameOr != null)
|
||||
if(gameNameOr != null || !String.IsNullOrWhiteSpace(gameNameOr))
|
||||
{
|
||||
|
||||
gameName = gameNameOr;
|
||||
|
@ -1847,6 +1847,7 @@ namespace UWUVCI_AIO_WPF
|
|||
}
|
||||
|
||||
|
||||
|
||||
string metaXml = Path.Combine(baseRomPath, "meta", "meta.xml");
|
||||
string appXml = Path.Combine(baseRomPath, "code", "app.xml");
|
||||
Random random = new Random();
|
||||
|
|
|
@ -1548,11 +1548,12 @@ namespace UWUVCI_AIO_WPF
|
|||
case GameConsoles.WII:
|
||||
if(test == GameConsoles.GCN)
|
||||
{
|
||||
dialog.Filter = "GCN ROM (*.iso; *.gcm) | *.iso; *.gcm";
|
||||
dialog.Filter = "GC ROM (*.iso; *.gcm; *.nkit.iso; *.nkit.gcz) | *.iso; *.gcm; *.nkit.iso; *.nkit.gcz";
|
||||
}
|
||||
else
|
||||
{
|
||||
dialog.Filter = "Wii ROM (*.iso; *.wbfs; *.nkit.gcz; *.nkit.iso) | *.iso; *.wbfs; *.nkit.gcz; *.nkit.iso|Wii Homebrew (*.dol) | *.dol|Wii Channel (*.wad) | *.wad";
|
||||
dialog.Filter = "All Types (*.iso; *.wbfs; *.nkit.gcz; *.nkit.iso; *.dol; *.wad) | *.iso; *.wbfs; *.nkit.gcz; *.nkit.iso; *.dol; *.wad|Wii ROM (*.iso; *.wbfs; *.nkit.gcz; *.nkit.iso) | *.iso; *.wbfs; *.nkit.gcz; *.nkit.iso|Wii Homebrew (*.dol) | *.dol|Wii Channel (*.wad) | *.wad";
|
||||
// dialog.Filter = "Wii ROM (*.iso; *.wbfs; *.nkit.gcz; *.nkit.iso) | *.iso; *.wbfs; *.nkit.gcz; *.nkit.iso|Wii Homebrew (*.dol) | *.dol|Wii Channel (*.wad) | *.wad";
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
@ -140,6 +140,7 @@ namespace UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations
|
|||
{
|
||||
mvm.GameConfiguration.TGADrc.ImgPath = null;
|
||||
}
|
||||
mvm.GameConfiguration.GameName = gn.Text;
|
||||
mvm.Inject(false);
|
||||
|
||||
}
|
||||
|
|
|
@ -165,6 +165,7 @@ namespace UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations
|
|||
{
|
||||
mvm.GameConfiguration.TGADrc.ImgPath = null;
|
||||
}
|
||||
mvm.GameConfiguration.GameName = gn.Text;
|
||||
mvm.Inject(false);
|
||||
mvm.PokePatch = false;
|
||||
rbRDF.IsChecked = true;
|
||||
|
|
|
@ -233,6 +233,7 @@ namespace UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations
|
|||
{
|
||||
mvm.GameConfiguration.TGADrc.ImgPath = null;
|
||||
}
|
||||
mvm.GameConfiguration.GameName = gn.Text;
|
||||
mvm.GC = true;
|
||||
mvm.Inject(cd);
|
||||
mvm.Index = 1;
|
||||
|
|
|
@ -162,6 +162,7 @@ namespace UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations
|
|||
{
|
||||
mvm.GameConfiguration.TGADrc.ImgPath = null;
|
||||
}
|
||||
mvm.GameConfiguration.GameName = gn.Text;
|
||||
mvm.Inject(false);
|
||||
}
|
||||
|
||||
|
|
|
@ -181,6 +181,7 @@ namespace UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations
|
|||
{
|
||||
mvm.GameConfiguration.TGADrc.ImgPath = null;
|
||||
}
|
||||
mvm.GameConfiguration.GameName = gn.Text;
|
||||
mvm.Inject(false);
|
||||
}
|
||||
|
||||
|
|
|
@ -306,6 +306,7 @@ namespace UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations
|
|||
{
|
||||
mvm.LR = false;
|
||||
}
|
||||
mvm.GameConfiguration.GameName = gn.Text;
|
||||
mvm.Inject(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue