diff --git a/Bobocraft 2 Launcher v6 disclaimer/.gitignore b/Bobocraft 2 Launcher v7 Machines Folder/.gitignore similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/.gitignore rename to Bobocraft 2 Launcher v7 Machines Folder/.gitignore diff --git a/Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/App.xaml b/Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/App.xaml similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/App.xaml rename to Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/App.xaml diff --git a/Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/App.xaml.cs b/Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/App.xaml.cs similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/App.xaml.cs rename to Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/App.xaml.cs diff --git a/Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/AssemblyInfo.cs b/Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/AssemblyInfo.cs similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/AssemblyInfo.cs rename to Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/AssemblyInfo.cs diff --git a/Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/Bobocraft 2 Launcher Update Assistant.csproj b/Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/Bobocraft 2 Launcher Update Assistant.csproj similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/Bobocraft 2 Launcher Update Assistant.csproj rename to Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/Bobocraft 2 Launcher Update Assistant.csproj diff --git a/Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/LauncherBackground.png b/Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/LauncherBackground.png similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/LauncherBackground.png rename to Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/LauncherBackground.png diff --git a/Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/MainWindow.xaml b/Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/MainWindow.xaml similarity index 54% rename from Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/MainWindow.xaml rename to Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/MainWindow.xaml index f011151..d17bb9b 100644 --- a/Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/MainWindow.xaml +++ b/Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/MainWindow.xaml @@ -14,19 +14,6 @@ <TextBlock Name="VersionText" VerticalAlignment="Bottom" HorizontalAlignment="Right" FontSize="20" Background="#7F000000" Foreground="White" Margin="0, 0, 5, 25" Text="Mod Version:"/> <TextBlock Name="LauncherVersionText" VerticalAlignment="Bottom" HorizontalAlignment="Left" FontSize="20" Background="#7F000000" Foreground="White" Margin="0, 0, 5, 25" Text="Launcher Version:"/> <TextBlock Name="DisclaimerText" VerticalAlignment="Top" HorizontalAlignment="Center" FontSize="8" Background="#7F000000" Foreground="White" Margin="0,0,5,0" Text="This is a community project and is not affiliated with or endorsed by Freejam in any way. Modify Your Game Files At Your Own Risk. We are forever grateful to Freejam for making this great game and we welcome anyone who would like to join us!"/> - <Button Name ="DiscordButton" BorderThickness="0" Click ="DiscordButton_Click" Background="#00000000" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,160,7,0" Height="90" Width="100"> - <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" Width="90" Height="90"> - <Image Source="/discord-mark-blue.png" HorizontalAlignment="Left" VerticalAlignment="Center" Width="90" Height="90" /> - </StackPanel> - </Button> - <TextBlock Name="DiscordText" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="10" Background="#7F000000" Foreground="White" Margin="0,250,14,0" Text="Join Us On Discord!"/> - <Button Name ="FAQButton" BorderThickness="0" Click ="FAQButton_Click" Background="#00000000" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,263,7,0" Height="90" Width="100"> - <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" Width="90" Height="90"> - <Image Source="/vector_dizzy.png" HorizontalAlignment="Left" VerticalAlignment="Center" Width="90" Height="90" /> - </StackPanel> - </Button> - <TextBlock Name="FAQButtonText" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="8" Background="#7F000000" Foreground="White" Margin="0,348,7,0" Text="Frequently Asked Questions"/> - <TextBlock Name="FAQFullText" TextWrapping="Wrap" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="8" Background="#7F000000" Foreground="White" Text="Lorem ipsum" Height="350" Width="500" Visibility="Hidden"/> <Button Name="PlayButton" Content="Updating Launcher" Click="PlayButton_Click" Height="60" FontSize="28" FontWeight="Bold" Foreground="#DDFFFFFF" Margin="0, 0, 0, 15" VerticalAlignment="Bottom" HorizontalAlignment="Center" MinWidth="150" Background="#FFFF9700" Padding="10,1,10,1"/> </Grid> </Window> diff --git a/Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/MainWindow.xaml.cs b/Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/MainWindow.xaml.cs similarity index 71% rename from Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/MainWindow.xaml.cs rename to Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/MainWindow.xaml.cs index af1e78d..7a77dbc 100644 --- a/Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/MainWindow.xaml.cs +++ b/Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/MainWindow.xaml.cs @@ -77,7 +77,6 @@ namespace Bobocraft_2_Launcher_Update_Assistant versionFile = Path.Combine(rootPath, "version.txt"); launcherVersionFile = Path.Combine(rootPath, "launcherversion.txt"); tempZip = Path.Combine(rootPath, "temp"); - FAQFullText.Text = "Frequently Asked Questions:\r\n\r\n\tWhat is this? Is this the new Robocraft?\r\nThis game was originally under development by Freejam under the title ‘Robocraft 2’ until development was cancelled in early 2024. Freejam decided to change directions with their project, which is now under development as ‘Robocraft 2’ (often referred to as ‘The Robocraft 2 Rebuild’ by the community). When the original was cancelled, the community decided to preserve it and set up dedicated community servers so we could still play together. This launcher exists to help you play that original version of Robocraft 2, plus some community bug fixes and balance changes. If you are interested in the new version being currently developed by Freejam you can request access to the playtest on the Robocraft steam store page or visit Robocraft2.com for more information. \r\n\r\n\tHow do I use this thing?\r\nJust put it inside your main installation folder, “\\Robocraft 2” and run it, ask the discord if you are running into any problems and someone will help you. It will modify your vanilla Robocraft 2 install to a modded one and check for updates so you’ll have the latest community patch and will be able to connect to the community server. This launcher only works for windows users, check the discord for mac/linux information.\r\n\r\n\tHow do I install bots/precons/maps?\r\nThese are all stored inside your application data folder. To access it, follow these steps:\r\nPress the windows key, type ‘%appdata%’ and press enter\r\nNavigate to ‘\\AppData\\LocalLow\\Freejam\\Robocraft 2’\r\nBots are located in: Modded\\Machines\r\nMaps are located in: Mock\\Worlds\r\nPrecons are located in: Modded\\Precons\r\n\r\n\tCan I share this game on social media?\r\nYes, but you must make it clear that this is not an official Freejam project or endorsed by or affiliated with Freejam. This can be with a text disclaimer in the description, for example. Freejam has asked us to do this and we think it is quite reasonable and understandable, given that their new project is also called ‘Robocraft 2’ and they probably want to avoid confusion.\r\n\r\n\tCredits\r\nOriginal Game: Freejam\r\nMod/Server Build: NorbiPeti\r\nMain Server Host: shadowcrafter01\r\nBalance Changes: OXxzyDoOM\r\nDiscord Operator: Loading_._._.\r\nLauncher: Ace73Streaming\r\n"; } private void CheckForLauncherUpdates() @@ -156,21 +155,6 @@ namespace Bobocraft_2_Launcher_Update_Assistant } - private void DiscordButton_Click(object sender, RoutedEventArgs e) - { - Process.Start(new ProcessStartInfo() - { - FileName = "https://discord.gg/3jRESN4Dv3", - UseShellExecute = true - }); - } - - private void FAQButton_Click(object sender, RoutedEventArgs e) - { - if (FAQFullText.Visibility == Visibility.Visible) { FAQFullText.Visibility = Visibility.Hidden; } - else { FAQFullText.Visibility = Visibility.Visible; } - } - private void Window_ContentRendered(object sender, EventArgs e) { diff --git a/Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/bobocraft 2 logo vector.png b/Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/bobocraft 2 logo vector.png similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/bobocraft 2 logo vector.png rename to Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/bobocraft 2 logo vector.png diff --git a/Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/discord-mark-blue.png b/Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/discord-mark-blue.png similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/discord-mark-blue.png rename to Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/discord-mark-blue.png diff --git a/Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/vector_dizzy.png b/Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/vector_dizzy.png similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/Bobocraft 2 Launcher Update Assistant/vector_dizzy.png rename to Bobocraft 2 Launcher v7 Machines Folder/Bobocraft 2 Launcher Update Assistant/vector_dizzy.png diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher.sln b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher.sln similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher.sln rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher.sln diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/App.config b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/App.config similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/App.config rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/App.config diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/App.xaml b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/App.xaml similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/App.xaml rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/App.xaml diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/App.xaml.cs b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/App.xaml.cs similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/App.xaml.cs rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/App.xaml.cs diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/AssemblyInfo.cs b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/AssemblyInfo.cs similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/AssemblyInfo.cs rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/AssemblyInfo.cs diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/Bobocraft 2 Launcher.csproj b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/Bobocraft 2 Launcher.csproj similarity index 91% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/Bobocraft 2 Launcher.csproj rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/Bobocraft 2 Launcher.csproj index 8a47aac..c2209a7 100644 --- a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/Bobocraft 2 Launcher.csproj +++ b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/Bobocraft 2 Launcher.csproj @@ -8,6 +8,7 @@ </PropertyGroup> <ItemGroup> + <None Remove="avatar.png" /> <None Remove="bobocraft 2 logo vector.png" /> <None Remove="discord-mark-blue.png" /> <None Remove="images\Icon.ico" /> @@ -17,6 +18,7 @@ </ItemGroup> <ItemGroup> + <Resource Include="avatar.png" /> <Resource Include="bobocraft 2 logo vector.png" /> <Resource Include="discord-mark-blue.png" /> <Resource Include="images\Icon.ico" /> diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/LauncherBackground.png b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/LauncherBackground.png similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/LauncherBackground.png rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/LauncherBackground.png diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/MainWindow.xaml b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/MainWindow.xaml similarity index 78% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/MainWindow.xaml rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/MainWindow.xaml index 2a2e517..b6894a4 100644 --- a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/MainWindow.xaml +++ b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/MainWindow.xaml @@ -14,20 +14,26 @@ <TextBlock Name="VersionText" VerticalAlignment="Bottom" HorizontalAlignment="Right" FontSize="20" Background="#7F000000" Foreground="White" Margin="0, 0, 5, 25" Text="Mod Version:"/> <TextBlock Name="LauncherVersionText" VerticalAlignment="Bottom" HorizontalAlignment="Left" FontSize="20" Background="#7F000000" Foreground="White" Margin="0, 0, 5, 25" Text="Launcher Version:"/> <TextBlock Name="DisclaimerText" VerticalAlignment="Top" HorizontalAlignment="Center" FontSize="8" Background="#7F000000" Foreground="White" Margin="0,0,5,0" Text="This is a community project and is not affiliated with or endorsed by Freejam in any way. Modify your game files at your own risk. We are forever grateful to Freejam for making this great game and we welcome anyone who would like to join us!"/> - <Button Name ="DiscordButton" BorderThickness="0" Click ="DiscordButton_Click" Background="#00000000" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,160,7,0" Height="90" Width="100"> + <Button Name ="DiscordButton" BorderThickness="0" Click ="DiscordButton_Click" Background="#00000000" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,200,7,0" Height="90" Width="100"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" Width="90" Height="90"> <Image Source="/discord-mark-blue.png" HorizontalAlignment="Left" VerticalAlignment="Center" Width="90" Height="90" /> </StackPanel> </Button> - <TextBlock Name="DiscordText" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="10" Background="#7F000000" Foreground="White" Margin="0,250,14,0" Text="Join Us On Discord!"/> - <Button Name ="FAQButton" BorderThickness="0" Click ="FAQButton_Click" Background="#00000000" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,263,7,0" Height="90" Width="100"> + <TextBlock Name="DiscordText" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="10" Background="#7F000000" Foreground="White" Margin="0,290,14,0" Text="Join Us On Discord!"/> + <Button Name ="FAQButton" BorderThickness="0" Click ="FAQButton_Click" Background="#00000000" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,310,7,0" Height="90" Width="100"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" Width="90" Height="90"> <Image Source="/vector_dizzy.png" HorizontalAlignment="Left" VerticalAlignment="Center" Width="90" Height="90" /> </StackPanel> </Button> - <TextBlock Name="FAQButtonText" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="8" Background="#7F000000" Foreground="White" Margin="0,348,7,0" Text="Frequently Asked Questions"/> + <TextBlock Name="FAQButtonText" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="8" Background="#7F000000" Foreground="White" Margin="0,400,7,0" Text="Frequently Asked Questions"/> <TextBlock Name="FAQFullText" TextWrapping="Wrap" VerticalAlignment="Center" HorizontalAlignment="Center" Background="#7F000000" Foreground="White" Text="Lorem ipsum" Height="460" Width="750" Margin="0,0,0,50" FontSize="10" Visibility="Hidden"/> <Button Name="PlayButton" Content="Checking For Updates" Click="PlayButton_Click" Height="60" FontSize="28" FontWeight="Bold" Foreground="#DDFFFFFF" Margin="0, 0, 0, 15" VerticalAlignment="Bottom" HorizontalAlignment="Center" MinWidth="150" Background="#FFFF9700" Padding="10,1,10,1"/> <TextBox x:Name ="mainWindowBox" Margin="300,200,300,256" FontSize="36" FontFamily="Bahnschrift SemiBold" Text="Enter Username" TextAlignment="Center" Background="White" VerticalAlignment="Center" Visibility="Hidden"/> + <Button Name ="CRF2ManagerButton" BorderThickness="0" Click ="CRF2ManagerButton_Click" Background="#00000000" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,100,7,0" Height="90" Width="100"> + <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" Width="90" Height="90"> + <Image Source="/avatar.png" HorizontalAlignment="Left" VerticalAlignment="Center" Width="90" Height="90" /> + </StackPanel> + </Button> + <TextBlock x:Name="DiscordText_Copy" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="10" Background="#7F000000" Foreground="White" Margin="0,190,11,0" Text="Open CRF2 Manager"/> </Grid> </Window> diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/MainWindow.xaml.cs b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/MainWindow.xaml.cs similarity index 74% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/MainWindow.xaml.cs rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/MainWindow.xaml.cs index 0fa9231..e1c94fe 100644 --- a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/MainWindow.xaml.cs +++ b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/MainWindow.xaml.cs @@ -19,7 +19,8 @@ namespace GameLauncher failed, downloadingGame, downloadingUpdate, - awaitingInput + awaitingInput, + downloadingCRF2Manager } /// <summary> @@ -40,6 +41,7 @@ namespace GameLauncher private string chosenUserName; private string assistantPath; private string botDirectory; + private string CRF2ManagerExe; private LauncherStatus _status; internal LauncherStatus Status @@ -65,6 +67,9 @@ namespace GameLauncher case LauncherStatus.awaitingInput: PlayButton.Content = "Done"; break; + case LauncherStatus.downloadingCRF2Manager: + PlayButton.Content = "Downloading CRF2 Manager"; + break; default: break; } @@ -96,10 +101,72 @@ namespace GameLauncher tempZip = Path.Combine(rootPath, "temp"); modZip = Path.Combine(rootPath, "BepInEx", "plugins"); configFile = Path.Combine(rootPath, "BepInEx", "config", "RC2MPWE.cfg"); - botDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory), "Bobocraft 2 Community Starter Bots"); - FAQFullText.Text = "Frequently Asked Questions:\r\n\r\n\tWhat is this? Is this the new Robocraft?\r\nThis game was originally under development by Freejam under the title ‘Robocraft 2’ until development was cancelled in early 2024. Freejam decided to change directions with their project, which is now under development as ‘Robocraft 2’ (often referred to as ‘The Robocraft 2 Rebuild’ by the community). When the original was cancelled, the community decided to preserve it and set up dedicated community servers so we could still play together. This launcher exists to help you play that original version of Robocraft 2, plus some community bug fixes and balance changes. If you are interested in the new version being currently developed by Freejam you can request access to the playtest on the Robocraft steam store page or visit Robocraft2.com for more information. \r\n\r\n\tHow do I use this thing?\r\nJust put it inside your main installation folder, “\\Robocraft 2” and run it, ask the discord if you are running into any problems and someone will help you. It will modify your vanilla Robocraft 2 install to a modded one and check for updates so you’ll have the latest community patch and will be able to connect to the community server. This launcher only works for windows users, check the discord for mac/linux information.\r\n\r\n\tHow do I install bots/precons/maps?\r\nThese are all stored inside your application data folder. To access it, follow these steps:\r\nPress the windows key, type ‘%appdata%’ and press enter\r\nNavigate to ‘\\AppData\\LocalLow\\Freejam\\Robocraft 2’\r\nBots are located in: Modded\\Machines\r\nMaps are located in: Mock\\Worlds\r\nPrecons are located in: Modded\\Precons\r\n\r\n\tCan I share this game on social media?\r\nYes, but you must make it clear that this is not an official Freejam project or endorsed by or affiliated with Freejam. This can be with a text disclaimer in the description, for example. Freejam has asked us to do this and we think it is quite reasonable and understandable, given that their new project is also called ‘Robocraft 2’ and they probably want to avoid confusion.\r\n\r\n\tCredits\r\nOriginal Game: Freejam\r\nMod/Server Build: NorbiPeti\r\nMain Server Host: shadowcrafter01\r\nBalance Changes: OXxzyDoOM\r\nDiscord Operator: Loading_._._.\r\nLauncher: Ace73Streaming\r\n"; + CRF2ManagerExe = Path.Combine(launcherPath, "BOBOBloodhound.exe"); + botDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "AppData", "LocalLow", "Freejam", "Robocraft 2", "Modded", "Machines"); + FAQFullText.Text = "Frequently Asked Questions:\r\n\tWhat is this? Is this the new Robocraft?\r\nThis game was originally under development by Freejam under the title ‘Robocraft 2’ until development was cancelled in early 2024. Freejam decided to change directions with their project, which is now under development as ‘Robocraft 2’ (often referred to as ‘The Robocraft 2 Rebuild’ by the community). When the original was cancelled, the community decided to preserve it and set up dedicated community servers so we could still play together. This launcher exists to help you play that original version of Robocraft 2, plus some community bug fixes and balance changes. If you are interested in the new version being currently developed by Freejam you can request access to the playtest on the Robocraft steam store page or visit Robocraft2.com for more information. \r\n\r\n\tHow do I use this thing?\r\nJust put it inside your main installation folder, “\\Robocraft 2” and run it, ask the discord if you are running into any problems and someone will help you. It will modify your vanilla Robocraft 2 install to a modded one and check for updates so you’ll have the latest community patch and will be able to connect to the community server. This launcher only works for windows users, check the discord for mac/linux information.\r\n\r\n\tHow do I install bots/precons/maps?\r\nThese are all stored inside your application data folder. To access it, follow these steps:\r\nPress the windows key, type ‘appdata’ and press enter\r\nNavigate to ‘\\AppData\\LocalLow\\Freejam\\Robocraft 2’\r\nBots are located in: Modded\\Machines\r\nMaps are located in: Mock\\Worlds\r\nPrecons are located in: Modded\\Precons\r\n\r\n\tCan I share this game on social media?\r\nYes, but you must make it clear that this is not an official Freejam project or endorsed by or affiliated with Freejam. This can be with a text disclaimer in the description, for example. Freejam has asked us to do this and we think it is quite reasonable and understandable, given that their new project is also called ‘Robocraft 2’ and they probably want to avoid confusion.\r\n\r\n\tCredits\r\nOriginal Game: Freejam\r\nMod/Server Build: NorbiPeti\r\nMain Server Host: shadowcrafter01\r\nBalance Changes: OXxzyDoOM\r\nDiscord Operator: Loading_._._.\r\nCRF2 Manager: Robocrafter Art (ARTGUK)\r\nLauncher: Ace73Streaming"; } + private void OpenCRF2Manager() + { + if (File.Exists(CRF2ManagerExe) && Status == LauncherStatus.ready) + { + ProcessStartInfo CRF2ManagerProcess = new ProcessStartInfo(CRF2ManagerExe); + CRF2ManagerProcess.WorkingDirectory = rootPath; + Process.Start(CRF2ManagerProcess); + } + else if (Status != LauncherStatus.ready) + { + MessageBox.Show($"Please Update The Launcher Before Running The CRF2 Manager"); + } + else if (!File.Exists(CRF2ManagerExe)) + { + UpdateCRF2Manager(Version.zero); + } + } + + + private void UpdateCRF2Manager(Version _onlinelauncherVersion) + { + try + { + WebClient webClient = new WebClient(); + Status = LauncherStatus.downloadingCRF2Manager; + _onlinelauncherVersion = new Version(webClient.DownloadString("https://drive.google.com/uc?export=download&id=16YSzW2p-mWDyS4249HdsNivMHvPU6uOu")); + webClient.DownloadFileCompleted += new AsyncCompletedEventHandler(DownloadCRF2ManagerCompletedCallback); + webClient.DownloadFileAsync(new Uri("https://drive.usercontent.google.com/u/0/uc?id=18mbNZXPfkHxUcLJFEvvbhZNi5ohWQome&export=download"), tempZip, _onlinelauncherVersion); + } + catch (Exception ex) + { + Status = LauncherStatus.failed; + MessageBox.Show($"Error downloading CRF2 Manager: {ex}"); + } + } + + private void DownloadCRF2ManagerCompletedCallback(object sender, AsyncCompletedEventArgs e) + { + try + { + string onlineLauncherVersion = ((Version)e.UserState).ToString(); + ZipFile.ExtractToDirectory(tempZip, assistantPath, true); + ProcessStartInfo CRF2ManagerProcess = new ProcessStartInfo(CRF2ManagerExe); + CRF2ManagerProcess.WorkingDirectory = rootPath; + Process.Start(CRF2ManagerProcess); + Status = LauncherStatus.ready; + } + catch (Exception ex) + { + Status = LauncherStatus.failed; + MessageBox.Show($"Error installing CRF2 Manager: {ex}"); + } + } + + + + + + + + private void CheckForLauncherUpdates() { if (File.Exists(launcherVersionFile)) @@ -256,7 +323,7 @@ namespace GameLauncher { ZipFile.ExtractToDirectory(tempZip, botDirectory, true); File.Delete(tempZip); - MessageBox.Show("A collection of Community Starter Bots was placed your desktop, please check the readme file for instructions on how to use them, and welcome to Bobocraft 2!"); + MessageBox.Show("Community Starter Bots installed to Robocraft 2 bot directory: \r\n\r\n" + botDirectory + "\r\n\r\nWelcome to Bobocraft 2!"); Status = LauncherStatus.downloadingUpdate; CheckForUpdates(); } @@ -320,6 +387,10 @@ namespace GameLauncher CheckInputUsername(); } } + private void CRF2ManagerButton_Click(object sender, RoutedEventArgs e) + { + OpenCRF2Manager(); + } private void DiscordButton_Click(object sender, RoutedEventArgs e) { diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/Properties/Settings.Designer.cs b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/Properties/Settings.Designer.cs similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/Properties/Settings.Designer.cs rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/Properties/Settings.Designer.cs diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/Properties/Settings.settings b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/Properties/Settings.settings similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/Properties/Settings.settings rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/Properties/Settings.settings diff --git a/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/avatar.png b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/avatar.png new file mode 100644 index 0000000..03ebe16 Binary files /dev/null and b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/avatar.png differ diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/bobocraft 2 logo vector.png b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/bobocraft 2 logo vector.png similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/bobocraft 2 logo vector.png rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/bobocraft 2 logo vector.png diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/discord-mark-blue.png b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/discord-mark-blue.png similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/discord-mark-blue.png rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/discord-mark-blue.png diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/images/Icon.ico b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/images/Icon.ico similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/images/Icon.ico rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/images/Icon.ico diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/images/LauncherBackground.png b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/images/LauncherBackground.png similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/images/LauncherBackground.png rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/images/LauncherBackground.png diff --git a/Bobocraft 2 Launcher v6 disclaimer/GameLauncher/vector_dizzy.png b/Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/vector_dizzy.png similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/GameLauncher/vector_dizzy.png rename to Bobocraft 2 Launcher v7 Machines Folder/GameLauncher/vector_dizzy.png diff --git a/Bobocraft 2 Launcher v6 disclaimer/Licence.txt b/Bobocraft 2 Launcher v7 Machines Folder/Licence.txt similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/Licence.txt rename to Bobocraft 2 Launcher v7 Machines Folder/Licence.txt diff --git a/Bobocraft 2 Launcher v6 disclaimer/README.md b/Bobocraft 2 Launcher v7 Machines Folder/README.md similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/README.md rename to Bobocraft 2 Launcher v7 Machines Folder/README.md diff --git a/Bobocraft 2 Launcher v6 disclaimer/VisualStudio.gitignore b/Bobocraft 2 Launcher v7 Machines Folder/VisualStudio.gitignore similarity index 100% rename from Bobocraft 2 Launcher v6 disclaimer/VisualStudio.gitignore rename to Bobocraft 2 Launcher v7 Machines Folder/VisualStudio.gitignore