Fr33dan / GPSaveConverter

Utility to transfer save files between the games installed from the Xbox app and other storefronts. https://ko-fi.com/fr33dan
297 stars 33 forks source link

Life is Strange True Colors - File translation needed #9

Closed EVWTRENTINI closed 1 year ago

EVWTRENTINI commented 1 year ago

I need to updade my xbox game pass save from my steam save. I'm getting this message. Am I using the program correctly?

image

The steam save game files are this.

image

Can you help me please?

Fr33dan commented 1 year ago

This is an excellent request for a file translation.

There is only one piece of information missing to create the game profile and that is the package id. This brings to light that I need a better way to find this for submitting these requests. (I'm thinking a right click menu with a copy option on the game list)

The best way for now is to click "Explore Xbox Files" which will take you to a folder of the format "C:\Users[username]\AppData\Packages[The package name I need]\SystemAppData..."

EVWTRENTINI commented 1 year ago

C:\Users*myuser*\AppData\Local\Packages\39C668CD.ProjectSiren_r7bfsmp40f67j\SystemAppData

is that what you need?

Fr33dan commented 1 year ago

That is exactly it! This actually needs a small backend change as well for the Steam save location to be detected correctly. Testing now. Update up soon.

EVWTRENTINI commented 1 year ago

you are an angel, thank you very much.

Fr33dan commented 1 year ago

The version up now should work. I should say it intentionally does not migrate preferences, only the save files.

I find moving preferences can have unexpected side effects, and tweaking the settings and resolution again is easy enough and thus worth doing to avoid these issues.

EVWTRENTINI commented 1 year ago

When i select the save file i recive this messenge:

image

Consulte o final desta mensagem para obter detalhes sobre como chamar a 
depuração just-in-time (JIT) em vez desta caixa de diálogo.

************** Texto de Exceção **************
System.ArgumentException: Ambiguous Xbox container results
   em GPSaveConverter.Library.GameInfo.getXboxFileVersion(XboxContainerIndex index, NonXboxFileInfo file, Boolean createOrUpdate)
   em GPSaveConverter.SaveFileConverterForm.nonXboxFilesTable_SelectionChanged(Object sender, EventArgs e)
   em System.Windows.Forms.DataGridView.OnSelectionChanged(EventArgs e)
   em System.Windows.Forms.DataGridView.FlushSelectionChanged()
   em System.Windows.Forms.DataGridView.set_NoSelectionChangeCount(Int32 value)
   em System.Windows.Forms.DataGridView.OnCellMouseDown(HitTestInfo hti, Boolean isShiftDown, Boolean isControlDown)
   em System.Windows.Forms.DataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs e)
   em System.Windows.Forms.DataGridView.OnMouseDown(MouseEventArgs e)
   em System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   em System.Windows.Forms.Control.WndProc(Message& m)
   em System.Windows.Forms.DataGridView.WndProc(Message& m)
   em System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Assemblies Carregados **************
mscorlib
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4515.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
GPSaveConverter
    Versão do Assembly: 0.4.0.0
    Versão do Win32: 0.4.5.0
    Base de Código: file:///C:/GPSaveConverter%20(1).exe
----------------------------------------
System.Windows.Forms
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4515.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4488.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4390.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4190.0 built by: NET48REL1LAST_B
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4515.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms.resources
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
NLog
    Versão do Assembly: 5.0.0.0
    Versão do Win32: 0.4.5.0
    Base de Código: file:///C:/GPSaveConverter%20(1).exe
----------------------------------------
NLog.Windows.Forms
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 0.4.5.0
    Base de Código: file:///C:/GPSaveConverter%20(1).exe
----------------------------------------
System.ComponentModel.DataAnnotations
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
----------------------------------------
System.Text.Json
    Versão do Assembly: 6.0.0.5
    Versão do Win32: 0.4.5.0
    Base de Código: file:///C:/GPSaveConverter%20(1).exe
----------------------------------------
System.Memory
    Versão do Assembly: 4.0.1.1
    Versão do Win32: 0.4.5.0
    Base de Código: file:///C:/GPSaveConverter%20(1).exe
