Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: How to change XP boot screen orientation  (Read 4880 times)

0 Members and 1 Guest are viewing this topic.

Stormrider

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:September 28, 2014, 11:01:54 am
How to change XP boot screen orientation
« on: September 27, 2009, 04:23:33 pm »
I have a dual layout in MaLa, for horizontal and vertical orientation. I switch between with a button. However, my XP boot screen is the always same, no matter if my tv is set to horizontal or vertical.

My idea is to automate a process by means of which when you leave MaLa and its layout is set to vertical, the XP boot screen is changed to a vertical screen, for next boot. If next time you quit MaLa, you leave the layout in horizontal position, the boot is changed to horizontal.

The only way to know what's the orientation is to read mala.ini and check the line vertical=1 or =0. That would be the first problem. Sencond: how to automate a process for changing the boot screen depending on the aformentioned condition. I don't think Bootskin can do that, can it? Any other program that accept commands for changing XP boot screens?

Kman-Sweden

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:October 23, 2015, 07:29:00 am
  • Up the Irons!
Re: How to change XP boot screen orientation
« Reply #1 on: September 27, 2009, 06:14:32 pm »
It can if you make a boot skin yourself. just flip the image...

Stormrider

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:September 28, 2014, 11:01:54 am
Re: How to change XP boot screen orientation
« Reply #2 on: September 27, 2009, 06:34:38 pm »
You didn't undestand a thing. I need a way to automate the change of the boot screen depending on a variable, which moreover has to be read from a ini file.

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10093
  • Last login:May 08, 2023, 02:40:58 pm
  • Comanche, OK -- USA
Re: How to change XP boot screen orientation
« Reply #3 on: September 28, 2009, 08:28:28 am »
What if you made your own boot skin that works both vertical and horizontal? To where either way it's oriented, it still looks good.

Kman-Sweden

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:October 23, 2015, 07:29:00 am
  • Up the Irons!
Re: How to change XP boot screen orientation
« Reply #4 on: September 29, 2009, 04:24:07 am »
Good luck.  ::)

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10093
  • Last login:May 08, 2023, 02:40:58 pm
  • Comanche, OK -- USA
Re: How to change XP boot screen orientation
« Reply #5 on: September 29, 2009, 08:32:35 am »
Good luck.  ::)

That directed at me or him?

Stormrider

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:September 28, 2014, 11:01:54 am
Re: How to change XP boot screen orientation
« Reply #6 on: September 29, 2009, 06:31:18 pm »
I have made it possible.

You will find the necessary files in my MaLa layout zip: http://www.alvarezeninternet.com/malalayout/stormrider_mala_layout.zip

If you usually rotate your TV or monitor this may be interesting to you. My frontend layout has a dual configuration, featuring horizontal and vertical display. Everything is correctly displayed in each setup, even the splash video, the loading screens, the information box, the dialogues, etc. However, the Windows XP boot screen is always horizontal. I've fixed that.

The idea is that, when you quit MaLa and Windows desktop starts, the screen orientation is automatically detected and the Windows boot screen is changed according to that. You need Bootskin installed for this to work. You must place a shortcut to the bsrotate.exe file (MaLa folder) in programs\startup, so that it loads when Windows starts. Then, you need to copy vidstubh.sys and vidstubv.sys to c:\windows\system32\drivers\. Vsrotate.exe contains an Autohotkey script which carries out the following tasks:

Reads line vertical= under the GUI section in mala.ini
If that line is vertical=1, then vidstubv.sys is copied over vidstub.sys (the Bootskin file that contains the Windows boot screen image).
If that line is not vertical=1, vidstubh.sys is copied over vidstub.sys

Therefore, the Windows boot screen will always be in the right orientation. When we have our TV set or monitor set to horizontal, our layout is also set to horizontal, and viceversa, and it's left like that when we quit MaLa. That piece of information is written to mala.ini, and this allows the script to work as expected. If you want to use your own boot screen, you only have to apply it from the Bootskin menu. Copy your C:\Windows\system32\drivers\vidstub.sys. Then, repeat the process with a rotated image. I don't think further details are necessary.

BTW, I've updated my mala layout also with a little change. I've removed the pointers.cmd file (batch file which switches visible and invisible pointers), and I've included all the actions in the pointers.exe file, which contains the AutoHotkey script that copies the pointers files and opens up the mouse dialogue. It also works with Spanish, English and French versions of Window. Anyway, the code is there if you need to edit it.
« Last Edit: October 07, 2009, 06:30:59 am by Stormrider »