An unofficial Windows boot-screen simulator inspired by the observable startup flow of SEGA ALLS cabinets. It provides a WPF boot frontend, a lightweight launcher backend, multi-display support, and an optional handheld-mode integration for non-official controller setups.
This project is a compatibility-oriented reimplementation. It is not an
official SEGA product and does not emulate ALLS hardware, security services,
network provisioning, storage management, licensing, or sgxsystemdaemon.
It does not include SEGA executables, firmware, system images, game files, or
decompiled source.
-
Added a Handheld Mode workflow to the F2 system menu.
-
Added a risk confirmation before any system-level setting can be changed.
-
Added three selectable presets: Shell, Hidden Desktop, and Task Scheduler.
-
Preset options can be edited independently, so users can combine or disable individual integrations.
-
Added
CustomShellHost.exefor shell and logon startup:CustomShellHost.exe -> sgxmaster-re.exe -> sgxsegaboot-re.exe -> configured program -
Added optional
HideAutoLogonUI=1andBrandingNeutral=63integration for Windows EmbeddedEmbeddedLogoninstallations. -
Missing or unsupported
EmbeddedLogonkeys are skipped and reported clearly. -
Added a temporary black overlay for all connected displays while the boot frontend starts. The user's wallpaper is never modified.
-
Registry values and the existing simulator task are backed up before changes are applied.
-
Added an independent
restore-handheld-mode.cmdrecovery script. -
Settings are saved before the user is asked whether Windows should restart.
-
Retained the v1.1.0 cabinet white-background and display-switching fixes.
Handheld Mode is optional and does nothing until the user explicitly applies selected options. Depending on the options chosen, it may modify:
- the current user's
Winlogon\Shellvalue; - Windows Embedded
EmbeddedLogonvalues underHKLM; - Explorer policies used to hide the taskbar or desktop icons;
- a highest-privilege
ONLOGONTask Scheduler entry.
Before applying Shell or startup integration, keep the generated
restore-handheld-mode.cmd in an accessible location. Shell mode can prevent
the normal desktop shell from appearing if CustomShellHost.exe is moved or
removed. The recovery script is designed to run independently of the
simulator's executables.
The simulator never sets a username, password, or automatic-login credential.
EmbeddedLogon options require an edition of Windows that provides that
component and may require administrator permission. Creating the scheduled
task and changing HKLM also require elevation.
- Windows 10 or Windows 11, x64;
- .NET Framework 4.8 recommended;
- Windows PowerShell 5.1 or newer.
The build uses the .NET Framework C# compiler included with Windows. Visual Studio and NuGet packages are not required.
Open PowerShell in the repository directory and run:
powershell.exe -ExecutionPolicy Bypass -File .\build.ps1
powershell.exe -ExecutionPolicy Bypass -File .\run.ps1The build creates the runtime files in dist\. run.ps1 starts
dist\sgxmaster-re.exe; the backend starts the WPF frontend automatically.
You can also launch dist\sgxsegaboot-re.exe directly; it starts the backend
when necessary.
If a build reports that an executable is in use, close the running simulator
and backend first, then run build.ps1 again. Do not replace binaries while a
shell or scheduled-task instance is active.
After startup, press F2 to open the system menu. Configure the launch target
there or edit dist\sgxboot.json directly.
- Press
F2and select Handheld Mode. - Read and accept the risk warning.
- Choose a preset, then adjust the individual options.
- Select Apply Settings. The registry backup and recovery script are created before the first system change.
- Review the result and choose Yes to restart immediately or No to keep the settings saved without restarting.
To undo the integration, run restore-handheld-mode.cmd as administrator, or
open Handheld Mode again and choose Restore Settings. A sign-out or restart
may be required after restoring shell or logon settings.
The sample configuration leaves all handheld actions disabled. Selecting a preset in the settings window supplies its recommended defaults, which remain editable before applying.
Copy sgxboot.example.json to dist\sgxboot.json, or let build.ps1 create
the file on the first build.
| Field | Meaning |
|---|---|
platformName |
Text displayed above the STEP line. |
program |
File or script to launch. Relative paths use the executable directory. |
arguments |
Arguments passed to the launch target. |
workingDirectory |
Working directory for the launch target. |
detectProgram |
Process whose window is monitored; defaults to program. |
detectWindowTitle |
Optional case-insensitive substring required in the detected window title. |
step1Seconds |
STEP 1 display time, from 0 to 300 seconds. Decimals are accepted. |
step4Seconds |
STEP 4 display time, from 0 to 300 seconds. Decimals are accepted. |
step21Seconds |
STEP 21 display time, from 0 to 300 seconds. Decimals are accepted. |
exitDelaySeconds |
Delay before the frontend and backend detach after window detection. |
uiScalePercent |
Boot-content scale from 75% to 250%. |
displayIndex |
Zero-based display index used by the fullscreen frontend. F2 cycles connected displays. |
language |
zh-CN, en-US, or ja-JP. |
layoutMode |
landscape or cabinet. |
handheldMode |
Selected preset label: shell, hidden, or scheduler. |
handheldModifyShell |
Use the local CustomShellHost.exe as the current user's Winlogon shell. |
handheldHideAutoLogonUI |
Set HKLM\Software\Microsoft\Windows Embedded\EmbeddedLogon\HideAutoLogonUI to 1 when the key exists. |
handheldBrandingNeutral |
Set HKLM\Software\Microsoft\Windows Embedded\EmbeddedLogon\BrandingNeutral to 63 when the key exists. |
handheldHideTaskbar |
Hide the taskbar for the current session and when the host starts. |
handheldHideDesktopIcons |
Hide desktop icon windows for the current session and when the host starts. |
handheldUseTaskScheduler |
Create an ONLOGON task named ALLS-Boot-Simulator Handheld. |
handheldBlackOverlay |
Cover connected displays with a temporary black overlay while the frontend starts. |
Saving a non-empty program enables the backend's configured launch sequence
on its next start. The Launch button saves the current settings and starts
the sequence immediately.
STEP 1 -> STEP 4 -> STEP 21 -> launch program -> STEP 30
-> wait for process/window
-> exit delay -> detach
STEP 30 remains visible until the configured process and optional window-title match are detected. Detaching the simulator does not terminate the detected program.
F2: open or close the system menu;Esc: close the menu, or exit when the menu is closed;- Launch: save settings and start the staged launch;
- Stop: cancel a pending sequence or terminate the program launched by the backend;
- Save: save
sgxboot.jsonwithout launching; - Switch Display: move the fullscreen frontend to the next connected display;
- Handheld Mode: configure, apply, or restore the optional system integration.
src/Shared/ Named-pipe protocol
src/SgxMaster/ Launcher backend and configuration
src/SgxSegaBoot/ WPF frontend and configuration
src/CustomShellHost/ Shell/task-scheduler startup host
resources/ Bundled boot UI resources and rights notice
tests/ Configuration and handheld-mode tests
build.ps1 Portable frontend/backend/host build script
run.ps1 Runtime launcher
sgxboot.example.json Sample configuration
Run the configuration and recovery-script tests with:
powershell.exe -ExecutionPolicy Bypass -File .\tests\test.ps1The test script compiles small test executables into tests\.runtime\ and
does not modify the system registry or Task Scheduler.
The GitHub source repository should contain source code, tests, build scripts, the sample configuration, documentation, license files, and only the documented resources.
Do not commit or upload:
- machine-specific
dist\sgxboot.jsonfiles; sgxmaster.logor other runtime logs;handheld-mode-backup.jsonor a generatedrestore-handheld-mode.cmd;- copied ALLS disk-image files, SEGA binaries, BAML, firmware, or decompiled output;
- game files, credentials, certificates, or private machine configuration.
For a release runtime package, include the built executables, dist\resources,
run.ps1, and the relevant documentation. Keep a generated recovery script
with the machine where Handheld Mode is enabled; it is not a source artifact.
The bundled resources\logo.png and resources\logomode_load.gif are
documented in resources/README.md. They are distributed
under the maintainer's stated separate redistribution authorization and are not
relicensed under MIT. Fork maintainers without equivalent permission should
remove them before publishing.
Original simulator source code is available under the MIT License. Third-party and trademark information is available in NOTICE.md. The MIT License does not grant rights to SEGA or ALLS names, artwork, or original software.