using t.console on linux [SOLVED]
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
using t.console on linux [SOLVED]
Hi, i have been wondering if there is a way to use the t.console on Linux or be able to replicate its function? My love set up is vscode using the love2d support extension to run the love appimage. The Linux Distro I am using is Linux Mint.
Last edited by CodeRed on Wed Aug 02, 2023 4:08 pm, edited 1 time in total.
Re: using t.console on linux
that solution doesn't work for me because im using the appimage version of love so i can't use the love command.
Re: using t.console on linux
appimage is still executable, it doesn't work any differently from programs installed in different way. Just make sure that love appimage is runnable and run it in terminal. For example:
Code: Select all
/path/to/appimage/love-11.4-x86_64.AppImage
Re: using t.console on linux
Yeah I can easily run love it self through a terminal just copy the location of love and past it into the terminal and press enter and it will run perfectly fine. I'm asking how to run my love game and be able to write to the console.GVovkiv wrote: ↑Wed Aug 02, 2023 10:53 amappimage is still executable, it doesn't work any differently from programs installed in different way. Just make sure that love appimage is runnable and run it in terminal. For example:Code: Select all
/path/to/appimage/love-11.4-x86_64.AppImage
Re: using t.console on linux
Pass argument to game path to love appimage, where main.lua is?
Like:
Code: Select all
/path/to/appimage/love-11.4-x86_64.AppImage /path/to/game
Re: using t.console on linux
To run your game through terminal, just add path to folder with main.lua to it:CodeRed wrote: ↑Wed Aug 02, 2023 2:42 pmYeah I can easily run love it self through a terminal just copy the location of love and past it into the terminal and press enter and it will run perfectly fine. I'm asking how to run my love game and be able to write to the console.GVovkiv wrote: ↑Wed Aug 02, 2023 10:53 am appimage is still executable, it doesn't work any differently from programs installed in different way. Just make sure that love appimage is runnable and run it in terminal. For example:Code: Select all
/path/to/appimage/love-11.4-x86_64.AppImage
Code: Select all
/path/to/appimage/love-11.4-x86_64.AppImage path/to/folder/with/main/lua
Re: using t.console on linux
oh thank didn't know you could just pass an argument to game path to love appimage where main.lua is. That fixed the problem thank you.GVovkiv wrote: ↑Wed Aug 02, 2023 3:12 pmPass argument to game path to love appimage, where main.lua is?
Like:And add io.stdout:setvbuf("no") on top of main.lua?Code: Select all
/path/to/appimage/love-11.4-x86_64.AppImage /path/to/game
Re: using t.console on linux
As I said, appimage love is just love, packaged as appimage, you can do with it same things, as other love *versions*, as dnf or flatpak distribution.
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Semrush [Bot] and 9 guests