Opened 2 months ago

Closed 2 weeks ago

#15372 closed defect (wontfix)

MD5: SWORD1: Unknown game variant

Reported by: id1402 Owned by: sev-
Priority: high Component: Engine: Sword1
Version: Keywords: Game detection
Cc: Game: Broken Sword 1

Description

Hello Everybody.
ScummVM doesn't detect my version of Broken Sword 1. I have German DVD Trilogy collection for Microsoft Windows.

First some Information:
OS: openSUSE Leap 15.6
Kernel: 6.4.0-150600.23.17-default

# scummvm --version
ScummVM 2.7.1 (Aug  4 2023 12:00:00)
Features compiled in: TAINTED Vorbis FLAC MP3 ALSA SEQ TiMidity RGB zLib MPEG2 FluidSynth Theora A/52 FreeType2 FriBiDi JPEG PNG GIF TTS cloud (servers, local) TinyGL OpenGL (with shaders)

Everything worked well on openSUSE Leap 15.5 with ScummVM 2.5.1. I already played more than half of the game and made a backup of save directory. Then I decided to update to openSUSE Leap 15.6 with ScummVM 2.7.1. Now I'm not able to add the game.

I got error message:

ScummVM could not find any game in the specified directory!

Then I found ScummVM Broken Sword 1 Wiki:

Note: Since ScummVM 2.7.0 the folder structure from the original media needs to be preserved. Older versions of ScummVM allowed to move files to the top level folder, while they now need to remain in their respective subdirectories. If your game is no longer detected by ScummVM, you may need to move back the files to their original subdirectories.

Ok, no problem, I tried to rearrange my files.

Now I get other error message:

The game in 'sword1_ger' seems to be an unknown game variant.

Please report the following data to the ScummVM team at https://bugs.scummvm.org/ along with the name of the game you tried to add and its version, language, etc.:

Matched game IDs for the sword1 engine: sword1-win-pl

  {"clusters/scripts.clu", 0, "72b10193714e8c6e4daca51791c0db0c", 1087240},
  {"clusters/swordres.rif", 0, "b0ae5a47aba74dc0acb3442d4c84b225", 58916},
  {"clusters/text.clu", 0, "76f93f5feecc8915435105478f3c6615", 2705446},
  {"intro.dxa", 0, "e27cd33593c08b66e8d20fbc40938789", 7420364},

Please see attachment for my directory structure.

Very sad if I'm not able to finish the game.

Attachments (1)

sword1.txt (8.3 KB ) - added by id1402 2 months ago.

Download all attachments as: .zip

Change History (9)

by id1402, 2 months ago

Attachment: sword1.txt added

comment:1 by antoniou79, 2 months ago

Please test with ScummVM version 2.8.1 which is the latest.

There seems to be an entry for detecting this version of Broken Sword (German DVD Trilogy Collection) according to the linked source code snippet:
https://github.com/scummvm/scummvm/blob/b79f7e2e2b333063c045e41cf3b8e1ffa342697c/engines/sword1/detection_tables.h#L259

It seems that it expects the intro.dxa file to be under a "video" folder.
Could you rename the "smackshi" folder to "video" and try again (with ScummVM 2.8.1)?

Also in general make sure that you keep the structure as is from the DVD. Does that have a smakcshi folder? Do you have an intro.dxa file outside the "video" folder as the message on your post indicates?

Last edited 2 months ago by antoniou79 (previous) (diff)

comment:2 by id1402, 2 months ago

https://github.com/scummvm/scummvm/blob/b79f7e2e2b333063c045e41cf3b8e1ffa342697c/engines/sword1/detection_tables.h#L259
It seems that it expects the intro.dxa file to be under a "video" folder.
Do you have an intro.dxa file outside the "video" folder as the message on your post indicates?

The directory name was actually "video" as I played under ScummVM 2.7.1. I renamed today to "smackshi" to see if it works. "intro.dxa" is placed in "smackshi".

Directory name "video" doesn't work:

The game in 'sword1_ger' seems to be an unknown game variant.

Please report the following data to the ScummVM team at https://bugs.scummvm.org/ along with the name of the game you tried to add and its version, language, etc.:

Matched game IDs for the sword1 engine: sword1-win

  {"clusters/scripts.clu", 0, "72b10193714e8c6e4daca51791c0db0c", 1087240},
  {"clusters/swordres.rif", 0, "b0ae5a47aba74dc0acb3442d4c84b225", 58916},
  {"clusters/text.clu", 0, "76f93f5feecc8915435105478f3c6615", 2705446},
  {"video/intro.dxa", 0, "e27cd33593c08b66e8d20fbc40938789", 7420364},

I tried also name "smacks", doesn't work.

Could you rename the "smackshi" folder to "video" and try again (with ScummVM 2.8.1)?

Well, I will wait until ScummVM 2.8.1 is published by openSUSE repository admin, so I can do a clean update without breaking any dependencies. Don't want to install all needed libs and compile myself.

Also in general make sure that you keep the structure as is from the DVD. Does that have a smakcshi folder?

I don't remember. It's many years ago. I copied the files needed by ScummVM from DVD, compressed sound files on my own using scummvm-tools ogg vorbis and sold DVD finally.

I will try ScummVM 2.8.1 when it gets published for my OS and report if it works.
Thank you for quick answer!

comment:3 by id1402, 8 weeks ago

Could you rename the "smackshi" folder to "video" and try again (with ScummVM 2.8.1)?

I installed ScummVM 2.8.1. Folder name is "video".

error message:

The game in 'sword1_ger' seems to be an unknown game variant.

Please report the following data to the ScummVM team at https://bugs.scummvm.org/ along with the name of the game you tried to add and its version, language, etc.:

Matched game IDs for the sword1 engine: sword1-win

  {"clusters/scripts.clu", 0, "72b10193714e8c6e4daca51791c0db0c", 1087240},
  {"clusters/swordres.rif", 0, "b0ae5a47aba74dc0acb3442d4c84b225", 58916},
  {"clusters/text.clu", 0, "76f93f5feecc8915435105478f3c6615", 2705446},
  {"video/intro.dxa", 0, "e27cd33593c08b66e8d20fbc40938789", 7420364},


comment:4 by antoniou79, 8 weeks ago

The only thing I'm seeing mismatching our detection entry for this version is the size of the "intro.dxa" file (which matches the size for this file in the *English* version).

Are you certain this particular file came from the German DVD collection?

comment:5 by id1402, 8 weeks ago

But my cutscenes are german language. Maybe I downloaded re-encoded cutscenes from https://www.scummvm.org/games/#addons-sword1? I don't remember.

I downloaded yesterday ScummVM 2.5.0 for Windows 10 on my notebook. The game runs well and I finished it.

comment:6 by tag2015, 5 weeks ago

Summary: Unknown game variant for Broken Sword 1MD5: SWORD1: Unknown game variant

comment:7 by sev-, 2 weeks ago

Priority: normalhigh

comment:8 by sev-, 2 weeks ago

Owner: set to sev-
Resolution: wontfix
Status: newclosed

We now support and require only the orignal game files. E.g. DXA movies do not need to be produced. Thus, the best way is to re-copy the contents of the CDs over again, and copy the SMACKSHI directories, removing all DXA and OGG files.

Unfortunately, we have to reject this bugreport, as it is a modified version.

Note: See TracTickets for help on using tickets.