[Bug 29792] Gothic 2 (JoWood Productions) installer fails due to media validation tool "g2setup.exe" failing (don' t add FILE_ATTRIBUTE_ARCHIVE by default to file entries)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 7 05:09:15 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=29792

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

revisiting, still present.

--- snip ---
$ iso-info -f /dev/cdrom 
iso-info version 2.0.0 x86_64-redhat-linux-gnu
Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
__________________________________
ISO 9660 image: /dev/cdrom
Publisher   : JOWOOD
Volume      : GOTHIC2_CD1
Joliet Level: 3
__________________________________
ISO-9660 Information
     2048 /Autorun
665600000 /Gothic2-Setup.exe
       95 /Gothic2.url
      123 /JoWooD Homepage.url
    14816 /Readme.txt
      289 /Register.url
    94208 /autorun.exe
       47 /autorun.inf
      544 /autorun.ini
    40960 /demosetup.exe
     5569 /eula.txt
      766 /gothic2.ico
    37494 /Autorun/Arx_hover.bmp
    37494 /Autorun/Arx_normal.bmp
    37494 /Autorun/Arx_pushed.bmp
    38454 /Autorun/Exit_hover.bmp
    38454 /Autorun/Exit_normal.bmp
    38454 /Autorun/Exit_pushed.bmp
    33654 /Autorun/Install_hover.bmp
    33654 /Autorun/Install_normal.bmp
    33654 /Autorun/Install_pushed.bmp
    37494 /Autorun/Play_hover.bmp
    37494 /Autorun/Play_normal.bmp
    37494 /Autorun/Play_pushed.bmp
    32694 /Autorun/Readme_hover.bmp
    32694 /Autorun/Readme_normal.bmp
    32694 /Autorun/Readme_pushed.bmp
    32694 /Autorun/autorun_checked_hover.bmp
    32694 /Autorun/autorun_checked_normal.bmp
    32694 /Autorun/autorun_checked_pushed.bmp
    32694 /Autorun/autorun_unchecked_hover.bmp
    32694 /Autorun/autorun_unchecked_normal.bmp
    32694 /Autorun/autorun_unchecked_pushed.bmp
 15507574 /Autorun/installer_loop.wav
   921654 /Autorun/menubg.bmp
--- snip ---

--- snip ---
$ cd /run/media/focht/GOTHIC2_CD1/

$ ls -lsa
total 650160
     2 dr-x------. 1 focht focht      2048 Jan  6  2036  .
     0 drwxr-x---+ 3 root  root         60 Sep  7 11:53  ..
     2 dr-x------. 1 focht focht      2048 Jan  6  2036  Autorun
    92 -r--------. 1 focht focht     94208 Nov  7  2002  autorun.exe
     1 -r--------. 1 focht focht        47 Nov  7  2002  autorun.inf
     1 -r--------. 1 focht focht       544 Nov  7  2002  autorun.ini
    40 -r--------. 1 focht focht     40960 Nov  7  2002  demosetup.exe
     6 -r--------. 1 focht focht      5569 Nov  7  2002  eula.txt
     1 -r--------. 1 focht focht       766 Nov  7  2002  gothic2.ico
650000 -r--------. 1 focht focht 665600000 Nov  9  2002  Gothic2-Setup.exe
     1 -r--------. 1 focht focht        95 Nov  7  2002  Gothic2.url
     1 -r--------. 1 focht focht       123 Nov  7  2002 'JoWooD Homepage.url'
    15 -r--------. 1 focht focht     14816 Nov  7  2002  Readme.txt
     1 -r--------. 1 focht focht       289 Nov  7  2002  Register.url
--- snip ---

List files with 'read-only' attribute:

--- snip ---
$ wine cmd.exe /c dir /ar
Volume in drive D is GOTHIC2_CD1
Volume Serial Number is 5306-842c

Directory of D:\

  1/6/2036   7:28 AM  <DIR>         Autorun
 11/7/2002   8:42 PM        94,208  autorun.exe
 11/7/2002   8:42 PM            47  autorun.inf
 11/7/2002   8:42 PM           544  autorun.ini
 11/7/2002   8:42 PM        40,960  demosetup.exe
 11/7/2002   8:42 PM         5,569  eula.txt
 11/7/2002   8:42 PM           766  gothic2.ico
 11/7/2002   8:42 PM            95  Gothic2.url
 11/9/2002  10:02 PM    665,600,000  Gothic2-Setup.exe
 11/7/2002   8:42 PM           123  JoWooD Homepage.url
 11/7/2002   8:42 PM        14,816  Readme.txt
 11/7/2002   8:42 PM           289  Register.url
      11 files              665,757,417 bytes
       1 directory                           0 bytes free
--- snip ---

List files with 'archive' attribute:

--- snip ---
$ wine cmd.exe /c dir /aa
Volume in drive D is GOTHIC2_CD1
Volume Serial Number is 5306-842c

Directory of D:\

 11/7/2002   8:42 PM        94,208  autorun.exe
 11/7/2002   8:42 PM            47  autorun.inf
 11/7/2002   8:42 PM           544  autorun.ini
 11/7/2002   8:42 PM        40,960  demosetup.exe
 11/7/2002   8:42 PM         5,569  eula.txt
 11/7/2002   8:42 PM           766  gothic2.ico
 11/7/2002   8:42 PM            95  Gothic2.url
 11/9/2002  10:02 PM    665,600,000  Gothic2-Setup.exe
 11/7/2002   8:42 PM           123  JoWooD Homepage.url
 11/7/2002   8:42 PM        14,816  Readme.txt
 11/7/2002   8:42 PM           289  Register.url
      11 files              665,757,417 bytes
       0 directories                  0 bytes free
--- snip ---

Using builtin 'attrib':

--- snip ---
$ wine cmd.exe /c attrib
: File Not Found

$ wine cmd.exe /c attrib.exe '*.*'
A    R       D:\autorun.exe
A    R       D:\autorun.inf
A    R       D:\autorun.ini
A    R       D:\demosetup.exe
A    R       D:\eula.txt
A    R       D:\Gothic2-Setup.exe
A    R       D:\gothic2.ico
A    R       D:\Gothic2.url
A    R       D:\JoWooD Homepage.url
A    R       D:\Readme.txt
A    R       D:\Register.url
--- snip ---

Wine source (refactored but old code is still there):

https://source.winehq.org/git/wine.git/blob/2a15f77b497cadcef8f984bf678e2766c7a67cec:/dlls/ntdll/file.c#l125

https://source.winehq.org/git/wine.git/blob/2a15f77b497cadcef8f984bf678e2766c7a67cec:/dlls/ntdll/file.c#l2308

$ wine --version
wine-4.15-104-g765815729f

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list