----------------------------------------
System.Runtime.CompilerServices.Unsafe
    Versão do Assembly: 6.0.0.0
    Versão do Win32: 0.4.5.0
    Base de Código: file:///C:/GPSaveConverter%20(1).exe
----------------------------------------
System.ValueTuple
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ValueTuple/v4.0_4.0.0.0__cc7b13ffcd2ddd51/System.ValueTuple.dll
----------------------------------------
Microsoft.Bcl.AsyncInterfaces
    Versão do Assembly: 6.0.0.0
    Versão do Win32: 0.4.5.0
    Base de Código: file:///C:/GPSaveConverter%20(1).exe
----------------------------------------
System.Text.Encodings.Web
    Versão do Assembly: 6.0.0.0
    Versão do Win32: 0.4.5.0
    Base de Código: file:///C:/GPSaveConverter%20(1).exe
----------------------------------------
System.Buffers
    Versão do Assembly: 4.0.3.0
    Versão do Win32: 0.4.5.0
    Base de Código: file:///C:/GPSaveConverter%20(1).exe
----------------------------------------
System.Numerics.Vectors
    Versão do Assembly: 4.1.4.0
    Versão do Win32: 0.4.5.0
    Base de Código: file:///C:/GPSaveConverter%20(1).exe
----------------------------------------
System.Management.Automation
    Versão do Assembly: 3.0.0.0
    Versão do Win32: 10.0.19041.1682
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Management.Automation/v4.0_3.0.0.0__31bf3856ad364e35/System.Management.Automation.dll
----------------------------------------
Microsoft.PowerShell.Commands.Diagnostics
    Versão do Assembly: 3.0.0.0
    Versão do Win32: 10.0.19041.1023
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Diagnostics/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Diagnostics.dll
----------------------------------------
System.Management.Automation.resources
    Versão do Assembly: 3.0.0.0
    Versão do Win32: 10.0.19041.1645
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Management.Automation.resources/v4.0_3.0.0.0_pt-BR_31bf3856ad364e35/System.Management.Automation.resources.dll
----------------------------------------
System.Configuration.Install
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration.Install/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll
----------------------------------------
Microsoft.PowerShell.ConsoleHost
    Versão do Assembly: 3.0.0.0
    Versão do Win32: 10.0.19041.1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.ConsoleHost/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.ConsoleHost.dll
----------------------------------------
Microsoft.PowerShell.Commands.Utility
    Versão do Assembly: 3.0.0.0
    Versão do Win32: 10.0.19041.804
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Utility/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Utility.dll
----------------------------------------
Microsoft.PowerShell.Commands.Management
    Versão do Assembly: 3.0.0.0
    Versão do Win32: 10.0.19041.1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Management/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Management.dll
----------------------------------------
Microsoft.Management.Infrastructure
    Versão do Assembly: 1.0.0.0
    Versão do Win32: 10.0.19041.1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Management.Infrastructure/v4.0_1.0.0.0__31bf3856ad364e35/Microsoft.Management.Infrastructure.dll
----------------------------------------
System.ServiceProcess
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
System.Management
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4435.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
Microsoft.PowerShell.Security
    Versão do Assembly: 3.0.0.0
    Versão do Win32: 10.0.19041.1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Security/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Security.dll
----------------------------------------
Microsoft.WSMan.Management
    Versão do Assembly: 3.0.0.0
    Versão do Win32: 10.0.19041.1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.WSMan.Management/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.WSMan.Management.dll
----------------------------------------
Microsoft.WSMan.Runtime
    Versão do Assembly: 3.0.0.0
    Versão do Win32: 10.0.19041.1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.WSMan.Runtime/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.WSMan.Runtime.dll
----------------------------------------
mscorlib.resources
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Data
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4455.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.DirectoryServices
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4501.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.DirectoryServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Versão do Assembly: 0.0.0.0
    Versão do Win32: 4.8.4515.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Numerics
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Transactions
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
Microsoft.PowerShell.Security.resources
    Versão do Assembly: 3.0.0.0
    Versão do Win32: 10.0.19041.1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Security.resources/v4.0_3.0.0.0_pt-BR_31bf3856ad364e35/Microsoft.PowerShell.Security.resources.dll
