Code Monkey home page Code Monkey logo

pegasusexportplugin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

an0t8 jonasjv polson

pegasusexportplugin's Issues

Export fails with empty spaces in Nintendo 64 media paths

Looks like something is going wrong with the exporter when attempting to export my nintendo 64 metadata and media. Other platforms are ok. I have tried removing media but it fails on all media.

(Inner Exception)

Could not find a part of the path 'E:\Pegasus\Nintendo 64\media\1080 Snowboarding \boxFront.png'.

App: LaunchBox
Version: 11.9
Type: System.IO.DirectoryNotFoundException
Site: Void CopyFile(System.String, System.String, Boolean)
Source: System.IO.FileSystem

at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
at PegasusExportPlugin.frmPegasusExport.<>c__DisplayClass4_2.<BtnExport_Click>b__20(IGrouping2 gamePlatform) in C:\Users\l-bre\Source\Repos\spektor56\PegasusExportPlugin\PegasusExportPlugin\frmPegasusExport.cs:line 481 at System.Threading.Tasks.Parallel.<>c__DisplayClass33_02.b__0(Int32 i)
at System.Threading.Tasks.Parallel.<>c__DisplayClass19_01.<ForWorker>b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source) at System.Threading.Tasks.Parallel.<>c__DisplayClass19_01.b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
at System.Threading.Tasks.TaskReplicator.Replica.Execute()

(Outer Exception)

One or more errors occurred. (Could not find a part of the path 'E:\Pegasus\Nintendo 64\media\1080 Snowboarding \boxFront.png'.)

App: LaunchBox
Version: 11.9
Type: System.AggregateException
Site: Void Run[TState](ReplicatableUserAction`1, System.Threading.Tasks.ParallelOptions, Boolean)
Source: System.Threading.Tasks.Parallel

at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction1 action, ParallelOptions options, Boolean stopOnFirstFailure) at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source)
at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException)
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally) at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IList1 list, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable1 source, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable1 source, Action`1 body)
at PegasusExportPlugin.frmPegasusExport.<>c__DisplayClass4_1.<BtnExport_Click>b__2() in C:\Users\l-bre\Source\Repos\spektor56\PegasusExportPlugin\PegasusExportPlugin\frmPegasusExport.cs:line 519
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
at PegasusExportPlugin.frmPegasusExport.BtnExport_Click(Object sender, EventArgs e) in C:\Users\l-bre\Source\Repos\spektor56\PegasusExportPlugin\PegasusExportPlugin\frmPegasusExport.cs:line 107
at System.Threading.Tasks.Task.<>c.b__139_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log:

4:34:03 PM Exception

Export multiple screenshots/videos

It's possible to have multiple screenshots and videos within Launchbox and Pegasus has support for displaying these. However, the plugin only exports one screenshot per game.

Supported emulator not added to the metadata file?

Hi, perhaps I'm doing something wrong, but when exporting, the chosen emulator doesn't get added to the metadata file, and I need to add it manually.

In my case I'm using retroarch for all systems.

Option to export filename without path

When selecting Export Application, the file name is written either as absolute or relative path. The relative option adds ./ to the filename which Pegasus fails to find. Being able to just have the filename without any path would solve this.

Support for new Pegasus Collections method

Pegasus changed the way that it handles collections in that they can now be added to the metadata file as well. It would be great if this exporter also took the applied emulator information from LB and was able to include this in the metadata file. This would allow for people to remove the step of adding their own collection information.

Perhaps as an option so people who use the current method don't have to change their setup.

Support for multi-disc games

Pegasus (and LaunchBox) now supports multi-disc games but the exporter does not. I believe it is looking for the Other Apps property.

Here is an example of a multi-disc disc game:

game: Chrono Cross
files:
Chrono Cross Disc 1.cue
Chrono Cross Disc 2.cue
developer: Square Enix
genre: Role-playing
description: Chrono Cross is a sequel to the SNES RPG Chrono Trigger.
release: 1999-11-18
players: 1
rating: 80%

Request

I'd like to throw this out there in case it's something you'd consider. I have a rather large Launchbox collection and have recently decided to switch to linux which sadly Launchbox does not support. Would you consider making this plugin into a standalone application?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.