Changes how bases are stored, as well as the ui is almost done

This commit is contained in:
NicoAICP 2020-03-02 18:44:01 +01:00
parent f9a35a530d
commit 0b3cc050c0
24 changed files with 224 additions and 272 deletions

View file

@ -1,23 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UWUVCI_AIO_WPF.Classes.ENUM
{
public enum GameBases
{
Custom
#region NDS
#endregion
#region N64
#endregion
#region NES
#endregion NES
#region SNES
#endregion SNES
#region GBA
#endregion GBA
}
}

View file

@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UWUVCI_AIO_WPF.Classes
{
class GameBases
{
public string Name { get; set; }
public string Path { get; set; }
}
}

View file

@ -14,11 +14,11 @@ namespace UWUVCI_AIO_WPF
public GameConsole Console { get; set; }
public GameBases BaseRom { get; set; }
public string GameName { get; set; }
public PNGTGA TGAIco { get; set; } = new PNGTGA();
public PNGTGA TGADrc { get; set; } = new PNGTGA();
public PNGTGA TGATv { get; set; } = new PNGTGA();
public PNGTGA TGALog { get; set; } = new PNGTGA();
public N64Conf N64Stuff { get; set; } = new N64Conf();
public PNGTGA TGAIco { get; set; }
public PNGTGA TGADrc { get; set; }
public PNGTGA TGATv { get; set; }
public PNGTGA TGALog { get; set; }
public N64Conf N64Stuff { get; set; }
}
}

View file

