Live data from Hacker News

KSP2 is spamming the Windows Registry until the game stops working

forum.kerbalspaceprogram.com

101–110 of 306 posts

Re: KSP2 is spamming the Windows Registry until the game stops working

#101
post #76

Earlier quoted context omitted.

Coming from a Linux background, what is the windows registry and why do things need to write to it? All I ever read about it seem to be horror stories. Can't you store stuff alongside the install? Or in some user data location?

> what is the windows registry and why do things need to write to it? It's a centralized, high-performance small key value store that's the alternative to writing a million config files in random places. It's arguably much better in my experience. E.g. one of the never-ending headaches I always have on Linux is updating config files when a package updates. There's no automatic file merge in general (hence .pacnew and…

OP asked for an analogue, not a comparison.

I think it's silly to compare the two.

Re: KSP2 is spamming the Windows Registry until the game stops working

#102
post #9

KSP2 had all the warning signs of being a disaster ever since the initial delays and controversies with the original studio. Unfortunately, as usual, the community put on hype blinders until it became impossible to ignore.

And every time anyone mentioned any of that on the subreddit they got downvoted to oblivion, including myself. It's like everyone was (and to a smaller extent still is) on a heavy dose of weaponized hopium because the studio invested half their budget into a prerendered trailer. Even the youtubers that got to play the prerelease version pulled out every excuse in the book to not present what they saw objectively.

Watching Matt Lowne’s KSP2 videos just makes me feel better about not buying. It’s just buggier and less.

While I was interested in the surface colony stuff they promised for KSP2, the addition of another star system you could travel to was very disappointing. Not so much another system, but that you could travel to it. One thing I liked was that KSP was somewhat grounded in real physics. Practical interstellar travel just isn’t. (“bUt WiTh ALcUbIeRrE dRiVeS…” smack Shut up. They’re a fantasy.)

Re: KSP2 is spamming the Windows Registry until the game stops working

#103
post #8

It feels like the Windows Registry is one of those well-intentioned ideas that ended up being a tremendous mess in actual implementation. "Let's use a central database to store things that the OS, drivers, and UI need to access" somehow became "half assed KV dumping ground for every process and their dog to litter with whatever while acting as a singular bottleneck". See also: https://news.ycombinator.com/item?id=322…

As opposed to using the filesystem which is an even poorer KV store?

Re: KSP2 is spamming the Windows Registry until the game stops working

#104
post #76

Earlier quoted context omitted.

Coming from a Linux background, what is the windows registry and why do things need to write to it? All I ever read about it seem to be horror stories. Can't you store stuff alongside the install? Or in some user data location?

> what is the windows registry and why do things need to write to it? It's a centralized, high-performance small key value store that's the alternative to writing a million config files in random places. It's arguably much better in my experience. E.g. one of the never-ending headaches I always have on Linux is updating config files when a package updates. There's no automatic file merge in general (hence .pacnew and…

What's always annoyed me with many operating systems is this need to organize based on function instead of domain. If I install an application named "Bob" then I want ALL of Bob's configuration to live within Bob. I don't want it split between different registry keys or /usr/local, /etc/, /var, /lib, etc.

I'm fine with there being conventions and categorizations, but I'd like to root node to be the application itself. Yes, I even want this for multiple users.

I know there are design arguments to / for the various different ways of organizing configurations, but IMO they are just inferior from at least this user's perspective.

Re: KSP2 is spamming the Windows Registry until the game stops working

#105
post #4

One of the comments mentions this: "Alright, doing some investigating it seems that they are saving the Pqs preferences based off of the instance ID of the pqs object, which, according to unity's own documentation, changes between runs of the game, hence why its saving 10 trillion different copies of the same data" So, somebody didn't notice a "changes every game" instance ID was in the path and/or data. They thought…

Somewhere a unity exec has just figured out the new metric that determines their royalty pay rate.

Re: KSP2 is spamming the Windows Registry until the game stops working

#106

Earlier quoted context omitted.

I heard from someone who actually works in the industry (as engine developer) that companies usually don't use Unity out-of-the-box and write their own tools and extensions (e.g. memory management) and change parts of the engine as the needs vary greatly depending on the game they are making. Not sure how common that really is though.

You may be referring to Unreal in this instance. Unreal is open source* but you pay to license the engine, so you can make core changes I.e. memory management or tweak underlying net code. Unity is closed source and so you can only really extend very core parts of the engine. FWIW my experience in gaming has been that Unity is exceptionally powerful and allows game developers to create games that would otherwise requ…

> open source*

> * The source is available to view and modify

“source available”, and then you are using common terminology in a non-controversial way and don't need an explanation that is longer than the term.

Re: KSP2 is spamming the Windows Registry until the game stops working

#107
post #76
post #4

One of the comments mentions this: "Alright, doing some investigating it seems that they are saving the Pqs preferences based off of the instance ID of the pqs object, which, according to unity's own documentation, changes between runs of the game, hence why its saving 10 trillion different copies of the same data" So, somebody didn't notice a "changes every game" instance ID was in the path and/or data. They thought…

Coming from a Linux background, what is the windows registry and why do things need to write to it? All I ever read about it seem to be horror stories. Can't you store stuff alongside the install? Or in some user data location?

Based on the follow-up questions, it sounds like you already know what it is and just wanted to advertise your allegiance to the Unix way of doing things.

Re: KSP2 is spamming the Windows Registry until the game stops working

#108
post #55

Earlier quoted context omitted.

I stopped playing because I could no longer figure out how to install mods. There's a mod manager, but it doesn't seem to work.

Ckan works for me if it’s a different mod manager you use. I’ve been using it for like at least 5 years without issue.

Ckan is the one I tried to use, but the resulting KSP1 installation usually threw a ton of exceptions at runtime. Maybe it's just compatibility issues -- those weren't called out, though.

Re: KSP2 is spamming the Windows Registry until the game stops working

#109

“Be warned though, deleting the wrong thing can stop applications from working, or even break the entire operating system .“ You gotta love Windows.

This is the same case in any OS when you're deleting things with root privileges.

Just because current OS suck at protecting themselves, that doesn't mean that it is acceptable.

Re: KSP2 is spamming the Windows Registry until the game stops working

#110
People in both threads shit on devs as if they manually modified registry with a crappy script at that, but this is the official Unity API and this is the idiomatic way to store preferences.

Ofcourse, it is unfortunate to have bug here of all places, but it looks like people don't like KSP2 devs in general (maybe even for good reasons, I don't know) and try to exaggerate this issue as some kind of proof, when in reality there is nonw

Post reply on HN