Widescreen mod for gemrb on arm?
-
@quicksilver The issue is that gemrb is using the default resolutions available from the game itself. Since the games are from the 90's they tend to be rather small on bigger screens, like 1024x768. The Widescreen mod lets you define custom resolutions for games running on Infinity Engine.
I don't know if Widescreen mod fixes it, but in all tested games through gemrb they are also not centered in the display, the are in the upper left area, at least for me.
There is an option for fullscreen in the config file for each game, but it doesn't change anything.
-
@Stuffu Did you try changing the resolution in the runcommand menu before the game launches to match the display resolution to the games internal render resolution?
-
@quicksilver said in Widescreen mod for gemrb on arm?:
@Stuffu Did you try changing the resolution in the runcommand menu before the game launches to match the display resolution to the games internal render resolution?
I tried that, the games themselves have different max resolutions, Icewind Dale is 640x480 while Icewind Dale II is 800x600 for an example. I have tried both putting the default resolution for gemrb to the actual resolution as well as the +rom alternative. It doesn't change anything on how it's displayed. I have a feeling that the system resolution, 1080p in my case, overrules those settings.
That's why I wanted to try the Widescreen mod, but it might not be the right way forward. Just want to try different alternatives to fix the resolution..
-
I think I might have the cause of the problem, I built from source but the build is 0.8.4, from 2016, the latest build is 0.8.6.
Can someone update to fetch latest version?
Thanks!
-
@Stuffu you should be able to modify the script module to compile the newer version.
Should be located at /home/pi/RetroPie-Setup/scriptmodule/ports/gemrb.sh
Then look for this line
gitPullOrClone "$md_build" https://github.com/gemrb/gemrb.git v0.8.4
and change the version number there. Then rebuild gemrb from source.
-
@quicksilver thanks, updated to latest but with same result unfortunately. Also watched the tutorial video in the retropie gemrb section, done exactly as that. Still can’t figure out why the display isn’t centered. Every gemrb games behaves the same, other emulators run as expected. Any ideas?
-
@Stuffu try running it in an x session.
First install dependencies:
sudo apt install xorg xinit
Then modify gemrb's emulators.cfg and add
XINIT:
to the beginning of the launch command.You should then be able to play with the in game resolution options and the runcommand video modes to get a fullscreen image.
-
@quicksilver Fails to load, runcommand.log outputs this:
Parameters: Executing: xinit /dev/shm/retropie_xinitrc -- vt1 -keeptty /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error
-
@Stuffu can you post the exact contents of your emulators.cfg for gemrb?
-
@quicksilver said in Widescreen mod for gemrb on arm?:
@Stuffu can you post the exact contents of your emulators.cfg for gemrb?
gemrb = "XINIT:/opt/retropie/ports/gemrb/bin/gemrb -C /opt/retropie/configs/ports/icewind1/GemRB.cfg" default = "gemrb"
Still curious how people get it to work "out of the box", but then again gemrb maybe isn't that widely used?
-
@Stuffu Im sure we can get xinit to work, im just not an expert on it yet. I will probably need to install gemrb myself to play around with the settings first hand.
The issue with the window not scaling properly is a quirk of the pi 4 and the fkms driver. I have run into this same issue with dosbox and other emulators. -
@quicksilver Ah, I see. Somehow it feels a bit better if it’s not just me having issues with that :)
-
@quicksilver said in Widescreen mod for gemrb on arm?:
The issue with the window not scaling properly is a quirk of the pi 4 and the fkms driver. I have run into this same issue with dosbox and other emulators.
No, it's not and I would appreciate if you would stop saying that.
-
@mitu said in Widescreen mod for gemrb on arm?:
@quicksilver said in Widescreen mod for gemrb on arm?:
The issue with the window not scaling properly is a quirk of the pi 4 and the fkms driver. I have run into this same issue with dosbox and other emulators.
No, it's not and I would appreciate if you would stop saying that.
Yikes. My apologies, obviously I am mistaken.
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.