LuaBackend icon indicating copy to clipboard operation
LuaBackend copied to clipboard

Console stays empty (Steam Deck/Linux: Steam Version)

Open HydroSulphide opened this issue 1 year ago • 3 comments

LuaBackend is working and mods are correctly initialized and work in game, you can open the console by pressing F2 and reloading scripts by pressing F1 works as well, but the output itself stays empty.

This is not a critical bug, but for me and other modders it's harder to debug things on the steam deck and of course users should see what mods initialized successfully by opening the console.

HydroSulphide avatar Jun 24 '24 06:06 HydroSulphide

I find that manually resizing the window does make the text appear on the console. Not sure how to do this in Game Mode as you can't change the window size from there.

KHOmega avatar Jul 10 '24 01:07 KHOmega

That's interesting. Any idea why this is happening? Should be a proton/wine issue, maybe? It's good enough for me, but would be nice to fix this anyway. I don't know what library is used to show the window and print messages, maybe I will look into it and test some things.

HydroSulphide avatar Jul 10 '24 20:07 HydroSulphide

Can confirm this bug with my setup on Steam version using the Wine Master Proton nightly build from proton-tkg (using TKG-proton-10.0rc3.r0.gf10d2d04 as of right now). Since LuaBackend uses the standard Windows console API this is likely a Wine issue. Not sure if anything can be done about it on the LuaBackend side but the workaround @KHOmega mentioned does indeed work. Unfortunate news for Steam deck but if there's some goofy hack we can put in to resize the console window slightly after it opens I guess that's fine too.

Sirius902 avatar Jan 17 '25 23:01 Sirius902