[Scummvm-tracker] [ScummVM :: Bugs] #17146: MADS: Phantom: GOG (and Steam) version can't be detected -> GLOBAL.HAG is inside an ISO

ScummVM :: Bugs trac at scummvm.org
Sat Sep 5 17:11:14 UTC 2026


#17146: MADS: Phantom: GOG (and Steam) version can't be detected -> GLOBAL.HAG is
inside an ISO
----------------------------------+----------------------------------------
Reporter:  LukasThyWalls          |      Owner:  (none)
    Type:  defect                 |     Status:  new
Priority:  normal                 |  Component:  Engine: MADS
 Version:                         |   Keywords:  Detection, GOG, Steam, ISO
    Game:  Return of the Phantom  |
----------------------------------+----------------------------------------
 Hello.

 Following [https://www.scummvm.org/news/20260826/ the recent news], I
 tried to add [https://www.gog.com/en/game/return_of_the_phantom Return of
 the Phantom from GOG] to the latest daily build (''ScummVM
 2026.3.1git31527-gd79f8bb292c (Sep  5 2026 04:07:59) / Windows 64 bits''),
 and It doesn't detect any game.

 The folder tree made by the GOG installer is like this:
 {{{
 RETURN OF THE PHANTOM
 ├───dosbox_windows
 │   └───Source
 ├───Manual
 └───MPS
     └───PHANTOM
 }}}

 The main data from the game installed is inside RETURN OF THE
 PHANTOM/MPS/PHANTOM:

 {{{
 ANIMVIEW.EXE   ASOUND.PH1     ASOUND.PH2     ASOUND.PH3     ASOUND.PH4
 ASOUND.PH5     ASOUND.PH9     CD.ROM
 CONFIG.PHA     DIGITAL.AGA    GLOBAL.IDX     INSTALL.EXE    ISOUND.PH1
 ISOUND.PH2     ISOUND.PH3     ISOUND.PH4
 ISOUND.PH5     ISOUND.PH9     MAINMENU.EXE   MPSCOPY.EXE    PHANTOM.BAT
 PHANTOM.RES    PHANTOM.RTN    PSOUND.PH1
 PSOUND.PH2     PSOUND.PH3     PSOUND.PH4     PSOUND.PH5     PSOUND.PH9
 README.TXT     RETURN.EXE     RSOUND.PH1
 RSOUND.PH2     RSOUND.PH3     RSOUND.PH4     RSOUND.PH5     RSOUND.PH9
 SAVES.DIR      SECTION1.IDX   SECTION2.IDX
 SECTION3.IDX   SECTION4.IDX   SECTION5.IDX   SECTION9.IDX   SPEECH.IDX
 TEXTVIEW.EXE   UNRIP.WAV      XSOUND.000
 }}}

 However,
 [https://github.com/scummvm/scummvm/blob/41ac2b31847622d0662d22c03fe6979e3b43cfbc/engines/mads/detection_tables.h#L207
 looking the detection tables for the game], ScummVM is looking for
 GLOBAL.HAG, which is NOT in that folder.

 GLOBAL.HAG is inside an ISO CD Image (''RotP.iso'') in the root folder of
 the Return of the Phantom installation ''RETURN OF THE PHANTOM\RotP.iso''.
 The contents of the ISO are like this:

 {{{
 RotP.iso
 │   CD.ROM
 │   INSTALL.EXE
 │   MPSCOPY.EXE
 │   MPSLABS.001
 │   MPSLABS.IDX
 │   README.TXT
 │   UNRIP.WAV
 │
 ├───DEMO
 │       BLOODNET.EXE
 │       DRAGON.EXE
 │       REX.EXE
 │
 └───RESOURCE
         CD.ROM
         GLOBAL.HAG
         SECTION1.HAG
         SECTION2.HAG
         SECTION3.HAG
         SECTION4.HAG
         SECTION5.HAG
         SECTION9.HAG
         SPEECH.HAG
 }}}

 I'm sure the Steam version is like that too (in fact is the exact same
 ISO). Both versions boot the game mounting the CD first in DOSBox.

 So, the user need to be instructed to extract the needed files (and maybe
 warned If not), or somehow read the files directly from the ISO (I didn't
 see that with other games, so I don't think so).

 By the way, I know the game can be detected, because I extracted all the
 files from the RESOURCES folder from the RotP.iso to the installation
 folder, and ScummVM detect it as Return of the Phantom (CD/DOS/English)
 [phantom-cd].

 Thanks!
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/17146>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list