this post was submitted on 25 Sep 2023
114 points (96.0% liked)

Games

16689 readers
513 users here now

Video game news oriented community. No NanoUFO is not a bot :)

Posts.

  1. News oriented content (general reviews, previews or retrospectives allowed).
  2. Broad discussion posts (preferably not only about a specific game).
  3. No humor/memes etc..
  4. No affiliate links
  5. No advertising.
  6. No clickbait, editorialized, sensational titles. State the game in question in the title. No all caps.
  7. No self promotion.
  8. No duplicate posts, newer post will be deleted unless there is more discussion in one of the posts.
  9. No politics.

Comments.

  1. No personal attacks.
  2. Obey instance rules.
  3. No low effort comments(one or two words, emoji etc..)
  4. Please use spoiler tags for spoilers.

My goal is just to have a community where people can go and see what new game news is out for the day and comment on it.

Other communities:

Beehaw.org gaming

Lemmy.ml gaming

lemmy.ca pcgaming

founded 1 year ago
MODERATORS
top 37 comments
sorted by: hot top controversial new old
[–] MrPoopyButthole@lemmy.world 27 points 1 year ago (1 children)

Holy shit. I just had this feeling early on to skip the early access. Seems like I made a good choice.

[–] SaltySalamander@kbin.social 6 points 1 year ago

I skip almost all early access games. Only one I made an exception for was Factorio.

[–] intelati@programming.dev 26 points 1 year ago* (last edited 1 year ago)

Did I read that correctly?? 1.6 GB of registry files??

[–] Blamemeta@lemm.ee 23 points 1 year ago (3 children)

Thats fucking amazing and completely unity's fault. What engine in their right mind saves user preferences in the registry?

[–] DarkMetatron@feddit.de 23 points 1 year ago (1 children)

Saving user preferences in the local user part of the registry is kind of what the registry is meant to be for (besides others).

[–] merthyr1831@lemmy.world 4 points 1 year ago (1 children)

It might be bad practice to dump 1.3GB of variable user data into the registry, though. Especially when there's SQL servers and Nuget packages that can deal with that kind of data in a platform-agnostic way.

[–] DarkMetatron@feddit.de 1 points 1 year ago* (last edited 1 year ago)

That for sure, those numbers are way beyond intended usage.

And there is a difference between saving user preferences/settings and user game data. The last should never be saved in the registry.

[–] icedterminal@lemmy.world 13 points 1 year ago (1 children)

You'd be surprised to learn then that a lot of software does this shit.

[–] Blamemeta@lemm.ee 2 points 1 year ago (1 children)
[–] icedterminal@lemmy.world 5 points 1 year ago

It can be very stupid. Depends on the software though as the registry is meant for saving user and system settings to a degree. Like Windows File Explorer makes perfect sense. As does settings for audio.

It's generally advised to not bloat the registry wherever possible. WinSCP is a great piece of software. Unfortunately it defaults to saving to the user registry. You can change it to save to an ini file instead. By using the registry to save settings it can be jarring for the user when they're trying to troubleshoot something. Only to find out after uninstalling and reinstalling it doesn't start over fresh. Or if they're trying to backup settings and data to restore with later. The registry isn't typically included for good reason.

[–] Azzu@lemm.ee 3 points 1 year ago

It doesn't look like what's filling the registry here is user preferences.

[–] pensa@kbin.social 17 points 1 year ago (2 children)

I remember Scott Manley asked someone important on the dev team of ksp2 how they approached the 2 body problem. They guy gave a vague answer that they had solved it. If that were true they would have a Nobel Prize but they don't. So then and there I decided that KSP2 will not get my money. Which sucks because I have put a little over 2000 hours into KSP1.

[–] AdrianTheFrog@lemmy.world 29 points 1 year ago (1 children)

"Solved it" for a game just means "approximated it well enough that the average user won't notice".

[–] pensa@kbin.social 6 points 1 year ago* (last edited 1 year ago)

I don't think that was the way he portrayed it. He made it seem like they really solved the 2 body problem. Scott Manley even made a comment about how grand that was. I really wish I could find the video to better show what I mean.

edit: here is one of him recalling it. https://youtu.be/vu22bFtZgKg?feature=shared&t=2294

[–] BradleyUffner@lemmy.world 18 points 1 year ago (2 children)

2 body orbits shouldn't be a problem. They are easily solvable. 3 body systems are the ones that are problematic.

[–] pensa@kbin.social 10 points 1 year ago (1 children)

Yeah, he says n-body problem in the video I linked above. I have no idea why I am saying 2 body problem.

