Opened 4 days ago

Last modified 4 days ago

#15372 new defect

Unknown game variant for Broken Sword 1

Reported by: id1402 Owned by:
Priority: normal 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 4 days ago.

Download all attachments as: .zip

Change History (3)

by id1402, 4 days ago

Attachment: sword1.txt added

comment:1 by antoniou79, 4 days 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 4 days ago by antoniou79 (previous) (diff)

comment:2 by id1402, 4 days 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!

Note: See TracTickets for help on using tickets.