ArcadeGameSelector
ArcadeGameSelector copied to clipboard
Autodetect NTSC or PAL mode
This is essentially a duplicate of this issue: https://github.com/MagerValp/ArcadeGameSelector/issues/5 However, that report doesn't mention the specific issue in the OP and was therefore unable to be properly tested/verified.
Issue:
AGS2 will crash out unable to open the display on an NTSC system when started from Amiga Boot Selector as part of an hstWB install. The AGS2 configuration is set to defaults and does not specify a screen mode.
AGS2 will work properly on the same NTSC system when launched with the exact same script file and settings from Workbench.
The only difference between the two launching methods is that there is more Startup Sequence content when booting into full Workbench rather than Amiga Boot Selector.
Tested platforms:
Amiga OS 3.2.1 Amiga OS 3.1
Since we don't have access to your system, you're going to have to figure out what exactly it is in startup-squence that is required for AGS2 to work.
Start-up sequence is just speculation and its unfortunately not my version, it's just the default one installed by hstWB. There is no customization done, just install WB 3.1 or 3.2/.1 using hstWB with Boot Selector and AGS2. hstWB and BetterWB base. When testing under emulation only the "NTSC" check-box needs to be applied in the Chipset screen of WinUAE.
I'm going to link this issue from another in he hstWB repo.
The issue seems to happen if AGS is launched before the system has loaded its monitor drivers. AGS by default switches to PALmode - this seems to be the issue. If the default were to use the current display mode, then it would probably work.
For now I've just made sure to load all the monitor drivers ahead of AGS. I'd prefer if when I booted in NTSC that the AGS screen were NTSC and when booting in PAL, the screen were PAL, but I can live with this.
Okay I see the issue now. To avoid crashing you're going to have to live with loading the monitor drivers, but AGS2 could be more intelligent about detecting if the current system is NTSC or PAL:
https://github.com/MagerValp/ArcadeGameSelector/blob/c5517182ac6b46659aa44dadecc2b87286e14d52/AGS2Menu.e#L535