Author Topic: Attract mode SHELL START !!!  (Read 4562 times)

snupello

  • Full Member
  • ***
  • Posts: 36
    • View Profile
Attract mode SHELL START !!!
« on: September 20, 2016, 05:28:53 AM »
I open the registry and go to HKEY_CURRENT_USER \ Software \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon, I create a new string, and then again right - the string value and call it Shell, double left click and insert the path to the frontend It closed everything and reboot ... but I attract mode goes wrong and crashes all !!! When i try to invoke attract mode to sheller it says that language files cannot be load !!! You can help me ?? thank you
« Last Edit: September 20, 2016, 05:40:47 AM by snupello »

hermine.potter

  • Hero Member
  • *****
  • Posts: 509
    • View Profile
Re: Attract mode SHELL START !!!
« Reply #1 on: September 20, 2016, 06:25:45 AM »
What do you want to do / what's your conception? Setting AM in autostart?
Screenshot please.
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM
Emulators : zsnes; mame; dosbox; scummvm; bsnes; fusion; openbor; windows_games; winuae; video; flashgames; vice; visualb

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Attract mode SHELL START !!!
« Reply #2 on: September 21, 2016, 12:54:19 AM »
Read this post http://forum.attractmode.org/index.php?topic=47.msg183#msg183

You need to write a .bat file or have to specify the AttractMode directory in the shell command with the "-c" switch.
« Last Edit: April 26, 2020, 10:51:02 PM by progets »

akafox

  • Hero Member
  • *****
  • Posts: 842
    • View Profile
Re: Attract mode SHELL START !!!
« Reply #3 on: November 21, 2016, 04:38:30 PM »
if using windows you can use instasheller...well in windows XP anyway..

yeah the regedit trick might be the only way to do it in Vista and up..I hear they have made things like that a pita to do.

Basically you are replacing the windows shell with attractmode. Thus AM becomes your "desktop" for the computer GUI. It makes the UI hidden much better..looks better for dedicated game cabinets/machines...and sometimes eases up on the resources. The GUI can kill ram..AM might take less to run. That and you don't want to run the GUI and AM that just takes up more resources!
« Last Edit: May 07, 2020, 05:54:43 PM by akafox »
People want life easy..then complain about it

snupello

  • Full Member
  • ***
  • Posts: 36
    • View Profile
Re: Attract mode SHELL START !!!
« Reply #4 on: December 06, 2016, 08:21:22 AM »
Hello !!
I can not fix this problem !!! HEL ME PLEASE !! :-[

I enter the parameters into log file but WIN give me back this error: language files can not be load ..without being able use explorer

There are anyone who can give me, step by step a guide?  I used instant sheller but have,t solved the problem.

Thank you

akafox

  • Hero Member
  • *****
  • Posts: 842
    • View Profile
Re: Attract mode SHELL START !!!
« Reply #5 on: December 07, 2016, 09:54:25 PM »
If you are using a different version of windows other than Windows XP then instasheller may not not work right. Instasheller was made for win XP not for anything higher think. That might be what is causing your error.

Also if you are using Windows Vista and up..i'm sorry I can't help you there..I left windows back then.
People want life easy..then complain about it

hermine.potter

  • Hero Member
  • *****
  • Posts: 509
    • View Profile
Re: Attract mode SHELL START !!!
« Reply #6 on: December 08, 2016, 12:36:32 AM »
@snupello
delete / undo all your previous changes in registry (so you have an untouched windows again)
Have a look here. If attract.exe is set as start application in instant sheller, attract.exe won't found your settings of AM (attract.exe as set as in instant sheller, it searches in c:\document and settings\your_windows_account (winXP) or c:\windows\SysWOW64 (Win7) first and doesn't find settings in same/current folder). Why ever..

Try this (my attract-settings are : C:\attract\attract.exe):

01 ) download instant sheller

02 ) download .net-framework 1.1 and 2.0

03 ) install everything

04 ) create an extra windows-account

05 ) logon with this account

06 ) set this account to autologin (in registry):
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon => AutoAdminLogon => 1
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon => DefaultUserName => your_created_windows_account
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon => DefaultPassword => your_password_(if_set)

07 ) start InstantSheller.exe (set attract.exe as Shell to Execute, BootScreen and so on) > I am ready! Do it!
DO NOT RESTART WINDOWS

08 )
Create a batch-file like START.bat with this content:
Code: [Select]
@echo off
cd C:\attract
attract.exe

09) open windows registry / regedit

10 ) Have a look under COMPUTER\HKEY_USERS
There is a similar string :
computer\hkey_users\s-1-5-21-123456789whatever-123456789whatever-123456789whatever-500\software\microsoft\windows nt\currentversion\winlogon

11 ) Edit shell REG_SZ from C:\attract\attract.exe to C:\attract\START.bat

(this is necessary, because instant sheller GUI only supports .exe files and not .bat (they are not selectable))

12 ) restart windows

Now attract.exe starts with your config and settings. All steps (especially instant sheller) works on WinXP and Win7 too
« Last Edit: December 08, 2016, 05:05:21 AM by hermine.potter »
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM
Emulators : zsnes; mame; dosbox; scummvm; bsnes; fusion; openbor; windows_games; winuae; video; flashgames; vice; visualb

snupello

  • Full Member
  • ***
  • Posts: 36
    • View Profile
