sanitarium needed files question

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
gabberhead
Posts: 21
Joined: Tue Sep 22, 2020 11:55 am

sanitarium needed files question

Post by gabberhead »

i want to test the german version of the game. it is a 3 cd version. i merged all 3 disc files from the data folder, and used only SNTRM.DAT and vids.cap file from the first cd as discribed here: https://wiki.scummvm.org/index.php/Sanitarium
on the first disc, there is also a res.002 file in the root directory of the first cd, which is not in the data foldesr of the 3 discs, is this file perhaps also needed? or can it be left out?
User avatar
Praetorian
ScummVM Developer
Posts: 797
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: sanitarium needed files question

Post by Praetorian »

gabberhead wrote: Thu Mar 02, 2023 12:28 pm i want to test the german version of the game. it is a 3 cd version. i merged all 3 disc files from the data folder, and used only SNTRM.DAT and vids.cap file from the first cd as discribed here: https://wiki.scummvm.org/index.php/Sanitarium
on the first disc, there is also a res.002 file in the root directory of the first cd, which is not in the data foldesr of the 3 discs, is this file perhaps also needed? or can it be left out?
I'd say it is needed. Along with any other res.* files and scn.* files.
This is the structure of the GOG data folder, which now uses ScummVM.
It's possible that our wiki instruction mean "merge all CD data together, but keep the SNTRM.DAT and vids.cap file from the first CD (ie. do not overwrite these two files with versions of the other CDs?)

Code: Select all

D:\GAMES\SANITARIUM\DATA
|   RES.000
|   RES.001
|   res.002
|   RES.003
|   RES.005
|   RES.006
|   RES.007
|   RES.008
|   RES.009
|   RES.010
|   RES.011
|   RES.012
|   RES.013
|   RES.014
|   RES.015
|   RES.016
|   RES.017
|   RES.018
|   RES.104
|   RES.204
|   RES.304
|   SCN.005
|   SCN.006
|   SCN.007
|   SCN.008
|   SCN.009
|   SCN.010
|   SCN.011
|   SCN.012
|   SCN.013
|   SCN.014
|   SCN.015
|   SCN.016
|   SCN.017
|   SNTRM.DAT
|   vids.cap
|   
+---Music
|       MUS.005
|       MUS.006
|       MUS.007
|       MUS.008
|       MUS.009
|       MUS.010
|       MUS.011
|       MUS.012
|       MUS.013
|       MUS.014
|       MUS.015
|       MUS.016
|       MUS.017
|       
\---Vids
        mov000.smk
        Mov001.smk
        Mov002.smk
        mov003.smk
        Mov004.smk
        Mov005.smk
        Mov006.smk
        Mov007.smk
        Mov008.smk
        Mov009.smk
        Mov010.smk
        Mov012.smk
        Mov013.smk
        Mov015.smk
        Mov016.smk
        Mov017.smk
        Mov019.smk
        Mov020.smk
        Mov021.smk
        Mov022.smk
        Mov023.smk
        Mov025.smk
        Mov026.smk
        Mov027.smk
        Mov028.smk
        mov029.smk
        Mov033.smk
        Mov034.smk
        Mov035.smk
        Mov036.smk
        Mov037.smk
        Mov039.smk
        Mov041.smk
        Mov042.smk
        Mov043.smk
        Mov044.smk
        Mov045.smk
        Mov046.smk
        Mov047.smk
        Mov048.smk
gabberhead
Posts: 21
Joined: Tue Sep 22, 2020 11:55 am

Re: sanitarium needed files question

Post by gabberhead »

how big is your res.002 file?
User avatar
Praetorian
ScummVM Developer
Posts: 797
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: sanitarium needed files question

Post by Praetorian »

It is 13,0 MB
gabberhead
Posts: 21
Joined: Tue Sep 22, 2020 11:55 am

Re: sanitarium needed files question

Post by gabberhead »

mine is only 3,78mb. i think, if the file is important for the game, it has to be nearly the same size as in the english version. and also it has to be in the data folder. in the root directory of the first cd, there are also res.001, res.003 and res.018 files, which are also all in the data folder, except res.002. all other files from your gog filelist, are also in my game directory, only the res.002 not. first i thought, perhapts it has something to do if the german version is cut, but the german version is the same as the english version, except the language of course :)
User avatar
Raziel
ScummVM Porter
Posts: 1522
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet

Re: sanitarium needed files question

Post by Raziel »

I have an english version straight from 3 CDs and it doesn't have the res.002 file

Running fine too, here's my file list

Code: Select all

