forked from retropassdev/RetroPass
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Dev Branch
Merge changes back to my GitHub
- Loading branch information
Showing
228 changed files
with
6,669 additions
and
5,215 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+704 Bytes
LaunchPass/Assets/Square44x44Logo.altform-lightunplated_targetsize-16.png
Oops, something went wrong.
Binary file added
BIN
+1.24 KB
LaunchPass/Assets/Square44x44Logo.altform-lightunplated_targetsize-24.png
Oops, something went wrong.
Binary file added
BIN
+67.3 KB
LaunchPass/Assets/Square44x44Logo.altform-lightunplated_targetsize-256.png
Oops, something went wrong.
Binary file added
BIN
+2.02 KB
LaunchPass/Assets/Square44x44Logo.altform-lightunplated_targetsize-32.png
Oops, something went wrong.
Binary file added
BIN
+3.97 KB
LaunchPass/Assets/Square44x44Logo.altform-lightunplated_targetsize-48.png
Oops, something went wrong.
Binary file added
BIN
+704 Bytes
LaunchPass/Assets/Square44x44Logo.altform-unplated_targetsize-16.png
Oops, something went wrong.
Binary file added
BIN
+74.9 KB
LaunchPass/Assets/Square44x44Logo.altform-unplated_targetsize-256.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
File renamed without changes
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.