[–] KSPAtlas@sopuli.xyz 6 points 1 year ago (1 children)

Funnily enough, there is an n-body mod for ksp1, which makes interplanet interactions more realistic (in fact, the mod has to slightly change the default system to stop the moons of Jool from slingshotting each other out) and allows advanced maneuvers like ballistic capture and lagrange points

[–] Chailles@lemmy.world 0 points 1 year ago (1 children)

And as someone who couldn't even land on the Mun without crashing, I downloaded that mod and unsurprisingly found things even harder since it disables the standard maneuvers.

[–] KSPAtlas@sopuli.xyz 1 points 1 year ago

It is not a beginner's mod, the fact that its most often used with packs like RP-1 should say how hard it is

[–] Kolanaki@yiffit.net 3 points 1 year ago (1 children)

Problematic in a computer model or...? How does real space travel account for the gravitational pull of 3+ celestial bodies?

[–] pensa@kbin.social 3 points 1 year ago

Roughly, that's why long distance missions need mid course correction burns.

[–] merthyr1831@lemmy.world 12 points 1 year ago

Seems like horrible dev practice to place save data of any kind in the Windows registry lmao. I get that it's designed for storing user data in some respects but the registry is an old and fickle solution to setting global variables important for communication between processes and applications.

If you're storing data that's only ever needed by your own application, especially if it isn't OS-related, you shouldn't mess with the registry. Not only does it not have the performance you'd expect for most circumstances, but the registry has a real performance and stability impact even when outside of your app.

What's worse, imo, is that this data is difficult to access for making backups, utilising cloud synchronization, and cross compatibility of your app.

Unity is a lot more borked than I thought, but KSP devs should probably be careful with what data serialisation APIs they mess with.

[–] RoundSparrow@sh.itjust.works 11 points 1 year ago

All the Unity game engine self-destruction choices got to them ;)

[–] SharkyPants@lemmy.world 10 points 1 year ago

As a Unity dev of 6 years, playerPreffs (the unity system that stores data in the registry) are a good place to store small amounts of data in a dictionary style structure quickly without creating your own data system. But they are extremely limited in the types of data they can hold and the control a dev has over them. Whenever I see playerPreffs used I think the dev must-have needed something quick and easy. They may have also created their own registry save system in that case should be an easy fix. (De)Serializing json or even custom binary files in compartmented files in a defined folder like StreamingAssets gives much more flexibility in data types and control. You can see playerPreffs limitations in the documentation below: (https://docs.unity3d.com/ScriptReference/PlayerPrefs.html)

[–] agent_flounder@lemmy.one 7 points 1 year ago

That was some pretty entertaining reading lol yikes.

[–] Vilian@lemmy.ca 6 points 1 year ago (1 children)

thefuck, btw how proton handle the registry on steam deck/desktop linux?, that can happen there?

[–] isVeryLoud@lemmy.ca 3 points 1 year ago

Wine registry, and yes, but only within your Wine sandbox

[–] redcalcium@lemmy.institute 6 points 1 year ago (2 children)

So, what's the advantage of using windows registry? I'm mainly using linux, so the concept of registry sounds really strange in my head.

[–] Thade780@lemmy.world 8 points 1 year ago (1 children)

When the developers don't abuse it, it's a central place where all the settings and configuration parameters should be.

There's no main advantage, it's just a different concept.

Linux sysadmin for the past 25 years here that also has to work with Windows servers.

[–] hansl@lemmy.world 5 points 1 year ago

Basically a network/local/user specific configuration database. Playing with it can break apps that expect their config to be in it, or to be of the type expected, even though they shouldn’t.

This about:config on Firefox but system wide. It’s your ~/.config and /etc/ folders in one database format, also manageable with AD and proper permissions.

[–] mod@sh.itjust.works 2 points 1 year ago (1 children)

If you're using a Linux distribution: are you familiar with gsettings or some equivalent?

[–] redcalcium@lemmy.institute 2 points 1 year ago (1 children)

Is It a frontend for dconf? I have to admit I never tinkered with any dconf stuff before as I live mostly in terminal and web browsers. Does dconf share similarities with windows registry?

[–] mod@sh.itjust.works 4 points 1 year ago

Yes exactly, they're similar. I guess there's a universal desire for tree like data stores.

[–] RealFknNito@lemmy.world 5 points 1 year ago

These bugs keep getting more wild.

[–] ryannathans@aussie.zone 3 points 1 year ago (1 children)

I'm sure it'll be patched soon