----------------------------------------
Microsoft.WSMan.Management.resources
    Versão do Assembly: 3.0.0.0
    Versão do Win32: 10.0.19041.1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.WSMan.Management.resources/v4.0_3.0.0.0_pt-BR_31bf3856ad364e35/Microsoft.WSMan.Management.resources.dll
----------------------------------------
Microsoft.PowerShell.Commands.Utility.resources
    Versão do Assembly: 3.0.0.0
    Versão do Win32: 10.0.19041.804
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Utility.resources/v4.0_3.0.0.0_pt-BR_31bf3856ad364e35/Microsoft.PowerShell.Commands.Utility.resources.dll
----------------------------------------
Microsoft.Windows.Appx.PackageManager.Commands
    Versão do Assembly: 10.0.0.0
    Versão do Win32: 10.0.19041.1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Windows.Appx.PackageManager.Commands/v4.0_10.0.0.0__31bf3856ad364e35/Microsoft.Windows.Appx.PackageManager.Commands.dll
----------------------------------------
Windows.Management
    Versão do Assembly: 255.255.255.255
    Versão do Win32: 10.0.10011.16384
    Base de Código: file:///C:/windows/SysNative/WinMetadata/Windows.Management.winmd
----------------------------------------
Windows.Foundation
    Versão do Assembly: 255.255.255.255
    Versão do Win32: 10.0.10011.16384
    Base de Código: file:///C:/windows/SysNative/WinMetadata/Windows.Foundation.winmd
----------------------------------------
System.Runtime
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll
----------------------------------------
Windows.ApplicationModel
    Versão do Assembly: 255.255.255.255
    Versão do Win32: 10.0.10011.16384
    Base de Código: file:///C:/windows/SysNative/WinMetadata/Windows.ApplicationModel.winmd
----------------------------------------
System.Runtime.WindowsRuntime
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.WindowsRuntime/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.WindowsRuntime.dll
----------------------------------------
Windows.System
    Versão do Assembly: 255.255.255.255
    Versão do Win32: 10.0.10011.16384
    Base de Código: file:///C:/windows/SysNative/WinMetadata/Windows.System.winmd
----------------------------------------
Windows.Storage
    Versão do Assembly: 255.255.255.255
    Versão do Win32: 10.0.10011.16384
    Base de Código: file:///C:/windows/SysNative/WinMetadata/Windows.Storage.winmd
----------------------------------------
WindowsBase
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4515.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------

************** Depuração JIT **************
Para habilitar a depuração just-in-time (JIT), o arquivo .config deste
aplicativo ou computador (machine.config) deve ter o valor
jitDebugging definido na seção system.windows.forms.
O aplicativo também deve ser compilado com a depuração
habilitada.

Por exemplo:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Quando a depuração JIT está habilitada, qualquer exceção sem tratamento
será enviada ao depurador JIT registrado no computador,
em vez de ser tratada nesta caixa de diálogo.

And when i try to update my saved files i recive this other messenge image

Fr33dan commented 1 year ago

There is an error with how matches are processed that results in Xbox container matches working differently than the blob name matches.

Thus when I based this profile off of the one for Ori and the Blind Forest which looks much the same instead has the unique name in the blog id instead of the container name. Updating the container matching now which should resolve the issue but is more complex than the fixes I've applied so far so may take a bit longer.

EVWTRENTINI commented 1 year ago

When you need it, I'll be here to test it. Thank you for your time and dedication so far.

Fr33dan commented 1 year ago

After spending a good 40 minutes going down the wrong rabbit hole I found the actual problem.

If I've done my testing correctly the errors should be gone with the latest version.

EVWTRENTINI commented 1 year ago

Dude you are amazing, you really did it. It worked perfectly fine. You really found the rabbit hole. Thank you for the effort and dedication. Is there a way I can buy you a coffee?

Fr33dan commented 1 year ago

I'd never really thought about it, but went ahead and added a ko-fi link to the repo "About" section but don't feel obligated. I'm just glad to have another confirmed working game.