aliens

Author Topic: SAMPLE.CAT does not contain 49 sound files  (Read 226 times)

Offline Bonesnap

  • Squaddie
  • *
  • Posts: 7
    • View Profile
SAMPLE.CAT does not contain 49 sound files
« on: March 22, 2024, 11:18:36 pm »
Hello!

I'm currently on Linux Mint 21.1, but saw that the latest nightly is ~3 years old (any chance of making a newer one?), so I pulled down the Windows installer and installed it via WINE. I have a previous installation of TFTD from Steam, so I pointed the installer to that location to copy the game files. Everything seemed to install correctly, but when I try to run it I get the following error:

ERROR: C:\users\brent\Documents\OpenXcom\TFTD/SOUND/SAMPLE.CAT does not contain 49 sound files.

Looking through all the file locations everything seems to be where it's supposed to be. Below is the log that's generated:

Code: [Select]
[22-03-2024_16-59-28] [INFO] OpenXcom Version: 1.0 git 2024-02-28 07:04
[22-03-2024_16-59-28] [INFO] Platform: Windows
[22-03-2024_16-59-28] [INFO] Data folder is:
[22-03-2024_16-59-28] [INFO] Data search is:
[22-03-2024_16-59-28] [INFO] - C:\users\brent\Documents\OpenXcom\
[22-03-2024_16-59-28] [INFO] - C:\Program Files (x86)\OpenXcom
[22-03-2024_16-59-28] [INFO] - C:\Program Files (x86)\OpenXcom
[22-03-2024_16-59-28] [INFO] User folder is: C:\users\brent\Documents\OpenXcom\
[22-03-2024_16-59-28] [INFO] Config folder is: C:\users\brent\Documents\OpenXcom\
[22-03-2024_16-59-28] [INFO] Options loaded successfully.
[22-03-2024_16-59-28] [INFO] SDL initialized successfully.
[22-03-2024_16-59-28] [INFO] SDL_mixer initialized successfully.
[22-03-2024_16-59-28] [INFO] requested file not found: openxcom.png
[22-03-2024_16-59-28] [INFO] Detected locale: C
[22-03-2024_16-59-28] [INFO] Attempting to set display to 640x400x8...
[22-03-2024_16-59-28] [INFO] Display set to 640x400x8.
[22-03-2024_16-59-28] [INFO] Loading data...
[22-03-2024_16-59-28] [INFO] Scanning standard mods in 'standard'...
[22-03-2024_16-59-28] [INFO] Scanning user mods in 'C:\users\brent\Documents\OpenXcom\mods'...
[22-03-2024_16-59-28] [INFO] Mapping resource files...
[22-03-2024_16-59-28] [INFO] Resources files mapped successfully.
[22-03-2024_16-59-28] [INFO] Active mods:
[22-03-2024_16-59-28] [INFO] - xcom2 v1.0
[22-03-2024_16-59-28] [INFO] Loading rulesets...
[22-03-2024_16-59-28] [ERROR] C:\users\brent\Documents\OpenXcom\TFTD/SOUND/SAMPLE.CAT does not contain 49 sound files.

I searched online but couldn't find anything that's related. Any help would be greatly appreciated!

Thank you for your time!

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8631
    • View Profile
Re: SAMPLE.CAT does not contain 49 sound files
« Reply #1 on: March 22, 2024, 11:46:40 pm »
Game is trying to load the 49th sound effect from the SAMPLE.CAT file.
And doesn't find it.

How big is your SAMPLE.CAT file?
« Last Edit: March 22, 2024, 11:48:32 pm by Meridian »

Offline Bonesnap

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Re: SAMPLE.CAT does not contain 49 sound files
« Reply #2 on: March 23, 2024, 12:45:47 am »
Thanks for the reply!

According to the file manager, the SAMPLE.CAT file is 1.1MB or 1,105,112 bytes. Just in case, I reinstalled the game via Steam and copied the file over again and still get the same error, but the file size is also identical, so no difference there.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8631
    • View Profile
Re: SAMPLE.CAT does not contain 49 sound files
« Reply #3 on: March 23, 2024, 07:56:14 am »
Mine is also 1,105,112 bytes.

Don't know what's wrong :(

Offline Yankes

  • Commander
  • *****
  • Posts: 3210
    • View Profile
Re: SAMPLE.CAT does not contain 49 sound files
« Reply #4 on: March 23, 2024, 02:43:45 pm »
Could you check OXCE version? as I see it have bit different handing of this code and could avoid this error here.