Earlier quoted context omitted.
This is the same case in any OS when you're deleting things with root privileges.
I macOS you can’t delete system files, even with root privileges, unless you disable system integrity, which requires a restart. Not the same at all.
KSP2 is spamming the Windows Registry until the game stops working
261–270 of 306 posts
Re: KSP2 is spamming the Windows Registry until the game stops working
#262Earlier quoted context omitted.
It’s /etc but harder to browse and edit. Or, from the contrary perspective: it’s the 500 places config lives on Linux, but in one place instead. (Except it still has a deep hierarchical structure, so that second one is kiiiinda not entirely true, in that you can run into exactly the same issues as scattered config files on Linux)
You can search for keys and values across all loaded hives. This makes finding things in the registry much easier. Editing, sure, you've got essentially a single GUI application and CLI or programmatic access. Your options are certainly more limited than the plethora of text editors available.
PS> cd HKLM:\Software\Microsoft\Windows\CurrentVersion
PS> ls
[...bunch of stuff...]
PS> gp Themes DesktopBackground
DesktopBackground : c:\windows\web\wallpaper\[...default system wallpaper...]Re: KSP2 is spamming the Windows Registry until the game stops working
#263Re: KSP2 is spamming the Windows Registry until the game stops working
#264Earlier 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…
Re: KSP2 is spamming the Windows Registry until the game stops working
#265Earlier quoted context omitted.
Where do you store where the application-specific KV stores are located? Are you just going to hard-code it so the application cannot be moved or installed elsewhere or on external drives? Where does the OS store its own settings? There are a lot of problems with software "shotgunning" their junk across the system. This isn't exclusive to the Registry or even a specific OS unfortunately. Just go look at what configur…
macOS has a folder called Library where this stuff is supposed to go. It's not enforced by decree, with many apps doing their own horrible thing. Ultimately, its macOS' culture that mostly makes apps puts their settings and other resident details in Library. I'm not knowledgeable enough to know why a culturally enforced folder is far worse than the database that Windows has. Care to enlighten me?
Re: KSP2 is spamming the Windows Registry until the game stops working
#266Earlier quoted context omitted.
It's far worse than that. Take-Two bought Squad and KSP along with it. Soon after they took Squad's original IP from them and gave it to Private Division to develop KSP 2. Then they poached staff from Squad. It's not like KSP 2 is developed in some innovative way, I was expecting that game like KSP 2 should have been developed in it's own engine since it's so unique among other games. But nooo. KSP 2 still uses Unity…
> should have been developed in it's own engine since it's so unique among other games with my limited technical knowledge about game programming and much less limited technical knowledge about software development in general this seems quite wrong because while the game is somewhat unique in some point, in many many(1) other technical points it's not, so by using a game engine you can save a lot of time/problems wit…
Re: KSP2 is spamming the Windows Registry until the game stops working
#267Re: KSP2 is spamming the Windows Registry until the game stops working
#268Re: KSP2 is spamming the Windows Registry until the game stops working
#269Earlier 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?
The database-backed configuration mechanism makes a ton of sense, and if you squint, the filesystem is really kind of a database anyway. With the registry, there’s a lot you get for free—you can set defaults system-wide, you don’t have to deal with parsing, you can get new values without re-parsing a file, etc. A lot of the horror stories came from earlier versions of Windows which had problems with reliability. If y…
Re: KSP2 is spamming the Windows Registry until the game stops working
#270Earlier quoted context omitted.
You can search for keys and values across all loaded hives. This makes finding things in the registry much easier. Editing, sure, you've got essentially a single GUI application and CLI or programmatic access. Your options are certainly more limited than the plethora of text editors available.
Or you can use powershell that allows you to browse the registry as if it were a filesystem. PS> cd HKLM:\Software\Microsoft\Windows\CurrentVersion PS> ls [...bunch of stuff...] PS> gp Themes DesktopBackground DesktopBackground : c:\windows\web\wallpaper\[...default system wallpaper...]