!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

552 Members
Gaming things, my hands are typing words.153 Servers

Load older messages


SenderMessageTime
27 Mar 2025
@k900:0upti.meK900Wait, cross?13:55:53
@marie:marie.cologneMariecompile lovely-injector for windows, so it works inside proton13:56:24
@k900:0upti.meK900Oh like you're building your own13:56:36
@marie:marie.cologneMarieyes13:56:43
@k900:0upti.meK900https://github.com/ethangreen-dev/lovely-injector/blob/master/crates/lovely-win/build.rs13:57:27
@k900:0upti.meK900I think the build.rs expects to have the Windows DLL as a reference?13:57:37
@marie:marie.cologneMarieoh, hm13:58:16
@marie:marie.cologneMariei guess wine would have such a dll somewhere?13:58:31
@k900:0upti.meK900Presumably13:59:34
@k900:0upti.meK900I'm honestly not sure why they're doing that 13:59:48
@k900:0upti.meK900I wrote a similar thing before and version.dll has like five functions14:00:00
@marie:marie.cologneMariedoes the dll even need to exist at build time14:02:37
@marie:marie.cologneMariehm i guess it does14:04:37
@marie:marie.cologneMarie now i get a lot of /nix/store/z2h4v7d7mrslcnxmpq195czvjiwd9vgv-x86_64-w64-mingw32-binutils-2.43.1/bin/x86_64-w64-mingw32-ld: cannot find /EXPORT:GetFileVersionInfoA=C:\Windows\System32\version.GetFileVersionInfoA,@1: No such file or directory :(
i guess i'll just use the upstream build
14:36:32
@k900:0upti.meK900Yeah that definitely is MSVC brained14:40:57
@k900:0upti.meK900You probably need an MSVC flavored toolchain for this14:41:03
@marie:marie.cologneMarie or not, the game crashes when i start a cryptid run :( 14:41:20
@marie:marie.cologneMarielocalthunk balatro native build on steam when14:41:45
@marie:marie.cologneMarie master branch has some commits which look like they could fix this, but i'm not sure if I want to spin up a windows vm to build it 14:47:08
@k900:0upti.meK900FWIW I just tried it with whatever version of the injector BMM downloaded and it works14:54:14
@marie:marie.cologneMariei think it just downloads the latest version?14:55:06
@marie:marie.cologneMariewhich is also the one i tried14:55:12
@k900:0upti.meK900/shrug14:55:14
@marie:marie.cologneMarieguess I'll give BMM a try14:59:16
@marie:marie.cologneMarieseems to work with BMM, not sure what it does different15:02:08
@aidalgol:matrix.orgaidalgolWait... lovely-injector is for the love2D engine, which has native linux support, so unless the game you want is using the FFI, you should be able to just run the game with the linux build of love2D.19:46:23
@aidalgol:matrix.orgaidalgol Looking at the files list on SteamDB, it might work. 19:46:58
@aidalgol:matrix.orgaidalgol love2D lets you bundle game files by putting them in a zip archive and appending it to the end of the love2D executable (except for macOS, I think, because that platform uses the .app folder structure), which it looks like they've done here, because I don't see any zip or lua files. 19:53:11
@aidalgol:matrix.orgaidalgolI don't own this game to try messing with it myself.19:53:35
@marie:marie.cologneMarie
In reply to @aidalgol:matrix.org
love2D lets you bundle game files by putting them in a zip archive and appending it to the end of the love2D executable (except for macOS, I think, because that platform uses the .app folder structure), which it looks like they've done here, because I don't see any zip or lua files.
i know, there is even a package to create a "native" balatro build i nixpkgs, but i prefer to run it via steam for tracking playtime and achievements and so on
23:45:12

Show newer messages


Back to Room ListRoom Version: 10