├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── TaikoModManager.sln ├── TaikoModManager ├── 7z │ ├── 7z.dll │ └── 7z.exe ├── App.xaml ├── App.xaml.cs ├── AssemblyInfo.cs ├── BepInExConfigTab.cs ├── MainWindow.xaml ├── MainWindow.xaml.cs ├── ModsTab.cs ├── PluginInfo.cs ├── PluginsTab.cs ├── ProtocolRegistration.cs ├── TaikoModManager.csproj ├── TaikoModManager.csproj.user ├── Utilities.cs └── res │ ├── app-icon.ico │ └── app-icon.png ├── UpdateHelper ├── Program.cs └── UpdateHelper.csproj └── build.bat /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /.vs 3 | /bin 4 | /obj 5 | /TaikoModManager/bin 6 | /TaikoModManager/obj 7 | /Release 8 | /UpdateHelper/bin 9 | /UpdateHelper/obj 10 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Taiko Mod Manager 2 | 3 | Taiko Mod Manager is a tool designed to enhance your experience with the Steam Release of *Taiko no Tatsujin: Rhythm Festival*. It provides features for managing mods, plugins, and configurations, with integration for BepInEx. 4 | 5 | ![A screenshot of Taiko Mod Manager, showing the plugin manager screen.](https://i.imgur.com/XLr5Fsl.png "Main Window") 6 | 7 | ## Features 8 | 9 | - **Auto-Detection**: Automatically detects the game installation path. 10 | - **Plugin Management**: Install and update directly from GitHub repositories as well as directly manage plugins configuration. 11 | - **Mod Management**: Enable, disable, and configure mods through a user-friendly interface. 12 | - **BepInEx Integration**: Automatically installs BepInEx if not present and manages its configuration. 13 | - **TekaTeka Support**: Includes functionality for managing TekaTeka mods. 14 | 15 | ## Requirements 16 | 17 | ### Prerequisites 18 | 19 | 1. **Operating System**: Windows 10 or Windows 11. 20 | 2. **.NET Framework**: .NET 8.0 or higher. You can download it from [Microsoft's .NET page](https://dotnet.microsoft.com/). 21 | 3. **BepInEx**: The tool will auto-install BepInEx if it's not already set up. 22 | 4. **Game Installation**: Ensure *Taiko no Tatsujin: Rhythm Festival* is installed on your system through Steam. 23 | 24 | ### Additional Dependencies 25 | 26 | - `Tomlyn`: For parsing and managing TOML files. 27 | - `System.IO.Compression`: For handling ZIP files when installing plugins. 28 | 29 | ## Installation 30 | 31 | 1. Clone or download this repository to your local machine. 32 | 2. Ensure all prerequisites are installed. 33 | 3. Build the project using Visual Studio or another compatible IDE. 34 | 35 | ## Usage 36 | 37 | 1. Launch the application. 38 | 2. Follow the on-screen instructions to locate the game executable (`Taiko no Tatsujin Rhythm Festival.exe`). 39 | 3. Use the tabs to manage: 40 | - **Plugins**: Install, update, and configure plugins. 41 | - **Mods**: Manage TekaTeka mods and their configurations. 42 | - **BepInEx Config**: Edit BepInEx settings. 43 | 4. Enjoy a customized *Taiko no Tatsujin* experience! 44 | 45 | ## How It Works 46 | 47 | ### Game Path Detection 48 | 49 | The application attempts to locate the game automatically by checking Steam library folders or prompts the user to manually select the game executable. 50 | 51 | ### Plugins 52 | 53 | - Download and install plugins from GitHub repositories. 54 | - Automatically check for updates. 55 | - Edit plugin configurations. 56 | 57 | ### Mods 58 | 59 | - Manage mods stored in the `TekaSongs` folder. 60 | - Enable or disable mods via their `config.toml` files. 61 | 62 | ### Configuration 63 | 64 | - View and edit `BepInEx.cfg` through an intuitive UI. 65 | 66 | ## Contributing 67 | 68 | Contributions are welcome! Feel free to submit issues or pull requests. 69 | 70 | ## License 71 | 72 | This is free and unencumbered software released into the public domain. 73 | 74 | Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. 75 | 76 | For more information, please refer to [The Unlicense](http://unlicense.org/). 77 | 78 | --- 79 | -------------------------------------------------------------------------------- /TaikoModManager.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.9.34728.123 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TaikoModManager", "TaikoModManager\TaikoModManager.csproj", "{A6B3C844-34A0-4970-84E3-1F7C11DE0504}" 7 | EndProject 8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UpdateHelper", "UpdateHelper\UpdateHelper.csproj", "{545C62A3-864F-42F4-B066-646BC554C34B}" 9 | EndProject 10 | Global 11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 12 | Debug|Any CPU = Debug|Any CPU 13 | Debug|x64 = Debug|x64 14 | Debug|x86 = Debug|x86 15 | Release|Any CPU = Release|Any CPU 16 | Release|x64 = Release|x64 17 | Release|x86 = Release|x86 18 | EndGlobalSection 19 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 20 | {A6B3C844-34A0-4970-84E3-1F7C11DE0504}.Debug|Any CPU.ActiveCfg = Debug|x64 21 | {A6B3C844-34A0-4970-84E3-1F7C11DE0504}.Debug|x64.ActiveCfg = Debug|x64 22 | {A6B3C844-34A0-4970-84E3-1F7C11DE0504}.Debug|x64.Build.0 = Debug|x64 23 | {A6B3C844-34A0-4970-84E3-1F7C11DE0504}.Debug|x86.ActiveCfg = Debug|x64 24 | {A6B3C844-34A0-4970-84E3-1F7C11DE0504}.Release|Any CPU.ActiveCfg = Release|x64 25 | {A6B3C844-34A0-4970-84E3-1F7C11DE0504}.Release|x64.ActiveCfg = Release|x64 26 | {A6B3C844-34A0-4970-84E3-1F7C11DE0504}.Release|x64.Build.0 = Release|x64 27 | {A6B3C844-34A0-4970-84E3-1F7C11DE0504}.Release|x86.ActiveCfg = Release|x64 28 | {545C62A3-864F-42F4-B066-646BC554C34B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 29 | {545C62A3-864F-42F4-B066-646BC554C34B}.Debug|Any CPU.Build.0 = Debug|Any CPU 30 | {545C62A3-864F-42F4-B066-646BC554C34B}.Debug|x64.ActiveCfg = Debug|Any CPU 31 | {545C62A3-864F-42F4-B066-646BC554C34B}.Debug|x64.Build.0 = Debug|Any CPU 32 | {545C62A3-864F-42F4-B066-646BC554C34B}.Debug|x86.ActiveCfg = Debug|Any CPU 33 | {545C62A3-864F-42F4-B066-646BC554C34B}.Debug|x86.Build.0 = Debug|Any CPU 34 | {545C62A3-864F-42F4-B066-646BC554C34B}.Release|Any CPU.ActiveCfg = Release|Any CPU 35 | {545C62A3-864F-42F4-B066-646BC554C34B}.Release|Any CPU.Build.0 = Release|Any CPU 36 | {545C62A3-864F-42F4-B066-646BC554C34B}.Release|x64.ActiveCfg = Release|Any CPU 37 | {545C62A3-864F-42F4-B066-646BC554C34B}.Release|x64.Build.0 = Release|Any CPU 38 | {545C62A3-864F-42F4-B066-646BC554C34B}.Release|x86.ActiveCfg = Release|Any CPU 39 | {545C62A3-864F-42F4-B066-646BC554C34B}.Release|x86.Build.0 = Release|Any CPU 40 | EndGlobalSection 41 | GlobalSection(SolutionProperties) = preSolution 42 | HideSolutionNode = FALSE 43 | EndGlobalSection 44 | GlobalSection(ExtensibilityGlobals) = postSolution 45 | SolutionGuid = {DB3F456F-CCDA-4C64-A0AB-84725F1FE475} 46 | EndGlobalSection 47 | EndGlobal 48 | -------------------------------------------------------------------------------- /TaikoModManager/7z/7z.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cainan-c/TaikoModManager/040fa9141513e977ca781739ba93ba6c95693825/TaikoModManager/7z/7z.dll -------------------------------------------------------------------------------- /TaikoModManager/7z/7z.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cainan-c/TaikoModManager/040fa9141513e977ca781739ba93ba6c95693825/TaikoModManager/7z/7z.exe -------------------------------------------------------------------------------- /TaikoModManager/App.xaml: -------------------------------------------------------------------------------- 1 |  2 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /TaikoModManager/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows; 3 | 4 | namespace TaikoModManager 5 | { 6 | public partial class App : Application 7 | { 8 | private void Application_Startup(object sender, StartupEventArgs e) 9 | { 10 | string incomingUrl = null; 11 | if (e.Args.Length > 0 && e.Args[0].StartsWith("taikomodmanager:", StringComparison.OrdinalIgnoreCase)) 12 | { 13 | incomingUrl = e.Args[0].Replace("taikomodmanager:", "").Trim(); 14 | } 15 | MainWindow main = new MainWindow(incomingUrl); 16 | main.Show(); 17 | } 18 | 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /TaikoModManager/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | [assembly: ThemeInfo( 4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 5 | //(used if a resource is not found in the page, 6 | // or application resource dictionaries) 7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 8 | //(used if a resource is not found in the page, 9 | // app, or any theme specific resource dictionaries) 10 | )] 11 | -------------------------------------------------------------------------------- /TaikoModManager/BepInExConfigTab.cs: -------------------------------------------------------------------------------- 1 | // Updated BepInExConfigTab.cs 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Windows; 5 | using System.Windows.Controls; 6 | 7 | namespace TaikoModManager 8 | { 9 | public class BepInExConfigTab 10 | { 11 | private readonly string configPath; 12 | private readonly StackPanel optionsPanel; 13 | private Dictionary settingEditors; 14 | 15 | public BepInExConfigTab(string configPath, StackPanel optionsPanel) 16 | { 17 | this.configPath = configPath; 18 | this.optionsPanel = optionsPanel; 19 | this.settingEditors = new Dictionary(); 20 | } 21 | 22 | public void LoadConfig() 23 | { 24 | optionsPanel.Children.Clear(); 25 | settingEditors.Clear(); 26 | 27 | if (!File.Exists(configPath)) 28 | { 29 | optionsPanel.Children.Add(new TextBlock 30 | { 31 | Text = "BepInEx.cfg not found. Please ensure the file exists.", 32 | Foreground = System.Windows.Media.Brushes.White, 33 | FontSize = 14, 34 | Margin = new System.Windows.Thickness(5) 35 | }); 36 | return; 37 | } 38 | 39 | string[] configLines = File.ReadAllLines(configPath); 40 | TextBlock currentHeader = null; 41 | 42 | foreach (string line in configLines) 43 | { 44 | if (string.IsNullOrWhiteSpace(line)) 45 | { 46 | // Add spacing for clarity 47 | optionsPanel.Children.Add(new TextBlock { Text = "", Height = 10 }); 48 | continue; 49 | } 50 | 51 | if (line.StartsWith("[") && line.EndsWith("]")) 52 | { 53 | currentHeader = new TextBlock 54 | { 55 | Text = line, 56 | Foreground = System.Windows.Media.Brushes.White, 57 | FontSize = 14, 58 | Margin = new System.Windows.Thickness(5, 10, 5, 5) 59 | }; 60 | optionsPanel.Children.Add(currentHeader); 61 | continue; 62 | } 63 | 64 | if (line.StartsWith("#")) 65 | { 66 | optionsPanel.Children.Add(new TextBlock 67 | { 68 | Text = line.TrimStart('#').Trim(), 69 | Foreground = System.Windows.Media.Brushes.LightGray, 70 | FontSize = 12, 71 | Margin = new System.Windows.Thickness(5, 0, 5, 5) 72 | }); 73 | continue; 74 | } 75 | 76 | if (line.Contains("=")) 77 | { 78 | var parts = line.Split(new[] { '=' }, 2); 79 | string key = parts[0].Trim(); 80 | string value = parts[1].Trim(); 81 | 82 | // Create a label and a text box for each setting 83 | var label = new TextBlock 84 | { 85 | Text = key, 86 | Foreground = System.Windows.Media.Brushes.White, 87 | FontSize = 12, 88 | Margin = new System.Windows.Thickness(5, 5, 5, 0) 89 | }; 90 | 91 | var textBox = new TextBox 92 | { 93 | Text = value, 94 | FontFamily = new System.Windows.Media.FontFamily("Consolas"), 95 | FontSize = 12, 96 | Background = System.Windows.Media.Brushes.Black, 97 | Foreground = System.Windows.Media.Brushes.White, 98 | Margin = new System.Windows.Thickness(5, 0, 5, 10) 99 | }; 100 | 101 | optionsPanel.Children.Add(label); 102 | optionsPanel.Children.Add(textBox); 103 | settingEditors[key] = textBox; 104 | } 105 | } 106 | } 107 | 108 | public void SaveConfig() 109 | { 110 | if (settingEditors.Count == 0) 111 | { 112 | MessageBox.Show("No settings to save. Load the config file first.", "Error", MessageBoxButton.OK, MessageBoxImage.Error); 113 | return; 114 | } 115 | 116 | try 117 | { 118 | var lines = new List(); 119 | string currentSection = null; 120 | 121 | foreach (string line in File.ReadAllLines(configPath)) 122 | { 123 | if (string.IsNullOrWhiteSpace(line) || line.StartsWith("#")) 124 | { 125 | lines.Add(line); 126 | continue; 127 | } 128 | 129 | if (line.StartsWith("[") && line.EndsWith("]")) 130 | { 131 | currentSection = line; 132 | lines.Add(line); 133 | continue; 134 | } 135 | 136 | if (line.Contains("=")) 137 | { 138 | var parts = line.Split(new[] { '=' }, 2); 139 | string key = parts[0].Trim(); 140 | 141 | if (settingEditors.ContainsKey(key)) 142 | { 143 | string value = settingEditors[key].Text; 144 | lines.Add($"{key} = {value}"); 145 | } 146 | else 147 | { 148 | lines.Add(line); // Preserve unknown lines 149 | } 150 | } 151 | else 152 | { 153 | lines.Add(line); 154 | } 155 | } 156 | 157 | File.WriteAllLines(configPath, lines); 158 | MessageBox.Show("Config saved successfully!", "Success", MessageBoxButton.OK, MessageBoxImage.Information); 159 | } 160 | catch (IOException ex) 161 | { 162 | MessageBox.Show($"Error saving config file: {ex.Message}", "Error", MessageBoxButton.OK, MessageBoxImage.Error); 163 | } 164 | } 165 | } 166 | } 167 | -------------------------------------------------------------------------------- /TaikoModManager/MainWindow.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 31 | 32 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 66 |