Hi I am brand new to modding and I followed all of the instructions. When I tried to open the run_lovely_macos file it doesn't open. This is what the terminal says:
/Users/myuser/Library/Application Support/Steam/steamapps/common/Balatro/run_lovely_macos .sh: line 8: ./Balatro.app/Contents/Game/Balatro.app/Contents/MacOS/love: No such file or directory
#Lovely Mod Help
1 messages · Page 1 of 1 (latest)
If you go on steam and right click balatro > properties > local files > browse local files where does steam take you?
It takes me to a folder that just has the balatro app in it
What is the path of it (I think its on the top of finder)?
it is application support> ]steam> steamapps> common> balatro
thank you so much for your help btw
Are you able to run the following in the terminal and tell me what it says
cd "/Users/$USER/Library/Application Support/Steam/steamapps/common/Balatro"
find
zsh: command not found: terminal
usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
name@x-MacBook-Air Balatro %
What about find .
Yeah Copt and paste that here
What about cat run_lovely_macos.sh
cat: run_lovely_macos.sh: No such file or directory
x@x-MacBook-Air Balatro %
Oh there's a space. Try cat run_lovely_macos\ .sh
#!/bin/bash
gamename="Balatro"
defaultpath="/Users/$USER/Library/Application Support/Steam/steamapps/common/$gamename"
export DYLD_INSERT_LIBRARIES=liblovely.dylib
cd "$defaultpath"
./$gamename.app/Contents/Game/$gamename.app/Contents/MacOS/love "$@"
x@x-MacBook-Air Balatro %
And what does ./run_lovely_macos\ .sh say?
./run_lovely_macos .sh: line 8: ./Balatro.app/Contents/Game/Balatro.app/Contents/MacOS/love: No such file or directory
x@x-MacBook-Air Balatro %
Oh wait that is wrong. Are you able to edit the script to be this one https://github.com/ethangreen-dev/lovely-injector/blob/master/crates/lovely-unix/run_lovely_macos.sh
it says event not found /bin/bash
What did you do to get that
i used the code from the link
Like you put it in the file?
i put it in the terminal
i can put it in the file?
i apologize, im very new to coding and modding
Yeah something is wrong with your run_lovely_macos.sh you need to update it
okay sounds good
okay i redownloaded the newest file and it let me put it in the terminal. this is what it says now: Last login: Wed Dec 17 18:05:43 on ttys000
/Users/x/Library/Application\ Support/Steam/steamapps/common/Balatro/liblovely.dylib ; exit;
x@x-MacBook-Air ~ % /Users/x/Library/Application\ Support/Steam/steamapps/common/Balatro/liblovely.dylib ; exit;
zsh: exec format error: /Users/x/Library/Application Support/Steam/steamapps/common/Balatro/liblovely.dylib
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
Oh running the script direfkty broke your terminal, close and reposn it.
omg! I think it's working :DD