Git Product home page Git Product logo

Comments (11)

shravan2x avatar shravan2x commented on June 2, 2024 2

Could you build and try again with the latest code?

Make the following changes:
Line 78: string path = Path.Combine(MainWindow.SDVMMSettings.GameFolder, "StardewModdingAPI.exe");
Line 79: VValue launchOptions = new VValue($" \"{path}\" %command%");
Line 82: File.WriteAllText(files[i], VdfConvert.Serialize(raw), Encoding.UTF8);

If you're unable to, you can try 0.4.1 which I'll be pushing in a while.

EDIT: Added encoding on Line 82.
EDIT 2: You may not need the encoding on Line 82. It appears to be a UTF-8 BOM issue somewhere. Possibly with WinMerge, but I'm not sure. WinMerge (which I use to diff the files locally) complains if I don't use the encoding, but comparing the files bytes-to-bytes suggests that leaving out the encoding is the correct one.

UPDATE: I've just pushed 0.4.1.

from gameloop.vdf.

shravan2x avatar shravan2x commented on June 2, 2024

Have you tried this with the latest 0.4?

from gameloop.vdf.

yuukiw avatar yuukiw commented on June 2, 2024

yes

from gameloop.vdf.

shravan2x avatar shravan2x commented on June 2, 2024

I had posted a previous message here suggesting that this might be caused by differing whitespace characters. However, that does not appear to be the case. Please disregard that.

I attempted to generate VDF using the localconfig.vdf file and replaced the original. Steam does indeed rewrite the file in order to update timestamps and such, but it did not revert anything in my case.

Could you email me a copy of the localconfig.vdf that Vdf.NET generates?

from gameloop.vdf.

yuukiw avatar yuukiw commented on June 2, 2024

its based on the string steam itself adds to the file

from gameloop.vdf.

yuukiw avatar yuukiw commented on June 2, 2024

from gameloop.vdf.

shravan2x avatar shravan2x commented on June 2, 2024

I think your link is incorrect?

from gameloop.vdf.

yuukiw avatar yuukiw commented on June 2, 2024

huh. didnt know it would automaticly post here when i send a email. the file is in the email i send.

from gameloop.vdf.

shravan2x avatar shravan2x commented on June 2, 2024

The email you sent was probably to GitHub itself. You can email me at [email protected].

from gameloop.vdf.

yuukiw avatar yuukiw commented on June 2, 2024

did send a email. Interestingly while trying it out it seemed to have worked one time but each time after that it will still revert the change

from gameloop.vdf.

yuukiw avatar yuukiw commented on June 2, 2024

0.4.1 works

from gameloop.vdf.

Related Issues (20)

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.