OS Software




Image rotation for attract mode

Started by Flynn Lives, Dec 14, 2025, 03:29 PM

Previous topic - Next topic

Flynn Lives

Global Moderator
*****
Full Member
Posts: 57
Location: Fort Worth TX
Logged
Vertical mounted crt. Old version 4 all images/attract mode show correctly. New fresh 5.24 build when starting " now loading " and everything else displays correct. But when it gets to attract mode the image is upside down. I cant remember how to correct this issue.
The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Chips? Motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then. One day. I got in.

dee2eR

Administrator
*****
Hero Member
Posts: 310
Logged
#1
What Attract-Mode layout is it?  It's very likely either a setting that can be changed from within the layout options of Attract-Mode or the theme will need to be adjusted to match your rotation in the themes nut script.



Flynn Lives

Global Moderator
*****
Full Member
Posts: 57
Location: Fort Worth TX
Logged
#2
I used your sdarcade v2 for pi5 and copy/pasted some code over, that fixed it. The ARCADE font in v3 sdarcade is horrible on my 25" CRT, its too bulky.
The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Chips? Motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then. One day. I got in.

Flynn Lives

Global Moderator
*****
Full Member
Posts: 57
Location: Fort Worth TX
Logged
heres the layout file for it. (SDarcadeMod_v3f)
The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Chips? Motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then. One day. I got in.

dee2eR

Administrator
*****
Hero Member
Posts: 310
Logged
#4
looks like system rotation should already be supported by this theme... did you set the rotation through the service menu or some other way?  I may need to dig into it deeper to find out why it went wrong.

Do you have either vert.txt or vertrol.txt (empty text files) in the boot partition?  They're the files the theme is looking for to set the rotation direction.  If you have vert.txt try changing it to vertrol.txt *(and vice versa if you have vertrol.txt).

EDIT: actually, re-reading what you've written previously it may only look like it supports auto rotation with the system due to some of the code you've changed/added from the other version.  The auto rotation themes I've done essentially contain both a vertical and a horizontal theme and some logic to check which to use.  If the font is the part of the working theme you don't like it may be easier to modify the font in the working theme than update the other one. 

Unfortunately chunky fonts are more or less required for them to be readable in 240p setups.  It's probably possible to have multiple fonts used for different setups in one theme similar to the auto rotation but I've not thought about it before just now...

Flynn Lives

Global Moderator
*****
Full Member
Posts: 57
Location: Fort Worth TX
Logged
#5
Quote from: dee2eR on Dec 16, 2025, 08:24 PMlooks like system rotation should already be supported by this theme... did you set the rotation through the service menu or some other way?  I may need to dig into it deeper to find out why it went wrong.

Do you have either vert.txt or vertrol.txt (empty text files) in the boot partition?  They're the files the theme is looking for to set the rotation direction.  If you have vert.txt try changing it to vertrol.txt *(and vice versa if you have vertrol.txt).

EDIT: actually, re-reading what you've written previously it may only look like it supports auto rotation with the system due to some of the code you've changed/added from the other version.  The auto rotation themes I've done essentially contain both a vertical and a horizontal theme and some logic to check which to use.  If the font is the part of the working theme you don't like it may be easier to modify the font in the working theme than update the other one. 

Unfortunately chunky fonts are more or less required for them to be readable in 240p setups.  It's probably possible to have multiple fonts used for different setups in one theme similar to the auto rotation but I've not thought about it before just now...

I played with so many different fonts its ridiculous, I FINALLY found one thats about 99% perfect for my 25"  vertical CRT cab. I've included the font and the layout.nut if anyone wants to try it out. Just add the font, make a back up of your layout.nut and replace with this one. It does appear you can change just one font. BTW the font is verdanab (verdana bold ttf).
The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Chips? Motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then. One day. I got in.