Re: Attract mode SHELL START !!!
« Reply #7 on: December 12, 2016, 04:53:15 AM »
@snupello
delete / undo all your previous changes in registry (so you have an untouched windows again)
Have a look here. If attract.exe is set as start application in instant sheller, attract.exe won't found your settings of AM (attract.exe as set as in instant sheller, it searches in c:\document and settings\your_windows_account (winXP) or c:\windows\SysWOW64 (Win7) first and doesn't find settings in same/current folder). Why ever..

Try this (my attract-settings are : C:\attract\attract.exe):

01 ) download instant sheller

02 ) download .net-framework 1.1 and 2.0

03 ) install everything

04 ) create an extra windows-account

05 ) logon with this account

06 ) set this account to autologin (in registry):
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon => AutoAdminLogon => 1
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon => DefaultUserName => your_created_windows_account
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon => DefaultPassword => your_password_(if_set)

07 ) start InstantSheller.exe (set attract.exe as Shell to Execute, BootScreen and so on) > I am ready! Do it!
DO NOT RESTART WINDOWS

08 )
Create a batch-file like START.bat with this content:
Code: [Select]
@echo off
cd C:\attract
attract.exe

09) open windows registry / regedit

10 ) Have a look under COMPUTER\HKEY_USERS
There is a similar string :
computer\hkey_users\s-1-5-21-123456789whatever-123456789whatever-123456789whatever-500\software\microsoft\windows nt\currentversion\winlogon

11 ) Edit shell REG_SZ from C:\attract\attract.exe to C:\attract\START.bat

(this is necessary, because instant sheller GUI only supports .exe files and not .bat (they are not selectable))

12 ) restart windows

Now attract.exe starts with your config and settings. All steps (especially instant sheller) works on WinXP and Win7 too

Ok, fantastic guide !!! So i can solve the error for : "language files cannot be load" when start AM ???

manzarek

  • Full Member
  • ***
  • Posts: 63
    • View Profile
    • phpbb3world
Re: Attract mode SHELL START !!!
« Reply #8 on: April 23, 2020, 09:20:46 PM »
On windows 7 it only works with the .bat file, that annoying window opens before launching AT, Anyone know how to hide the .bat window?
Mame Fighting

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Attract mode SHELL START !!!
« Reply #9 on: April 24, 2020, 01:11:52 AM »
On windows 7 it only works with the .bat file, that annoying window opens before launching AT, Anyone know how to hide the .bat window?

Read my earlier post.

From my knowledge (I haven't tested recently or with the current version of AM) there really isn't a need for a .bat file to "cd" to the AM folder but you do need to tell AM the directory where your attract.cfg file is located with the "-c" switch when running attract.exe.

Make sure you backup everything involved and understand what Instant Sheller will do. That being said, this should work.

<path_to_AM>\attract.exe -c <path_to_AM>
example: C:\attract\attract.exe -c C:\attract

If your path has spaces in it you'll need to use quotes.
« Last Edit: April 26, 2020, 10:47:42 PM by progets »

manzarek

  • Full Member
  • ***
  • Posts: 63
    • View Profile
    • phpbb3world
Re: Attract mode SHELL START !!!
« Reply #10 on: April 24, 2020, 07:59:31 AM »
Hi believe me I tried them all, always black screen, and a pity, a frontend as beautiful as AM should do like the others, with HyperSpin it works normally giving the path.
Mame Fighting

toothlessgrinn

  • Sr. Member
  • ****
  • Posts: 164
    • View Profile
Re: Attract mode SHELL START !!!
« Reply #11 on: April 26, 2020, 11:34:30 AM »
mine is shelled.im using windows 7 and it works flawlessly... (except for the once in a blue moon layout crash.....)

goto regedit HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
edit it from explorer.exe to (its my setting just change to fit yours) C:\am1\attract.exe -c C:am1
again its how mine is set up... hope it helps!!!
we came , we saw , we lost LOTS of quarters...

Win 7
Asus mobo amd 64bit 3core
12g ram
4 player. Custom built woody cab
46" plasma screen with 22" marquee

manzarek

  • Full Member
  • ***
  • Posts: 63
    • View Profile
    • phpbb3world
Re: Attract mode SHELL START !!!
« Reply #12 on: April 27, 2020, 03:39:02 PM »
thanks I'll try.
Mame Fighting

czrsiNk

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Attract mode SHELL START !!!
« Reply #13 on: May 19, 2020, 09:34:52 AM »
Hey folks. I'm also trying without any success to get this to work.

My issue seems to be that even using the above Shell commands line, each time I restart my machine, it creates a new instance of the Attract Mode folder (I know those because I task man into Explorer and lo and behold, I have two Attract Mode folders). Here's my regedit entry

C:\Attract\attract.exe -c C:\Atrract

My folder (where Attract Mode is stored) is called Attract. I even got rid of the spaces (it used to be called Attract Man) in the folder name but still, no luck. I'm also using the Windows 10 Enterprise hack which means I boot straight into Attract Mode without seeing any Windows related screens.

Desperate for a working answer :) Thanks!

czrsiNk

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Attract mode SHELL START !!!
« Reply #14 on: May 19, 2020, 01:55:13 PM »
Hey folks - I tried hermine.potter's method with a .bat file and it worked! OK so it's not ideal having the little DOS window come up but I can live it. For anyone else struggling with this, I highly recommend hermine.potter's post further up this thread. Thanks!

Note: I did this without using the shell creator program and used the Windows 10 Enterprise 'Locked Down' settings to prevent all the sign in and welcome screens from Windows showing after boot.
« Last Edit: May 19, 2020, 01:56:52 PM by czrsiNk »