@CarePackage17@mastodon.gamedev.place avatar

CarePackage17

@CarePackage17@mastodon.gamedev.place

Software, cats, music, games, cptsd.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mcc, to random
@mcc@mastodon.social avatar

Cursed??? C# question:

We have a ProjectName.csproj with a <PropertyGroup><OutputType>Exe</OutputType></PropertyGroup>. Running at the command line, we can successfully run it with dotnet run on Mac, Linux and Windows. On Mac, we can open it in VS Code, hit "Run", and it runs.

On Windows in VS Code only, if we open it and click the run button, it builds a .DLL instead of a .EXE as its final build output and then fails with a message that you cannot run a .DLL.

Why, and how do we not?

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@mcc I don't know why msbuild/vscode do that, but:

mcc, to random
@mcc@mastodon.social avatar

I have just learned that Visual Studio Code on Mac/Linux not only supports, but expects .sln files, and now nothing in the entire world makes sense to me anymore. Your cross-platform open source editor for your cross-platform open source command line toolchain relies on the pure-text proprietary container format for your 30-year-old single-platform GUI IDE? … what does it even do with it? A VSCode popup says C# code completion won't work without it. What does it expect to be in there?

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@mcc isn't the "new" C# VSCode plugin (non-Omnisharp based) closed source because bits are derived from VS?
I sort of remember something like that, though I could also be getting things mixed up with that Unity plugin they released last year.

djlink, to random
@djlink@mastodon.gamedev.place avatar

desktop OS are still terrible at cleaning up leftovers of uninstalled software, there's just way too many places apps have permissions to write into I guess. always a bunch of time to track and delete them.

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@djlink one of the things I loved about UWP apps. Too bad Microsoft screwed it up yet again. :/

I think MSIX picked up some of those features, like virtualized registry writes, but it's on app developers to use them and I guess most don't bother.

baldur, to random
@baldur@toot.cafe avatar

“a lot of people think auteur theory is bad, but the truth is way, way funnier than they realize. like, my guy, it’s legitimately hilarious. enjoy. | by Doc Burford | Medium”

This too was really quite good. A bit on the long side but worthwhile. And not just because I agree 100% with its take on auteur theory. https://docseuss.medium.com/a-lot-of-people-think-auteur-theory-is-bad-but-the-truth-is-way-way-funnier-than-they-realize-c7d491f846ff

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@baldur their writing style is fucking hilarious, I love it

badlogic, to random
@badlogic@mastodon.gamedev.place avatar

Austria's governing party "ÖVP" has launched a campaign about austrian "Leitkultur". If you do not behave like an Austrian, you should leave. They've also set up a comission tasked with codifying this into law. Not shitting you.

So I built a new thing. LEITKULTUR-O-MAT. A chatbot that thinks and replies like your average Austrian. In Austrian dialect.

https://leitkulturomat.marioslab.io

The scary part is, that it's actually pretty close to your average Austrian...

image/png

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@badlogic it's a very realistic experience 😄

djlink, to random
@djlink@mastodon.gamedev.place avatar

Even though I work on this nearly everyday, I always pause for a moment to recall where LB or LT is on Xbox controller (1st or 2nd), L1/L2 is easier to remember. However, ABXY positions are easier to remember, probably because Nintendo similar, but inverted.

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@djlink interesting, I can easily remember LB/LT (T is for trigger, which usually is pew pew), but ABXY positions trip me up sometimes when using Xbox (very used to Nintendo layout)

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@djlink ok, I can imagine that being confusing then :D

djlink, to random
@djlink@mastodon.gamedev.place avatar

Many years ago when I started using C# I really liked pragma regions, now I just think they add noise to the code and I actively dislike them. I wonder if that's also a result of sometimes the shift between coding styles (more verbose or more simple etc)

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@djlink I inherited lots of code a few years ago at my previous workplace, and the team who wrote it had them everywhere.

Most of the time I ended up deleting them because:

  • Visual Studio collapses them by default when opening a new file -> annoying papercut right at the start when I'm trying to read/understand code
  • They made regions like public/private methods, and those decay very fast. People don't maintain them and IMO that sort of section is useless because keywords exist for that
djlink, to random
@djlink@mastodon.gamedev.place avatar

