OS Software




Hypseus Singe on a Vertical Cabinet

Started by jkheiser, Feb 18, 2026, 08:44 PM

Previous topic - Next topic

jkheiser

*
Newbie
Posts: 2
Logged
I have a Donkey Kong cabinet that's running 5v2. It's configured with a right rotation (ROR) and is working really nicely for the vertically oriented MAME games I mostly play with it. However, I would like to get Dragon's Lair working on this setup and it's proven to be quite vexing.

DL's game files are installed and it is playable, except the picture is cockeyed. I tried modifying the daphne.sh file to add -rotate 90 to the launcher, but this makes Hypseus have a segmentation fault around 9 out of 10 times it is launched. I compiled the newest version (v2.11.7-RPi-3) and it is much more stable with rotation. I have yet to see a segmentation fault with this version.

Here is the part that vexes me: I have tried dozens of different parameter combinations but cannot get a good screen-filling image like the non-rotated configuration. I understand running a 4:3 game in a 3:4 aspect ratio will necessitate some black bars to frame the image, but none of the settings I've tried have resulted in anything that isn't a squat 8:1 rectangle that runs through the middle of the screen.

Here is what Hypseus looks like with an out-of-the-box launch on 5v2 with these runtime parameters: -fastboot -fullscreen -ignore_aspect_ratio -x 1920 -y 240 -novsync
non-rotated.jpg

Nice screen-filling image! But bad for my neck.

Here is what it looks like rotated with these runtime settings: -fastboot -fullscreen -ignore_aspect_ratio -x 240 -y 1920 -novsync -rotate 90
rotated-90.jpg

Fiddling with x/y, ignore_aspect_ratio, force_aspect_ratio, vertical_screen, or vertical_stretch make no difference in the amount of picture information filling the screen in the rotated orientation. Invariably rotation produces an 8:1 rectangle that contains all the video with varying degrees of distortion.

I tried taking up the matter with DirtBagXon over on the Hypseus Discord, but they are baffled by the grotesque proportions of the screen.

dee2eR

Administrator
*****
Hero Member
Posts: 325
Logged
Interesting.  I've never actually tried Hypseus (or Daphne) on a vertical monitor.  I'll have to have a play and see what I can come up with.

At a guess it will be related to the 1920x240 resolution, most emulators don't understand that is a 4:3 screen ratio.  I'll try some things later today or tomorrow and get back to you.

dee2eR

Administrator
*****
Hero Member
Posts: 325
Logged
#2
can you please upload the version of hypseus that is stable using rotation?  My testing is slowed immensly by the seg faults, weirdly I have had it run rotated a few times but the next time it segfaults with no changes made from when it worked...

I think what I'm going to do in the end is add a widthfix (outside of Hypseus) to the launcher when rotated, and the rotation itself (that part I already have done).  From the bit of experimenting I've just done we may not be able to get it perfectly 4:3 when rotated, 5:3ish or 1:1ish are closest I've been so far (either looks way better than the 8:3ish it is without using widthfix).

EDIT: actually in 240p I can get it pretty close to 4:3, my first tests were in 480i.

dee2eR

Administrator
*****
Hero Member
Posts: 325
Logged
Turns out the segfault is Dragons Lair (1) related, no idea why, but it doesn't happen with DL2 or Ninja Hayete.

As a quick workaround, in the daphne.sh launcher, on a line before the line that actually runs Hypseus, add this:
Quotewidthfix 6 4 &
Depending on how long it takes to load each game the '6' could possibly be lowered, it's the delay before the widthfix runs - if it runs when the emulator isn't onscreen it doesn't work so the timing is conservative (I don't know if some games take longer than others to start up in hypseus).  '4' is the number of times the width is increased and should be right for 240p.

I have added rotation handling with the widthfix hack to the launcher and will include it in the next update.  If you upload the binary with the segfault fix I'll include it too.

jkheiser

*
Newbie
Posts: 2
Logged
Using the widthfix command produces a decent 4:3 shape in the center of my screen. A big step forward! Thank you.

Is there a way to run Hypseus at 480i or 480p? Dragon's Lair looks pretty fuzzy using only part of the monitor at 240p. I can deal with aspect ratio issues using Hypseus's geometry-torturing options.

I bundled up the v2.11.7-RPi-3 build into this file: https://jason.heiser.org/files/hip.zip

After building it, I only relocated the executable (in the build folder) and one image (from the pics folder) over to where ArPiCade keeps its Hypseus installation. There may be other new files that need to be assimilated.

dee2eR

Administrator
*****
Hero Member
Posts: 325
Logged
#5
Thanks for uploading the emulator.

You can use 480i, either by using the ARpiCADE service menu (F4 or service from the game selection menu) and selecting the allow 480i option.  It will use 480i for the menus and rotated games as well.  In 480i you will also want to use 'widthfix 6 2 &' as you will want less horizontal stretch (using 2 will give you about 1:1 ratio, using 1 would give you about 5:3).

I was actually impressed how good it looked rotated on a 240p screen, given almost 2/3 of the original picture info is missing it looks ok.  (Width of 640 displayed rotated on 240p loses more info than it actually displays, dropping 400 lines.)  These games on a vert monitor definately look better in 480i.

480p (probably) won't suit your monitor.  ARpiCADE can do highres output but there's no mixed high and low res modes.

EDIT: segfault bug still exists with the new version, unless I messed up something...

dee2eR

Administrator
*****
Hero Member
Posts: 325
Logged
Starting to think the rotation segfault bug is related to the -fastboot setting...  no idea why.  Testing now but so far so good...