PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Broken Sword

I finaly got my memory card today, and the first impulse I got was to try Broken Sword 1 & 2. I discovered that I have borrowed out Sword2 to a friend a long time ago, and never got it back, so I can't try that untill tomorow or so, but I have Sword1, and am copying the files as wee speek.

I read somewhere that you need all the *.clu files, and SWORDRES.RIF. But this installation is 150 mb, and that is without speech and music. Can some of the clu-files be skipped, or do I need them all?

Further more, can the music and the speech be compressed, somehow?

I have searched through all the "what files do I need"-threads, but couldn't find one about Sword 1 or 2, so I hope you don't mind me asking.

Is there a list somewhere, of minimum amount of files, that you need to play Broken Sword games? Both 1 and 2?

Thank you very much in advance!
//Daniel
you can begin playing with the CLU files from the first CD :wink:
Arisme wrote:you can begin playing with the CLU files from the first CD :wink:


I kind of figured that, but how will the "transition" look, when the game suddenly needs cd2?

And does the same apply to Broken Sword 2?

(Damn, it just doesn't feel right to shorten Broken Sword to BS :P)
mmh, I guess it will either crash on you or ask you to insert a new disk :D

OK I'll check the code before answering next time ...
Arisme wrote:mmh, I guess it will either crash on you or ask you to insert a new disk :D

OK I'll check the code before answering next time ...


:wink:

If it asks for the next cd, it would be great, but I am not optimistic enough to believe that it will. :)
The game is found by PocketScumm, but when I map the buttons, and press "Start", I get the message "Unable to find files. Please read the instructions again."

Whar am I doing wrong? :cry:
you're probably missing the .tbl file. I'll look if there is an utility to generate it.
Edit: I am running the newest (today's) version of PocketScumm, and the message that appears is a standard wince-dialog-message, not in the scumm-console.

Thought you should know.
Arisme wrote:you're probably missing the .tbl file. I'll look if there is an utility to generate it.


What are those files? Scumm-specific, or should they be shipped with the games?

And of course, where can I get them? :D
In fact, you don't seem to need this file anymore - here is the list of files I have : compacts.clu, general.clu, maps.clu, paris1.clu, paris2.clu, paris3.clu, paris4.clu, scripts.clu, swordres.rif, text.clu, cd1.id
Arisme wrote:In fact, you don't seem to need this file anymore - here is the list of files I have : compacts.clu, general.clu, maps.clu, paris1.clu, paris2.clu, paris3.clu, paris4.clu, scripts.clu, swordres.rif, text.clu, cd1.id


I was missing the file cd1.id. It's working now. Strange that no one mentioned this file, not even on ScummVM official site.

Anyhow, the game seems to work perfect now, thank you very much. The only problem is that the text in the game is small and to antialised, but I know that there is nothing that can be done about that.

Now, I will try to figure out wich files I need to het the movies altso, since they are quite importand for the game story.

Thank you one again! As a programmer, I am just so impressed how fast you seem to get things done... :)
Dang, "Could not open intro.mp2".

Got the above on the 32-bit version of scumm... If that version can't play the cutsceens, I guess there is no chance for pocketscumm to be able to to that. :cry:

It was worth a shot.
If the cutsceenes ever get reencoded, and put availible on the scumm-page (this was said almost three months ago), will there be a chanse that PocketScumm will be able to play them?
sure, if you get a fast PocketPC :wink:

note that you can contribute to have a better anti-aliasing code ... it's well located, and as I'm not so much into image processing, my code is probably not too good :wink: check http://cvs.sourceforge.net/viewcvs.py/* ... in&rev=1.5 (it's the last filter)
Arisme wrote:note that you can contribute to have a better anti-aliasing code ... it's well located, and as I'm not so much into image processing, my code is probably not too good :wink: check http://cvs.sourceforge.net/viewcvs.py/* ... in&rev=1.5 (it's the last filter)


C++ is not my primary language, and I wont be able to helt out much, my self, but is it ok to post this link on a swedish programming forum, where I am a member, and ask for comments there? There are alot of talented people 'hanging' there, and if I explain what the filter is about, I am sure that they can help..

As I understand it, it is basicly a procedure that scales a 640*480 image down to 320*240?
yes :wink:
Arisme wrote:note that you can contribute to have a better anti-aliasing code ...


I am sure that you have given this more thought than I have, but couldn't you try to scale the image down with no anti-aliasing at all? I don't know how it would affect the "nice-ness" os the graphics (man, Broken Sword looks sweet on ppc, nice clean colors) but it would sure speed things up? And it would probably make the in-game text easier to read.

The strange thing about BS 1&2 is that the game runs att full framerate (smooth as can be) when the backdrop is not scrolling. All the animations are very fluid. But as soon as the picture is scrolling (when you walk towards an edge, for example), the game is experiencing major slowdowns. I don't know is this a problem with PocketScumm, or the games them selves.


A friend commented that the function CEinterpolate16_4() should be devided into to separate functions, so that you could loose the array.

Also, I found an example of a scalar optimized for speed only, perhaps it can give you some idéas?

Code:

int w = fa->src.w,
h = fa->src.h;
Pixel32 *src = fa->src.data,
*end = src + w*h,
*dst = fa->dst.data;

for( ; src < end; )
#ifdef QUARTER
for( Pixel32 *endline = src + w; src < endline; src += 4, dst++ )
#else
for( Pixel32 *endline = src + w; src < endline; src += 2, dst++ )
#endif
*dst = *src;



But as I see it, speed is not realy an issue, at least not when talking about Broken Sword. The games slows down when it scrolls, but that is now big deal, and doesn't happen often in the game. A bigger problem is the smudged text. If there is any way to do something about it (although is seems imposible), it should be prioritized.
no, it'd add more blockiness, which won't make the text easier to read (the font is small, and if you skip parts of it, it is even less readable :wink:) - finding a "harder" anti-aliaser would be a way to improve it, but increasing the font size would be even better IMO - I'll look into that when everything else will work as it should :wink:

and the scrollings are slow because ScummVM needs to redraw the whole screen here - usually only parts of the screen are redrawn.
Arisme wrote:but increasing the font size would be even better IMO - I'll look into that when everything else will work as it should :wink:


That would of course be the best thing, there is no arguing about that. But I guess that the game uses some kind of bitmap-fonts, meaning that you probably can't affect them.
rescale the font * 2 should be simple enough

(note, I haven't tried to do it yet :wink:)
Arisme wrote:rescale the font * 2 should be simple enough


That would be absolutely great, but * 2 is to much I think - unless the text can be on more that 2 rows. In the game, I think that it never exeeds 2 rows. Otherwise, it won't fit on screen. :wink:

Let us know when you try it! :D
Have you looked at this yet? :D
no, I'll probably not look at it before the release (although I want to try something simple before, we'll see if I can find some time to do it)
got some time to look at a quick fix - here's what I've done and will be available in the next release - "Zoom Up" and "Zoom Down" option buttons

Normal view

Image

Zoom Up view

Image

Zoom Down view

Image
Arisme wrote:got some time to look at a quick fix - here's what I've done and will be available in the next release - "Zoom Up" and "Zoom Down" option buttons


I am looking forward to try it. As long as is is possible to quickly switch modes (zoom in when there is dialog, zoom out again when it is over), it should work great.

I wish PPC:s had a tad higher resolution..