box86 / using startx to load a program doesn't go to full screen
-
Raspberry Pi: 4 (2GB)
RetroPie: 4.6
EmulationStation: 2.9.3RPSo I've been playing around with box86 testing various games to see if they will run and I'm having a reoccurring issue with a few games. But I believe one issue might be separate to another.
Essentially in games like Undertale, the window is centered and I cannot get the game into fullscreen mode. When running from pixel desktop you can press F4 to get fullscreen mode. But I note the game doesn't boot in fullscreen on pixel, you have to select F4 each time.
In games like AM2R and Freedom Planet, the window is centered but cut off from so you only get a strip of video data. In pixel these games when I run them go straight into fullscreen mode.
Here is my .sh file I'm using for AM2R as an example:-
#!/bin/bash xset -dpms s off s noblank matchbox-window-manager -use_titlebar no & xinit /home/pi/RetroPie/roms/ports/AM2R/am2r -- vt$(fgconsole)
Any ideas what I'm missing to get this working? I've also tried changing the xinit line to startx and it does the same thing.
-
@retropieuser555
Hey try put this between or maybe a different screen size -tvservice -e "DMT 4" tvservice -p
Will love your help too
how did u get it working like FREDDOM PLANET ?
can i have your sh files plz ?
trying to get it working but with no successes and couple more
i did get postal 1 wolrd of goo & shovel knight just with that -#!/bin/bash cd /media/usb0/roms/box86/ShovelKnight/32 box86 ShovelKnight
Thanks will love to hear :)
With your sh it gives me -
(EE) Server terminated with error (1). CLosing the log file.share/xorg/Xorg.0.log for additional information -
@retropieuser555 I just got this working last night! Change
-use_titlebar no
to-use_titlebar yes
! -
@hooperre Thanks! Glad that fixed it for you but for me I just tried that and it didn't change anything unfortunately.
-
@retropieuser555 Hopefully you see this, but I was able to fix it by going into
/home/pi/.config/AM2R/config.ini
and changing:[Screen] Fullscreen="1.000000"
to
Fullscreen="0.000000"`
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.