Music                              Dir ----rwed 22-Nov-19 18:28:14
RES.000                         272057 ----rwed 08-Apr-98 12:20:10
RES.001                        19127174 ----rwed 16-Apr-98 07:32:58
RES.003                        40153792 ----rwed 01-Apr-98 12:00:34
RES.005                        18068618 ----rwed 09-Apr-98 10:16:32
RES.006                        43742852 ----rwed 09-Apr-98 11:35:56
RES.007                        28917952 ----rwed 09-Apr-98 10:23:50
RES.008                        40323111 ----rwed 09-Apr-98 10:26:42
RES.009                        20451199 ----rwed 09-Apr-98 10:28:12
RES.010                        52350586 ----rwed 09-Apr-98 10:31:24
RES.011                        36571970 ----rwed 09-Apr-98 12:48:16
RES.012                        43944491 ----rwed 09-Apr-98 10:37:52
RES.013                        48004690 ----rwed 09-Apr-98 11:01:20
RES.014                        29331511 ----rwed 09-Apr-98 10:42:54
RES.015                        21144090 ----rwed 09-Apr-98 10:44:08
RES.016                        19565161 ----rwed 09-Apr-98 10:45:32
RES.017                        18138499 ----rwed 09-Apr-98 10:46:36
RES.018                        2034325 ----rwed 20-Mar-98 06:08:18
RES.104                        112145366 ----rwed 07-Apr-98 13:33:08
RES.204                        119791856 ----rwed 07-Apr-98 13:33:08
RES.304                        67954752 ----rwed 07-Apr-98 13:33:08
Sanitarium.txt                   17766 ----rwed 18-Jun-03 01:50:20
Sanload1.wav                   2551962 ----rwed 22-Dec-97 04:58:54
SCN.005                        1449774 ----rwed 09-Apr-98 10:16:30
SCN.006                        2918330 ----rwed 14-May-98 08:02:18
SCN.007                        1613758 ----rwed 09-Apr-98 10:23:50
SCN.008                        2449878 ----rwed 09-Apr-98 10:26:42
SCN.009                        1439826 ----rwed 09-Apr-98 10:28:12
SCN.010                        1956534 ----rwed 09-Apr-98 10:31:24
SCN.011                        1998038 ----rwed 15-Apr-98 12:10:14
SCN.012                        2727330 ----rwed 14-Apr-98 08:13:12
SCN.013                        2117278 ----rwed 09-Apr-98 11:01:20
SCN.014                        2067150 ----rwed 09-Apr-98 10:42:54
SCN.015                        1309702 ----rwed 09-Apr-98 10:44:08
SCN.016                        1955622 ----rwed 09-Apr-98 10:45:32
SCN.017                        1300370 ----rwed 09-Apr-98 10:46:36
SNTRM.DAT                         8930 ----rwed 08-Apr-98 12:20:10
Vids                               Dir ----rwed 22-Nov-19 18:28:56
vids.cap                          2529 ----rwed 08-Apr-98 09:23:42
37 files - 772M bytes - 2 directories - 197793 blocks used

Directory "Vids" on Thursday 02-Mar-23
Mov000.smk                     12321560 ----rwed 23-Mar-99 09:16:20
Mov001.smk                     21383620 ----rwed 06-Mar-98 12:00:12
Mov002.smk                     22962640 ----rwed 23-Feb-99 11:53:48
mov003.smk                     31474348 ----rwed 23-Feb-99 10:10:32
Mov004.smk                     5712976 ----rwed 23-Feb-99 12:14:42
Mov005.smk                     4516948 ----rwed 23-Feb-99 12:59:10
Mov006.smk                     10940172 ----rwed 23-Feb-99 13:26:56
Mov007.smk                     1791292 ----rwed 23-Feb-99 13:53:40
Mov008.smk                     5751276 ----rwed 23-Feb-99 14:14:40
Mov009.smk                     9382144 ----rwed 23-Feb-99 14:39:08
Mov010.smk                     4696688 ----rwed 23-Feb-99 15:01:00
Mov012.smk                     5557576 ----rwed 23-Feb-99 15:41:14
Mov013.smk                     7949484 ----rwed 18-Nov-95 11:59:58
Mov015.smk                     4261364 ----rwed 23-Feb-99 15:58:48
Mov016.smk                     51427276 ----rwed 26-Mar-99 07:43:44
Mov017.smk                     3361952 ----rwed 23-Feb-99 16:38:58
Mov019.smk                     4877952 ----rwed 06-Mar-98 11:13:58
Mov020.smk                     10042100 ----rwed 09-Mar-98 09:19:48
Mov021.smk                     5369024 ----rwed 24-Feb-99 05:03:50
Mov022.smk                     16606144 ----rwed 03-Mar-99 10:37:26
Mov023.smk                     10926956 ----rwed 19-Feb-99 16:18:24
Mov025.smk                     17230172 ----rwed 19-Feb-99 15:53:50
Mov026.smk                     32283764 ----rwed 24-Nov-95 08:54:38
Mov027.smk                     21282288 ----rwed 05-Mar-98 10:49:26
Mov028.smk                     37525020 ----rwed 23-Feb-99 09:14:26
mov029.smk                     37475616 ----rwed 06-Apr-99 11:02:06
Mov033.smk                     15821744 ----rwed 23-Dec-95 10:07:30
Mov034.smk                     28100036 ----rwed 19-Feb-99 12:27:16
Mov035.smk                     25492512 ----rwed 06-Mar-98 11:14:26
Mov036.smk                     4901916 ----rwed 06-Mar-98 11:14:52
Mov037.smk                     9108556 ----rwed 23-Feb-99 09:47:58
Mov039.smk                     55424412 ----rwed 20-Feb-99 04:22:46
Mov041.smk                     13373808 ----rwed 22-Dec-95 07:44:32
Mov042.smk                     10347920 ----rwed 25-Feb-99 11:30:54
Mov043.smk                     68096084 ----rwed 04-Feb-99 13:19:06
Mov044.smk                     77958656 ----rwed 06-Mar-99 13:12:26
Mov045.smk                     30443964 ----rwed 26-Feb-98 10:59:26
Mov046.smk                     29960196 ----rwed 09-Mar-99 11:55:44
Mov047.smk                     7325496 ----rwed 25-Feb-99 06:50:54
Mov048.smk                     8615440 ----rwed 16-Mar-98 08:19:08
40 files - 745M bytes - 190996 blocks used

