Opened 4 weeks ago

Closed 3 weeks ago

Last modified 10 days ago

#16449 closed defect (fixed)

SWORD2: Broken sword II recognized as demo

Reported by: ArnoldLayne0216 Owned by: antoniou79
Priority: normal Component: Engine: Sword2
Version: Keywords: recognised as demo instead of full release
Cc: ArnoldLayne0216 Game: Broken Sword 2

Description

Hi,

I've seen other folks submitting the same kind of issue, but I could not find any particular resolution.

I have a copy of a polish realease of Broken Sword 2, that used to work fine a few years back when I was playing it. It seems that recently every time I tried to log the game files into SCUMM, it gets recognised as a demo version.

It DID recognise my save files for example, so I was able to load a game at any state and got the original full game this way, but whenever trying to start a new game, it loads it in Marsillie instead of Oubier's house.

Do you have any resolution to this issue? I would greatly appreciate.

I currently use a MacBook Air M4, with the latest macOS (26.2).

Should you need any more information, just let me know.

Attachments (4)

image-20260112-223747.png (966.7 KB ) - added by ArnoldLayne0216 4 weeks ago.
file list 1
image-20260112-223824.png (952.2 KB ) - added by ArnoldLayne0216 4 weeks ago.
file list
image-20260115-005042.png (513.4 KB ) - added by ArnoldLayne0216 4 weeks ago.
text.clu_terminal
image-20260115-073309.png (704.4 KB ) - added by ArnoldLayne0216 3 weeks ago.
docks.clu

Change History (29)

comment:1 by antoniou79, 4 weeks ago

  • Can you please specify the version of ScummVM you are testing with?
  • And if you haven't yet tested with a daily developer build, can you try with that one as well?

Also, make sure you follow the directions on the wiki page for the game:
https://wiki.scummvm.org/index.php/Broken_Sword_2

Some years ago, detection for the Sword games changed, so it's possible that an old game data folder for these titles may not work any more. So you may need to redo the work of copying the required game files from your CDs or digital distributed version.

If the issue, persists, even with a daily developer build, then please post the file and folder listing of your Broken Sword 2 game folder here.

by ArnoldLayne0216, 4 weeks ago

Attachment: image-20260112-223747.png added

file list 1

by ArnoldLayne0216, 4 weeks ago

Attachment: image-20260112-223824.png added

file list

comment:2 by ArnoldLayne0216, 4 weeks ago

I've just tried with a developed build (3.0), the issue persists with this solution.
Earlier I was using standard 2.9.1 build.

