Git Product home page Git Product logo

polyconverter's People

Contributors

dependabot[bot] avatar hollowstrawberry avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ashduino101

polyconverter's Issues

Error converting .slot?

Hi there! I was trying to convert the auto save file (.slot) I got from the game, using the self contained executable (v1.4) and I've been getting this error:

[Fatal Error] Couldn't convert "Lowest Budget (No Breaks).slot":
 System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.InvalidOperationException: Invalid binary data stream: could not parse peeked BinaryEntryType byte '0' into a known entry type.
   at Sirenix.Serialization.BinaryDataReader.PeekEntry(String& name)
   at Sirenix.Serialization.BinaryDataReader.ExitNode()
   at Sirenix.Serialization.ComplexTypeSerializer`1.ReadValue(IDataReader reader)
   at Sirenix.Serialization.SerializationUtility.DeserializeValue[T](IDataReader reader)
   at Sirenix.Serialization.SerializationUtility.DeserializeValue[T](Stream stream, DataFormat format, DeserializationContext context)
   at Sirenix.Serialization.SerializationUtility.DeserializeValue[T](Byte[] bytes, DataFormat format, DeserializationContext context)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at PolyConverter.PolyConverter.InnerSlotToJson(String slotPath, String jsonPath)
   at PolyConverter.PolyConverter.SlotToJson(Strin
[ErrorPolyCOnventer_SelfContained.txt](https://github.com/orchidalloy/PolyConverter/files/10117530/ErrorPolyCOnventer_SelfContained.txt)
g slotPath, String jsonPath)///
[>] Done.

I don't really know c#, so I'm really out of my depth - do you have any ideas or pointers on how could I try to fix it?

Thanks!!

using manual game path doesn't work

when using manual game path, the gamepath variable is set this way

// Program.cs line 25
gamePath = $"{File.ReadAllText(ManualGamePath).Trim()}\\Poly Bridge 2_Data\\Managed";

addind the path to the Managed folder to it, but when loading the games libraries this path is added again

// Program.cs line 72
PolyBridge2Assembly = Assembly.LoadFrom($"{gamePath}\\Poly Bridge 2_Data\\Managed\\Assembly-CSharp.dll");

causing an error because it ends up searching for the libraries in "${gamepath}\Poly Bridge 2_Data\Managed\Poly Bridge 2_Data\Managed\library.dll"

Sans titre

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.