• 1 Post
  • 30 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle

  • Unfortunately I don’t know what is causing the exact issue you are having, however here are a few things I found when doing this myself that are “gotchas” (not immediately obvious).

    1. This is the reason your fonts are all Times New Roman. Go to that key using protontricks regedit and delete all the font replacements.

    2. Anything you put in $HOME/.steam/root/steamapps/common/assettocorsa stays there, even if you uninstall the game. If you want to “start over” you have to uninstall the game and then delete the whole assettocorsa directory there, and the wine prefix in $HOME/.steam/root/steamapps/compatdata/244210

    3. AC and content manager work without .net changes in the latest GE but you do need corefonts which you can install with protontricks. If you want to be extra sure you have the right .net you can install dotnet472 but I don’t believe this is necessary anymore as it will be installed automatically or is already installed. You may get a wine .net error the first time you launch the game but it’s only the first time.

    4. If you choose to use CSP you have to unzip the archive you get from either Patreon or acstuff.ru and manually copy the dwrite.dll file into $HOME/.steam/root/steamapps/common/assettocorsa on EVERY upgrade. The zip installer built into CM doesn’t do this correctly on Linux. It will cause rain not to work if you choose to use the Patreon version if you don’t do this manual step.

    I think you should start over and make sure the assettocorsa directory is clean before re-installing the game. It could be missing fonts, but it’s hard to say. You can back it up somewhere if you have data in there you need.



  • What version of kde? I haven’t tried it, or read about it beyond the changelog, however the latest beta release says that it supports RDP to connect to plasma desktops which is quite an interesting development if it works the way it sounds like it does:

    Remote Desktop system integration to allow RDP clients to connect to Plasma desktops, plus a new page in System Settings for configuring this

    For the “from anywhere” component you could use a vpn, but if you’re looking for a simple solution with zero configuration than nomachine or rustdesk seem more appropriate. Just thought the RDP support was worth sharing.


  • So, I’m not sure if the process has changed in the last decade or so but in a long-ago computer forensics class step 0, before all else, was to never operate data recovery on the original disk. Create a block level image of the entire device, then work on that.

    My go to steps for recovery have been the following in the years since:

    1. create an image of the entire disk (not a partition) using ddrescue ddrescue -d /dev/sdX <path_to_image>.img
    2. Run test disk on it selecting the partitions as necessary testdisk <path_to_image>.img

    If the disk has a complicated partition layout, or more effort is required to find the correct partition you can also mount parts of the disk.

    1. create an image of the entire disk (not a partition) using ddrescue

      ddrescue -d /dev/sdX <path_to_image>.img

    2. Mount the image as a loopback device with the appropriate offset

      losetup --offset <some_offset_like_8192> --show -v -r -f -P <path_to_image>.img this will mount individual partitions:

      loop58        7:58   0 465.8G  1 loop
      ├─loop58p1  259:7    0   1.5G  1 part
      ├─loop58p2  259:8    0 450.6G  1 part
      └─loop58p3  259:9    0  13.7G  1 part
      
    3. Then operate testdisk on whatever partition you want.

    All that said there are a lot of variables here and things don’t always work perfectly. I hope you do find a way to recover them.


  • Sway for a little over a year now (on an AMD gpu). I switched for mixed refresh rate support and VRR. VRR requires a workaround in sway but works better in others, like hyprland, however I like sway’s tiling better so I stuck with it. Also the absence of tearing in anything, ever, is worth it to me. I have two vertical displays and it was really hit or miss on X11. Sometimes GPU acceleration would just decide not to work in browsers and I’d have to restart them because smooth scrolling would turn into a stop-motion film. That’s never happened since switching to sway.

    EDIT: I used i3 before





  • I don’t think AC is ever going to work without some workarounds to get it to start. AFAIK the only one required right now for vanilla AC is protontricks 244210 dotnet472 corefonts and then I think it will start. GE might implement a fix for that I guess but honestly the vanilla game isn’t worth playing without content manager at this point and that’s a whole multi-step process to install inside the wine prefix and in the game root outside of steam, and not something GE can do anything about.

    Anyway the process is much simpler than it used to be. Here’s my notes from last time I did it about a month ago or so. I race (badly) in AC pretty much daily.

    Install game
    select GE-Proton8-25 (get it from github if you don't have it)
    run game and let it crash (takes like 15 minutes)
    protontricks 244210 dotnet472 corefonts (about 20 minutes)
    add fonts from here https://files.acstuff.ru/shared/T0Zj/fonts.zip (readme)
    Install Content Manager in .steam/root/steamapps/common/assettocorsa/
    set launch options to c="%command%";sh -c "${c::-17}Content Manager Safe.exe'"
    mkdir -p $HOME/.steam/root/steamapps/compatdata/244210/pfx/drive_c/Program\ Files\ \(x86\)/Steam/config
    ln -s $HOME/.steam/root/config/loginusers.vdf $HOME/.steam/root/steamapps/compatdata/244210/pfx/drive_c/Program\ Files\ \(x86\)/Steam/config/loginusers.vdf
    protontricks 244210 winecfg, then add library override for dwrite.dll (native, builtin)
    Run game, will launch CM
    echo 'Z:\home\'$USER'\.steam\root\steamapps\common\assettocorsa' then paste that in the AC location when prompted
    install your key for the full version
    install CSP, then upgrade to 0.2.2 (will say Can't find INIReader::cache when launching if you don't), then upgrade to the preview if you want.
    install anything else you want like SoL, pure, etc.
    Drive!
    




  • AFAIK openSCAD is a code driven mesh format. So if you want to import openSCAD models into any other CAD software you have to convert the mesh to STEP or some other actual 3d object format during which there can be lots of error if the model is complex. I don’t have a lot of experience doing this but I just tried a model I had lying around from the dactyl keyboard project and converting it resulted in a lot of really broken surfaces.

    This is a cool alternative that makes 3d objects instead of meshes (at least it says it does). https://zalo.github.io/CascadeStudio/ . Also open source but web based.

    EDIT: I should mention that CascadeStudio seems to be abandoned, just a cool concept of a different way of doing code driven CAD.


  • I use FreeCAD and Assembly3 for everything and have for many years now. I sometimes use realthunder’s fork of FreeCAD but right now it’s quite a bit behind upstream and there are some cool new features in sketcher so I use upstream for those.

    Some people get confused about workflow in FreeCAD because there are so many options and every youtube video has different opinions or tries to feature a particular workbench like curves or something. My opinion… Pretty much your workflow starting out should be to ignore everything else and use part design and sketches, it’s the simplest way:

    1. enable autosave with a short interval, like 2min

    2. Switch to part design workbench

    3. create body

    4. create sketches as the base of the features of your part attached to the xy, xz, yz planes, offset them to create a “wire frame” that resembles your project

      a. Your sketches should be fully constrained

      b. Your sketches should have as little geometry in them as possible, if you need more complex stuff make more sketches

      c. Your sketches should have closed wires, you can’t pad something that doesn’t create a face.

    5. use pad, pocket, revolution, loft, and hole operations on those sketches to form a 3d solid

    6. if you need to create additional sketches which import geometry from the previous operations (using the external geometry tool), import SKETCH geometry from the previous ops, not edges of solids, whenever possible. Hide your solid, unhide your sketch, select that with the external geometry tool.

      a. Use sketch on face sparingly.

    7. Do fillets and chamfers last, if you need to change something, delete them and recreate them once you’ve made your changes.

    To make multiple parts make multiple bodies with the same workflow as above.

    Once you get pretty good at making static parts with constrained geometry, holes, threads (with the hole function), etc, which you can do with only the stuff above, then you can branch out into other workbenches like assemblies or curves, but all of those things build on the concepts above, so it’s easy to get overwhelmed if you try to do it all right from the start. Learning how to recover from a mistake is just part of CAD in general, though I admit that it’s a bit more effort to find what’s wrong in FC vs commercial platforms, but we aren’t here, on lemmy, in a linux community, to use commercial platforms.

    AFAIK that’s pretty much the same workflow as F360 uses for single-solid parts though things have different names. pad=extrude for example.

    It’s obviously far from perfect but in my opinion it’s the best solution that runs natively on Linux and is actually open source. Also assembly3 uses solvespace as it’s backend solver so if you make assemblies using that you are kindof using solvespace too.

    Also, I hear/read a lot of complaining about instability but I’ve honestly never had a crash that wasn’t on an experimental branch like RT or the edge release of upstream. However step 0 above should help if you’re worried about that.






  • mranderson17@infosec.pubtoLinux@lemmy.ml...
    link
    fedilink
    arrow-up
    9
    ·
    9 months ago

    I have a whole Linux machine with a bunch of displays, 16 cores, tons of memory, powerful GPU, and an internet connection. And I still have a TI-84Plus sitting on my desk which I use for all my calculator needs… It’s just easier.