Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: Escape-to-88 on February 28, 2019, 06:17:41 AM

Title: Booting into AM from startup on Windows 7 definitive method?
Post by: Escape-to-88 on February 28, 2019, 06:17:41 AM
Hi all,

I wondered if there is a  definitive method for booting into AM from startup on Windows 7? Obviously resheller doesn't work and I currently do this:

open Registry Editor and locate the following registry entry: Key: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Name: Shell
Type: REG_SZ
Value: Explorer.exe
now change that value to read this: C:\AttractMode\attract.exe -c C:\AttractMode
(change path to whatever you have)

However this obviously means I can't access the Windows desktop, as it's just black with a mouse curso when I exit AM. Is there a way I can boot into AM from startup hiding all the Windows 7 stuff and still have access to Wincodws 7 when I exit out of AM? Mainly if I need to add or change things. At the moment I have to regedit exlorer.exe back in and wondered if there was a 'smoother' way of doing things?

Thanks
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: zpaolo11x on February 28, 2019, 06:51:59 AM
Maybe instead of launching Attract Mode in place of explorer you can launch a script that runs attract mode and explorer one after the other. If I remember correctly explorer won't start until attract.exe exits...
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: keilmillerjr on February 28, 2019, 12:33:56 PM
Launch task manager with CTRL + ALT + DEL File -> run -> explorer
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: Escape-to-88 on March 03, 2019, 07:20:14 AM
Thanks, so I can't run them together at the same time?
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: progets on March 03, 2019, 11:44:01 AM
Yes, you can run them together. This is how Windows works, Explorer.exe is launched at boot as a shell and then other programs are run on top of it.

You can only have one shell. If you use attract.exe as your shell then you would have to launch any other programs by using a script or in the manner that keilmillerjr describes. You would typically only run AM as a shell if you don't want to see and use the OS for anything else, like in an arcade cabinet.
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: toothlessgrinn on March 03, 2019, 06:28:00 PM
its how i did it. my pc boots right into attract and if i need to do somthing just ctrl+alt+delete and run whatever program you want from task manager. everything still works.
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: Escape-to-88 on March 04, 2019, 11:38:42 AM
Thanks all. Seems like I'm doing it right then, just off to locate icons etc. to hide the Windows startup logo :)
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: progets on March 04, 2019, 12:23:41 PM
Instant Sheller is a free program that can help. There's a bunch of helpful information here https://www.gameex.com/instant-sheller-and-shelling-guide/ (https://www.gameex.com/instant-sheller-and-shelling-guide/).
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: Kevin on March 11, 2019, 12:54:37 PM
or you try my program. it can attractmode set as a shell....
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: rloxley on March 18, 2019, 04:59:58 AM
Running another program as a shell is always a problem, as you don't have access anymore to all standard windows functions, which are running on explorer shell only, by default. network access for example... To me the better way is putting it in autostart, so you have still access to all standard functions. You can also get rid of the windows logo on startup, have a black login screen, setup automatically login with your username & password etc, but it will not be completely seamless startup.

So you have to decide, if you want seamless start, or having everything functional in the background as usual. You cannot have both 100% at the same time.

When using attract mode as a shell, you can create a simple batch file, which automatically launches explorer.exe everytime you leave attract mode, so you don't see that black screen any longer and you don't have to always hit "strg + alt +del" and type in "explorer.exe" anymore... much more comfortable. Searching the web you should easily find how to.
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: toothlessgrinn on March 18, 2019, 08:10:42 AM
Running another program as a shell is always a problem, as you don't have access anymore to all standard windows functions, which are running on explorer shell only, by default. network access for example... To me the better way is putting it in autostart, so you have still access to all standard functions. You can also get rid of the windows logo on startup, have a black login screen, setup automatically login with your username & password etc, but it will not be completely seamless startup.

So you have to decide, if you want seamless start, or having everything functional in the background as usual. You cannot have both 100% at the same time.

When using attract mode as a shell, you can create a simple batch file, which automatically launches explorer.exe everytime you leave attract mode, so you don't see that black screen any longer and you don't have to always hit "strg + alt +del" and type in "explorer.exe" anymore... much more comfortable. Searching the web you should easily find how to.


scuse me sir but i have mine shelled to am and my own boot screen and mobo splash screen and my system works just fine. i can access windows and ALL WINDOWS FEATURES. even networking and anything i want. it DOES NOT harm windows except that it turns your desktop off but yet you CAN STILL get to any and ALL programs.  ;)
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: keilmillerjr on March 18, 2019, 01:56:24 PM
+1 what toothlessgrin said. I have no issues.
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: jimmer on April 10, 2019, 01:34:32 PM

Going straight to Attract_Mode is nice as I no longer have to pause for a few seconds to allow windows aero desktop to come fully alive. 

My exit routine (it provides some options) wasn't getting focus, attract mode wasn't disappearing. Solved that with the exit command: start exit.bat

My question is, how do I launch the usual windows 7 desktop if I want it ?  explorer.exe just gives me a windows explorer window.
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: keilmillerjr on April 10, 2019, 01:45:44 PM

Going straight to Attract_Mode is nice as I no longer have to pause for a few seconds to allow windows aero desktop to come fully alive. 

My exit routine (it provides some options) wasn't getting focus, attract mode wasn't disappearing. Solved that with the exit command: start exit.bat

My question is, how do I launch the usual windows 7 desktop if I want it ?  explorer.exe just gives me a windows explorer window.

Launching explorer.exe should give you a full desktop environment.
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: jimmer on April 10, 2019, 01:59:17 PM
Launching explorer.exe should give you a full desktop environment.

That's what I expected, as that's what happens usually if you have to restart explorer.  But then I thought it might be different because the desktop hasn't been previously started. 

So now I'm a bit confused.  It's not causing me a problem though, I can still do whatever I need to.
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: keilmillerjr on April 10, 2019, 03:44:37 PM
Im sorry i dont have an answer, but at least you know that its not normal.
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: toothlessgrinn on April 12, 2019, 09:39:56 AM
Launching explorer.exe should give you a full desktop environment.

ya you lose the desktop environment but again can still access everything. and the background is a pain in the ass to change. sometimes it comes up blue and sometimes black. you can change the background to what you want but it doesnt always change. (idk bug in the code maybe??idk)
Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: toothlessgrinn on April 12, 2019, 02:37:29 PM
https://youtu.be/uCjIoQB_KCM

check it out. shows how it boots. took me almost 2 years to complete this.

Title: Re: Booting into AM from startup on Windows 7 definitive method?
Post by: YellowBirdAZ on April 17, 2019, 10:40:55 PM
I always used keilmillerjr's method of CTRL+ALT+DEL and running explorer as needed. It's fine. You really shouldn't need it that much once you are set up correctly. Maybe to add or remove a game.

If you are on a CRT, I would also recommend setting up hotkeys (I used Autohotkey) to change resolutions. So on my CRT cab it would normally run in 320x240, but if I dumped out into Windows I would need to switch to 640x480 (or 800x600 if your monitor will display) to make it even useable. Windows 10 didn't work well at 320x240...

This is also good in case something screws up and an unsupported resolution is attempted somehow, you can hotkey back into resolutions you know work correctly.