I did the copy of my 2 original disks years ago, they stayed in my hometown so it will be hard to get my hands on them in the nearest future. I have the remastered version in GOG (but honestly prefer the original, also because it has polish subtitles and that's the one I've played in my youth, but I do not see the original game folder on the Mac version of the game.

Would using an older version of ScummVM help in this case? My folder/files had been the same for years, I've been having a backup of them on an external disk for a long time.

comment:3 by ArnoldLayne0216, 4 weeks ago

Update: Also tried with 3.1 now, same result

comment:4 by criezy, 4 weeks ago

We have a detection entry for a Polish release of the game, but it looks like yours might be a different version we don't know about. To properly detect this version we need the MD5 for the first 5000 bytes of the following game files:

  • General.clu
  • Docks.clu
  • Text.clu

One way to get those is to run ScummVM in Terminal.app using the --md5 option as below:

MacBook-Air % /Applications/ScummVM.app/Contents/MacOS/scummvm --md5 --md5-path=/Applications/Games/Broken\ Sword\ 2/Text.clu --md5-engine=sword2
TEXT.CLU (data): 9b344d976ca8d19a1cf5aa4413397f6b, 304968 bytes (first 5000 bytes)

You will need to adapt the command with the correct paths to your ScummVM.app and Broken Sword data files, and run it for all 3 files I listed above, and paste the result you get here (the example above if for my version of gog, but yours should give a different result). An easy way to get the correct path is just to Drag & Drop the file on the Terminal.app window (you can also do that for the ScummVM.app but will need to manually add the 'Contents/MacOS/scummvm' part).


I have the remastered version in GOG ([...] but I do not see the original game folder on the Mac version of the game.

I also have the remastered version on GOG. The original game is available as a separate download in the game Extras both on the website and in GOG Galaxy. There is both a Windows and a Linux version. On a mac I recommend downloading the Linux version as it is a simple .tar.gz archive file that can easily be decompressed (just double click the file).

comment:5 by ArnoldLayne0216, 4 weeks ago

I was trying to do that, but with no success I think (I might not be experienced user enough.

2 opitons I have in mind:

1)can you prepare the exact formulas for me?
My Mac is in polish so the path to ScummVM would be:
Aplikacje/ScummVM.app
BS2 path:
Dokumenty/broken sword II/

2) Another option is to use the GOG version as you mentioned, but I would like to see polish subtitles to it. Would you know which file/files contains these so I could copy them over to the GOG download? IF that's an option, it would be very much fine with me.

Hopę we can find a solution somehow!

Thanks & Best,
Maciej

comment:6 by antoniou79, 4 weeks ago

I think it would be:

~/Aplikacje/ScummVM.app/Contents/MacOS/scummvm --md5 --md5-engine=sword2 --md5-path=~/Dokumenty/scummvm/brokes\ sword\ II/Text.clu
~/Aplikacje/ScummVM.app/Contents/MacOS/scummvm --md5 --md5-engine=sword2 --md5-path=~/Dokumenty/scummvm/brokes\ sword\ II/Docks.clu
~/Aplikacje/ScummVM.app/Contents/MacOS/scummvm --md5 --md5-engine=sword2 --md5-path=~/Dokumenty/scummvm/brokes\ sword\ II/General.clu

Edit: Your "Applications" path (Aplikacje) may or may not need the "~" prefix character.
I'm fairly certain that your "Dokumenty" path needs the '~" prefix, because of the path shown on your file listing screenshots. So, in that case the commands might be:

/Aplikacje/ScummVM.app/Contents/MacOS/scummvm --md5 --md5-engine=sword2 --md5-path=~/Dokumenty/scummvm/brokes\ sword\ II/Text.clu
/Aplikacje/ScummVM.app/Contents/MacOS/scummvm --md5 --md5-engine=sword2 --md5-path=~/Dokumenty/scummvm/brokes\ sword\ II/Docks.clu
/Aplikacje/ScummVM.app/Contents/MacOS/scummvm --md5 --md5-engine=sword2 --md5-path=~/Dokumenty/scummvm/brokes\ sword\ II/General.clu

If you issue the commands or the alternative version of them, and they don't work, let us know of the exact error message you're getting.

Also, could you clarify the exact way that ScummVM has detected Broken Sword 2 for you? (eg. how does it appear on the launcher GUI)

Disclaimer: I don't have a Mac, but the path structure is like on Unix, so based on your info and what criezy wrote above, these seem like the proper commands.

Last edited 4 weeks ago by antoniou79 (previous) (diff)

comment:7 by criezy, 4 weeks ago

I think the Terminal app is actually using the original English name of folders and not translated ones (they are translated by the Finder). In that case the first command would actually be

/Applications/ScummVM.app/Contents/MacOS/scummvm --md5 --md5-engine=sword2 --md5-path=~/Documents/Games/broken\ sword\ II/Text.clu

But an easy way to get the correct paths is to:

  1. Open the Terminal.app application.
  2. Drag & Drop the ScummVM.app application onto the Terminal window.
  3. Remove the space at the end.
  4. Paste /Contents/MacOS/scummvm --md5 --md5-engine=sword2 --md5-path=
  5. Drag & Drop the Text.clu file onto the Terminal window.
  6. Press Enter.
Last edited 4 weeks ago by criezy (previous) (diff)

by ArnoldLayne0216, 4 weeks ago

Attachment: image-20260115-005042.png added

text.clu_terminal

comment:8 by ArnoldLayne0216, 4 weeks ago

Thanks for the detailed steps! Attached is the result you asked

Please see below the result:

Last login: Thu Jan 15 00:47:16 on ttys000
maciejsiewiera@surfer-10-2-159-235-hsia ~ % /Applications/ScummVM\ latest.app/Contents/MacOS/scummvm --md5 --md5-engine=sword2 --md5-path=/Users/maciejsiewiera/Documents/scummvm/brokes\ sword\ II/Text.clu
WARNING: Mac resources detected!
Text.clu (data): 77fb6f58acad0f9c4eebeb5527b32861, 410707 bytes (first 5000 bytes)
maciejsiewiera@surfer-10-2-159-235-hsia ~ %

Screenshot is also attached.

Hope it will help!

in reply to:  8 comment:9 by antoniou79, 3 weeks ago

Replying to ArnoldLayne0216:

Text.clu (data): 77fb6f58acad0f9c4eebeb5527b32861, 410707 bytes (first 5000 bytes)

Hope it will help!

Please post the result for the other two files too; Docks.clu and General.clu.

by ArnoldLayne0216, 3 weeks ago

Attachment: image-20260115-073309.png added

docks.clu

comment:10 by ArnoldLayne0216, 3 weeks ago

Last login: Thu Jan 15 00:47:26 on ttys000
maciejsiewiera@surfer-10-2-159-235-hsia ~ % /Applications/ScummVM\ latest.app/Contents/MacOS/scummvm --md5 --md5-engine=sword2 --md5-path=/Users/maciejsiewiera/Documents/scummvm/brokes\ sword\ II/Docks.clu
WARNING: Mac resources detected!
Docks.clu (data): b39246fbb5b955a29f9a207c69bfc318, 20262263 bytes (first 5000 bytes)
maciejsiewiera@surfer-10-2-159-235-hsia ~ % /Applications/ScummVM\ latest.app/Contents/MacOS/scummvm --md5 --md5-engine=sword2 --md5-path=/Users/maciejsiewiera/Documents/scummvm/brokes\ sword\ II/General.clu
WARNING: Mac resources detected!
General.clu (data): 11e824864a75195652610e8b397382a6, 8030769 bytes (first 5000 bytes)
maciejsiewiera@surfer-10-2-159-235-hsia ~ %

There you go
Thanks a lot for your patience!

comment:11 by antoniou79, 3 weeks ago

These are the current detection entries for the known (reported in the past) Polish versions:

{
	"sword2",
	"English speech",
	AD_ENTRY3s("general.clu", "11e824864a75195652610e8b397382a6", 8030769,
	           "text.clu",    "f1cf2aaa7e56d8bf6572c9b25267931e", 373704,
	           "docks.clu",   "b39246fbb5b955a29f9a207c69bfc318", 20262263),
	Common::PL_POL,
	Common::kPlatformWindows,
	ADGF_NO_FLAGS,
	GUIO0()
},

{ // Alternate version. Bugreport #14277
	"sword2",
	"English speech/alternate version",
	AD_ENTRY3s("general.clu", "31db8564f9187538f24d9fda0677f666", 7059728,
	           "text.clu",    "77fb6f58acad0f9c4eebeb5527b32861", 410707,
	           "docks.clu",   "b39246fbb5b955a29f9a207c69bfc318", 20262263),
	Common::PL_POL,
	Common::kPlatformWindows,
	ADGF_NO_FLAGS,
	GUIO0()
},

And the MD5 info for your files, keeping only the important part from your post above, is:

General.clu (data): 11e824864a75195652610e8b397382a6, 8030769 bytes
Text.clu    (data): 77fb6f58acad0f9c4eebeb5527b32861, 410707 bytes
Docks.clu   (data): b39246fbb5b955a29f9a207c69bfc318, 20262263 bytes

So, the files seem to be a "mashup" of the known files we have in detection.
(docks.clu is the same in both entries, your General.clu appears in the first detection entry and text.clu appears in the second detection entry.

I guess my question is then, are your files all taken from an official release of a Polish version of Broken Sword 2 or were they the result of an unofficial patch or copy-paste instructions of unofficial data files?

comment:12 by ArnoldLayne0216, 3 weeks ago

These files come from a 2CD official Polish release of the game, but I remember compiling them and changing some of the file names as per the instructions found on ScummVM portal.

Surely they do not come from any unofficial source.

Is there any solution for my issue then?

Another idea - can I use the GOG download and overwrite it possibly with 'polish version file'? I would love to play the game in the same version that I have as a kid, purely out of nostalgia reasons.

Last edited 3 weeks ago by ArnoldLayne0216 (previous) (diff)

in reply to:  12 comment:13 by antoniou79, 3 weeks ago

Replying to ArnoldLayne0216:

Surely they do not come from any unofficial source.

Is there any solution for my issue then?

Yes, in my opinion, the proper solution would be to add the info for your files to a new detection entry in ScummVM, since they come from an official release and you've not changed them.

I am not a fan of an experiment/ solution that would involve copying files over the GOG version.

comment:14 by antoniou79, 3 weeks ago

In b5debf60:

SWORD2: Add detection for alternate 2-CD Polish version

From bug report #16449

comment:15 by antoniou79, 3 weeks ago

Owner: set to antoniou79
Resolution: fixed
Status: newpending
Summary: Broken sword II recognised as demoSWORD2: Broken sword II recognized as demo

comment:16 by ArnoldLayne0216, 3 weeks ago

Could you please elaborate on how do I do this on MacOS?

I have seen this solution before, but it seems very technical from my standpoint of view.

Any particular steps I can take to achieve correct launch?

Id appreciate precise instructions, thank you!

Last edited 3 weeks ago by ArnoldLayne0216 (previous) (diff)

comment:17 by antoniou79, 3 weeks ago

In b5ffe79a:

SWORD2: Add detection for alternate 2-CD Polish version

From bug report #16449

comment:18 by criezy, 3 weeks ago

Could you please elaborate on how do I do this on MacOS?

We have added the detection for your version to the source code.
Wait until tomorrow and download a daily build for macOS. Or wait a few weeks until the next release. Daily builds are not signed and require a little bit of trickery to run on recent macOS versions.

comment:19 by ArnoldLayne0216, 3 weeks ago

Thank you very much!

comment:20 by AndywinXp, 3 weeks ago

Priority: blockernormal
Version: gsoc

comment:21 by ArnoldLayne0216, 3 weeks ago

One more question - will that fix be also available for Andrioid/Windows versions?
Would be great to benefit from the same on other devices.

comment:22 by antoniou79, 3 weeks ago

Yes, the fix is for all platforms.

Please, let us know if all works ok, once you've tried with a daily development build or the upcoming stable (when that becomes available).

comment:23 by ArnoldLayne0216, 3 weeks ago

Tried with the dev build already, it does work fine, thank you very much once again! :D

comment:24 by antoniou79, 3 weeks ago

Status: pendingclosed

comment:25 by ArnoldLayne0216, 10 days ago

Hi again, I just finished quaramonte section and while on the river in a boat, the game asks for the 2nd cd to be put in (although both were copied to the folder)

Would you be able to help with that?

Note: See TracTickets for help on using tickets.