Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Add Chunithm Support
Browse files Browse the repository at this point in the history
  • Loading branch information
Suprnova committed Sep 21, 2020
1 parent d8e5635 commit 1edad19
Show file tree
Hide file tree
Showing 5 changed files with 160 additions and 47 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -361,3 +361,4 @@ MigrationBackup/

# Fody - auto-generated XML schema
FodyWeavers.xsd
.editorconfig
86 changes: 45 additions & 41 deletions MainWindow.xaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<Window x:Class="rhythm_games_converter.MainWindow"
<Window
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:rhythm_games_converter"
x:Class="rhythm_games_converter.MainWindow"
mc:Ignorable="d"
Title="Rhythm Games Converter" Height="655" Width="1095"
Title="Rhythm Games Converter" Height="694" Width="1121"
ResizeMode="NoResize">
<Grid>
<Grid.RowDefinitions>
Expand All @@ -17,104 +18,107 @@
<ColumnDefinition Width="818*"/>
</Grid.ColumnDefinitions>
<Label Content="Source:" HorizontalAlignment="Left" Margin="63,10,0,0" VerticalAlignment="Top" FontSize="14" Height="29" Width="55"/>
<ComboBox HorizontalAlignment="Left" Margin="134,11,0,0" VerticalAlignment="Top" Width="182" Height="25" Name="source" Grid.ColumnSpan="2" SelectionChanged="SourceChanged">
<ComboBox HorizontalAlignment="Left" Margin="134,11,0,0" VerticalAlignment="Top" Width="182" Height="25" x:Name="source" Grid.ColumnSpan="2" SelectionChanged="SourceChanged">
<ComboBoxItem>
<StackPanel>
<TextBlock Name="osusource" FontSize="14">osu!</TextBlock>
<TextBlock x:Name="osusource" FontSize="14"><Run Text="osu!"/></TextBlock>
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel>
<TextBlock Name="clonesource" FontSize="14">Clone Hero</TextBlock>
<TextBlock x:Name="clonesource" FontSize="14"><Run Text="Clone Hero"/></TextBlock>
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel>
<TextBlock Name="stepsource" FontSize="14">Stepmania</TextBlock>
<TextBlock x:Name="stepsource" FontSize="14"><Run Text="Stepmania"/></TextBlock>
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel>
<TextBlock Name="beatsabersource" FontSize="14">Beat Saber</TextBlock>
<TextBlock x:Name="beatsabersource" FontSize="14"><Run Text="Beat Saber"/></TextBlock>
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel>
<TextBlock Name="spotifysource" FontSize="14">Spotify</TextBlock>
<TextBlock x:Name="spotifysource" FontSize="14"><Run Text="Spotify"/></TextBlock>
</StackPanel>
</ComboBoxItem>
</ComboBox>
<Label Content="Search:" HorizontalAlignment="Left" Margin="64,11,0,0" VerticalAlignment="Top" FontSize="14" Height="29" Width="61" Grid.Row="1"/>
<ComboBox HorizontalAlignment="Left" Margin="134,10,0,0" VerticalAlignment="Top" Width="182" Height="25" Name="search" SelectionChanged="SearchChanged" Grid.ColumnSpan="2" Grid.Row="1">
<ComboBox HorizontalAlignment="Left" Margin="134,10,0,0" VerticalAlignment="Top" Width="182" Height="25" x:Name="search" SelectionChanged="SearchChanged" Grid.ColumnSpan="2" Grid.Row="1">
<ComboBoxItem>
<StackPanel>
<TextBlock Name="bemanisearch" FontSize="14">BEMANI</TextBlock>
<TextBlock x:Name="bemanisearch" FontSize="14"><Run Text="BEMANI"/></TextBlock>
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel>
<TextBlock Name="clonesearch" FontSize="14">Clone Hero</TextBlock>
<TextBlock x:Name="clonesearch" FontSize="14"><Run Text="Clone Hero"/></TextBlock>
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel>
<TextBlock Name="maimai" FontSize="14">maimai</TextBlock>
<TextBlock x:Name="maimai" FontSize="14"><Run Text="maimai"/></TextBlock>
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel>
<TextBlock Name="djmaxsearch" FontSize="14">DJMAX RESPECT</TextBlock>
<TextBlock x:Name="djmaxsearch" FontSize="14"><Run Text="DJMAX RESPECT"/></TextBlock>
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel>
<TextBlock Name="gcsearch" FontSize="14">GROOVE COASTER</TextBlock>
<TextBlock x:Name="gcsearch" FontSize="14"><Run Text="GROOVE COASTER"/></TextBlock>
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel>
<TextBlock Name="osusearch" FontSize="14">osu!</TextBlock>
<TextBlock x:Name="osusearch" FontSize="14"><Run Text="osu!"/></TextBlock>
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel>
<TextBlock Name="beatsearch" FontSize="14">Beat Saber</TextBlock>
<TextBlock x:Name="beatsearch" FontSize="14"><Run Text="Beat Saber"/></TextBlock>
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel>
<TextBlock Name="spotifysearch" FontSize="14">Spotify</TextBlock>
<TextBlock x:Name="spotifysearch" FontSize="14"><Run Text="Spotify"/></TextBlock>
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel>
<TextBlock x:Name="chunithmsearch" FontSize="14"><Run Text="Chungithm"/></TextBlock>
</StackPanel>
</ComboBoxItem>
</ComboBox>
<Label Content="Songs directory:" Name="dirText" HorizontalAlignment="Left" Margin="162,9,0,0" VerticalAlignment="Top" Grid.Column="1" FontSize="14" Height="29" Width="109"/>
<Label Content="Playlist URL:" Name="urlText" HorizontalAlignment="Left" Margin="188,9,0,0" VerticalAlignment="Top" Grid.Column="1" FontSize="14" Height="29" Width="109" Visibility="Hidden"/>
<TextBox Grid.Column="1" HorizontalAlignment="Left" Height="25" Margin="296,10,0,0" Text="" TextWrapping="NoWrap" VerticalAlignment="Top" Width="236" FontSize="14" Name="dir"/>
<Label Content="Provider:&#xD;&#xA;" Grid.Column="1" HorizontalAlignment="Left" Margin="207,9,0,0" VerticalAlignment="Top" FontSize="14" Height="29" Grid.Row="1" Width="64"/>
<ComboBox Grid.Column="1" HorizontalAlignment="Left" Margin="296,10,0,0" VerticalAlignment="Top" Width="236" Height="25" Grid.Row="1" Name="prov">
<Label Content="Songs directory:" x:Name="dirText" HorizontalAlignment="Left" Margin="162,9,0,0" VerticalAlignment="Top" Grid.Column="1" FontSize="14" Height="29" Width="109"/>
<Label Content="Playlist URL:" x:Name="urlText" HorizontalAlignment="Left" Margin="188,9,0,0" VerticalAlignment="Top" Grid.Column="1" FontSize="14" Height="29" Width="109" Visibility="Hidden"/>
<TextBox Grid.Column="1" HorizontalAlignment="Left" Height="25" Margin="296,10,0,0" Text="" TextWrapping="NoWrap" VerticalAlignment="Top" Width="236" FontSize="14" x:Name="dir"/>
<Label Content="Provider:&#xA;" Grid.Column="1" HorizontalAlignment="Left" Margin="207,9,0,0" VerticalAlignment="Top" FontSize="14" Height="29" Grid.Row="1" Width="64"/>
<ComboBox Grid.Column="1" HorizontalAlignment="Left" Margin="296,10,0,0" VerticalAlignment="Top" Width="236" Height="25" Grid.Row="1" x:Name="prov">
<ComboBoxItem>
<StackPanel>
<TextBlock Name="provider" FontSize="14">BEMANIWiki</TextBlock>
<TextBlock x:Name="provider" FontSize="14"><Run Text="BEMANIWiki"/></TextBlock>
</StackPanel>
</ComboBoxItem>
</ComboBox>
<Button Content="Browse..." Grid.Column="1" HorizontalAlignment="Left" Height="25" Margin="532,10,0,0" VerticalAlignment="Top" Width="107" Click="Browse_Click" Name="browse"/>
<ListBox Grid.Row="1" Margin="10,44,692,10" Grid.ColumnSpan="2" Name="sourceSongs">
</ListBox>
<ListBox Grid.Row="1" Margin="10,44,692,10" Grid.ColumnSpan="2" Name="spotifyPlaylists" Visibility="Hidden">
</ListBox>
<TextBox Grid.Column="1" Margin="163,44,10,55" Grid.Row="1" Name="results" IsReadOnly="True"/>
<ListBox Grid.Column="1" Margin="163,44,10,55" Grid.Row="1" Name="resultsList"/>
<Button Content="Download" Name="download" Grid.Column="1" HorizontalAlignment="Left" Margin="713,523,0,0" Grid.Row="1" VerticalAlignment="Top" Height="32" Width="83" Click="Download_Click" IsEnabled="False"/>
<Button Content="Search!" Name="searchBtn" Grid.Column="1" HorizontalAlignment="Left" Height="31" Margin="678,30,0,0" VerticalAlignment="Top" Grid.RowSpan="2" Width="118" FontSize="14" Click="Search_Click"/>
<Button Name="moreOptions" Content="..." Grid.Column="1" HorizontalAlignment="Left" Margin="43,10,0,0" Grid.Row="1" VerticalAlignment="Top" Height="25" Width="26" IsEnabled="False" Click="moreOptions_Click"/>
<TextBlock Name="osuSelection" Grid.Column="1" HorizontalAlignment="Left" Margin="69,0,0,0" Grid.Row="1" TextWrapping="Wrap" Visibility="Hidden" VerticalAlignment="Top"><Run Language="ja-jp" Text="1"/></TextBlock>
<TextBlock Name="maniaSelection" Grid.Column="1" HorizontalAlignment="Left" Margin="69,16,0,0" Grid.Row="1" TextWrapping="Wrap" Visibility="Hidden" VerticalAlignment="Top"><Run Language="ja-jp" Text="1"/></TextBlock>
<TextBlock Name="taikoSelection" Grid.Column="1" HorizontalAlignment="Left" Margin="69,32,0,0" Grid.Row="1" TextWrapping="Wrap" Visibility="Hidden" VerticalAlignment="Top"><Run Language="ja-jp" Text="1"/></TextBlock>
<TextBlock Name="ctbSelection" Grid.Column="1" HorizontalAlignment="Left" Margin="69,48,0,0" Grid.Row="1" TextWrapping="Wrap" Visibility="Hidden" VerticalAlignment="Top"><Run Language="ja-jp" Text="1"/></TextBlock>
<Button Name="add" Content="Add Selected to Playlist" Grid.Column="1" HorizontalAlignment="Left" Margin="163,523,0,0" Grid.Row="1" VerticalAlignment="Top" Height="32" Width="147" Click="AddPlaylist_Click" Visibility="Hidden"/>
<Button Name="addAll" Content="Add All to Playlist" Grid.Column="1" HorizontalAlignment="Left" Margin="328,523,0,0" Grid.Row="1" VerticalAlignment="Top" Height="32" Width="116" Click="AddAll_Click" Visibility="Hidden"/>
<Button Name="authenticate" Content="Authenticate Spotify" Grid.Column="1" HorizontalAlignment="Left" Margin="193,523,0,0" Grid.Row="1" VerticalAlignment="Top" Height="32" Width="154" Click="Authentication_Click" Visibility="Hidden"/>
<ProgressBar Name="prog" Grid.Column="1" HorizontalAlignment="Left" Height="16" Margin="471,531,0,0" Grid.Row="1" VerticalAlignment="Top" Width="228" Visibility="Hidden" IsIndeterminate="True"/>
<Button Content="Browse..." Grid.Column="1" HorizontalAlignment="Left" Height="25" Margin="532,10,0,0" VerticalAlignment="Top" Width="107" Click="Browse_Click" x:Name="browse"/>
<ListBox Grid.Row="1" Margin="10,44,692,10" Grid.ColumnSpan="2" x:Name="sourceSongs"/>
<ListBox Grid.Row="1" Margin="10,44,692,10" Grid.ColumnSpan="2" x:Name="spotifyPlaylists" Visibility="Hidden"/>
<TextBox Grid.Column="1" Margin="163,44,10,89" Grid.Row="1" x:Name="results" IsReadOnly="True"/>
<ListBox Grid.Column="1" Margin="163,44,10,89" Grid.Row="1" x:Name="resultsList"/>
<Button Content="Download" x:Name="download" Grid.Column="1" HorizontalAlignment="Left" Margin="713,530,0,0" Grid.Row="1" VerticalAlignment="Top" Height="32" Width="83" Click="Download_Click" IsEnabled="False"/>
<Button Content="Search!" x:Name="searchBtn" Grid.Column="1" HorizontalAlignment="Left" Height="31" Margin="678,30,0,0" VerticalAlignment="Top" Grid.RowSpan="2" Width="118" FontSize="14" Click="Search_Click"/>
<Button x:Name="moreOptions" Content="..." Grid.Column="1" HorizontalAlignment="Left" Margin="43,10,0,0" Grid.Row="1" VerticalAlignment="Top" Height="25" Width="26" IsEnabled="False" Click="moreOptions_Click"/>
<TextBlock x:Name="osuSelection" Grid.Column="1" HorizontalAlignment="Left" Margin="69,0,0,0" Grid.Row="1" TextWrapping="Wrap" Visibility="Hidden" VerticalAlignment="Top"><Run Language="ja-jp" Text="1"/></TextBlock>
<TextBlock x:Name="maniaSelection" Grid.Column="1" HorizontalAlignment="Left" Margin="69,16,0,0" Grid.Row="1" TextWrapping="Wrap" Visibility="Hidden" VerticalAlignment="Top"><Run Language="ja-jp" Text="1"/></TextBlock>
<TextBlock x:Name="taikoSelection" Grid.Column="1" HorizontalAlignment="Left" Margin="69,32,0,0" Grid.Row="1" TextWrapping="Wrap" Visibility="Hidden" VerticalAlignment="Top"><Run Language="ja-jp" Text="1"/></TextBlock>
<TextBlock x:Name="ctbSelection" Grid.Column="1" HorizontalAlignment="Left" Margin="69,48,0,0" Grid.Row="1" TextWrapping="Wrap" Visibility="Hidden" VerticalAlignment="Top"><Run Language="ja-jp" Text="1"/></TextBlock>
<Button x:Name="add" Content="Add Selected to Playlist" Grid.Column="1" HorizontalAlignment="Left" Margin="163,531,0,0" Grid.Row="1" VerticalAlignment="Top" Height="32" Width="147" Click="AddPlaylist_Click" Visibility="Hidden"/>
<Button x:Name="addAll" Content="Add All to Playlist" Grid.Column="1" HorizontalAlignment="Left" Margin="323,531,0,0" Grid.Row="1" VerticalAlignment="Top" Height="32" Width="116" Click="AddAll_Click" Visibility="Hidden"/>
<Button x:Name="authenticate" Content="Authenticate Spotify" Grid.Column="1" HorizontalAlignment="Left" Margin="200,530,0,0" Grid.Row="1" VerticalAlignment="Top" Height="32" Width="154" Click="Authentication_Click" Visibility="Hidden"/>
<ProgressBar x:Name="prog" Grid.Column="1" HorizontalAlignment="Left" Height="16" Margin="471,531,0,0" Grid.Row="1" VerticalAlignment="Top" Width="228" Visibility="Hidden" IsIndeterminate="True"/>
</Grid>
</Window>
Loading

0 comments on commit 1edad19

Please sign in to comment.