I don't want to get back to the old days of save points only in certain places, But these had a psychological effect "it's a feature" where it was such a relief to find them. you felt safe, accomplished, like tiny milestones, a lot of game design around these too.

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@djlink yeah, definitely felt that way in Metroid Prime. As a kid it was fine to commit to a longer gaming session (or extend it to get to the next save point), but now I appreciate being able to save and quit whenever I want.
The Switch having suspend/restore (as long as the battery doesn't die) helps a lot as well.

floooh, to random
@floooh@mastodon.gamedev.place avatar

D3D peeps: I want to get rid of baked pass objects in sokol-gfx, for D3D11 this essentially means creating and destroying RTV objects on the fly in begin/end pass.

This assumes that creating/destroying view objects is somewhat 'cheap'. Good idea? Bad idea?

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@floooh in case I'm not grossly misremembering: on HoloLens (both 1 and 2), RTVs need to be recreated every frame because render targets are handed to you by the compositor and they can change under certain circumstances.

(I am not a graphics programmer and this is not graphics advice)

thomasfuchs, to random
@thomasfuchs@hachyderm.io avatar

Well, I guess I’m not as manly as I thought as I ordered these for me

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@thomasfuchs they're so cute, I want some too

djlink, to random
@djlink@mastodon.gamedev.place avatar

I complain about bloated modern software a lot, but make no mistake, I don't believe it's devs. It's just that storage and RAM has become so cheap that companies don't want to spend money on devs time to optimize software because it will still sell.

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@djlink it's a sad state of affairs. I somewhat enjoy making stuff run faster, and using software that doesn't make me wait for no good reason

craftyguy, to random
@craftyguy@freeradical.zone avatar

Does anyone else have too much fun naming their devices?

The home speaker thing (aka "speaker of the house") is named "Nancy"

The bluetooth headset I use for remote meetings is "Can you hear me now"

My laptop is "lappy" (ok, wasn't creative with that one 😅)

IoT-only wifi network with "smart" things is "skynet"

I'm sure there are far better ones than these, please share!

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@craftyguy you just reminded me of my friend's WiFi SSID, "It hurts when IP"

ipg, to random
@ipg@wetdry.world avatar

Whoever at valve made it so the steam big picture button is in the same place as the minimize button everywhere else needs to be fired immediately and possibly sent to hell

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@Rairii @ipg I guess it's because "it's been around the longest" and people have built massive libraries over time, so whatever came after was an annoyance being forced upon you (looking at you, origin and uplay).
Microsoft Store I never used for buying games (and Win8 bombed hard, that didn't help its popularity).
Epic, not sure. You get a lot of free games, but not sure if that helps a lot with people staying on there.

badlogic, to random
@badlogic@mastodon.gamedev.place avatar

Anyone know if you can debug Unreal Engine sources, e.g. SContentBrowser.cpp in JetBrains Rider?

I'm using the UE editor downloaded via the Epic Games Launcher + the debug symbols option.

I do see symbolized stack traces, but breakpoints aren't set/hit.

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@badlogic Never used Rider for C++ debugging, what do they use under the hood, LLDB?

Not sure if relevant, but what is UE built with by default, MSVC or Clang? I think there is a bunch of differences in how they generate PDBs, leading to potentially weird behavior.

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@badlogic ok, no clue then. I haven't done any development on macOS so far (though I recently saw memes that debug symbols there can be...quite tricky)

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar
CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@fasterthanlime unexpected. I wonder how much the whole retroactive install tracking trust us bro pricing fiasco had to do with it.

MnemosyneSinger, to random

This is your new therapist and your last saved photo is their advice to you.

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@MnemosyneSinger sent to a friend who's allergic to bananas

mcc, to random
@mcc@mastodon.social avatar

I have, awkwardly enough, a Unity question this morning.

I am getting an error that a particular UnityEngine.[AssemblyName] assembly is "not referenced" and I must "add a reference".

How do I do this? My project is being built by Unity, and does not have a csproj or a .sln, which is how I'd normally add C# assembly references..

Google seems to suggest adding an "Assembly Definition" or an "Assembly Definition Reference" asset, but it's frankly unclear what these do or what the difference is.

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@mcc if it's about UnityEngine.SomeModule, check Package Manager and the built-in "packages", like cloth, physics, etc. Maybe one of them is disabled and that's why it's not passed to the C# compiler.

wamwoowam, to random

well that's new

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@wamwoowam is WP7 dev still possible on Win11 or are you using a VM or older machine?

I still have my first WP7 device lying around in a drawer, it'd be interesting to tinker with it after 10ish years again.

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@shanselman @wamwoowam the Zune stuff works fine (on my old Win10 laptop) and I appreciate the fix for Win11.

Do you know if there's anything that can be done about developer unlocking a device though (with the registration servers being down)? This is preventing me from deploying test apps.

futurebird, to random
@futurebird@sauropods.win avatar

"Think globally, organize locally."

What local issues do you want to see changed?

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@futurebird tbh, vacuum cleaners suck

governa, to random
@governa@fosstodon.org avatar
CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@governa wow, what a trash fire

djlink, (edited ) to random
@djlink@mastodon.gamedev.place avatar

Only one can exist!

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@djlink if I pick Linux, does that retroactively ensure Windows (and as a result of that, Wine) never existed?
Or is it "from now on only one will exist as is today"? 😄

CarePackage17,
@CarePackage17@mastodon.gamedev.place avatar

@djlink and if Windows never existed, would the x86 PC have become the dominant desktop computing platform? 🤔

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • cisconetworking
  • GTA5RPClips
  • osvaldo12
  • khanakhh
  • DreamBathrooms
  • magazineikmin
  • Youngstown
  • everett
  • mdbf
  • slotface
  • InstantRegret
  • rosin
  • JUstTest
  • cubers
  • modclub
  • normalnudes
  • Durango
  • thenastyranch
  • ethstaker
  • tacticalgear
  • ngwrru68w68
  • Leos
  • anitta
  • provamag3
  • tester
  • lostlight
  • All magazines