Skip to content

Commit

Permalink
Merge pull request #1 from Dev Branch
Browse files Browse the repository at this point in the history
Merge changes back to my GitHub
  • Loading branch information
danprice142 authored May 3, 2023
2 parents 2c728a2 + aea77de commit 46a3456
Show file tree
Hide file tree
Showing 228 changed files with 6,669 additions and 5,215 deletions.
121 changes: 0 additions & 121 deletions .github/workflows/main.yml

This file was deleted.

7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ StyleCopReport.xml
*.svclog
*.scc

# Files built by Visual Studio Code
*.code-workspace

# Chutzpah Test files
_Chutzpah*

Expand Down Expand Up @@ -226,7 +229,6 @@ ClientBin/
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs

Expand Down Expand Up @@ -348,3 +350,6 @@ MigrationBackup/

# Ionide (cross platform F# VS Code tools) working folder
.ionide/

# Background Assets
RetroPass/Assets/Background/*.mp4
14 changes: 12 additions & 2 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
# RetroPass authors
# Forked Repository

## Development
retropassdev
SirMangler

# Testing, QA
JoKu
Danp142
Danp142

# LaunchPass (this repository/fork)

## Development
Danp142
Mista Julius
MoistDreams

# Testing, QA
If you feel you belong here contact us.
21 changes: 21 additions & 0 deletions Docs/Build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Build Project?

1. Install Visual Studio 2019
2. Get the latest source code from Main/Dev branch or [release](https://github.com/Misunderstood-Wookiee/LaunchPass/releases)
3. Open **RetroPass.sln**
4. Under **Package.appxmanifest** -> **Packing**, create and choose a different Certificate if needed.
5. Set **Configuration** to **Release**
6. Set **Platform** to **x64**
7. **Project** -> **Publish** -> **Create App Packages...**
8. Choose **Sideloading**, turn off **Enable automatic updates**
9. **Yes, select a certificate** or **Yes, use the current certificate**
10. Under **Architecture** check only **x64**
11. Package is built and ready to install.
12. Optionally, for smaller package size, it is safe to delete:
- Add-AppDevPackage.resources
- Dependencies\arm
- Dependencies\arm64
- Dependencies\x86
- TelemetryDependencies
- Add-AppDevPackage.ps1
- Install.ps1
Binary file added Docs/LaunchPass.webp
Binary file not shown.
10 changes: 0 additions & 10 deletions Docs/RetroPass.xml

This file was deleted.

16 changes: 0 additions & 16 deletions Docs/SetupRetriXGold.md

This file was deleted.

Binary file added Docs/Setup_Images/Customize.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/Customize_Button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/Log_Button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/Settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/UserManual_Button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/VideoPlay_Button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/core_per_game.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/lbaeg01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/lbaeg02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/lbaeg03..png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/lbaeg03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/lbaeg04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/media_types.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/setup_dolphin_edit_emulator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/setup_ppsspp_edit_emulator.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/Setup_Images/setup_xbsx2_edit_emulator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Docs/core_per_game.png
Diff not rendered.
Binary file removed Docs/first_settings.png
Diff not rendered.
Binary file removed Docs/media_types.png
Diff not rendered.
Binary file removed Docs/menu.gif
Diff not rendered.
Binary file removed Docs/setup_retrixgold_associated_platforms.png
Diff not rendered.
Binary file removed Docs/setup_retrixgold_edit_emulator.png
Diff not rendered.
9 changes: 9 additions & 0 deletions RetroPass/App.xaml → LaunchPass/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
x:Class="RetroPass.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="using:Microsoft.UI.Xaml.Controls"
xmlns:local="using:RetroPass">

<Application.Resources>

<FontFamily x:Key="ApplicationFonts">Assets/Fonts/Xbox.ttf#Xbox</FontFamily>

</Application.Resources>


</Application>

151 changes: 151 additions & 0 deletions LaunchPass/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
using LaunchPass;
using System;
using System.Diagnostics;
using System.IO;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Storage;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;

namespace RetroPass
{
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.
/// </summary>
sealed partial class App : Application
{
public static readonly string SettingsAutoPlayVideo = "SettingsAutoPlayVideo";
public static readonly string SettingsLoggingEnabled = "SettingsLoggingEnabled";
public LaunchPassThemeSettings CurrentThemeSettings { get; set; }
public string LaunchPassRootPath { get; set; }
public bool IsLoadMainPage { get; set; } = true;

/// <summary>
/// Initializes the singleton application object. This is the first line of authored code
/// executed, and as such is the logical equivalent of main() or WinMain().
/// </summary>
public App()
{
this.InitializeComponent();
//bool result = Windows.UI.ViewManagement.ApplicationViewScaling.TrySetDisableLayoutScaling(true);
this.RequiresPointerMode = Windows.UI.Xaml.ApplicationRequiresPointerMode.WhenRequested;
this.Suspending += OnSuspending;
this.UnhandledException += OnUnhandledException;

var settings = ApplicationData.Current;
//If getting LocalSettings before getting LocalCacheFoler, the first time the app starts, it gets restarted.
//Strange behaviour and possibly some kind of a bug, but this prevents it.
var localCacheFolder = settings.LocalCacheFolder;

var localSettings = settings.LocalSettings;

if (localSettings.Values[SettingsAutoPlayVideo] == null)
{
localSettings.Values[SettingsAutoPlayVideo] = false;
}

if (localSettings.Values[SettingsLoggingEnabled] == null)
{
localSettings.Values[SettingsLoggingEnabled] = false;
}
}

private void OnUnhandledException(object sender, Windows.UI.Xaml.UnhandledExceptionEventArgs e)
{
e.Handled = true;
Trace.TraceError(e.Message);
Trace.TraceError(e.Exception.StackTrace);
}

private void OnLaunchedOrActivated(ApplicationExecutionState previousExecutionState, bool prelaunchActivated)
{
Windows.UI.ViewManagement.ApplicationView.GetForCurrentView().SetDesiredBoundsMode(Windows.UI.ViewManagement.ApplicationViewBoundsMode.UseCoreWindow);

//if (AnalyticsInfo.VersionInfo.DeviceFamily == "Windows.Xbox")
{
this.FocusVisualKind = FocusVisualKind.HighVisibility;
}

Frame rootFrame = Window.Current.Content as Frame;

// Do not repeat app initialization when the Window already has content,
// just ensure that the window is active
if (rootFrame == null)
{
// Create a Frame to act as the navigation context and navigate to the first page
rootFrame = new Frame();

rootFrame.NavigationFailed += OnNavigationFailed;

if (previousExecutionState == ApplicationExecutionState.Terminated)
{
//TODO: Load state from previously suspended application
}

// Place the frame in the current Window
Window.Current.Content = rootFrame;
}

if (prelaunchActivated == false)
{
if (rootFrame.Content == null)
{
// When the navigation stack isn't restored navigate to the first page,
// configuring the new page by passing required information as a navigation
// parameter
rootFrame.Navigate(typeof(MainPage), null);
}
// Ensure the current window is active
Window.Current.Activate();
}
}

/// <summary>
/// Invoked when the application is launched normally by the end user. Other entry points
/// will be used such as when the application is launched to open a specific file.
/// </summary>
/// <param name="e">Details about the launch request and process.</param>
async protected override void OnLaunched(LaunchActivatedEventArgs e)
{
DataSourceManager manager = new DataSourceManager();
await manager.PreparelaunchPassFolder();

string fontPath = ((App)Application.Current).CurrentThemeSettings.GetFontFilePath();
((App)Application.Current).Resources["ApplicationFonts"] = "Assets/Fonts/" + Path.GetFileName(fontPath) + "#" + Path.GetFileNameWithoutExtension(fontPath);

OnLaunchedOrActivated(e.PreviousExecutionState, e.PrelaunchActivated);
}

protected override void OnActivated(IActivatedEventArgs args)
{
OnLaunchedOrActivated(args.PreviousExecutionState, false);
base.OnActivated(args);
}

/// <summary>
/// Invoked when Navigation to a certain page fails
/// </summary>
/// <param name="sender">The Frame which failed navigation</param>
/// <param name="e">Details about the navigation failure</param>
void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
{
throw new Exception("Failed to load Page " + e.SourcePageType.FullName);
}

/// <summary>
/// Invoked when application execution is being suspended. Application state is saved
/// without knowing whether the application will be terminated or resumed with the contents
/// of memory still intact.
/// </summary>
/// <param name="sender">The source of the suspend request.</param>
/// <param name="e">Details about the suspend request.</param>
private void OnSuspending(object sender, SuspendingEventArgs e)
{
var deferral = e.SuspendingOperation.GetDeferral();
//TODO: Save application state and stop any background activity
deferral.Complete();
}
}
}
Binary file added LaunchPass/Assets/Background/FutureLoops-LP.mp4
Binary file not shown.
Binary file added LaunchPass/Assets/Background/LaunchPass-LP.mp4
Binary file not shown.
Binary file added LaunchPass/Assets/Background/LowPolygon-LP.mp4
Binary file not shown.
Binary file added LaunchPass/Assets/Background/Purpz-LP.mp4
Binary file not shown.
Binary file added LaunchPass/Assets/Background/Waves-LP.mp4
Binary file not shown.
Binary file added LaunchPass/Assets/Background/Zoom-LP.mp4
Binary file not shown.
Binary file added LaunchPass/Assets/DescriptionBackground.png
Binary file added LaunchPass/Assets/Fonts/XBold.ttf
Binary file not shown.
Binary file added LaunchPass/Assets/Fonts/Xbox.ttf
Binary file not shown.
Binary file added LaunchPass/Assets/LargeTile.scale-100.png
Binary file added LaunchPass/Assets/LargeTile.scale-125.png
Binary file added LaunchPass/Assets/LargeTile.scale-150.png
Binary file added LaunchPass/Assets/LargeTile.scale-200.png
Binary file added LaunchPass/Assets/LargeTile.scale-400.png
Binary file added LaunchPass/Assets/LockScreenLogo.scale-200.png
Binary file added LaunchPass/Assets/SmallTile.scale-100.png
Binary file added LaunchPass/Assets/SmallTile.scale-125.png
Binary file added LaunchPass/Assets/SmallTile.scale-150.png
Binary file added LaunchPass/Assets/SmallTile.scale-200.png
Binary file added LaunchPass/Assets/SmallTile.scale-400.png
Binary file added LaunchPass/Assets/SplashScreen.scale-100.png
Binary file added LaunchPass/Assets/SplashScreen.scale-125.png
Binary file added LaunchPass/Assets/SplashScreen.scale-150.png
Binary file added LaunchPass/Assets/SplashScreen.scale-200.png
Binary file added LaunchPass/Assets/SplashScreen.scale-400.png
Binary file added LaunchPass/Assets/SplashScreenDefault-100.png
Binary file added LaunchPass/Assets/SplashScreenDefault-125.png
Binary file added LaunchPass/Assets/SplashScreenDefault-150.png
Binary file added LaunchPass/Assets/SplashScreenDefault-200.png
Binary file added LaunchPass/Assets/SplashScreenDefault-400.png
Binary file added LaunchPass/Assets/Square150x150Logo.scale-100.png
Binary file added LaunchPass/Assets/Square150x150Logo.scale-125.png
Binary file added LaunchPass/Assets/Square150x150Logo.scale-150.png
Binary file added LaunchPass/Assets/Square150x150Logo.scale-200.png
Binary file added LaunchPass/Assets/Square44x44Logo.scale-100.png
Binary file added LaunchPass/Assets/Square44x44Logo.scale-125.png
Binary file added LaunchPass/Assets/Square44x44Logo.scale-150.png
Binary file added LaunchPass/Assets/Square44x44Logo.scale-200.png
Binary file added LaunchPass/Assets/Square44x44Logo.scale-400.png
Binary file added LaunchPass/Assets/Square44x44Logo.targetsize-16.png
File renamed without changes
Binary file added LaunchPass/Assets/StoreLogo.scale-100.png
Binary file added LaunchPass/Assets/StoreLogo.scale-125.png
Binary file added LaunchPass/Assets/StoreLogo.scale-150.png
Binary file added LaunchPass/Assets/StoreLogo.scale-200.png
Binary file added LaunchPass/Assets/StoreLogo.scale-400.png
Binary file added LaunchPass/Assets/Wide310x150Logo.scale-100.png
Binary file added LaunchPass/Assets/Wide310x150Logo.scale-150.png
Binary file added LaunchPass/Assets/Wide310x150Logo.scale-200.png
Binary file added LaunchPass/Assets/Wide310x150Logo.scale-400.png
Binary file added LaunchPass/Assets/empty.png
Loading

0 comments on commit 46a3456

Please sign in to comment.