Open Zvince opened 1 year ago
How are you running it? Are you running the native Linux version of M'Overlay via m-overlay-x64.love
? Or are you running the windows version?
Yes I'm using m-overlay-x64.love. I installed love2d via command line. I believe the problem is that I can't write to use/bin. I'm unable to run the command that let's m'overlay read dolphins memory because it states the folder "love" does not exist
How did you install it via commandline exactly? The love
executable may not be in /usr/bin/
In Konsole, I entered both "sudo git clone https://github.com/love2d/love.git" and "git clone https://github.com/love2d/love.git"
I also tried entering the command into the bin folder and got this
Update: I was able to write to usr/bin. I successfully installed love2d. I ran the command "sudo setcap cap_sys_ptrace=eip /usr/bin/love" with konsole returning no error. Despite following all steps I still get Invalid Permissions.
I'm still confused how you installed it. Cloning the GitHub repository would only get you the source code.. Did you build it from source?
Not sure if this is the same issue, but my header also has that "Invalid permissions...."
This is the error I am receiving:
c4@c4-ms7d42:~/Games/Melee$ love application.love [DEBUG - 20:29:17] Love2D 11.3.0 - Mysterious Mysteries [DEBUG - 20:29:17] Lua 5.1 (LuaJIT 2.1.0-beta3) [DEBUG - 20:29:17] M'Overlay (2.1.0) [ERROR - 20:29:17] Thread error (Thread: 0x558c784b0d00)
modules/ssl.lua:8: module 'ssl.core' not found: no field package.preload['ssl.core'] no 'ssl/core' in LOVE game directories. no file 'ssl/core' in LOVE paths. no file './ssl/core.lua' no file '/usr/share/luajit-2.1.0-beta3/ssl/core.lua' no file '/usr/local/share/lua/5.1/ssl/core.lua' no file '/usr/local/share/lua/5.1/ssl/core/init.lua' no file '/usr/share/lua/5.1/ssl/core.lua' no file '/usr/share/lua/5.1/ssl/core/init.lua' no file './ssl/core.so' no file '/usr/local/lib/lua/5.1/ssl/core.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.1/ssl/core.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './ssl.so' no file '/usr/local/lib/lua/5.1/ssl.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.1/ssl.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'require' modules/ssl.lua:8: in main chunk [C]: in function 'require' modules/https.lua:10: in main chunk [C]: in function 'require' modules/web/thread.lua:1: in main chunk stack traceback: [C]: in function 'error'
main.lua:780: in function <main.lua:768>
[C]: in function 'xpcall'
[string "boot.lua"]:802: in function <[string "boot.lua"]:769>
Ah, the latest update will now require lua51-sec
as a dependency for the built in updater functionality. You would have to install that package via pacman.
Got this working on my Deck and it was quite the journey, so I'm writing this to save someone else the headache.
As a preface, here's everything that doesn't work and why:
So, with those in mind, here's my solution.
/etc/default/steamos-btrfs
to have: STEAMOS_BTRFS_ROOTFS_PACMAN_EXTRA_PKGS="lua51-sec luajit mpg123"
./configure --disable-shared --enable-static
and manually changing CFLAGS to be CFLAGS = -fvisibility=hidden -g -O2 -lpthread
in the generated Makefile. setcap
command on your love executable.#! /bin/bash
/home/deck/Applications/Slippi/love application.love & /home/deck/Applications/Slippi/Slippi_Online-x86_64.AppImage && fg
And there you have it. Works on both the desktop and in game mode. This should also apply to immutable operating systems like Fedora Silverblue/Kinoite, with the only difference being the ability to easily layer the needed dependencies from step 1.
For The Life of me I am unable to use m'overlay on steam deck desktop mode. Steam deck runs arch linux. M'overlay will launch but says "Invalid permissions". Any help would be greatly appreciated!