Directory "Music" on Thursday 02-Mar-23
MUS.005                        3971300 ----rwed 02-Apr-98 07:39:16
MUS.006                        13021286 ----rwed 02-Apr-98 07:39:16
MUS.007                        13733398 ----rwed 02-Apr-98 07:39:16
MUS.008                        14385224 ----rwed 02-Apr-98 07:39:16
MUS.009                        5307030 ----rwed 02-Apr-98 07:39:16
MUS.010                        7828512 ----rwed 02-Apr-98 07:39:16
MUS.011                        4096306 ----rwed 02-Apr-98 07:39:16
MUS.012                        8949992 ----rwed 02-Apr-98 07:39:16
MUS.013                        12640758 ----rwed 02-Apr-98 07:53:58
MUS.014                        4760520 ----rwed 02-Apr-98 07:53:58
MUS.015                        3718130 ----rwed 02-Apr-98 07:53:58
MUS.016                        3462496 ----rwed 02-Apr-98 07:53:58
MUS.017                        2374746 ----rwed 02-Apr-98 07:53:58
13 files - 93M bytes - 24008 blocks used

TOTAL: 90 files - 1G bytes - 2 directories - 412797 blocks 
gabberhead
Posts: 21
Joined: Tue Sep 22, 2020 11:55 am

Re: sanitarium needed files question

Post by gabberhead »

on my german version, only on the first cd and direct in the root directory, the res.002 file is listed. not in any other folders. your english version on the first cd doesnt have this one?
User avatar
Praetorian
ScummVM Developer
Posts: 797
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: sanitarium needed files question

Post by Praetorian »

Steam's version (when choosing Deutch language) also includes this file (res.002).

However, I've played up to the start of the circus chapter and it has not been used so far (I've added some extra debug messages in the code to check that). So far I've seen res files 000, 001, 003, 005, 006, 007, 008, 018, 104, 204 and also mus files 005, 006 and 007 being used. I am only checking among res and mus files, by the way.

Looking at the source code there is a case where it does load up explicitly a "res.002" file, but that is for the demo version, so not applicable here.

Still though, I would be surprised if the file was useless. I guess I can play through the rest of the game to see if it ever gets loaded up.

Edit: Up to the Hive level, additional resources used are:
- res files 009, 010, 014, 015
- mus files 008, 009, 010, 014, 015.

Edit 2: Up to the Finale (and end credits) additional resources used are:
- res files 011, 304, 012, 013, 016, 017
- mus files 011, 012, 013, 016, 017
gabberhead
Posts: 21
Joined: Tue Sep 22, 2020 11:55 am

Re: sanitarium needed files question

Post by gabberhead »

ok. thanx for testing :)
User avatar
Praetorian
ScummVM Developer
Posts: 797
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: sanitarium needed files question

Post by Praetorian »

I have now played up to the end of the game. I can verify that the res.002 file seems to not be used. Unless I am missing some special secret or never clicked on some option (I think I tried everything), it is not required.

Maybe it was a file needed if playing from the CDs with CD swapping so it could provide access to common resources while on the early chapters (CD1), that the later CDs also cover in their main resource files. So it is not needed when copying everything to a folder, which is what our engine assumes.

I wonder if we could peak into its contents using the engine. I suppose the main (if I am not mistaken) engine developer (alxpnv) should be able to provide more info.
gabberhead
Posts: 21
Joined: Tue Sep 22, 2020 11:55 am

Re: sanitarium needed files question

Post by gabberhead »

thanx for the info. i think, if this file were needed, it would be in the data folder where all the others files are, which are needed for playing.
User avatar
Praetorian
ScummVM Developer
Posts: 797
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: sanitarium needed files question

Post by Praetorian »

Another observation I can make, is that for the GOG English version, the res 104, 204 and 304 files are identical.
This, however, does not apply to the Steam German version that I also currently have installed.

The version I've played to the end was the GOG English one.
Post Reply