@ -11,6 +11,7 @@ namespace UWUVCI_AIO_WPF
//public GameConfig GameConfiguration { get; set; }
private GameConfig gameConfiguration = new GameConfig();
public List<string> test { get; set; } = new List<string>();
public GameConfig GameConfiguration
{
get { return gameConfiguration; }
@ -44,6 +45,12 @@ namespace UWUVCI_AIO_WPF
public MainViewModel()
{
test.Add("1");
test.Add("2");
test.Add("3");
test.Add("4");
test.Add("5");
GameConfiguration = new GameConfig();
UpdatePathSet(Properties.Settings.Default.PathsSet);
}

View file

@ -1,32 +0,0 @@
<Page x:Class="UWUVCI_AIO_WPF.UI.Frames.GBAFrame"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames"
mc:Ignorable="d"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
d:DesignHeight="480" d:DesignWidth="1130"
Title="GBAFrame">
<Grid>
<GroupBox Header="1. BaseRom" HorizontalAlignment="Left" Height="349" Margin="10,10,0,0" VerticalAlignment="Top" Width="421">
<Grid>
</Grid>
</GroupBox>
<GroupBox Header="3. Packing" HorizontalAlignment="Left" Height="95" Margin="10,375,0,0" VerticalAlignment="Top" Width="421">
<Grid>
</Grid>
</GroupBox>
<GroupBox Header="2. Configuration" HorizontalAlignment="Left" Height="460" Margin="448,10,0,0" VerticalAlignment="Top" Width="661">
<Grid>
</Grid>
</GroupBox>
</Grid>
</Page>

View file

@ -1,4 +1,4 @@
<Page x:Class="UWUVCI_AIO_WPF.UI.Frames.N64Frame"
<Page x:Class="UWUVCI_AIO_WPF.UI.Frames.INJECTFRAME"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
@ -7,22 +7,25 @@
mc:Ignorable="d"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
d:DesignHeight="480" d:DesignWidth="1130"
Title="N64Frame">
Title="NDSFrame">
<Grid>
<Grid DataContext="{StaticResource mvm}">
<GroupBox Header="1. BaseRom" HorizontalAlignment="Left" Height="349" Margin="10,10,0,0" VerticalAlignment="Top" Width="421">
<Grid>
</Grid>
<Frame Name="fBaseFrame"></Frame>
</GroupBox>
<GroupBox Header="3. Packing" HorizontalAlignment="Left" Height="95" Margin="10,375,0,0" VerticalAlignment="Top" Width="421">
<Grid>
<Button Content="WUP Installable" HorizontalAlignment="Left" Margin="39,6,0,0" VerticalAlignment="Top" Width="137"/>
<Button Content="Loadiine" HorizontalAlignment="Left" Margin="258,6,0,0" VerticalAlignment="Top" Width="99"/>
</Grid>
</GroupBox>
<GroupBox Header="2. Configuration" HorizontalAlignment="Left" Height="460" Margin="448,10,0,0" VerticalAlignment="Top" Width="661">
<Grid>
<Frame Name="fLoadConfig"></Frame>
<Button Content="Import Config" HorizontalAlignment="Left" Margin="379,-42,0,0" VerticalAlignment="Top" Width="128" Click="Button_Click" Background="{x:Null}" BorderBrush="{x:Null}"/>
<Button Content="Export Config" HorizontalAlignment="Left" Margin="514,-42,0,0" VerticalAlignment="Top" Width="127" Background="{x:Null}" BorderBrush="{x:Null}"/>
</Grid>
</GroupBox>

View file

@ -18,11 +18,13 @@ namespace UWUVCI_AIO_WPF.UI.Frames
/// <summary>
/// Interaktionslogik für NDSFrame.xaml
/// </summary>
public partial class NDSFrame : Page, IDisposable
public partial class INJECTFRAME : Page, IDisposable
{
public NDSFrame()
public INJECTFRAME()
{
InitializeComponent();
fLoadConfig.Content = new InjectFrames.Configurations.N64Config();
fBaseFrame.Content = new InjectFrames.Bases.BaseContainerFrame();
}
public void Dispose()
{

View file

@ -0,0 +1,18 @@
<Page x:Class="UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Bases.BaseContainerFrame"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Bases"
mc:Ignorable="d"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
d:DesignHeight="297" d:DesignWidth="403"
Title="BaseContainerFrame">
<Grid DataContext="{StaticResource mvm}">
<TextBlock Text="Choose a Base from the dropdown menu" Margin="10,2,10,275" VerticalAlignment="Center" HorizontalAlignment="Center" TextAlignment="Center" FontSize="15" Width="383"></TextBlock>
<ComboBox HorizontalAlignment="Left" Margin="10,27,0,0" VerticalAlignment="Top" Width="383" Background="#00CFCFCF" BorderBrush="#FF008BFF" ItemsSource="{Binding test}"/>
<Frame Name="fLoadFrame" HorizontalAlignment="Left" Height="227" Margin="10,60,0,0" VerticalAlignment="Top" Width="383"/>
</Grid>
</Page>

View file

@ -13,20 +13,16 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace UWUVCI_AIO_WPF.UI.Frames
namespace UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Bases
{
/// <summary>
/// Interaktionslogik für NESFrame.xaml
/// Interaktionslogik für BaseContainerFrame.xaml
/// </summary>
public partial class NESFrame : Page, IDisposable
public partial class BaseContainerFrame : Page
{
public NESFrame()
public BaseContainerFrame()
{
InitializeComponent();
}
public void Dispose()
{
}
}
}

View file

@ -0,0 +1,15 @@
<Page x:Class="UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Bases.CustomBaseFrame"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Bases"
mc:Ignorable="d"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
d:DesignHeight="227" d:DesignWidth="383"
Title="CustomBaseFrame">
<Grid>
</Grid>
</Page>

View file

@ -13,20 +13,16 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace UWUVCI_AIO_WPF.UI.Frames
namespace UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Bases
{
/// <summary>
/// Interaktionslogik für GBAFrame.xaml
/// Interaktionslogik für CustomBaseFrame.xaml
/// </summary>
public partial class GBAFrame : Page, IDisposable
public partial class CustomBaseFrame : Page
{
public GBAFrame()
public CustomBaseFrame()
{
InitializeComponent();
}
public void Dispose()
{
}
}
}

View file

@ -0,0 +1,15 @@
<Page x:Class="UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Bases.NonCustomBaseFrame"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Bases"
mc:Ignorable="d"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
d:DesignHeight="227" d:DesignWidth="383"
Title="NonCustomBaseFrame">
<Grid>
</Grid>
</Page>

View file

@ -13,20 +13,16 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace UWUVCI_AIO_WPF.UI.Frames
namespace UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Bases
{
/// <summary>
/// Interaktionslogik für N64Frame.xaml
/// Interaktionslogik für NonCustomBaseFrame.xaml
/// </summary>
public partial class N64Frame : Page, IDisposable
public partial class NonCustomBaseFrame : Page
{
public N64Frame()
public NonCustomBaseFrame()
{
InitializeComponent();
}
public void Dispose()
{
}
}
}

View file

@ -0,0 +1,31 @@
<Page x:Class="UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations.N64Config"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations"
mc:Ignorable="d"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
d:DesignHeight="408" d:DesignWidth="643"
Title="N64Config">
<Grid DataContext="{StaticResource mvm}">
<TextBox materialDesign:HintAssist.Hint="ROM PATH" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,8,157,355" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding RomPath}"/>
<TextBox materialDesign:HintAssist.Hint="ICONTEX" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,128,157,235" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding GameConfiguration.TGAIco.ImgPath}"/>
<TextBox materialDesign:HintAssist.Hint="BOOTDRCTEX" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,174,157,189" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding GameConfiguration.TGADrc.ImgPath}"/>
<TextBox materialDesign:HintAssist.Hint="BOOTTVTEX" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,219,157,144" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding GameConfiguration.TGATv.ImgPath}"/>
<TextBox materialDesign:HintAssist.Hint="BOOTLOGOTEX" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,264,157,99" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding GameConfiguration.TGALog.ImgPath}"/>
<TextBox materialDesign:HintAssist.Hint="GAME NAME" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,317,157,46" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" Text="{Binding GameConfiguration.GameName}"/>
<Button Content="Inject" HorizontalAlignment="Left" Margin="506,357,0,0" VerticalAlignment="Top" Width="127" Click="Button_Click"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,277,0,0" VerticalAlignment="Top" Width="127"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,232,0,0" VerticalAlignment="Top" Width="127"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,187,0,0" VerticalAlignment="Top" Width="127"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,141,0,0" VerticalAlignment="Top" Width="127"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,21,0,0" VerticalAlignment="Top" Width="127"/>
<RadioButton x:Name="rbRDF" Content="Remove DarkFilter" HorizontalAlignment="Left" Margin="11,369,0,0" VerticalAlignment="Top" GroupName="df" IsChecked="{Binding GameConfiguration.N64Stuff.DarkFilter}"/>
<RadioButton Content="Keep DarkFilter" HorizontalAlignment="Left" Margin="151,369,0,0" VerticalAlignment="Top" GroupName="df" IsChecked="True"/>
<TextBox materialDesign:HintAssist.Hint="INI PATH" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,58,157,305" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding GameConfiguration.N64Stuff.INIPath}"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,72,0,0" VerticalAlignment="Top" Width="127"/>
</Grid>
</Page>

View file

@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations
{
/// <summary>
/// Interaktionslogik für N64Config.xaml
/// </summary>
public partial class N64Config : Page
{
MainViewModel mvm;
public N64Config()
{
mvm = (MainViewModel)FindResource("mvm");
InitializeComponent();
}
private void Button_Click(object sender, RoutedEventArgs e)
{
}
}
}

View file

@ -0,0 +1,27 @@
<Page x:Class="UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations.OtherConfigs"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations"
mc:Ignorable="d"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
d:DesignHeight="408" d:DesignWidth="643"
Title="OtherConfigs">
<Grid DataContext="{StaticResource mvm}">
<TextBox materialDesign:HintAssist.Hint="ROM PATH" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,38,157,325" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding RomPath}"/>
<TextBox materialDesign:HintAssist.Hint="ICONTEX" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,111,157,252" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding GameConfiguration.TGAIco.ImgPath}"/>
<TextBox materialDesign:HintAssist.Hint="BOOTDRCTEX" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,157,157,206" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding GameConfiguration.TGADrc.ImgPath}"/>
<TextBox materialDesign:HintAssist.Hint="BOOTTVTEX" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,202,157,161" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding GameConfiguration.TGATv.ImgPath}"/>
<TextBox materialDesign:HintAssist.Hint="BOOTLOGOTEX" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,247,157,116" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding GameConfiguration.TGALog.ImgPath}"/>
<TextBox materialDesign:HintAssist.Hint="GAME NAME" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,316,157,47" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" Text="{Binding GameConfiguration.GameName}"/>
<Button Content="Inject" HorizontalAlignment="Left" Margin="506,340,0,0" VerticalAlignment="Top" Width="127"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,260,0,0" VerticalAlignment="Top" Width="127"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,215,0,0" VerticalAlignment="Top" Width="127"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,170,0,0" VerticalAlignment="Top" Width="127"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,124,0,0" VerticalAlignment="Top" Width="127"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,51,0,0" VerticalAlignment="Top" Width="127"/>
</Grid>
</Page>

View file

@ -12,15 +12,17 @@ using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using UWUVCI_AIO_WPF.Classes.ENUM;
namespace UWUVCI_AIO_WPF.UI.Frames
namespace UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations
{
/// <summary>
/// Interaktionslogik für MainFrame.xaml
/// Interaktionslogik für OtherConfigs.xaml
/// </summary>
public partial class MainFrame : Page, IDisposable
public partial class OtherConfigs : Page, IDisposable
{
public MainFrame()
public OtherConfigs()
{
InitializeComponent();
}

View file

@ -1,14 +0,0 @@
<Page x:Class="UWUVCI_AIO_WPF.UI.Frames.MainFrame"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames"
mc:Ignorable="d"
d:DesignHeight="480" d:DesignWidth="1130"
Title="MainFrame">
<Grid>
<TextBlock HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" Text="StartPage" VerticalAlignment="Top" Height="18" Width="75"/>
</Grid>
</Page>

View file

@ -1,44 +0,0 @@
<Page x:Class="UWUVCI_AIO_WPF.UI.Frames.NDSFrame"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames"
mc:Ignorable="d"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
d:DesignHeight="480" d:DesignWidth="1130"
Title="NDSFrame">
<Grid DataContext="{StaticResource mvm}">
<GroupBox Header="1. BaseRom" HorizontalAlignment="Left" Height="349" Margin="10,10,0,0" VerticalAlignment="Top" Width="421">
<Grid>
</Grid>
</GroupBox>
<GroupBox Header="3. Packing" HorizontalAlignment="Left" Height="95" Margin="10,375,0,0" VerticalAlignment="Top" Width="421">
<Grid>
<Button Content="WUP Installable" HorizontalAlignment="Left" Margin="39,6,0,0" VerticalAlignment="Top" Width="137"/>
<Button Content="Loadiine" HorizontalAlignment="Left" Margin="258,6,0,0" VerticalAlignment="Top" Width="99"/>
</Grid>
</GroupBox>
<GroupBox Header="2. Configuration" HorizontalAlignment="Left" Height="460" Margin="448,10,0,0" VerticalAlignment="Top" Width="661">
<Grid>
<Button Content="Import Config" HorizontalAlignment="Left" Margin="373,-42,0,0" VerticalAlignment="Top" Width="128" Click="Button_Click" Background="{x:Null}" BorderBrush="{x:Null}"/>
<Button Content="Export Config" HorizontalAlignment="Left" Margin="506,-42,0,0" VerticalAlignment="Top" Width="127" BorderBrush="{x:Null}" Background="{x:Null}"/>
<TextBox materialDesign:HintAssist.Hint="ROM PATH" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,38,157,325" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding RomPath}"/>
<TextBox materialDesign:HintAssist.Hint="ICONTEX" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,111,157,252" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding GameConfiguration.TGAIco.ImgPath}"/>
<TextBox materialDesign:HintAssist.Hint="BOOTDRCTEX" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,157,157,206" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding GameConfiguration.TGADrc.ImgPath}"/>
<TextBox materialDesign:HintAssist.Hint="BOOTTVTEX" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,202,157,161" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding GameConfiguration.TGATv.ImgPath}"/>
<TextBox materialDesign:HintAssist.Hint="BOOTLOGOTEX" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,247,157,116" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Text="{Binding GameConfiguration.TGALog.ImgPath}"/>
<TextBox materialDesign:HintAssist.Hint="GAME NAME" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,316,157,47" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" Text="{Binding GameConfiguration.GameName}"/>
<Button Content="Inject" HorizontalAlignment="Left" Margin="506,340,0,0" VerticalAlignment="Top" Width="127"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,260,0,0" VerticalAlignment="Top" Width="127"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,215,0,0" VerticalAlignment="Top" Width="127"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,170,0,0" VerticalAlignment="Top" Width="127"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,124,0,0" VerticalAlignment="Top" Width="127"/>
<Button Content="Set Path" HorizontalAlignment="Left" Margin="506,51,0,0" VerticalAlignment="Top" Width="127"/>
</Grid>
</GroupBox>
</Grid>
</Page>

View file

@ -1,30 +0,0 @@
<Page x:Class="UWUVCI_AIO_WPF.UI.Frames.NESFrame"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames"
mc:Ignorable="d"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
d:DesignHeight="480" d:DesignWidth="1130"
Title="NESFrame">
<Grid>
<GroupBox Header="1. BaseRom" HorizontalAlignment="Left" Height="349" Margin="10,10,0,0" VerticalAlignment="Top" Width="421">
<Grid>
</Grid>
</GroupBox>
<GroupBox Header="3. Packing" HorizontalAlignment="Left" Height="95" Margin="10,375,0,0" VerticalAlignment="Top" Width="421">
<Grid>
</Grid>
</GroupBox>
<GroupBox Header="2. Configuration" HorizontalAlignment="Left" Height="460" Margin="448,10,0,0" VerticalAlignment="Top" Width="661">
<Grid>
</Grid>
</GroupBox>
</Grid>
</Page>

View file

@ -1,30 +0,0 @@
<Page x:Class="UWUVCI_AIO_WPF.UI.Frames.SNESFrame"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:UWUVCI_AIO_WPF.UI.Frames"
mc:Ignorable="d"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
d:DesignHeight="480" d:DesignWidth="1130"
Title="SNESFrame">
<Grid>
<GroupBox Header="1. BaseRom" HorizontalAlignment="Left" Height="349" Margin="10,10,0,0" VerticalAlignment="Top" Width="421">
<Grid>
</Grid>
</GroupBox>
<GroupBox Header="3. Packing" HorizontalAlignment="Left" Height="95" Margin="10,375,0,0" VerticalAlignment="Top" Width="421">
<Grid>
</Grid>
</GroupBox>
<GroupBox Header="2. Configuration" HorizontalAlignment="Left" Height="460" Margin="448,10,0,0" VerticalAlignment="Top" Width="661">
<Grid>
</Grid>
</GroupBox>
</Grid>
</Page>

View file

@ -1,32 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace UWUVCI_AIO_WPF.UI.Frames
{
/// <summary>
/// Interaktionslogik für SNESFrame.xaml
/// </summary>
public partial class SNESFrame : Page, IDisposable
{
public SNESFrame()
{
InitializeComponent();
}
public void Dispose()
{
}
}
}

View file

@ -23,7 +23,7 @@ namespace UWUVCI_AIO_WPF
public MainWindow()
{
InitializeComponent();
load_frame.Content = new UI.Frames.NDSFrame();
load_frame.Content = new UI.Frames.INJECTFRAME();
}
private void ButtonCloseMenu_Click(object sender, RoutedEventArgs e)
{

View file

@ -65,23 +65,27 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="UI\Frames\GBAFrame.xaml">
<Page Include="UI\Frames\InjectFrame.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="UI\Frames\MainFrame.xaml">
<Page Include="UI\Frames\InjectFrames\Bases\BaseContainerFrame.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="UI\Frames\N64Frame.xaml">
<Page Include="UI\Frames\InjectFrames\Bases\CustomBaseFrame.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="UI\Frames\NDSFrame.xaml">
<Page Include="UI\Frames\InjectFrames\Bases\NonCustomBaseFrame.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="UI\Frames\NESFrame.xaml">
<Page Include="UI\Frames\InjectFrames\Configurations\N64Config.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="UI\Frames\InjectFrames\Configurations\OtherConfigs.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
@ -89,10 +93,6 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="UI\Frames\SNESFrame.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="UI\Windows\MenuWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
@ -101,35 +101,35 @@
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="Classes\ENUM\GameBases.cs" />
<Compile Include="Classes\ENUM\GameConsole.cs" />
<Compile Include="Classes\GameBases.cs" />
<Compile Include="Classes\Injection.cs" />
<Compile Include="Classes\N64Conf.cs" />
<Compile Include="Classes\PNGTGA.cs" />
<Compile Include="Classes\GameConfig.cs" />
<Compile Include="Models\BaseModel.cs" />
<Compile Include="Models\MainViewModel.cs" />
<Compile Include="UI\Frames\GBAFrame.xaml.cs">
<DependentUpon>GBAFrame.xaml</DependentUpon>
<Compile Include="UI\Frames\InjectFrame.xaml.cs">
<DependentUpon>InjectFrame.xaml</DependentUpon>
</Compile>
<Compile Include="UI\Frames\MainFrame.xaml.cs">
<DependentUpon>MainFrame.xaml</DependentUpon>
<Compile Include="UI\Frames\InjectFrames\Bases\BaseContainerFrame.xaml.cs">
<DependentUpon>BaseContainerFrame.xaml</DependentUpon>
</Compile>
<Compile Include="UI\Frames\N64Frame.xaml.cs">
<DependentUpon>N64Frame.xaml</DependentUpon>
<Compile Include="UI\Frames\InjectFrames\Bases\CustomBaseFrame.xaml.cs">
<DependentUpon>CustomBaseFrame.xaml</DependentUpon>
</Compile>
<Compile Include="UI\Frames\NDSFrame.xaml.cs">
<DependentUpon>NDSFrame.xaml</DependentUpon>
<Compile Include="UI\Frames\InjectFrames\Bases\NonCustomBaseFrame.xaml.cs">
<DependentUpon>NonCustomBaseFrame.xaml</DependentUpon>
</Compile>
<Compile Include="UI\Frames\NESFrame.xaml.cs">
<DependentUpon>NESFrame.xaml</DependentUpon>
<Compile Include="UI\Frames\InjectFrames\Configurations\N64Config.xaml.cs">
<DependentUpon>N64Config.xaml</DependentUpon>
</Compile>
<Compile Include="UI\Frames\InjectFrames\Configurations\OtherConfigs.xaml.cs">
<DependentUpon>OtherConfigs.xaml</DependentUpon>
</Compile>
<Compile Include="UI\Frames\SettingsFrame.xaml.cs">
<DependentUpon>SettingsFrame.xaml</DependentUpon>
</Compile>
<Compile Include="UI\Frames\SNESFrame.xaml.cs">
<DependentUpon>SNESFrame.xaml</DependentUpon>
</Compile>
<Compile Include="UI\Windows\MenuWindow.xaml.cs">
<DependentUpon>MenuWindow.xaml</DependentUpon>
<SubType>Code</SubType>