Comments (11)
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.
Have you tried this with the latest 0.4?
from gameloop.vdf.
yes
from gameloop.vdf.
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.
its based on the string steam itself adds to the file
from gameloop.vdf.
from gameloop.vdf.
I think your link is incorrect?
from gameloop.vdf.
huh. didnt know it would automaticly post here when i send a email. the file is in the email i send.
from gameloop.vdf.
The email you sent was probably to GitHub itself. You can email me at [email protected].
from gameloop.vdf.
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.
0.4.1 works
from gameloop.vdf.
Related Issues (20)
- Allow reading / writing comments HOT 13
- How to serialize again? HOT 9
- Increase Parser error accuracy HOT 1
- System.Exception: Key 'gamelogo' already exists in object. HOT 3
- Newtonsoft.Json.JsonSerializationException: Unexpected token while deserializing object HOT 8
- Support complex root structures HOT 4
- Support preserving unquoted tokens
- Support C# 8 nullable types
- Add tests HOT 1
- Deserialize error when the string contains "//" HOT 2
- Values containing '\' character are not parsed properly HOT 2
- Changing value HOT 15
- Case insensitive option for ContainsKey and getter? HOT 1
- Publish with Strong Name HOT 3
- "WebStorage" section of config.vdf causes a System.IndexOutOfRangeException HOT 6
- How would i go about deserializing libraryfolders.vdf? (Format has changed) HOT 1
- There is a problem with Deserialization after the new steam client. HOT 5
- Something wrong with conditional HOT 4
- Could be an issue, just posting my problem. HOT 1
- VdfConvert deserializing comments somehow HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gameloop.vdf.